mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 14:30:12 +01:00
feat(zfspv) Add golint check to travis (#175)
Signed-off-by: vaniisgh <vanisingh@live.co.uk>
This commit is contained in:
parent
8b7ad5cb45
commit
8bbf3d7d2f
34 changed files with 321 additions and 266 deletions
|
|
@ -63,10 +63,9 @@ type MountInfo struct {
|
|||
MountOptions []string `json:"mountOptions"`
|
||||
}
|
||||
|
||||
// ZFSVolumeList is a list of ZFSVolume resources
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
// +resource:path=zfsvolumes
|
||||
|
||||
// ZFSVolumeList is a list of ZFSVolume resources
|
||||
type ZFSVolumeList struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
metav1.ListMeta `json:"metadata"`
|
||||
|
|
@ -202,6 +201,7 @@ type VolumeInfo struct {
|
|||
Shared string `json:"shared,omitempty"`
|
||||
}
|
||||
|
||||
// VolStatus string that specifies the current state of the volume provisioning request.
|
||||
type VolStatus struct {
|
||||
// State specifies the current state of the volume provisioning request.
|
||||
// The state "Pending" means that the volume creation request has not
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue