Documentation ¶
Overview ¶
Generate deepcopy object for filestore/v1alpha1 API group
Package v1alpha1 contains API Schema definitions for the filestore v1alpha1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/filestore +k8s:defaulter-gen=TypeMeta +groupName=filestore.cnrm.cloud.google.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: "filestore.cnrm.cloud.google.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme FilestoreSnapshotGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(FilestoreSnapshot{}).Name(), } )
Functions ¶
This section is empty.
Types ¶
type FilestoreSnapshot ¶
type FilestoreSnapshot struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FilestoreSnapshotSpec `json:"spec,omitempty"` Status FilestoreSnapshotStatus `json:"status,omitempty"` }
FilestoreSnapshot is the Schema for the filestore API +k8s:openapi-gen=true
func (*FilestoreSnapshot) DeepCopy ¶
func (in *FilestoreSnapshot) DeepCopy() *FilestoreSnapshot
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilestoreSnapshot.
func (*FilestoreSnapshot) DeepCopyInto ¶
func (in *FilestoreSnapshot) DeepCopyInto(out *FilestoreSnapshot)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FilestoreSnapshot) DeepCopyObject ¶
func (in *FilestoreSnapshot) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FilestoreSnapshotList ¶
type FilestoreSnapshotList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []FilestoreSnapshot `json:"items"` }
FilestoreSnapshotList contains a list of FilestoreSnapshot
func (*FilestoreSnapshotList) DeepCopy ¶
func (in *FilestoreSnapshotList) DeepCopy() *FilestoreSnapshotList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilestoreSnapshotList.
func (*FilestoreSnapshotList) DeepCopyInto ¶
func (in *FilestoreSnapshotList) DeepCopyInto(out *FilestoreSnapshotList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FilestoreSnapshotList) DeepCopyObject ¶
func (in *FilestoreSnapshotList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FilestoreSnapshotSpec ¶
type FilestoreSnapshotSpec struct { /* A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected. */ // +optional Description *string `json:"description,omitempty"` /* Immutable. The resource name of the filestore instance. */ Instance string `json:"instance"` /* Immutable. The name of the location of the instance. This can be a region for ENTERPRISE tier instances. */ Location string `json:"location"` /* The project that this resource belongs to. */ ProjectRef v1alpha1.ResourceRef `json:"projectRef"` /* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ // +optional ResourceID *string `json:"resourceID,omitempty"` }
func (*FilestoreSnapshotSpec) DeepCopy ¶
func (in *FilestoreSnapshotSpec) DeepCopy() *FilestoreSnapshotSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilestoreSnapshotSpec.
func (*FilestoreSnapshotSpec) DeepCopyInto ¶
func (in *FilestoreSnapshotSpec) DeepCopyInto(out *FilestoreSnapshotSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FilestoreSnapshotStatus ¶
type FilestoreSnapshotStatus struct { /* Conditions represent the latest available observations of the FilestoreSnapshot's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* The time when the snapshot was created in RFC3339 text format. */ // +optional CreateTime *string `json:"createTime,omitempty"` /* The amount of bytes needed to allocate a full copy of the snapshot content. */ // +optional FilesystemUsedBytes *string `json:"filesystemUsedBytes,omitempty"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ // +optional ObservedGeneration *int64 `json:"observedGeneration,omitempty"` /* The snapshot state. */ // +optional State *string `json:"state,omitempty"` }
func (*FilestoreSnapshotStatus) DeepCopy ¶
func (in *FilestoreSnapshotStatus) DeepCopy() *FilestoreSnapshotStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilestoreSnapshotStatus.
func (*FilestoreSnapshotStatus) DeepCopyInto ¶
func (in *FilestoreSnapshotStatus) DeepCopyInto(out *FilestoreSnapshotStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.