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: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the crossplane core v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/apis/storage +k8s:defaulter-gen=TypeMeta +groupName=storage.crossplane.io

Package v1alpha1 contains API Schema definitions for the crossplane core v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/crossplaneio/crossplane/pkg/apis/storage +k8s:defaulter-gen=TypeMeta +groupName=storage.crossplane.io

Index

Constants

View Source
const (
	Group             = "storage.crossplane.io"
	Version           = "v1alpha1"
	APIVersion        = Group + "/" + Version
	MySQLInstanceKind = "mysqlinstance"
)

Variables

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

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

Functions

This section is empty.

Types

type Bucket

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

	Spec   BucketSpec        `json:"spec,omitempty"`
	Status BucketClaimStatus `json:"status,omitempty"`
}

Bucket is the Schema for the Bucket API +k8s:openapi-gen=true +groupName=storage

func (*Bucket) DeepCopy

func (in *Bucket) DeepCopy() *Bucket

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

func (*Bucket) DeepCopyInto

func (in *Bucket) DeepCopyInto(out *Bucket)

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

func (*Bucket) DeepCopyObject

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

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

type BucketClaimStatus

type BucketClaimStatus struct {
	corev1alpha1.ConditionedStatus
	corev1alpha1.BindingStatusPhase
	// Provisioner is the driver that was used to provision the concrete resource
	// This is an optionally-prefixed name, like a label key.
	// For example: "S3Bucket.storage.aws.crossplane.io/v1alpha1" or "GoogleBucket.storage.gcp.crossplane.io/v1alpha1".
	Provisioner string `json:"provisioner,omitempty"`
}

BucketClaimStatus

func (*BucketClaimStatus) DeepCopy

func (in *BucketClaimStatus) DeepCopy() *BucketClaimStatus

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

func (*BucketClaimStatus) DeepCopyInto

func (in *BucketClaimStatus) DeepCopyInto(out *BucketClaimStatus)

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

type BucketList

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

BucketList contains a list of Buckets

func (*BucketList) DeepCopy

func (in *BucketList) DeepCopy() *BucketList

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

func (*BucketList) DeepCopyInto

func (in *BucketList) DeepCopyInto(out *BucketList)

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

func (*BucketList) DeepCopyObject

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

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

type BucketSpec

type BucketSpec struct {
	ClassRef    *corev1.ObjectReference `json:"classReference,omitempty"`
	ResourceRef *corev1.ObjectReference `json:"resourceName,omitempty"`
	Selector    metav1.LabelSelector    `json:"selector,omitempty"`

	// Bucket properties
	Name string `json:"name,omitempty"`
	// PredefinedACL is one of
	// one of: private, publicRead, publicReadWrite(*), AuthenticatedRead(*)
	// * Not available on Azure
	PredefinedACL string `json:"predefinedACL,omitempty"`

	// LocalPermissions are the permissions granted on the bucket for the provider specific
	// bucket service account.
	// one of: read, write
	LocalPermissions []string `json:"localPermissions,omitempty"`
}

BucketSpec defines the desired state of Bucket

func (*BucketSpec) DeepCopy

func (in *BucketSpec) DeepCopy() *BucketSpec

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

func (*BucketSpec) DeepCopyInto

func (in *BucketSpec) DeepCopyInto(out *BucketSpec)

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

type MySQLInstance

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

	Spec   MySQLInstanceSpec        `json:"spec,omitempty"`
	Status MySQLInstanceClaimStatus `json:"status,omitempty"`
}

MySQLInstance is the Schema for the instances API +k8s:openapi-gen=true

func (*MySQLInstance) DeepCopy

func (in *MySQLInstance) DeepCopy() *MySQLInstance

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

func (*MySQLInstance) DeepCopyInto

func (in *MySQLInstance) DeepCopyInto(out *MySQLInstance)

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

func (*MySQLInstance) DeepCopyObject

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

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

func (*MySQLInstance) ObjectReference

func (m *MySQLInstance) ObjectReference() *corev1.ObjectReference

ObjectReference to using this object as a reference

func (*MySQLInstance) OwnerReference

func (m *MySQLInstance) OwnerReference() metav1.OwnerReference

OwnerReference to use this object as an owner

type MySQLInstanceClaimStatus

type MySQLInstanceClaimStatus struct {
	corev1alpha1.ConditionedStatus
	corev1alpha1.BindingStatusPhase
	// Provisioner is the driver that was used to provision the concrete resrouce
	// This is an optionally-prefixed name, like a label key.
	// For example: "RDSInstance.database.aws.crossplane.io/v1alpha1" or "CloudSQLInstance.database.gcp.crossplane.io/v1alpha1".
	Provisioner string `json:"provisioner,omitempty"`
}

MySQLInstanceClaimStatus

func (*MySQLInstanceClaimStatus) DeepCopy

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

func (*MySQLInstanceClaimStatus) DeepCopyInto

func (in *MySQLInstanceClaimStatus) DeepCopyInto(out *MySQLInstanceClaimStatus)

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

type MySQLInstanceList

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

MySQLInstanceList contains a list of RDSInstance

func (*MySQLInstanceList) DeepCopy

func (in *MySQLInstanceList) DeepCopy() *MySQLInstanceList

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

func (*MySQLInstanceList) DeepCopyInto

func (in *MySQLInstanceList) DeepCopyInto(out *MySQLInstanceList)

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

func (*MySQLInstanceList) DeepCopyObject

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

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

type MySQLInstanceSpec

type MySQLInstanceSpec struct {
	ClassRef    *corev1.ObjectReference `json:"classReference,omitempty"`
	ResourceRef *corev1.ObjectReference `json:"resourceName,omitempty"`
	Selector    metav1.LabelSelector    `json:"selector,omitempty"`

	// mysql instance properties
	// +kubebuilder:validation:Enum=5.6,5.7
	EngineVersion string `json:"engineVersion"`
}

MySQLInstanceSpec

func (*MySQLInstanceSpec) DeepCopy

func (in *MySQLInstanceSpec) DeepCopy() *MySQLInstanceSpec

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

func (*MySQLInstanceSpec) DeepCopyInto

func (in *MySQLInstanceSpec) DeepCopyInto(out *MySQLInstanceSpec)

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