v1alpha1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the v1alpha1 group Sample resources of the Kops provider. +kubebuilder:object:generate=true +groupName=kops.kops.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	Group   = "kops.kops.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

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 (
	KopsKind             = reflect.TypeOf(Kops{}).Name()
	KopsGroupKind        = schema.GroupKind{Group: Group, Kind: KopsKind}.String()
	KopsKindAPIVersion   = KopsKind + "." + SchemeGroupVersion.String()
	KopsGroupVersionKind = SchemeGroupVersion.WithKind(KopsKind)
)

Kops type metadata.

Functions

This section is empty.

Types

type Kops

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

	Spec   KopsSpec   `json:"spec"`
	Status KopsStatus `json:"status,omitempty"`
}

A Kops is an example API type. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,kops}

func (*Kops) DeepCopy

func (in *Kops) DeepCopy() *Kops

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

func (*Kops) DeepCopyInto

func (in *Kops) DeepCopyInto(out *Kops)

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

func (*Kops) DeepCopyObject

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

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

func (*Kops) GetCondition

func (mg *Kops) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Kops.

func (*Kops) GetDeletionPolicy

func (mg *Kops) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Kops.

func (*Kops) GetProviderConfigReference

func (mg *Kops) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Kops.

func (*Kops) GetProviderReference

func (mg *Kops) GetProviderReference() *xpv1.Reference

GetProviderReference of this Kops. Deprecated: Use GetProviderConfigReference.

func (*Kops) GetPublishConnectionDetailsTo

func (mg *Kops) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Kops.

func (*Kops) GetWriteConnectionSecretToReference

func (mg *Kops) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Kops.

func (*Kops) SetConditions

func (mg *Kops) SetConditions(c ...xpv1.Condition)

SetConditions of this Kops.

func (*Kops) SetDeletionPolicy

func (mg *Kops) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Kops.

func (*Kops) SetProviderConfigReference

func (mg *Kops) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Kops.

func (*Kops) SetProviderReference

func (mg *Kops) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Kops. Deprecated: Use SetProviderConfigReference.

func (*Kops) SetPublishConnectionDetailsTo

func (mg *Kops) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Kops.

func (*Kops) SetWriteConnectionSecretToReference

func (mg *Kops) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Kops.

type KopsList

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

KopsList contains a list of Kops

func (*KopsList) DeepCopy

func (in *KopsList) DeepCopy() *KopsList

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

func (*KopsList) DeepCopyInto

func (in *KopsList) DeepCopyInto(out *KopsList)

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

func (*KopsList) DeepCopyObject

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

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

func (*KopsList) GetItems

func (l *KopsList) GetItems() []resource.Managed

GetItems of this KopsList.

type KopsObservation

type KopsObservation struct {
	ProvisioningState string `json:"provisioningState,omitempty"`
	ID                string `json:"id,omitempty"`
	Name              string `json:"name,omitempty"`
}

KopsObservation are the observable fields of a Kops.

func (*KopsObservation) DeepCopy

func (in *KopsObservation) DeepCopy() *KopsObservation

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

func (*KopsObservation) DeepCopyInto

func (in *KopsObservation) DeepCopyInto(out *KopsObservation)

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

type KopsParameters

type KopsParameters struct {
	ClusterSpec                 kops.ClusterSpec         `json:"clusterSpec"`
	InstanceGroupSpec           []kops.InstanceGroupSpec `json:"instanceGroupSpec"`
	Domain                      string                   `json:"domain"`
	StateBucket                 string                   `json:"stateBucket"`
	Region                      string                   `json:"region"`
	KubernetesAPICertificateTTL time.Duration            `json:"kubernetesApiCertificateTTL,omitempty"`
}

A KopsParameters are the parameters of a Kops.

func (*KopsParameters) DeepCopy

func (in *KopsParameters) DeepCopy() *KopsParameters

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

func (*KopsParameters) DeepCopyInto

func (in *KopsParameters) DeepCopyInto(out *KopsParameters)

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

type KopsSpec

type KopsSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       KopsParameters `json:"forProvider"`
}

A KopsSpec defines the desired state of a Kops.

func (*KopsSpec) DeepCopy

func (in *KopsSpec) DeepCopy() *KopsSpec

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

func (*KopsSpec) DeepCopyInto

func (in *KopsSpec) DeepCopyInto(out *KopsSpec)

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

type KopsStatus

type KopsStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          KopsObservation `json:"atProvider,omitempty"`
}

A KopsStatus represents the observed state of a Kops.

func (*KopsStatus) DeepCopy

func (in *KopsStatus) DeepCopy() *KopsStatus

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

func (*KopsStatus) DeepCopyInto

func (in *KopsStatus) DeepCopyInto(out *KopsStatus)

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