v1alpha1

package
v0.0.0-...-c01dae2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

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

View Source
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

func (in *Gcs) DeepCopy() *Gcs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Gcs.

func (*Gcs) DeepCopyInto

func (in *Gcs) DeepCopyInto(out *Gcs)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Gcs) DeepCopyObject

func (in *Gcs) DeepCopyObject() runtime.Object

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

func (in *GcsList) DeepCopy() *GcsList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GcsList.

func (*GcsList) DeepCopyInto

func (in *GcsList) DeepCopyInto(out *GcsList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GcsList) DeepCopyObject

func (in *GcsList) DeepCopyObject() runtime.Object

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

func (in *GcsSpec) DeepCopy() *GcsSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GcsSpec.

func (*GcsSpec) DeepCopyInto

func (in *GcsSpec) DeepCopyInto(out *GcsSpec)

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

func (in *GcsStatus) DeepCopy() *GcsStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GcsStatus.

func (*GcsStatus) DeepCopyInto

func (in *GcsStatus) DeepCopyInto(out *GcsStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL