Documentation ¶
Overview ¶
This package has the automatically generated clientset.
Index ¶
- Constants
- Variables
- func GetTridentFinalizers() []string
- func Kind(kind string) schema.GroupKind
- func NameFix(n string) string
- func Resource(resource string) schema.GroupResource
- type TridentBackend
- func (in *TridentBackend) Apply(persistent *storage.BackendPersistent) error
- func (in *TridentBackend) CurrentState() storage.BackendState
- func (in *TridentBackend) DeepCopy() *TridentBackend
- func (in *TridentBackend) DeepCopyInto(out *TridentBackend)
- func (in *TridentBackend) DeepCopyObject() runtime.Object
- func (in *TridentBackend) GetFinalizers() []string
- func (in *TridentBackend) GetObjectMeta() metav1.ObjectMeta
- func (in *TridentBackend) HasTridentFinalizers() bool
- func (in *TridentBackend) Persistent() (*storage.BackendPersistent, error)
- func (in *TridentBackend) RemoveTridentFinalizers()
- type TridentBackendList
- type TridentCRD
- type TridentNode
- func (in *TridentNode) Apply(persistent *utils.Node) error
- func (in *TridentNode) DeepCopy() *TridentNode
- func (in *TridentNode) DeepCopyInto(out *TridentNode)
- func (in *TridentNode) DeepCopyObject() runtime.Object
- func (in *TridentNode) GetFinalizers() []string
- func (in *TridentNode) GetObjectMeta() metav1.ObjectMeta
- func (in *TridentNode) HasTridentFinalizers() bool
- func (in *TridentNode) Persistent() (*utils.Node, error)
- func (in *TridentNode) RemoveTridentFinalizers()
- type TridentNodeList
- type TridentSnapshot
- func (in *TridentSnapshot) Apply(persistent *storage.SnapshotPersistent) error
- func (in *TridentSnapshot) DeepCopy() *TridentSnapshot
- func (in *TridentSnapshot) DeepCopyInto(out *TridentSnapshot)
- func (in *TridentSnapshot) DeepCopyObject() runtime.Object
- func (in *TridentSnapshot) GetFinalizers() []string
- func (in *TridentSnapshot) GetObjectMeta() metav1.ObjectMeta
- func (in *TridentSnapshot) HasTridentFinalizers() bool
- func (in *TridentSnapshot) Persistent() (*storage.SnapshotPersistent, error)
- func (in *TridentSnapshot) RemoveTridentFinalizers()
- type TridentSnapshotList
- type TridentStorageClass
- func (in *TridentStorageClass) Apply(persistent *storageclass.Persistent) error
- func (in *TridentStorageClass) DeepCopy() *TridentStorageClass
- func (in *TridentStorageClass) DeepCopyInto(out *TridentStorageClass)
- func (in *TridentStorageClass) DeepCopyObject() runtime.Object
- func (in *TridentStorageClass) GetFinalizers() []string
- func (in *TridentStorageClass) GetObjectMeta() metav1.ObjectMeta
- func (in *TridentStorageClass) HasTridentFinalizers() bool
- func (in *TridentStorageClass) Persistent() (*storageclass.Persistent, error)
- func (in *TridentStorageClass) RemoveTridentFinalizers()
- type TridentStorageClassList
- type TridentTransaction
- func (in *TridentTransaction) Apply(txn *storage.VolumeTransaction) error
- func (in *TridentTransaction) DeepCopy() *TridentTransaction
- func (in *TridentTransaction) DeepCopyInto(out *TridentTransaction)
- func (in *TridentTransaction) DeepCopyObject() runtime.Object
- func (in *TridentTransaction) GetFinalizers() []string
- func (in *TridentTransaction) GetObjectMeta() metav1.ObjectMeta
- func (in *TridentTransaction) HasTridentFinalizers() bool
- func (in *TridentTransaction) Persistent() (*storage.VolumeTransaction, error)
- func (in *TridentTransaction) RemoveTridentFinalizers()
- type TridentTransactionList
- type TridentVersion
- func (in *TridentVersion) Apply(persistent *config.PersistentStateVersion) error
- func (in *TridentVersion) DeepCopy() *TridentVersion
- func (in *TridentVersion) DeepCopyInto(out *TridentVersion)
- func (in *TridentVersion) DeepCopyObject() runtime.Object
- func (in *TridentVersion) GetFinalizers() []string
- func (in *TridentVersion) GetObjectMeta() metav1.ObjectMeta
- func (in *TridentVersion) HasTridentFinalizers() bool
- func (in *TridentVersion) Persistent() (*config.PersistentStateVersion, error)
- func (in *TridentVersion) RemoveTridentFinalizers()
- type TridentVersionList
- type TridentVolume
- func (in *TridentVolume) Apply(persistent *storage.VolumeExternal) error
- func (in *TridentVolume) DeepCopy() *TridentVolume
- func (in *TridentVolume) DeepCopyInto(out *TridentVolume)
- func (in *TridentVolume) DeepCopyObject() runtime.Object
- func (in *TridentVolume) GetFinalizers() []string
- func (in *TridentVolume) GetObjectMeta() metav1.ObjectMeta
- func (in *TridentVolume) HasTridentFinalizers() bool
- func (in *TridentVolume) Persistent() (*storage.VolumeExternal, error)
- func (in *TridentVolume) RemoveTridentFinalizers()
- type TridentVolumeList
Constants ¶
const GroupName = "trident.netapp.io"
const GroupVersion = "v1"
const PersistentStateVersionName = "trident"
const (
TridentFinalizerName = "trident.netapp.io"
)
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var ErrNamesDontMatch = errors.New("names do not match")
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: GroupVersion}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func GetTridentFinalizers ¶
func GetTridentFinalizers() []string
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns back a Group qualified GroupResource
Types ¶
type TridentBackend ¶
type TridentBackend struct { metav1.TypeMeta `json:",inline"` // +k8s:openapi-gen=false metav1.ObjectMeta `json:"metadata,omitempty"` // Config of the Trident backend Config runtime.RawExtension `json:"config"` // BackendName is the real name of the backend (metadata has restrictions) BackendName string `json:"backendName"` // BackendUUID is a unique identifier for this backend BackendUUID string `json:"backendUUID"` // Version is the version of the backend Version string `json:"version"` // Online defines if the backend is online Online bool `json:"online"` // State records the TridentBackend's state State string `json:"state"` }
TridentBackend defines a Trident backend. +genclient +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func NewTridentBackend ¶
func NewTridentBackend(persistent *storage.BackendPersistent) (*TridentBackend, error)
NewTridentBackend creates a new backend CRD object from an internal storage.BackendPersistent object
func (*TridentBackend) Apply ¶
func (in *TridentBackend) Apply(persistent *storage.BackendPersistent) error
Apply applies changes from an internal storage.BackendPersistent object to its Kubernetes CRD equivalent
func (*TridentBackend) CurrentState ¶
func (in *TridentBackend) CurrentState() storage.BackendState
func (*TridentBackend) DeepCopy ¶
func (in *TridentBackend) DeepCopy() *TridentBackend
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentBackend.
func (*TridentBackend) DeepCopyInto ¶
func (in *TridentBackend) DeepCopyInto(out *TridentBackend)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TridentBackend) DeepCopyObject ¶
func (in *TridentBackend) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TridentBackend) GetFinalizers ¶
func (in *TridentBackend) GetFinalizers() []string
func (*TridentBackend) GetObjectMeta ¶
func (in *TridentBackend) GetObjectMeta() metav1.ObjectMeta
func (*TridentBackend) HasTridentFinalizers ¶
func (in *TridentBackend) HasTridentFinalizers() bool
func (*TridentBackend) Persistent ¶
func (in *TridentBackend) Persistent() (*storage.BackendPersistent, error)
Persistent converts a Kubernetes CRD object into its internal storage.BackendPersistent equivalent
func (*TridentBackend) RemoveTridentFinalizers ¶
func (in *TridentBackend) RemoveTridentFinalizers()
type TridentBackendList ¶
type TridentBackendList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // List of TridentBackend objects Items []*TridentBackend `json:"items"` }
TridentBackendList is a list of TridentBackend objects. +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TridentBackendList) DeepCopy ¶
func (in *TridentBackendList) DeepCopy() *TridentBackendList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentBackendList.
func (*TridentBackendList) DeepCopyInto ¶
func (in *TridentBackendList) DeepCopyInto(out *TridentBackendList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TridentBackendList) DeepCopyObject ¶
func (in *TridentBackendList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TridentCRD ¶
type TridentCRD interface { GetObjectMeta() metav1.ObjectMeta GetFinalizers() []string HasTridentFinalizers() bool RemoveTridentFinalizers() }
TridentCRD should be implemented for our CRD objects
type TridentNode ¶
type TridentNode struct { metav1.TypeMeta `json:",inline"` // +k8s:openapi-gen=false metav1.ObjectMeta `json:"metadata,omitempty"` // Name is the name of the node NodeName string `json:"name"` // IQN is the iqn of the node IQN string `json:"iqn,omitempty"` // IPs is a list of IP addresses for the TridentNode IPs []string `json:"ips,omitempty"` }
TridentNode defines a Trident CSI node object. +genclient +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func NewTridentNode ¶
func NewTridentNode(persistent *utils.Node) (*TridentNode, error)
NewTridentNode creates a new node CRD object from a internal utils.TridentNode object.
func (*TridentNode) Apply ¶
func (in *TridentNode) Apply(persistent *utils.Node) error
Apply applies changes from an internal utils.TridentNode object to its Kubernetes CRD equivalent.
func (*TridentNode) DeepCopy ¶
func (in *TridentNode) DeepCopy() *TridentNode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentNode.
func (*TridentNode) DeepCopyInto ¶
func (in *TridentNode) DeepCopyInto(out *TridentNode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TridentNode) DeepCopyObject ¶
func (in *TridentNode) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TridentNode) GetFinalizers ¶
func (in *TridentNode) GetFinalizers() []string
func (*TridentNode) GetObjectMeta ¶
func (in *TridentNode) GetObjectMeta() metav1.ObjectMeta
func (*TridentNode) HasTridentFinalizers ¶
func (in *TridentNode) HasTridentFinalizers() bool
func (*TridentNode) Persistent ¶
func (in *TridentNode) Persistent() (*utils.Node, error)
Persistent converts a Kubernetes CRD object into its internal utils.TridentNode equivalent.
func (*TridentNode) RemoveTridentFinalizers ¶
func (in *TridentNode) RemoveTridentFinalizers()
type TridentNodeList ¶
type TridentNodeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // List of TridentNode objects Items []*TridentNode `json:"items"` }
TridentNodeList is a list of TridentNode objects. +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TridentNodeList) DeepCopy ¶
func (in *TridentNodeList) DeepCopy() *TridentNodeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentNodeList.
func (*TridentNodeList) DeepCopyInto ¶
func (in *TridentNodeList) DeepCopyInto(out *TridentNodeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TridentNodeList) DeepCopyObject ¶
func (in *TridentNodeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TridentSnapshot ¶
type TridentSnapshot struct { metav1.TypeMeta `json:",inline"` // +k8s:openapi-gen=false metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the snapshot Spec runtime.RawExtension `json:"spec"` // The UTC time that the snapshot was created, in RFC3339 format Created string `json:"dateCreated"` // The size of the volume at the time the snapshot was created SizeBytes int64 `json:"size"` // State records the TridentVolume's state State string `json:"state"` }
TridentSnapshot defines a Trident snapshot. +genclient +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func NewTridentSnapshot ¶
func NewTridentSnapshot(persistent *storage.SnapshotPersistent) (*TridentSnapshot, error)
NewTridentSnapshot creates a new snapshot CRD object from an internal SnapshotPersistent object
func (*TridentSnapshot) Apply ¶
func (in *TridentSnapshot) Apply(persistent *storage.SnapshotPersistent) error
Apply applies changes from an internal SnapshotPersistent object to its Kubernetes CRD equivalent
func (*TridentSnapshot) DeepCopy ¶
func (in *TridentSnapshot) DeepCopy() *TridentSnapshot
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentSnapshot.
func (*TridentSnapshot) DeepCopyInto ¶
func (in *TridentSnapshot) DeepCopyInto(out *TridentSnapshot)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TridentSnapshot) DeepCopyObject ¶
func (in *TridentSnapshot) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TridentSnapshot) GetFinalizers ¶
func (in *TridentSnapshot) GetFinalizers() []string
func (*TridentSnapshot) GetObjectMeta ¶
func (in *TridentSnapshot) GetObjectMeta() metav1.ObjectMeta
func (*TridentSnapshot) HasTridentFinalizers ¶
func (in *TridentSnapshot) HasTridentFinalizers() bool
func (*TridentSnapshot) Persistent ¶
func (in *TridentSnapshot) Persistent() (*storage.SnapshotPersistent, error)
Persistent converts a Kubernetes CRD object into its internal SnapshotPersistent equivalent
func (*TridentSnapshot) RemoveTridentFinalizers ¶
func (in *TridentSnapshot) RemoveTridentFinalizers()
type TridentSnapshotList ¶
type TridentSnapshotList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // List of TridentSnapshot objects Items []*TridentSnapshot `json:"items"` }
TridentSnapshotList is a list of TridentSnapshot objects. +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TridentSnapshotList) DeepCopy ¶
func (in *TridentSnapshotList) DeepCopy() *TridentSnapshotList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentSnapshotList.
func (*TridentSnapshotList) DeepCopyInto ¶
func (in *TridentSnapshotList) DeepCopyInto(out *TridentSnapshotList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TridentSnapshotList) DeepCopyObject ¶
func (in *TridentSnapshotList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TridentStorageClass ¶
type TridentStorageClass struct { metav1.TypeMeta `json:",inline"` // +k8s:openapi-gen=false metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the storage class Spec runtime.RawExtension `json:"spec"` }
TridentStorageClass defines a Trident storage class. +genclient +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func NewTridentStorageClass ¶
func NewTridentStorageClass(persistent *storageclass.Persistent) (*TridentStorageClass, error)
NewTridentStorageClass creates a new storage class CRD object from a internal storageclass.Persistent object
func (*TridentStorageClass) Apply ¶
func (in *TridentStorageClass) Apply(persistent *storageclass.Persistent) error
Apply applies changes from an internal storageclass.Persistent object to its Kubernetes CRD equivalent
func (*TridentStorageClass) DeepCopy ¶
func (in *TridentStorageClass) DeepCopy() *TridentStorageClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentStorageClass.
func (*TridentStorageClass) DeepCopyInto ¶
func (in *TridentStorageClass) DeepCopyInto(out *TridentStorageClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TridentStorageClass) DeepCopyObject ¶
func (in *TridentStorageClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TridentStorageClass) GetFinalizers ¶
func (in *TridentStorageClass) GetFinalizers() []string
func (*TridentStorageClass) GetObjectMeta ¶
func (in *TridentStorageClass) GetObjectMeta() metav1.ObjectMeta
func (*TridentStorageClass) HasTridentFinalizers ¶
func (in *TridentStorageClass) HasTridentFinalizers() bool
func (*TridentStorageClass) Persistent ¶
func (in *TridentStorageClass) Persistent() (*storageclass.Persistent, error)
Persistent converts a Kubernetes CRD object into its internal storageclass.Persistent equivalent
func (*TridentStorageClass) RemoveTridentFinalizers ¶
func (in *TridentStorageClass) RemoveTridentFinalizers()
type TridentStorageClassList ¶
type TridentStorageClassList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // List of TridentStorageClass objects Items []*TridentStorageClass `json:"items"` }
TridentStorageClassList is a list of TridentStorageClass objects. +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TridentStorageClassList) DeepCopy ¶
func (in *TridentStorageClassList) DeepCopy() *TridentStorageClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentStorageClassList.
func (*TridentStorageClassList) DeepCopyInto ¶
func (in *TridentStorageClassList) DeepCopyInto(out *TridentStorageClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TridentStorageClassList) DeepCopyObject ¶
func (in *TridentStorageClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TridentTransaction ¶
type TridentTransaction struct { metav1.TypeMeta `json:",inline"` // +k8s:openapi-gen=false metav1.ObjectMeta `json:"metadata,omitempty"` // Transaction is the transaction struct Transaction runtime.RawExtension `json:"transaction"` }
TridentTransaction defines a Trident transaction. +genclient +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func NewTridentTransaction ¶
func NewTridentTransaction(txn *storage.VolumeTransaction) (*TridentTransaction, error)
NewTridentTransaction creates a new storage class CRD object from a VolumeTransaction object
func (*TridentTransaction) Apply ¶
func (in *TridentTransaction) Apply(txn *storage.VolumeTransaction) error
Apply applies changes from an operation and internal storage.VolumeConfig object to its Kubernetes CRD equivalent
func (*TridentTransaction) DeepCopy ¶
func (in *TridentTransaction) DeepCopy() *TridentTransaction
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentTransaction.
func (*TridentTransaction) DeepCopyInto ¶
func (in *TridentTransaction) DeepCopyInto(out *TridentTransaction)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TridentTransaction) DeepCopyObject ¶
func (in *TridentTransaction) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TridentTransaction) GetFinalizers ¶
func (in *TridentTransaction) GetFinalizers() []string
func (*TridentTransaction) GetObjectMeta ¶
func (in *TridentTransaction) GetObjectMeta() metav1.ObjectMeta
func (*TridentTransaction) HasTridentFinalizers ¶
func (in *TridentTransaction) HasTridentFinalizers() bool
func (*TridentTransaction) Persistent ¶
func (in *TridentTransaction) Persistent() (*storage.VolumeTransaction, error)
Persistent converts a Kubernetes CRD object into its operation and internal storage.VolumeConfig
func (*TridentTransaction) RemoveTridentFinalizers ¶
func (in *TridentTransaction) RemoveTridentFinalizers()
type TridentTransactionList ¶
type TridentTransactionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // List of TridentTransaction objects Items []*TridentTransaction `json:"items"` }
TridentTransactionList is a list of TridentTransaction objects. +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TridentTransactionList) DeepCopy ¶
func (in *TridentTransactionList) DeepCopy() *TridentTransactionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentTransactionList.
func (*TridentTransactionList) DeepCopyInto ¶
func (in *TridentTransactionList) DeepCopyInto(out *TridentTransactionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TridentTransactionList) DeepCopyObject ¶
func (in *TridentTransactionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TridentVersion ¶
type TridentVersion struct { metav1.TypeMeta `json:",inline"` // +k8s:openapi-gen=false metav1.ObjectMeta `json:"metadata,omitempty"` // TridentVersion is the currently installed release version of Trident TridentVersion string `json:"trident_version,omitempty"` // PersistentStoreVersion is the Trident persistent store schema version PersistentStoreVersion string `json:"trident_store_version,omitempty"` // OrchestratorAPIVersion is the Trident API version OrchestratorAPIVersion string `json:"trident_api_version,omitempty"` }
TridentVersion defines a Trident version object. +genclient +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func NewTridentVersion ¶
func NewTridentVersion(persistent *config.PersistentStateVersion) (*TridentVersion, error)
NewTridentVersion creates a new persistent state version CRD object from an internal persistent_store.PersistentStateVersion object.
func (*TridentVersion) Apply ¶
func (in *TridentVersion) Apply(persistent *config.PersistentStateVersion) error
Apply applies changes from an internal persistent_store.PersistentStateVersion object to its Kubernetes CRD equivalent.
func (*TridentVersion) DeepCopy ¶
func (in *TridentVersion) DeepCopy() *TridentVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentVersion.
func (*TridentVersion) DeepCopyInto ¶
func (in *TridentVersion) DeepCopyInto(out *TridentVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TridentVersion) DeepCopyObject ¶
func (in *TridentVersion) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TridentVersion) GetFinalizers ¶
func (in *TridentVersion) GetFinalizers() []string
func (*TridentVersion) GetObjectMeta ¶
func (in *TridentVersion) GetObjectMeta() metav1.ObjectMeta
func (*TridentVersion) HasTridentFinalizers ¶
func (in *TridentVersion) HasTridentFinalizers() bool
func (*TridentVersion) Persistent ¶
func (in *TridentVersion) Persistent() (*config.PersistentStateVersion, error)
Persistent converts a Kubernetes CRD object into its internal persistent_store.PersistentStateVersion equivalent.
func (*TridentVersion) RemoveTridentFinalizers ¶
func (in *TridentVersion) RemoveTridentFinalizers()
type TridentVersionList ¶
type TridentVersionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // List of TridentVersion objects Items []*TridentVersion `json:"items"` }
TridentVersionList is a list of TridentVersion objects. +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TridentVersionList) DeepCopy ¶
func (in *TridentVersionList) DeepCopy() *TridentVersionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentVersionList.
func (*TridentVersionList) DeepCopyInto ¶
func (in *TridentVersionList) DeepCopyInto(out *TridentVersionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TridentVersionList) DeepCopyObject ¶
func (in *TridentVersionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TridentVolume ¶
type TridentVolume struct { metav1.TypeMeta `json:",inline"` // +k8s:openapi-gen=false metav1.ObjectMeta `json:"metadata,omitempty"` // Config is the Volumes Config Config runtime.RawExtension `json:"config"` // BackendUUID is the UUID of the TridentBackend object BackendUUID string `json:"backendUUID"` // Pool is the volumes pool Pool string `json:"pool"` // Orphaned defines if the backend is orphaned Orphaned bool `json:"orphaned"` // State records the TridentVolume's state State string `json:"state"` }
TridentVolume defines a Trident volume. +genclient +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func NewTridentVolume ¶
func NewTridentVolume(persistent *storage.VolumeExternal) (*TridentVolume, error)
NewTridentVolume creates a new storage class CRD object from a internal storage.VolumeExternal object
func (*TridentVolume) Apply ¶
func (in *TridentVolume) Apply(persistent *storage.VolumeExternal) error
Apply applies changes from an internal storage.VolumeExternal object to its Kubernetes CRD equivalent
func (*TridentVolume) DeepCopy ¶
func (in *TridentVolume) DeepCopy() *TridentVolume
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentVolume.
func (*TridentVolume) DeepCopyInto ¶
func (in *TridentVolume) DeepCopyInto(out *TridentVolume)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TridentVolume) DeepCopyObject ¶
func (in *TridentVolume) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TridentVolume) GetFinalizers ¶
func (in *TridentVolume) GetFinalizers() []string
func (*TridentVolume) GetObjectMeta ¶
func (in *TridentVolume) GetObjectMeta() metav1.ObjectMeta
func (*TridentVolume) HasTridentFinalizers ¶
func (in *TridentVolume) HasTridentFinalizers() bool
func (*TridentVolume) Persistent ¶
func (in *TridentVolume) Persistent() (*storage.VolumeExternal, error)
Persistent converts a Kubernetes CRD object into its internal storage.VolumeExternal equivalent
func (*TridentVolume) RemoveTridentFinalizers ¶
func (in *TridentVolume) RemoveTridentFinalizers()
type TridentVolumeList ¶
type TridentVolumeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // List of TridentVolume objects Items []*TridentVolume `json:"items"` }
TridentVolumeList is a list of TridentVolume objects. +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TridentVolumeList) DeepCopy ¶
func (in *TridentVolumeList) DeepCopy() *TridentVolumeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentVolumeList.
func (*TridentVolumeList) DeepCopyInto ¶
func (in *TridentVolumeList) DeepCopyInto(out *TridentVolumeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TridentVolumeList) DeepCopyObject ¶
func (in *TridentVolumeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.