v1alpha1

package
v0.0.0-...-317cacf Latest Latest
Warning

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

Go to latest
Published: May 12, 2022 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 (
	DogFactKind             = reflect.TypeOf(DogFact{}).Name()
	DogFactGroupKind        = schema.GroupKind{Group: Group, Kind: DogFactKind}.String()
	DogFactKindAPIVersion   = DogFactKind + "." + SchemeGroupVersion.String()
	DogFactGroupVersionKind = SchemeGroupVersion.WithKind(DogFactKind)
)

DogFact type metadata.

Functions

This section is empty.

Types

type DogFact

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

	Spec   DogFactSpec   `json:"spec"`
	Status DogFactStatus `json:"status,omitempty"`
}

A DogFact 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 (*DogFact) DeepCopy

func (in *DogFact) DeepCopy() *DogFact

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

func (*DogFact) DeepCopyInto

func (in *DogFact) DeepCopyInto(out *DogFact)

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

func (*DogFact) DeepCopyObject

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

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

func (*DogFact) GetCondition

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

GetCondition of this DogFact.

func (*DogFact) GetDeletionPolicy

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

GetDeletionPolicy of this DogFact.

func (*DogFact) GetProviderConfigReference

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

GetProviderConfigReference of this DogFact.

func (*DogFact) GetProviderReference

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

GetProviderReference of this DogFact. Deprecated: Use GetProviderConfigReference.

func (*DogFact) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this DogFact.

func (*DogFact) SetConditions

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

SetConditions of this DogFact.

func (*DogFact) SetDeletionPolicy

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

SetDeletionPolicy of this DogFact.

func (*DogFact) SetProviderConfigReference

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

SetProviderConfigReference of this DogFact.

func (*DogFact) SetProviderReference

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

SetProviderReference of this DogFact. Deprecated: Use SetProviderConfigReference.

func (*DogFact) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this DogFact.

type DogFactList

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

DogFactList contains a list of DogFact

func (*DogFactList) DeepCopy

func (in *DogFactList) DeepCopy() *DogFactList

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

func (*DogFactList) DeepCopyInto

func (in *DogFactList) DeepCopyInto(out *DogFactList)

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

func (*DogFactList) DeepCopyObject

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

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

func (*DogFactList) GetItems

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

GetItems of this DogFactList.

type DogFactObservation

type DogFactObservation struct {
	DogFactsNumber string `json:"dogFactsNumber,omitempty"`
}

DogFactObservation are the observable fields of a DogFact.

func (*DogFactObservation) DeepCopy

func (in *DogFactObservation) DeepCopy() *DogFactObservation

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

func (*DogFactObservation) DeepCopyInto

func (in *DogFactObservation) DeepCopyInto(out *DogFactObservation)

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

type DogFactParameters

type DogFactParameters struct {
	Fact string `json:"fact"`
}

DogFactParameters are the configurable fields of a DogFact.

func (*DogFactParameters) DeepCopy

func (in *DogFactParameters) DeepCopy() *DogFactParameters

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

func (*DogFactParameters) DeepCopyInto

func (in *DogFactParameters) DeepCopyInto(out *DogFactParameters)

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

type DogFactSpec

type DogFactSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       DogFactParameters `json:"forProvider"`
}

A DogFactSpec defines the desired state of a DogFact.

func (*DogFactSpec) DeepCopy

func (in *DogFactSpec) DeepCopy() *DogFactSpec

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

func (*DogFactSpec) DeepCopyInto

func (in *DogFactSpec) DeepCopyInto(out *DogFactSpec)

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

type DogFactStatus

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

A DogFactStatus represents the observed state of a DogFact.

func (*DogFactStatus) DeepCopy

func (in *DogFactStatus) DeepCopy() *DogFactStatus

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

func (*DogFactStatus) DeepCopyInto

func (in *DogFactStatus) DeepCopyInto(out *DogFactStatus)

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