Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the storage v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/h-r-k-matsumoto/gcs-crd/pkg/apis/storage +k8s:defaulter-gen=TypeMeta +groupName=storage.matsumo.dev
Package v1alpha1 contains API Schema definitions for the storage v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/h-r-k-matsumoto/gcs-crd/pkg/apis/storage +k8s:defaulter-gen=TypeMeta +groupName=storage.matsumo.dev
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "storage.matsumo.dev", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is required by pkg/client/... AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource is required by pkg/client/listers/...
Types ¶
type Gcs ¶
type Gcs struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GcsSpec `json:"spec,omitempty"` Status GcsStatus `json:"status,omitempty"` }
Gcs is the Schema for the gcs API +k8s:openapi-gen=true +kubebuilder:printcolumn:name="fullname",type="string",JSONPath=".status.bucketFullName"
func (*Gcs) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Gcs.
func (*Gcs) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Gcs) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GcsList ¶
type GcsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Gcs `json:"items"` }
GcsList contains a list of Gcs
func (*GcsList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GcsList.
func (*GcsList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GcsList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GcsSpec ¶
type GcsSpec struct { // +kubebuilder:validation:MinLength=1 ProjectID string `json:"projectID"` // +kubebuilder:validation:MinLength=1 BucketName string `json:"bucketName"` }
GcsSpec defines the desired state of Gcs
func (*GcsSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GcsSpec.
func (*GcsSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GcsStatus ¶
type GcsStatus struct { ProjectID string `json:"projectID"` BucketName string `json:"bucketName"` BucketFullName string `json:"bucketFullName"` }
GcsStatus defines the observed state of Gcs
func (*GcsStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GcsStatus.
func (*GcsStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.