v1beta1

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1beta1 contains managed resources for GCP compute services such as GKE. +kubebuilder:object:generate=true +groupName=container.dev.crossplane.io +versionName=v1beta1

Index

Constants

View Source
const (
	Group   = "container.dev.crossplane.io"
	Version = "v1beta1"
)

Package type metadata.

View Source
const (
	ClusterStateRunning = "RUNNING"
)

Cluster states.

View Source
const (
	DefaultReclaimPolicy = runtimev1alpha1.ReclaimRetain
)

Defaults for Existing Cluster resources.

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}
)
View Source
var (
	ExistingClusterKind             = reflect.TypeOf(ExistingCluster{}).Name()
	ExistingClusterGroupKind        = schema.GroupKind{Group: Group, Kind: ExistingClusterKind}.String()
	ExistingClusterKindAPIVersion   = ExistingClusterKind + "." + SchemeGroupVersion.String()
	ExistingClusterGroupVersionKind = SchemeGroupVersion.WithKind(ExistingClusterKind)
)

ExistingCluster type metadata.

Functions

This section is empty.

Types

type ExistingCluster

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

	Spec   ExistingClusterSpec   `json:"spec"`
	Status ExistingClusterStatus `json:"status,omitempty"`
}

A ExistingCluster is a managed resource that represents a Google Kubernetes Engine cluster. +kubebuilder:subresource:status +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase" +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.atProvider.status" +kubebuilder:printcolumn:name="ENDPOINT",type="string",JSONPath=".status.atProvider.endpoint" +kubebuilder:printcolumn:name="CLUSTER-CLASS",type="string",JSONPath=".spec.classRef.name" +kubebuilder:printcolumn:name="RECLAIM-POLICY",type="string",JSONPath=".spec.reclaimPolicy" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster

func (*ExistingCluster) DeepCopy

func (in *ExistingCluster) DeepCopy() *ExistingCluster

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

func (*ExistingCluster) DeepCopyInto

func (in *ExistingCluster) DeepCopyInto(out *ExistingCluster)

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

func (*ExistingCluster) DeepCopyObject

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

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

func (*ExistingCluster) GetBindingPhase

func (mg *ExistingCluster) GetBindingPhase() runtimev1alpha1.BindingPhase

GetBindingPhase of this ExistingCluster.

func (*ExistingCluster) GetClaimReference

func (mg *ExistingCluster) GetClaimReference() *corev1.ObjectReference

GetClaimReference of this ExistingCluster.

func (*ExistingCluster) GetClassReference

func (mg *ExistingCluster) GetClassReference() *corev1.ObjectReference

GetClassReference of this ExistingCluster.

func (*ExistingCluster) GetCondition

GetCondition of this ExistingCluster.

func (*ExistingCluster) GetReclaimPolicy

func (mg *ExistingCluster) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy

GetReclaimPolicy of this ExistingCluster.

func (*ExistingCluster) GetWriteConnectionSecretToReference

func (mg *ExistingCluster) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference

GetWriteConnectionSecretToReference of this ExistingCluster.

func (*ExistingCluster) SetBindingPhase

func (mg *ExistingCluster) SetBindingPhase(p runtimev1alpha1.BindingPhase)

SetBindingPhase of this ExistingCluster.

func (*ExistingCluster) SetClaimReference

func (mg *ExistingCluster) SetClaimReference(r *corev1.ObjectReference)

SetClaimReference of this ExistingCluster.

func (*ExistingCluster) SetClassReference

func (mg *ExistingCluster) SetClassReference(r *corev1.ObjectReference)

SetClassReference of this ExistingCluster.

func (*ExistingCluster) SetConditions

func (mg *ExistingCluster) SetConditions(c ...runtimev1alpha1.Condition)

SetConditions of this ExistingCluster.

func (*ExistingCluster) SetReclaimPolicy

func (mg *ExistingCluster) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)

SetReclaimPolicy of this ExistingCluster.

func (*ExistingCluster) SetWriteConnectionSecretToReference

func (mg *ExistingCluster) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)

SetWriteConnectionSecretToReference of this ExistingCluster.

type ExistingClusterList

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

ExistingClusterList contains a list of ExistingCluster items

func (*ExistingClusterList) DeepCopy

func (in *ExistingClusterList) DeepCopy() *ExistingClusterList

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

func (*ExistingClusterList) DeepCopyInto

func (in *ExistingClusterList) DeepCopyInto(out *ExistingClusterList)

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

func (*ExistingClusterList) DeepCopyObject

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

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

type ExistingClusterObservation

type ExistingClusterObservation struct {
	Status        string `json:"status,omitempty"`
	StatusMessage string `json:"statusMessage,omitempty"`
	Endpoint      string `json:"endpoint,omitempty"`
}

ExistingClusterObservation is used to show the observed state of the existing cluster cluster resource.

func (*ExistingClusterObservation) DeepCopy

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

func (*ExistingClusterObservation) DeepCopyInto

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

type ExistingClusterParameters

type ExistingClusterParameters struct {
}

ExistingClusterParameters define the desired state of an existing cluster.

func (*ExistingClusterParameters) DeepCopy

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

func (*ExistingClusterParameters) DeepCopyInto

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

type ExistingClusterSpec

type ExistingClusterSpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`
	ForProvider                  ExistingClusterParameters `json:"forProvider"`
}

A ExistingClusterSpec defines the desired state of a ExistingCluster.

func (*ExistingClusterSpec) DeepCopy

func (in *ExistingClusterSpec) DeepCopy() *ExistingClusterSpec

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

func (*ExistingClusterSpec) DeepCopyInto

func (in *ExistingClusterSpec) DeepCopyInto(out *ExistingClusterSpec)

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

type ExistingClusterStatus

type ExistingClusterStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`
	AtProvider                     ExistingClusterObservation `json:"atProvider,omitempty"`
}

A ExistingClusterStatus represents the observed state of a ExistingCluster.

func (*ExistingClusterStatus) DeepCopy

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

func (*ExistingClusterStatus) DeepCopyInto

func (in *ExistingClusterStatus) DeepCopyInto(out *ExistingClusterStatus)

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