v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2018 License: Apache-2.0 Imports: 6 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/crossplaneio/crossplane/pkg/apis/gcp/storage +k8s:defaulter-gen=TypeMeta +groupName=storage.gcp.crossplane.io

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/crossplaneio/crossplane/pkg/apis/gcp/storage +k8s:defaulter-gen=TypeMeta +groupName=storage.gcp.crossplane.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "storage.gcp.crossplane.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

This section is empty.

Types

type GCPBucket

type GCPBucket struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   GCPBucketSpec   `json:"spec,omitempty"`
	Status GCPBucketStatus `json:"status,omitempty"`
}

GCPBucket is the Schema for the GCPBucket API +k8s:openapi-gen=true +groupName=storage.gcp

func (*GCPBucket) DeepCopy

func (in *GCPBucket) DeepCopy() *GCPBucket

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

func (*GCPBucket) DeepCopyInto

func (in *GCPBucket) DeepCopyInto(out *GCPBucket)

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

func (*GCPBucket) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GCPBucketList

type GCPBucketList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []GCPBucket `json:"items"`
}

GCPBucketList contains a list of GCPBuckets

func (*GCPBucketList) DeepCopy

func (in *GCPBucketList) DeepCopy() *GCPBucketList

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

func (*GCPBucketList) DeepCopyInto

func (in *GCPBucketList) DeepCopyInto(out *GCPBucketList)

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

func (*GCPBucketList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GCPBucketSpec

type GCPBucketSpec struct {
	Name string `json:"name,omitempty"`

	// Location - See authoritative list https://developers.google.com/storage/docs/bucket-locations
	// Which you use is dependent on whether it's multi_region or not.
	Location string `json:"location,omitempty"`

	// PredefinedACL
	// One of: private, authenticatedRead, projectPrivate, publicRead, publicReadWrite
	PredefinedACL *string `json:"predefinedACL,omitempty"`

	//StorageClass one of
	// MULTI_REGIONAL, REGIONAL, STANDARD, NEARLINE, COLDLINE, and DURABLE_REDUCED_AVAILABILITY.
	// If this value is not specified when the bucket is created, it will default to STANDARD
	StorageClass                 *string                 `json:"storageClass,omitempty"`
	Versioning                   bool                    `json:"versioning,omitempty"`
	ConnectionSecretNameOverride string                  `json:"connectionSecretNameOverride,omitempty"`
	ProviderRef                  v1.LocalObjectReference `json:"providerRef"`
}

GCPBucketSpec defines the desired state of GCPBucket

func (*GCPBucketSpec) DeepCopy

func (in *GCPBucketSpec) DeepCopy() *GCPBucketSpec

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

func (*GCPBucketSpec) DeepCopyInto

func (in *GCPBucketSpec) DeepCopyInto(out *GCPBucketSpec)

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

type GCPBucketStatus

type GCPBucketStatus struct {
	corev1alpha1.ConditionedStatus
	corev1alpha1.BindingStatusPhase
	Message             string                  `json:"message,omitempty"`
	ProviderID          string                  `json:"providerID,omitempty"` // the external ID to identify this resource in the cloud provider
	ConnectionSecretRef v1.LocalObjectReference `json:"connectionSecretRef,omitempty"`
}

GoogleBucketStatus defines the observed state of GoogleBucket

func (*GCPBucketStatus) DeepCopy

func (in *GCPBucketStatus) DeepCopy() *GCPBucketStatus

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

func (*GCPBucketStatus) DeepCopyInto

func (in *GCPBucketStatus) DeepCopyInto(out *GCPBucketStatus)

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