Documentation ¶
Index ¶
- Constants
- Variables
- func GetSupportedVolumeFromPVSpec(spec *core_v1.PersistentVolumeSpec) string
- func GetSupportedVolumeFromSnapshotDataSpec(spec *VolumeSnapshotDataSpec) string
- func Resource(resource string) schema.GroupResource
- type AWSElasticBlockStoreVolumeSnapshotSource
- type CinderVolumeSnapshotSource
- type GCEPersistentDiskSnapshotSource
- type GlusterVolumeSnapshotSource
- type HostPathVolumeSnapshotSource
- type VolumeSnapshot
- func (in *VolumeSnapshot) DeepCopy() *VolumeSnapshot
- func (in *VolumeSnapshot) DeepCopyInto(out *VolumeSnapshot)
- func (in *VolumeSnapshot) DeepCopyObject() runtime.Object
- func (v *VolumeSnapshot) GetObjectKind() schema.ObjectKind
- func (v *VolumeSnapshot) GetObjectMeta() metav1.Object
- func (v *VolumeSnapshot) UnmarshalJSON(data []byte) error
- type VolumeSnapshotCondition
- type VolumeSnapshotConditionType
- type VolumeSnapshotCopy
- type VolumeSnapshotData
- func (in *VolumeSnapshotData) DeepCopy() *VolumeSnapshotData
- func (in *VolumeSnapshotData) DeepCopyInto(out *VolumeSnapshotData)
- func (in *VolumeSnapshotData) DeepCopyObject() runtime.Object
- func (v *VolumeSnapshotData) GetObjectKind() schema.ObjectKind
- func (v *VolumeSnapshotData) GetObjectMeta() metav1.Object
- func (v *VolumeSnapshotData) UnmarshalJSON(data []byte) error
- type VolumeSnapshotDataCondition
- type VolumeSnapshotDataConditionType
- type VolumeSnapshotDataCopy
- type VolumeSnapshotDataList
- func (in *VolumeSnapshotDataList) DeepCopy() *VolumeSnapshotDataList
- func (in *VolumeSnapshotDataList) DeepCopyInto(out *VolumeSnapshotDataList)
- func (in *VolumeSnapshotDataList) DeepCopyObject() runtime.Object
- func (vd *VolumeSnapshotDataList) GetListMeta() metav1.ListInterface
- func (vd *VolumeSnapshotDataList) GetObjectKind() schema.ObjectKind
- func (vd *VolumeSnapshotDataList) UnmarshalJSON(data []byte) error
- type VolumeSnapshotDataListCopy
- type VolumeSnapshotDataSource
- type VolumeSnapshotDataSpec
- type VolumeSnapshotDataStatus
- type VolumeSnapshotList
- func (in *VolumeSnapshotList) DeepCopy() *VolumeSnapshotList
- func (in *VolumeSnapshotList) DeepCopyInto(out *VolumeSnapshotList)
- func (in *VolumeSnapshotList) DeepCopyObject() runtime.Object
- func (vd *VolumeSnapshotList) GetListMeta() metav1.ListInterface
- func (vd *VolumeSnapshotList) GetObjectKind() schema.ObjectKind
- func (vd *VolumeSnapshotList) UnmarshalJSON(data []byte) error
- type VolumeSnapshotListCopy
- type VolumeSnapshotSpec
- type VolumeSnapshotStatus
Constants ¶
const ( // VolumeSnapshotDataResourcePlural is "volumesnapshotdatas" VolumeSnapshotDataResourcePlural = "volumesnapshotdatas" // VolumeSnapshotResourcePlural is "volumesnapshots" VolumeSnapshotResourcePlural = "volumesnapshots" )
const GroupName = "volumesnapshot.external-storage.k8s.io"
GroupName is the group name use in this package.
Variables ¶
var ( // SchemeBuilder is the new scheme builder SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme adds to scheme AddToScheme = SchemeBuilder.AddToScheme // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"} )
Functions ¶
func GetSupportedVolumeFromPVSpec ¶
func GetSupportedVolumeFromPVSpec(spec *core_v1.PersistentVolumeSpec) string
GetSupportedVolumeFromPVSpec gets supported volume from PV spec
func GetSupportedVolumeFromSnapshotDataSpec ¶
func GetSupportedVolumeFromSnapshotDataSpec(spec *VolumeSnapshotDataSpec) string
GetSupportedVolumeFromSnapshotDataSpec gets supported volume from snapshot data spec
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group-qualified GroupResource.
Types ¶
type AWSElasticBlockStoreVolumeSnapshotSource ¶
type AWSElasticBlockStoreVolumeSnapshotSource struct { // Unique id of the persistent disk snapshot resource. Used to identify the disk snapshot in AWS SnapshotID string `json:"snapshotId"` // Original volume file system type. The volume created from the snapshot would be pre-formatted // using the same file system, so it has to be saved along with the AWS snapshot ID // +optional FSType string `json:"fsType"` }
AWSElasticBlockStoreVolumeSnapshotSource is AWS EBS volume snapshot source
func (*AWSElasticBlockStoreVolumeSnapshotSource) DeepCopy ¶
func (in *AWSElasticBlockStoreVolumeSnapshotSource) DeepCopy() *AWSElasticBlockStoreVolumeSnapshotSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSElasticBlockStoreVolumeSnapshotSource.
func (*AWSElasticBlockStoreVolumeSnapshotSource) DeepCopyInto ¶
func (in *AWSElasticBlockStoreVolumeSnapshotSource) DeepCopyInto(out *AWSElasticBlockStoreVolumeSnapshotSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CinderVolumeSnapshotSource ¶
type CinderVolumeSnapshotSource struct { // Unique id of the cinder volume snapshot resource. Used to identify the snapshot in OpenStack SnapshotID string `json:"snapshotId"` }
CinderVolumeSnapshotSource is Cinder volume snapshot source
func (*CinderVolumeSnapshotSource) DeepCopy ¶
func (in *CinderVolumeSnapshotSource) DeepCopy() *CinderVolumeSnapshotSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CinderVolumeSnapshotSource.
func (*CinderVolumeSnapshotSource) DeepCopyInto ¶
func (in *CinderVolumeSnapshotSource) DeepCopyInto(out *CinderVolumeSnapshotSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GCEPersistentDiskSnapshotSource ¶
type GCEPersistentDiskSnapshotSource struct { // Unique id of the persistent disk snapshot resource. Used to identify the disk snapshot in GCE SnapshotName string `json:"snapshotId"` }
GCEPersistentDiskSnapshotSource is GCE PD volume snapshot source
func (*GCEPersistentDiskSnapshotSource) DeepCopy ¶
func (in *GCEPersistentDiskSnapshotSource) DeepCopy() *GCEPersistentDiskSnapshotSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCEPersistentDiskSnapshotSource.
func (*GCEPersistentDiskSnapshotSource) DeepCopyInto ¶
func (in *GCEPersistentDiskSnapshotSource) DeepCopyInto(out *GCEPersistentDiskSnapshotSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GlusterVolumeSnapshotSource ¶
type GlusterVolumeSnapshotSource struct { // UniqueID represents a snapshot resource. SnapshotID string `json:"snapshotId"` }
GlusterVolumeSnapshotSource is Gluster volume snapshot source
func (*GlusterVolumeSnapshotSource) DeepCopy ¶
func (in *GlusterVolumeSnapshotSource) DeepCopy() *GlusterVolumeSnapshotSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlusterVolumeSnapshotSource.
func (*GlusterVolumeSnapshotSource) DeepCopyInto ¶
func (in *GlusterVolumeSnapshotSource) DeepCopyInto(out *GlusterVolumeSnapshotSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostPathVolumeSnapshotSource ¶
type HostPathVolumeSnapshotSource struct { // Path represents a tar file that stores the HostPath volume source Path string `json:"snapshot"` }
HostPathVolumeSnapshotSource is HostPath volume snapshot source
func (*HostPathVolumeSnapshotSource) DeepCopy ¶
func (in *HostPathVolumeSnapshotSource) DeepCopy() *HostPathVolumeSnapshotSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPathVolumeSnapshotSource.
func (*HostPathVolumeSnapshotSource) DeepCopyInto ¶
func (in *HostPathVolumeSnapshotSource) DeepCopyInto(out *HostPathVolumeSnapshotSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeSnapshot ¶
type VolumeSnapshot struct { metav1.TypeMeta `json:",inline"` Metadata metav1.ObjectMeta `json:"metadata"` // Spec represents the desired state of the snapshot // +optional Spec VolumeSnapshotSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` // Status represents the latest observer state of the snapshot // +optional Status VolumeSnapshotStatus `json:"status" protobuf:"bytes,3,opt,name=status"` }
VolumeSnapshot is the volume snapshot object accessible to the user. Upon successful creation of the actual snapshot by the volume provider it is bound to the corresponding VolumeSnapshotData through the VolumeSnapshotSpec
func (*VolumeSnapshot) DeepCopy ¶
func (in *VolumeSnapshot) DeepCopy() *VolumeSnapshot
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshot.
func (*VolumeSnapshot) DeepCopyInto ¶
func (in *VolumeSnapshot) DeepCopyInto(out *VolumeSnapshot)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumeSnapshot) DeepCopyObject ¶
func (in *VolumeSnapshot) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VolumeSnapshot) GetObjectKind ¶
func (v *VolumeSnapshot) GetObjectKind() schema.ObjectKind
GetObjectKind is required to satisfy Object interface
func (*VolumeSnapshot) GetObjectMeta ¶
func (v *VolumeSnapshot) GetObjectMeta() metav1.Object
GetObjectMeta is required to satisfy ObjectMetaAccessor interface
func (*VolumeSnapshot) UnmarshalJSON ¶
func (v *VolumeSnapshot) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshalls json data
type VolumeSnapshotCondition ¶
type VolumeSnapshotCondition struct { // Type of replication controller condition. Type VolumeSnapshotConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=VolumeSnapshotConditionType"` // Status of the condition, one of True, False, Unknown. Status core_v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=ConditionStatus"` // The last time the condition transitioned from one status to another. // +optional LastTransitionTime metav1.Time `json:"lastTransitionTime" protobuf:"bytes,3,opt,name=lastTransitionTime"` // The reason for the condition's last transition. // +optional Reason string `json:"reason" protobuf:"bytes,4,opt,name=reason"` // A human readable message indicating details about the transition. // +optional Message string `json:"message" protobuf:"bytes,5,opt,name=message"` }
VolumeSnapshotCondition describes the state of a volume snapshot at a certain point.
func (*VolumeSnapshotCondition) DeepCopy ¶
func (in *VolumeSnapshotCondition) DeepCopy() *VolumeSnapshotCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotCondition.
func (*VolumeSnapshotCondition) DeepCopyInto ¶
func (in *VolumeSnapshotCondition) DeepCopyInto(out *VolumeSnapshotCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeSnapshotConditionType ¶
type VolumeSnapshotConditionType string
VolumeSnapshotConditionType is the type of VolumeSnapshot conditions
const ( // VolumeSnapshotConditionPending means the snapshot is cut and the application // can resume accessing data if core_v1.ConditionStatus is True. It corresponds // to "Uploading" in GCE PD or "Pending" in AWS and core_v1.ConditionStatus is True. // It also corresponds to "Creating" in OpenStack Cinder and core_v1.ConditionStatus // is Unknown. VolumeSnapshotConditionPending VolumeSnapshotConditionType = "Pending" // VolumeSnapshotConditionReady is added when the snapshot has been successfully created and is ready to be used. VolumeSnapshotConditionReady VolumeSnapshotConditionType = "Ready" // VolumeSnapshotConditionError means an error occurred during snapshot creation. VolumeSnapshotConditionError VolumeSnapshotConditionType = "Error" )
These are valid conditions of a volume snapshot.
type VolumeSnapshotCopy ¶
type VolumeSnapshotCopy VolumeSnapshot
VolumeSnapshotCopy is a VolumeSnapshot type
func (*VolumeSnapshotCopy) DeepCopy ¶
func (in *VolumeSnapshotCopy) DeepCopy() *VolumeSnapshotCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotCopy.
func (*VolumeSnapshotCopy) DeepCopyInto ¶
func (in *VolumeSnapshotCopy) DeepCopyInto(out *VolumeSnapshotCopy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeSnapshotData ¶
type VolumeSnapshotData struct { metav1.TypeMeta `json:",inline"` // +optional Metadata metav1.ObjectMeta `json:"metadata"` // Spec represents the desired state of the snapshot // +optional Spec VolumeSnapshotDataSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` // Status represents the latest observed state of the snapshot // +optional Status VolumeSnapshotDataStatus `json:"status" protobuf:"bytes,3,opt,name=status"` }
VolumeSnapshotData represents the actual "on-disk" snapshot object
func (*VolumeSnapshotData) DeepCopy ¶
func (in *VolumeSnapshotData) DeepCopy() *VolumeSnapshotData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotData.
func (*VolumeSnapshotData) DeepCopyInto ¶
func (in *VolumeSnapshotData) DeepCopyInto(out *VolumeSnapshotData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumeSnapshotData) DeepCopyObject ¶
func (in *VolumeSnapshotData) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VolumeSnapshotData) GetObjectKind ¶
func (v *VolumeSnapshotData) GetObjectKind() schema.ObjectKind
GetObjectKind is required to satisfy Object interface
func (*VolumeSnapshotData) GetObjectMeta ¶
func (v *VolumeSnapshotData) GetObjectMeta() metav1.Object
GetObjectMeta is required to satisfy ObjectMetaAccessor interface
func (*VolumeSnapshotData) UnmarshalJSON ¶
func (v *VolumeSnapshotData) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals json data
type VolumeSnapshotDataCondition ¶
type VolumeSnapshotDataCondition struct { // Type of volume snapshot condition. Type VolumeSnapshotDataConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=VolumeSnapshotDataConditionType"` // Status of the condition, one of True, False, Unknown. Status core_v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=ConditionStatus"` // The last time the condition transitioned from one status to another. // +optional LastTransitionTime metav1.Time `json:"lastTransitionTime" protobuf:"bytes,3,opt,name=lastTransitionTime"` // The reason for the condition's last transition. // +optional Reason string `json:"reason" protobuf:"bytes,4,opt,name=reason"` // A human readable message indicating details about the transition. // +optional Message string `json:"message" protobuf:"bytes,5,opt,name=message"` }
VolumeSnapshotDataCondition describes the state of a volume snapshot at a certain point.
func (*VolumeSnapshotDataCondition) DeepCopy ¶
func (in *VolumeSnapshotDataCondition) DeepCopy() *VolumeSnapshotDataCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotDataCondition.
func (*VolumeSnapshotDataCondition) DeepCopyInto ¶
func (in *VolumeSnapshotDataCondition) DeepCopyInto(out *VolumeSnapshotDataCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeSnapshotDataConditionType ¶
type VolumeSnapshotDataConditionType string
VolumeSnapshotDataConditionType is the type of the VolumeSnapshotData condition
const ( // VolumeSnapshotDataReady is added when the on-disk snapshot has been successfully created. VolumeSnapshotDataConditionReady VolumeSnapshotDataConditionType = "Ready" // VolumeSnapshotDataPending is added when the on-disk snapshot has been successfully created but is not available to use. VolumeSnapshotDataConditionPending VolumeSnapshotDataConditionType = "Pending" // VolumeSnapshotDataError is added but the on-disk snapshot is failed to created VolumeSnapshotDataConditionError VolumeSnapshotDataConditionType = "Error" )
These are valid conditions of a volume snapshot.
type VolumeSnapshotDataCopy ¶
type VolumeSnapshotDataCopy VolumeSnapshotData
VolumeSnapshotDataCopy is a VolumeSnapshotData type
func (*VolumeSnapshotDataCopy) DeepCopy ¶
func (in *VolumeSnapshotDataCopy) DeepCopy() *VolumeSnapshotDataCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotDataCopy.
func (*VolumeSnapshotDataCopy) DeepCopyInto ¶
func (in *VolumeSnapshotDataCopy) DeepCopyInto(out *VolumeSnapshotDataCopy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeSnapshotDataList ¶
type VolumeSnapshotDataList struct { metav1.TypeMeta `json:",inline"` Metadata metav1.ListMeta `json:"metadata"` Items []VolumeSnapshotData `json:"items"` }
VolumeSnapshotDataList is a list of VolumeSnapshotData objects
func (*VolumeSnapshotDataList) DeepCopy ¶
func (in *VolumeSnapshotDataList) DeepCopy() *VolumeSnapshotDataList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotDataList.
func (*VolumeSnapshotDataList) DeepCopyInto ¶
func (in *VolumeSnapshotDataList) DeepCopyInto(out *VolumeSnapshotDataList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumeSnapshotDataList) DeepCopyObject ¶
func (in *VolumeSnapshotDataList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VolumeSnapshotDataList) GetListMeta ¶
func (vd *VolumeSnapshotDataList) GetListMeta() metav1.ListInterface
GetListMeta is required to satisfy ListMetaAccessor interface
func (*VolumeSnapshotDataList) GetObjectKind ¶
func (vd *VolumeSnapshotDataList) GetObjectKind() schema.ObjectKind
GetObjectKind is required to satisfy Object interface
func (*VolumeSnapshotDataList) UnmarshalJSON ¶
func (vd *VolumeSnapshotDataList) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals json data
type VolumeSnapshotDataListCopy ¶
type VolumeSnapshotDataListCopy VolumeSnapshotDataList
VolumeSnapshotDataListCopy is a VolumeSnapshotDataList type
func (*VolumeSnapshotDataListCopy) DeepCopy ¶
func (in *VolumeSnapshotDataListCopy) DeepCopy() *VolumeSnapshotDataListCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotDataListCopy.
func (*VolumeSnapshotDataListCopy) DeepCopyInto ¶
func (in *VolumeSnapshotDataListCopy) DeepCopyInto(out *VolumeSnapshotDataListCopy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeSnapshotDataSource ¶
type VolumeSnapshotDataSource struct { // HostPath represents a directory on the host. // Provisioned by a developer or tester. // This is useful for single-node development and testing only! // On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. // More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath // +optional HostPath *HostPathVolumeSnapshotSource `json:"hostPath,omitempty"` // AWSElasticBlockStore represents an AWS Disk resource that is attached to a // kubelet's host machine and then exposed to the pod. // More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore // +optional //GlusterSnapshotSource represents a gluster snapshot resource GlusterSnapshotVolume *GlusterVolumeSnapshotSource `json:"glusterSnapshotVolume,omitempty"` // +optional AWSElasticBlockStore *AWSElasticBlockStoreVolumeSnapshotSource `json:"awsElasticBlockStore,omitempty"` // GCEPersistentDiskSnapshotSource represents an GCE PD snapshot resource // +optional GCEPersistentDiskSnapshot *GCEPersistentDiskSnapshotSource `json:"gcePersistentDisk,omitempty"` // CinderVolumeSnapshotSource represents Cinder snapshot resource // +optional CinderSnapshot *CinderVolumeSnapshotSource `json:"cinderVolume,omitempty"` }
VolumeSnapshotDataSource represents the actual location and type of the snapshot. Only one of its members may be specified.
func (*VolumeSnapshotDataSource) DeepCopy ¶
func (in *VolumeSnapshotDataSource) DeepCopy() *VolumeSnapshotDataSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotDataSource.
func (*VolumeSnapshotDataSource) DeepCopyInto ¶
func (in *VolumeSnapshotDataSource) DeepCopyInto(out *VolumeSnapshotDataSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeSnapshotDataSpec ¶
type VolumeSnapshotDataSpec struct { // Source represents the location and type of the volume snapshot VolumeSnapshotDataSource `json:",inline" protobuf:"bytes,1,opt,name=volumeSnapshotDataSource"` // VolumeSnapshotRef is part of bi-directional binding between VolumeSnapshot // and VolumeSnapshotData // +optional VolumeSnapshotRef *core_v1.ObjectReference `json:"volumeSnapshotRef" protobuf:"bytes,2,opt,name=volumeSnapshotRef"` // PersistentVolumeRef represents the PersistentVolume that the snapshot has been // taken from // +optional PersistentVolumeRef *core_v1.ObjectReference `json:"persistentVolumeRef" protobuf:"bytes,3,opt,name=persistentVolumeRef"` }
VolumeSnapshotDataSpec is the spec of the volume snapshot data
func (*VolumeSnapshotDataSpec) DeepCopy ¶
func (in *VolumeSnapshotDataSpec) DeepCopy() *VolumeSnapshotDataSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotDataSpec.
func (*VolumeSnapshotDataSpec) DeepCopyInto ¶
func (in *VolumeSnapshotDataSpec) DeepCopyInto(out *VolumeSnapshotDataSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeSnapshotDataStatus ¶
type VolumeSnapshotDataStatus struct { // The time the snapshot was successfully created // +optional CreationTimestamp metav1.Time `json:"creationTimestamp" protobuf:"bytes,1,opt,name=creationTimestamp"` // Represents the lates available observations about the volume snapshot Conditions []VolumeSnapshotDataCondition `json:"conditions" protobuf:"bytes,2,rep,name=conditions"` }
VolumeSnapshotDataStatus is the actual state of the volume snapshot
func (*VolumeSnapshotDataStatus) DeepCopy ¶
func (in *VolumeSnapshotDataStatus) DeepCopy() *VolumeSnapshotDataStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotDataStatus.
func (*VolumeSnapshotDataStatus) DeepCopyInto ¶
func (in *VolumeSnapshotDataStatus) DeepCopyInto(out *VolumeSnapshotDataStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeSnapshotList ¶
type VolumeSnapshotList struct { metav1.TypeMeta `json:",inline"` Metadata metav1.ListMeta `json:"metadata"` Items []VolumeSnapshot `json:"items"` }
VolumeSnapshotList is a list of VolumeSnapshot objects
func (*VolumeSnapshotList) DeepCopy ¶
func (in *VolumeSnapshotList) DeepCopy() *VolumeSnapshotList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotList.
func (*VolumeSnapshotList) DeepCopyInto ¶
func (in *VolumeSnapshotList) DeepCopyInto(out *VolumeSnapshotList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumeSnapshotList) DeepCopyObject ¶
func (in *VolumeSnapshotList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VolumeSnapshotList) GetListMeta ¶
func (vd *VolumeSnapshotList) GetListMeta() metav1.ListInterface
GetListMeta is required to satisfy ListMetaAccessor interface
func (*VolumeSnapshotList) GetObjectKind ¶
func (vd *VolumeSnapshotList) GetObjectKind() schema.ObjectKind
GetObjectKind is required to satisfy Object interface
func (*VolumeSnapshotList) UnmarshalJSON ¶
func (vd *VolumeSnapshotList) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals json data
type VolumeSnapshotListCopy ¶
type VolumeSnapshotListCopy VolumeSnapshotList
VolumeSnapshotListCopy is a VolumeSnapshotList type
func (*VolumeSnapshotListCopy) DeepCopy ¶
func (in *VolumeSnapshotListCopy) DeepCopy() *VolumeSnapshotListCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotListCopy.
func (*VolumeSnapshotListCopy) DeepCopyInto ¶
func (in *VolumeSnapshotListCopy) DeepCopyInto(out *VolumeSnapshotListCopy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeSnapshotSpec ¶
type VolumeSnapshotSpec struct { // PersistentVolumeClaimName is the name of the PVC being snapshotted // +optional PersistentVolumeClaimName string `json:"persistentVolumeClaimName" protobuf:"bytes,1,opt,name=persistentVolumeClaimName"` // SnapshotDataName binds the VolumeSnapshot object with the VolumeSnapshotData // +optional SnapshotDataName string `json:"snapshotDataName" protobuf:"bytes,2,opt,name=snapshotDataName"` }
VolumeSnapshotSpec is the desired state of the volume snapshot
func (*VolumeSnapshotSpec) DeepCopy ¶
func (in *VolumeSnapshotSpec) DeepCopy() *VolumeSnapshotSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotSpec.
func (*VolumeSnapshotSpec) DeepCopyInto ¶
func (in *VolumeSnapshotSpec) DeepCopyInto(out *VolumeSnapshotSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeSnapshotStatus ¶
type VolumeSnapshotStatus struct { // The time the snapshot was successfully created // +optional CreationTimestamp metav1.Time `json:"creationTimestamp" protobuf:"bytes,1,opt,name=creationTimestamp"` // Represent the latest available observations about the volume snapshot Conditions []VolumeSnapshotCondition `json:"conditions" protobuf:"bytes,2,rep,name=conditions"` }
VolumeSnapshotStatus is the status of the VolumeSnapshot
func (*VolumeSnapshotStatus) DeepCopy ¶
func (in *VolumeSnapshotStatus) DeepCopy() *VolumeSnapshotStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotStatus.
func (*VolumeSnapshotStatus) DeepCopyInto ¶
func (in *VolumeSnapshotStatus) DeepCopyInto(out *VolumeSnapshotStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.