Documentation
¶
Overview ¶
Package v1alpha1 contains the v1alpha1 group Sample resources of the Template provider. +kubebuilder:object:generate=true +groupName=sample.template.crossplanebook.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type MyType
- func (in *MyType) DeepCopy() *MyType
- func (in *MyType) DeepCopyInto(out *MyType)
- func (in *MyType) DeepCopyObject() runtime.Object
- func (mg *MyType) GetBindingPhase() runtimev1alpha1.BindingPhase
- func (mg *MyType) GetClaimReference() *corev1.ObjectReference
- func (mg *MyType) GetClassReference() *corev1.ObjectReference
- func (mg *MyType) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
- func (mg *MyType) GetProviderReference() *corev1.ObjectReference
- func (mg *MyType) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
- func (mg *MyType) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference
- func (mg *MyType) SetBindingPhase(p runtimev1alpha1.BindingPhase)
- func (mg *MyType) SetClaimReference(r *corev1.ObjectReference)
- func (mg *MyType) SetClassReference(r *corev1.ObjectReference)
- func (mg *MyType) SetConditions(c ...runtimev1alpha1.Condition)
- func (mg *MyType) SetProviderReference(r *corev1.ObjectReference)
- func (mg *MyType) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)
- func (mg *MyType) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)
- type MyTypeList
- type MyTypeObservation
- type MyTypeParameters
- type MyTypeSpec
- type MyTypeStatus
Constants ¶
const ( Group = "sample.template.crossplanebook.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 ( 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:subresource:status +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase" +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.atProvider.state" +kubebuilder:printcolumn:name="CLASS",type="string",JSONPath=".spec.classRef.name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster
func (*MyType) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MyType.
func (*MyType) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MyType) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MyType) GetBindingPhase ¶
func (mg *MyType) GetBindingPhase() runtimev1alpha1.BindingPhase
GetBindingPhase of this MyType.
func (*MyType) GetClaimReference ¶
func (mg *MyType) GetClaimReference() *corev1.ObjectReference
GetClaimReference of this MyType.
func (*MyType) GetClassReference ¶
func (mg *MyType) GetClassReference() *corev1.ObjectReference
GetClassReference of this MyType.
func (*MyType) GetCondition ¶
func (mg *MyType) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
GetCondition of this MyType.
func (*MyType) GetProviderReference ¶
func (mg *MyType) GetProviderReference() *corev1.ObjectReference
GetProviderReference of this MyType.
func (*MyType) GetReclaimPolicy ¶
func (mg *MyType) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
GetReclaimPolicy of this MyType.
func (*MyType) GetWriteConnectionSecretToReference ¶
func (mg *MyType) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference
GetWriteConnectionSecretToReference of this MyType.
func (*MyType) SetBindingPhase ¶
func (mg *MyType) SetBindingPhase(p runtimev1alpha1.BindingPhase)
SetBindingPhase of this MyType.
func (*MyType) SetClaimReference ¶
func (mg *MyType) SetClaimReference(r *corev1.ObjectReference)
SetClaimReference of this MyType.
func (*MyType) SetClassReference ¶
func (mg *MyType) SetClassReference(r *corev1.ObjectReference)
SetClassReference of this MyType.
func (*MyType) SetConditions ¶
func (mg *MyType) SetConditions(c ...runtimev1alpha1.Condition)
SetConditions of this MyType.
func (*MyType) SetProviderReference ¶
func (mg *MyType) SetProviderReference(r *corev1.ObjectReference)
SetProviderReference of this MyType.
func (*MyType) SetReclaimPolicy ¶
func (mg *MyType) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)
SetReclaimPolicy of this MyType.
func (*MyType) SetWriteConnectionSecretToReference ¶
func (mg *MyType) SetWriteConnectionSecretToReference(r *runtimev1alpha1.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 { runtimev1alpha1.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 { runtimev1alpha1.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.