v1alpha1

package
v0.0.0-...-6bdd156 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	Group   = "sample.template.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 (
	MyTypeKind             = reflect.TypeOf(MyType{}).Name()
	MyTypeGroupKind        = schema.GroupKind{Group: Group, Kind: MyTypeKind}.String()
	MyTypeKindAPIVersion   = MyTypeKind + "." + SchemeGroupVersion.String()
	MyTypeGroupVersionKind = SchemeGroupVersion.WithKind(MyTypeKind)
)

MyType type metadata.

Functions

This section is empty.

Types

type MyType

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

	Spec   MyTypeSpec   `json:"spec"`
	Status MyTypeStatus `json:"status,omitempty"`
}

A MyType 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,template}

func (*MyType) DeepCopy

func (in *MyType) DeepCopy() *MyType

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

func (*MyType) DeepCopyInto

func (in *MyType) DeepCopyInto(out *MyType)

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

func (*MyType) DeepCopyObject

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

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

func (*MyType) GetCondition

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

GetCondition of this MyType.

func (*MyType) GetDeletionPolicy

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

GetDeletionPolicy of this MyType.

func (*MyType) GetProviderConfigReference

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

GetProviderConfigReference of this MyType.

func (*MyType) GetProviderReference

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

GetProviderReference of this MyType. Deprecated: Use GetProviderConfigReference.

func (*MyType) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MyType.

func (*MyType) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MyType.

func (*MyType) SetConditions

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

SetConditions of this MyType.

func (*MyType) SetDeletionPolicy

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

SetDeletionPolicy of this MyType.

func (*MyType) SetProviderConfigReference

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

SetProviderConfigReference of this MyType.

func (*MyType) SetProviderReference

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

SetProviderReference of this MyType. Deprecated: Use SetProviderConfigReference.

func (*MyType) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MyType.

func (*MyType) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MyType.

type MyTypeList

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

MyTypeList contains a list of MyType

func (*MyTypeList) DeepCopy

func (in *MyTypeList) DeepCopy() *MyTypeList

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

func (*MyTypeList) DeepCopyInto

func (in *MyTypeList) DeepCopyInto(out *MyTypeList)

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

func (*MyTypeList) DeepCopyObject

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

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

func (*MyTypeList) GetItems

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

GetItems of this MyTypeList.

type MyTypeObservation

type MyTypeObservation struct {
	ObservableField string `json:"observableField,omitempty"`
}

MyTypeObservation are the observable fields of a MyType.

func (*MyTypeObservation) DeepCopy

func (in *MyTypeObservation) DeepCopy() *MyTypeObservation

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

func (*MyTypeObservation) DeepCopyInto

func (in *MyTypeObservation) DeepCopyInto(out *MyTypeObservation)

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

type MyTypeParameters

type MyTypeParameters struct {
	ConfigurableField string `json:"configurableField"`
}

MyTypeParameters are the configurable fields of a MyType.

func (*MyTypeParameters) DeepCopy

func (in *MyTypeParameters) DeepCopy() *MyTypeParameters

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

func (*MyTypeParameters) DeepCopyInto

func (in *MyTypeParameters) DeepCopyInto(out *MyTypeParameters)

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

type MyTypeSpec

type MyTypeSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       MyTypeParameters `json:"forProvider"`
}

A MyTypeSpec defines the desired state of a MyType.

func (*MyTypeSpec) DeepCopy

func (in *MyTypeSpec) DeepCopy() *MyTypeSpec

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

func (*MyTypeSpec) DeepCopyInto

func (in *MyTypeSpec) DeepCopyInto(out *MyTypeSpec)

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

type MyTypeStatus

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

A MyTypeStatus represents the observed state of a MyType.

func (*MyTypeStatus) DeepCopy

func (in *MyTypeStatus) DeepCopy() *MyTypeStatus

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

func (*MyTypeStatus) DeepCopyInto

func (in *MyTypeStatus) DeepCopyInto(out *MyTypeStatus)

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