Documentation ¶
Overview ¶
This package has the automatically generated clientset.
Index ¶
- Constants
- Variables
- func GetTransitioningMirrorStatusStates() []string
- func GetTridentFinalizers() []string
- func GetValidMirrorSpecStates() []string
- func Kind(kind string) schema.GroupKind
- func NameFix(n string) string
- func Resource(resource string) schema.GroupResource
- type TridentBackend
- func (in *TridentBackend) Apply(ctx context.Context, 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 TridentBackendConfig
- func (in *TridentBackendConfig) AddTridentFinalizers()
- func (in *TridentBackendConfig) DeepCopy() *TridentBackendConfig
- func (in *TridentBackendConfig) DeepCopyInto(out *TridentBackendConfig)
- func (in *TridentBackendConfig) DeepCopyObject() runtime.Object
- func (in *TridentBackendConfig) GetFinalizers() []string
- func (in *TridentBackendConfig) GetObjectMeta() metav1.ObjectMeta
- func (in *TridentBackendConfig) HasTridentFinalizers() bool
- func (in *TridentBackendConfig) IsSpecValid() bool
- func (in *TridentBackendConfig) RemoveTridentFinalizers()
- func (in *TridentBackendConfig) Validate() error
- type TridentBackendConfigBackendInfo
- type TridentBackendConfigList
- type TridentBackendConfigPhase
- type TridentBackendConfigSpec
- func (in *TridentBackendConfigSpec) DeepCopy() *TridentBackendConfigSpec
- func (in *TridentBackendConfigSpec) DeepCopyInto(out *TridentBackendConfigSpec)
- func (s *TridentBackendConfigSpec) GetDeletionPolicy() (string, error)
- func (s *TridentBackendConfigSpec) GetSecretName() (string, error)
- func (s *TridentBackendConfigSpec) SetDefaultsAndValidate(backendName string) error
- func (s *TridentBackendConfigSpec) ToString() string
- func (s *TridentBackendConfigSpec) ValidateDeletionPolicy(deletionPolicy string) error
- type TridentBackendConfigStatus
- type TridentBackendList
- type TridentCRD
- type TridentMirrorRelationship
- func (in *TridentMirrorRelationship) AddTridentFinalizers()
- func (in *TridentMirrorRelationship) DeepCopy() *TridentMirrorRelationship
- func (in *TridentMirrorRelationship) DeepCopyInto(out *TridentMirrorRelationship)
- func (in *TridentMirrorRelationship) DeepCopyObject() runtime.Object
- func (in *TridentMirrorRelationship) GetFinalizers() []string
- func (in *TridentMirrorRelationship) GetObjectMeta() metav1.ObjectMeta
- func (in *TridentMirrorRelationship) HasTridentFinalizers() bool
- func (in *TridentMirrorRelationship) IsValid() (isValid bool, reason string)
- func (in *TridentMirrorRelationship) RemoveTridentFinalizers()
- type TridentMirrorRelationshipCondition
- type TridentMirrorRelationshipList
- type TridentMirrorRelationshipSpec
- type TridentMirrorRelationshipStatus
- type TridentMirrorRelationshipVolumeMapping
- 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 TridentSnapshotInfo
- func (in *TridentSnapshotInfo) AddTridentFinalizers()
- func (in *TridentSnapshotInfo) DeepCopy() *TridentSnapshotInfo
- func (in *TridentSnapshotInfo) DeepCopyInto(out *TridentSnapshotInfo)
- func (in *TridentSnapshotInfo) DeepCopyObject() runtime.Object
- func (in *TridentSnapshotInfo) GetFinalizers() []string
- func (in *TridentSnapshotInfo) GetObjectMeta() metav1.ObjectMeta
- func (in *TridentSnapshotInfo) HasTridentFinalizers() bool
- func (in *TridentSnapshotInfo) IsValid() (isValid bool, reason string)
- func (in *TridentSnapshotInfo) RemoveTridentFinalizers()
- type TridentSnapshotInfoList
- type TridentSnapshotInfoSpec
- type TridentSnapshotInfoStatus
- 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(ctx context.Context, 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
- type TridentVolumePublication
- func (in *TridentVolumePublication) AddTridentFinalizers()
- func (in *TridentVolumePublication) Apply(persistent *utils.VolumePublication) error
- func (in *TridentVolumePublication) DeepCopy() *TridentVolumePublication
- func (in *TridentVolumePublication) DeepCopyInto(out *TridentVolumePublication)
- func (in *TridentVolumePublication) DeepCopyObject() runtime.Object
- func (in *TridentVolumePublication) GetFinalizers() []string
- func (in *TridentVolumePublication) GetObjectMeta() metav1.ObjectMeta
- func (in *TridentVolumePublication) HasTridentFinalizers() bool
- func (in *TridentVolumePublication) Persistent() (*utils.VolumePublication, error)
- func (in *TridentVolumePublication) RemoveTridentFinalizers()
- type TridentVolumePublicationList
- type TridentVolumeReference
- func (in *TridentVolumeReference) AddTridentFinalizers()
- func (in *TridentVolumeReference) CacheKey() string
- func (in *TridentVolumeReference) DeepCopy() *TridentVolumeReference
- func (in *TridentVolumeReference) DeepCopyInto(out *TridentVolumeReference)
- func (in *TridentVolumeReference) DeepCopyObject() runtime.Object
- func (in *TridentVolumeReference) GetFinalizers() []string
- func (in *TridentVolumeReference) GetObjectMeta() metav1.ObjectMeta
- func (in *TridentVolumeReference) HasTridentFinalizers() bool
- func (in *TridentVolumeReference) RemoveTridentFinalizers()
- type TridentVolumeReferenceList
- type TridentVolumeReferenceSpec
Constants ¶
const ( BackendDeletionPolicyDelete string = "delete" BackendDeletionPolicyRetain string = "retain" )
const ( GroupName = "trident.netapp.io" GroupVersion = "v1" )
const ( // SnapshotInfoInvalid implies the user supplied a non-feasible TSI spec SnapshotInfoInvalid = "invalid" SnapshotInfoUpdateFailed = "updateFailed" SnapshotInfoUpdated = "updated" )
const ( MirrorStateEstablished = "established" MirrorStateEstablishing = "establishing" MirrorStateReestablished = "reestablished" MirrorStateReestablishing = "reestablishing" MirrorStatePromoted = "promoted" MirrorStatePromoting = "promoting" // MirrorStateFailed means we could not reach the desired state MirrorStateFailed = "failed" // MirrorStateInvalid means we can never reach the desired state with the current spec // Invalid implies the user supplied a non-feasible TMR spec MirrorStateInvalid = "invalid" MirrorStateReleased = "released" )
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 GetTransitioningMirrorStatusStates ¶
func GetTransitioningMirrorStatusStates() []string
func GetTridentFinalizers ¶
func GetTridentFinalizers() []string
func GetValidMirrorSpecStates ¶
func GetValidMirrorSpecStates() []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"` // ConfigRef is a reference to the TridentBackendConfig object ConfigRef string `json:"configRef"` }
TridentBackend defines a Trident backend. +genclient +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func NewTridentBackend ¶
func NewTridentBackend(ctx context.Context, 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(ctx context.Context, 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 TridentBackendConfig ¶
type TridentBackendConfig struct { metav1.TypeMeta `json:",inline"` // +k8s:openapi-gen=false metav1.ObjectMeta `json:"metadata,omitempty"` // Input spec for the Trident Backend Spec TridentBackendConfigSpec `json:"spec"` Status TridentBackendConfigStatus `json:"status"` }
TridentBackendConfig defines a Trident backend. +genclient +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TridentBackendConfig) AddTridentFinalizers ¶
func (in *TridentBackendConfig) AddTridentFinalizers()
func (*TridentBackendConfig) DeepCopy ¶
func (in *TridentBackendConfig) DeepCopy() *TridentBackendConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentBackendConfig.
func (*TridentBackendConfig) DeepCopyInto ¶
func (in *TridentBackendConfig) DeepCopyInto(out *TridentBackendConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TridentBackendConfig) DeepCopyObject ¶
func (in *TridentBackendConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TridentBackendConfig) GetFinalizers ¶
func (in *TridentBackendConfig) GetFinalizers() []string
func (*TridentBackendConfig) GetObjectMeta ¶
func (in *TridentBackendConfig) GetObjectMeta() metav1.ObjectMeta
func (*TridentBackendConfig) HasTridentFinalizers ¶
func (in *TridentBackendConfig) HasTridentFinalizers() bool
func (*TridentBackendConfig) IsSpecValid ¶
func (in *TridentBackendConfig) IsSpecValid() bool
func (*TridentBackendConfig) RemoveTridentFinalizers ¶
func (in *TridentBackendConfig) RemoveTridentFinalizers()
func (*TridentBackendConfig) Validate ¶
func (in *TridentBackendConfig) Validate() error
Validate function validates the TridentBackendConfig
type TridentBackendConfigBackendInfo ¶
type TridentBackendConfigBackendInfo struct { BackendName string `json:"backendName"` BackendUUID string `json:"backendUUID"` }
func (*TridentBackendConfigBackendInfo) DeepCopy ¶
func (in *TridentBackendConfigBackendInfo) DeepCopy() *TridentBackendConfigBackendInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentBackendConfigBackendInfo.
func (*TridentBackendConfigBackendInfo) DeepCopyInto ¶
func (in *TridentBackendConfigBackendInfo) DeepCopyInto(out *TridentBackendConfigBackendInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TridentBackendConfigList ¶
type TridentBackendConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // List of TridentBackendConfig objects Items []*TridentBackendConfig `json:"items"` }
TridentBackendConfigList is a list of TridentBackend objects. +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TridentBackendConfigList) DeepCopy ¶
func (in *TridentBackendConfigList) DeepCopy() *TridentBackendConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentBackendConfigList.
func (*TridentBackendConfigList) DeepCopyInto ¶
func (in *TridentBackendConfigList) DeepCopyInto(out *TridentBackendConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TridentBackendConfigList) DeepCopyObject ¶
func (in *TridentBackendConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TridentBackendConfigPhase ¶
type TridentBackendConfigPhase string
const ( // used for TridentBackendConfigs that failed to bind PhaseUnbound TridentBackendConfigPhase = "" // used for TridentBackendConfigs that are bound PhaseBound TridentBackendConfigPhase = "Bound" // used for TridentBackendConfigs that were deleted using deletionPolicy `delete`, // but are still bound to a backend that went into a deleting state after a deletion attempt via tbc PhaseDeleting TridentBackendConfigPhase = "Deleting" // used for TridentBackendConfigs that are unknown after bound e.g. due to tbe CRD deletion etc. PhaseUnknown TridentBackendConfigPhase = "Unknown" // used for TridentBackendConfigs that lost their underlying // TridentBackend. The config was bound to a TridentBackendConfigs // and this TridentBackend does not exist any longer PhaseLost TridentBackendConfigPhase = "Lost" )
type TridentBackendConfigSpec ¶
type TridentBackendConfigSpec struct {
runtime.RawExtension
}
TridentBackendConfigSpec defines the desired state of TridentBackendConfig
func (*TridentBackendConfigSpec) DeepCopy ¶
func (in *TridentBackendConfigSpec) DeepCopy() *TridentBackendConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentBackendConfigSpec.
func (*TridentBackendConfigSpec) DeepCopyInto ¶
func (in *TridentBackendConfigSpec) DeepCopyInto(out *TridentBackendConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TridentBackendConfigSpec) GetDeletionPolicy ¶
func (s *TridentBackendConfigSpec) GetDeletionPolicy() (string, error)
func (*TridentBackendConfigSpec) GetSecretName ¶
func (s *TridentBackendConfigSpec) GetSecretName() (string, error)
func (*TridentBackendConfigSpec) SetDefaultsAndValidate ¶
func (s *TridentBackendConfigSpec) SetDefaultsAndValidate(backendName string) error
func (*TridentBackendConfigSpec) ToString ¶
func (s *TridentBackendConfigSpec) ToString() string
func (*TridentBackendConfigSpec) ValidateDeletionPolicy ¶
func (s *TridentBackendConfigSpec) ValidateDeletionPolicy(deletionPolicy string) error
type TridentBackendConfigStatus ¶
type TridentBackendConfigStatus struct { Message string `json:"message"` BackendInfo TridentBackendConfigBackendInfo `json:"backendInfo"` DeletionPolicy string `json:"deletionPolicy"` Phase string `json:"phase"` LastOperationStatus string `json:"lastOperationStatus"` }
TridentBackendConfigStatus defines the observed state of TridentBackendConfig
func (*TridentBackendConfigStatus) DeepCopy ¶
func (in *TridentBackendConfigStatus) DeepCopy() *TridentBackendConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentBackendConfigStatus.
func (*TridentBackendConfigStatus) DeepCopyInto ¶
func (in *TridentBackendConfigStatus) DeepCopyInto(out *TridentBackendConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 TridentMirrorRelationship ¶
type TridentMirrorRelationship struct { metav1.TypeMeta `json:",inline"` // +k8s:openapi-gen=false metav1.ObjectMeta `json:"metadata,omitempty"` // Input spec for the Trident Backend Spec TridentMirrorRelationshipSpec `json:"spec"` Status TridentMirrorRelationshipStatus `json:"status"` }
TridentMirrorRelationship defines a Trident Mirror relationship. +genclient +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TridentMirrorRelationship) AddTridentFinalizers ¶
func (in *TridentMirrorRelationship) AddTridentFinalizers()
func (*TridentMirrorRelationship) DeepCopy ¶
func (in *TridentMirrorRelationship) DeepCopy() *TridentMirrorRelationship
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentMirrorRelationship.
func (*TridentMirrorRelationship) DeepCopyInto ¶
func (in *TridentMirrorRelationship) DeepCopyInto(out *TridentMirrorRelationship)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TridentMirrorRelationship) DeepCopyObject ¶
func (in *TridentMirrorRelationship) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TridentMirrorRelationship) GetFinalizers ¶
func (in *TridentMirrorRelationship) GetFinalizers() []string
func (*TridentMirrorRelationship) GetObjectMeta ¶
func (in *TridentMirrorRelationship) GetObjectMeta() metav1.ObjectMeta
func (*TridentMirrorRelationship) HasTridentFinalizers ¶
func (in *TridentMirrorRelationship) HasTridentFinalizers() bool
func (*TridentMirrorRelationship) IsValid ¶
func (in *TridentMirrorRelationship) IsValid() (isValid bool, reason string)
isValid returns whether the TridentMirrorRelationship CR provided has its fields set to valid value combinations and any reason it is invalid as a string
func (*TridentMirrorRelationship) RemoveTridentFinalizers ¶
func (in *TridentMirrorRelationship) RemoveTridentFinalizers()
type TridentMirrorRelationshipCondition ¶
type TridentMirrorRelationshipCondition struct { MirrorState string `json:"state"` Message string `json:"message"` LastTransitionTime string `json:"lastTransitionTime"` ObservedGeneration int `json:"observedGeneration"` LocalVolumeHandle string `json:"localVolumeHandle"` LocalPVCName string `json:"localPVCName"` RemoteVolumeHandle string `json:"remoteVolumeHandle"` ReplicationPolicy string `json:"replicationPolicy"` ReplicationSchedule string `json:"replicationSchedule"` }
func (*TridentMirrorRelationshipCondition) DeepCopy ¶
func (in *TridentMirrorRelationshipCondition) DeepCopy() *TridentMirrorRelationshipCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentMirrorRelationshipCondition.
func (*TridentMirrorRelationshipCondition) DeepCopyInto ¶
func (in *TridentMirrorRelationshipCondition) DeepCopyInto(out *TridentMirrorRelationshipCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TridentMirrorRelationshipList ¶
type TridentMirrorRelationshipList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // List of TridentMirrorRelationship objects Items []*TridentMirrorRelationship `json:"items"` }
TridentMirrorRelationshipList is a list of TridentBackend objects. +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TridentMirrorRelationshipList) DeepCopy ¶
func (in *TridentMirrorRelationshipList) DeepCopy() *TridentMirrorRelationshipList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentMirrorRelationshipList.
func (*TridentMirrorRelationshipList) DeepCopyInto ¶
func (in *TridentMirrorRelationshipList) DeepCopyInto(out *TridentMirrorRelationshipList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TridentMirrorRelationshipList) DeepCopyObject ¶
func (in *TridentMirrorRelationshipList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TridentMirrorRelationshipSpec ¶
type TridentMirrorRelationshipSpec struct { MirrorState string `json:"state"` ReplicationPolicy string `json:"replicationPolicy"` ReplicationSchedule string `json:"replicationSchedule"` VolumeMappings []*TridentMirrorRelationshipVolumeMapping `json:"volumeMappings"` }
TridentMirrorRelationshipSpec defines the desired state of TridentMirrorRelationship
func (*TridentMirrorRelationshipSpec) DeepCopy ¶
func (in *TridentMirrorRelationshipSpec) DeepCopy() *TridentMirrorRelationshipSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentMirrorRelationshipSpec.
func (*TridentMirrorRelationshipSpec) DeepCopyInto ¶
func (in *TridentMirrorRelationshipSpec) DeepCopyInto(out *TridentMirrorRelationshipSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TridentMirrorRelationshipStatus ¶
type TridentMirrorRelationshipStatus struct {
Conditions []*TridentMirrorRelationshipCondition `json:"conditions"`
}
TridentMirrorRelationshipStatus defines the observed state of TridentMirrorRelationship
func (*TridentMirrorRelationshipStatus) DeepCopy ¶
func (in *TridentMirrorRelationshipStatus) DeepCopy() *TridentMirrorRelationshipStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentMirrorRelationshipStatus.
func (*TridentMirrorRelationshipStatus) DeepCopyInto ¶
func (in *TridentMirrorRelationshipStatus) DeepCopyInto(out *TridentMirrorRelationshipStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TridentMirrorRelationshipVolumeMapping ¶
type TridentMirrorRelationshipVolumeMapping struct { RemoteVolumeHandle string `json:"remoteVolumeHandle"` LocalPVCName string `json:"localPVCName"` PromotedSnapshotHandle string `json:"promotedSnapshotHandle"` }
func (*TridentMirrorRelationshipVolumeMapping) DeepCopy ¶
func (in *TridentMirrorRelationshipVolumeMapping) DeepCopy() *TridentMirrorRelationshipVolumeMapping
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentMirrorRelationshipVolumeMapping.
func (*TridentMirrorRelationshipVolumeMapping) DeepCopyInto ¶
func (in *TridentMirrorRelationshipVolumeMapping) DeepCopyInto(out *TridentMirrorRelationshipVolumeMapping)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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"` // NodePrep is the current status of node preparation for this node NodePrep runtime.RawExtension `json:"nodePrep,omitempty"` // HostInfo contains information about the node's host machine HostInfo runtime.RawExtension `json:"hostInfo,omitempty"` // Deleted indicates that Trident received an event that the node has been removed Deleted bool `json:"deleted"` }
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 TridentSnapshotInfo ¶
type TridentSnapshotInfo struct { metav1.TypeMeta `json:",inline"` // +k8s:openapi-gen=false metav1.ObjectMeta `json:"metadata,omitempty"` // Input spec for the Trident Backend Spec TridentSnapshotInfoSpec `json:"spec"` Status TridentSnapshotInfoStatus `json:"status"` }
TridentSnapshotInfo maps a k8s snapshot to the Trident internal snapshot. +genclient +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TridentSnapshotInfo) AddTridentFinalizers ¶
func (in *TridentSnapshotInfo) AddTridentFinalizers()
func (*TridentSnapshotInfo) DeepCopy ¶
func (in *TridentSnapshotInfo) DeepCopy() *TridentSnapshotInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentSnapshotInfo.
func (*TridentSnapshotInfo) DeepCopyInto ¶
func (in *TridentSnapshotInfo) DeepCopyInto(out *TridentSnapshotInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TridentSnapshotInfo) DeepCopyObject ¶
func (in *TridentSnapshotInfo) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TridentSnapshotInfo) GetFinalizers ¶
func (in *TridentSnapshotInfo) GetFinalizers() []string
func (*TridentSnapshotInfo) GetObjectMeta ¶
func (in *TridentSnapshotInfo) GetObjectMeta() metav1.ObjectMeta
func (*TridentSnapshotInfo) HasTridentFinalizers ¶
func (in *TridentSnapshotInfo) HasTridentFinalizers() bool
func (*TridentSnapshotInfo) IsValid ¶
func (in *TridentSnapshotInfo) IsValid() (isValid bool, reason string)
isValid returns whether the TridentSnapshotInfo CR provided has it's fields set to valid value combinations and any reason it is invalid as a string
func (*TridentSnapshotInfo) RemoveTridentFinalizers ¶
func (in *TridentSnapshotInfo) RemoveTridentFinalizers()
type TridentSnapshotInfoList ¶
type TridentSnapshotInfoList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // List of TridentSnapshotInfo objects Items []*TridentSnapshotInfo `json:"items"` }
TridentSnapshotInfoList is a list of TridentSnapshotInfo objects. +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TridentSnapshotInfoList) DeepCopy ¶
func (in *TridentSnapshotInfoList) DeepCopy() *TridentSnapshotInfoList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentSnapshotInfoList.
func (*TridentSnapshotInfoList) DeepCopyInto ¶
func (in *TridentSnapshotInfoList) DeepCopyInto(out *TridentSnapshotInfoList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TridentSnapshotInfoList) DeepCopyObject ¶
func (in *TridentSnapshotInfoList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TridentSnapshotInfoSpec ¶
type TridentSnapshotInfoSpec struct {
SnapshotName string `json:"snapshotName"`
}
TridentSnapshotInfoSpec defines the desired state of TridentSnapshotInfo
func (*TridentSnapshotInfoSpec) DeepCopy ¶
func (in *TridentSnapshotInfoSpec) DeepCopy() *TridentSnapshotInfoSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentSnapshotInfoSpec.
func (*TridentSnapshotInfoSpec) DeepCopyInto ¶
func (in *TridentSnapshotInfoSpec) DeepCopyInto(out *TridentSnapshotInfoSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TridentSnapshotInfoStatus ¶
type TridentSnapshotInfoStatus struct { SnapshotHandle string `json:"snapshotHandle"` LastTransitionTime string `json:"lastTransitionTime"` ObservedGeneration int `json:"observedGeneration"` }
TridentSnapshotInfoStatus defines the observed state of TridentSnapshotInfo
func (*TridentSnapshotInfoStatus) DeepCopy ¶
func (in *TridentSnapshotInfoStatus) DeepCopy() *TridentSnapshotInfoStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentSnapshotInfoStatus.
func (*TridentSnapshotInfoStatus) DeepCopyInto ¶
func (in *TridentSnapshotInfoStatus) DeepCopyInto(out *TridentSnapshotInfoStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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"` // PublicationsSynced indicates if Trident has done an initial syncing of the publication objects with the // container orchestrator PublicationsSynced bool `json:"publications_synced,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(ctx context.Context, 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(ctx context.Context, 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.
type TridentVolumePublication ¶
type TridentVolumePublication struct { metav1.TypeMeta `json:",inline"` // +k8s:openapi-gen=false metav1.ObjectMeta `json:"metadata,omitempty"` // VolumeID is the ID of the volume as given by the CO VolumeID string `json:"volumeID"` // NodeID is the ID of the node as given by the CO NodeID string `json:"nodeID"` // ReadOnly indicates that the ControllerPublishVolume request had this flag value ReadOnly bool `json:"readOnly"` // AccessMode describes how the CO intends to use the volume AccessMode int32 `json:"accessMode,omitempty"` // NotSafeToAttach indicates that the volume is unsafe to attach and detach NotSafeToAttach bool `json:"notSafeToAttach,omitempty"` // Unpublished indicates that k8s has attempted to unpublish this publication Unpublished bool `json:"unpublished,omitempty"` }
TridentVolumePublication tracks volumes the Trident controller has been asked to publish. +genclient +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func NewTridentVolumePublication ¶
func NewTridentVolumePublication(persistent *utils.VolumePublication) (*TridentVolumePublication, error)
NewTridentVolumePublication creates a new volume publication CRD object from an internal utils.VolumePublication object.
func (*TridentVolumePublication) AddTridentFinalizers ¶
func (in *TridentVolumePublication) AddTridentFinalizers()
func (*TridentVolumePublication) Apply ¶
func (in *TridentVolumePublication) Apply(persistent *utils.VolumePublication) error
Apply applies changes from an internal utils.VolumePublication object to its Kubernetes CRD equivalent.
func (*TridentVolumePublication) DeepCopy ¶
func (in *TridentVolumePublication) DeepCopy() *TridentVolumePublication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentVolumePublication.
func (*TridentVolumePublication) DeepCopyInto ¶
func (in *TridentVolumePublication) DeepCopyInto(out *TridentVolumePublication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TridentVolumePublication) DeepCopyObject ¶
func (in *TridentVolumePublication) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TridentVolumePublication) GetFinalizers ¶
func (in *TridentVolumePublication) GetFinalizers() []string
func (*TridentVolumePublication) GetObjectMeta ¶
func (in *TridentVolumePublication) GetObjectMeta() metav1.ObjectMeta
func (*TridentVolumePublication) HasTridentFinalizers ¶
func (in *TridentVolumePublication) HasTridentFinalizers() bool
func (*TridentVolumePublication) Persistent ¶
func (in *TridentVolumePublication) Persistent() (*utils.VolumePublication, error)
func (*TridentVolumePublication) RemoveTridentFinalizers ¶
func (in *TridentVolumePublication) RemoveTridentFinalizers()
type TridentVolumePublicationList ¶
type TridentVolumePublicationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // List of TridentVolumePublication objects Items []*TridentVolumePublication `json:"items"` }
TridentVolumePublicationList is a list of TridentVolumePublication objects. +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TridentVolumePublicationList) DeepCopy ¶
func (in *TridentVolumePublicationList) DeepCopy() *TridentVolumePublicationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentVolumePublicationList.
func (*TridentVolumePublicationList) DeepCopyInto ¶
func (in *TridentVolumePublicationList) DeepCopyInto(out *TridentVolumePublicationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TridentVolumePublicationList) DeepCopyObject ¶
func (in *TridentVolumePublicationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TridentVolumeReference ¶
type TridentVolumeReference struct { metav1.TypeMeta `json:",inline"` // +k8s:openapi-gen=false metav1.ObjectMeta `json:"metadata,omitempty"` // Input spec for the Trident Volume Reference Spec TridentVolumeReferenceSpec `json:"spec"` }
TridentVolumeReference defines a PVC whose backing volume Trident may share to other namespaces. +genclient +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TridentVolumeReference) AddTridentFinalizers ¶
func (in *TridentVolumeReference) AddTridentFinalizers()
func (*TridentVolumeReference) CacheKey ¶
func (in *TridentVolumeReference) CacheKey() string
func (*TridentVolumeReference) DeepCopy ¶
func (in *TridentVolumeReference) DeepCopy() *TridentVolumeReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentVolumeReference.
func (*TridentVolumeReference) DeepCopyInto ¶
func (in *TridentVolumeReference) DeepCopyInto(out *TridentVolumeReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TridentVolumeReference) DeepCopyObject ¶
func (in *TridentVolumeReference) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TridentVolumeReference) GetFinalizers ¶
func (in *TridentVolumeReference) GetFinalizers() []string
func (*TridentVolumeReference) GetObjectMeta ¶
func (in *TridentVolumeReference) GetObjectMeta() metav1.ObjectMeta
func (*TridentVolumeReference) HasTridentFinalizers ¶
func (in *TridentVolumeReference) HasTridentFinalizers() bool
func (*TridentVolumeReference) RemoveTridentFinalizers ¶
func (in *TridentVolumeReference) RemoveTridentFinalizers()
type TridentVolumeReferenceList ¶
type TridentVolumeReferenceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // List of TridentVolumeReference objects Items []*TridentVolumeReference `json:"items"` }
TridentVolumeReferenceList is a list of TridentVolumeReference objects. +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TridentVolumeReferenceList) DeepCopy ¶
func (in *TridentVolumeReferenceList) DeepCopy() *TridentVolumeReferenceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentVolumeReferenceList.
func (*TridentVolumeReferenceList) DeepCopyInto ¶
func (in *TridentVolumeReferenceList) DeepCopyInto(out *TridentVolumeReferenceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TridentVolumeReferenceList) DeepCopyObject ¶
func (in *TridentVolumeReferenceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TridentVolumeReferenceSpec ¶
type TridentVolumeReferenceSpec struct { // PVCName is the name of the referenced PVC PVCName string `json:"pvcName"` // PVCNamespace is the namespace containing the referenced PVC PVCNamespace string `json:"pvcNamespace"` }
TridentVolumeReferenceSpec defines the desired state of TridentVolumeReference
func (*TridentVolumeReferenceSpec) DeepCopy ¶
func (in *TridentVolumeReferenceSpec) DeepCopy() *TridentVolumeReferenceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TridentVolumeReferenceSpec.
func (*TridentVolumeReferenceSpec) DeepCopyInto ¶
func (in *TridentVolumeReferenceSpec) DeepCopyInto(out *TridentVolumeReferenceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.