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
- Variables
- type DogFact
- func (in *DogFact) DeepCopy() *DogFact
- func (in *DogFact) DeepCopyInto(out *DogFact)
- func (in *DogFact) DeepCopyObject() runtime.Object
- func (mg *DogFact) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *DogFact) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *DogFact) GetProviderConfigReference() *xpv1.Reference
- func (mg *DogFact) GetProviderReference() *xpv1.Reference
- func (mg *DogFact) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *DogFact) SetConditions(c ...xpv1.Condition)
- func (mg *DogFact) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *DogFact) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *DogFact) SetProviderReference(r *xpv1.Reference)
- func (mg *DogFact) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DogFactList
- type DogFactObservation
- type DogFactParameters
- type DogFactSpec
- type DogFactStatus
Constants ¶
const ( Group = "sample.template.crossplane.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
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} )
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DogFact.
func (*DogFact) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DogFact) DeepCopyObject ¶
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 ¶
GetProviderConfigReference of this DogFact.
func (*DogFact) GetProviderReference ¶
GetProviderReference of this DogFact. Deprecated: Use GetProviderConfigReference.
func (*DogFact) GetWriteConnectionSecretToReference ¶
func (mg *DogFact) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this DogFact.
func (*DogFact) SetConditions ¶
SetConditions of this DogFact.
func (*DogFact) SetDeletionPolicy ¶
func (mg *DogFact) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this DogFact.
func (*DogFact) SetProviderConfigReference ¶
SetProviderConfigReference of this DogFact.
func (*DogFact) SetProviderReference ¶
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.