Documentation ¶
Overview ¶
Package v1alpha1 contains a no-op managed resource. +kubebuilder:object:generate=true +groupName=nop.crossplane.io +versionName=v1alpha1
Index ¶
- Variables
- type NopResource
- func (in *NopResource) DeepCopy() *NopResource
- func (in *NopResource) DeepCopyInto(out *NopResource)
- func (in *NopResource) DeepCopyObject() runtime.Object
- func (mg *NopResource) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *NopResource) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *NopResource) GetProviderConfigReference() *xpv1.Reference
- func (mg *NopResource) GetProviderReference() *xpv1.Reference
- func (mg *NopResource) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *NopResource) SetConditions(c ...xpv1.Condition)
- func (mg *NopResource) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *NopResource) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *NopResource) SetProviderReference(r *xpv1.Reference)
- func (mg *NopResource) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type NopResourceList
- type NopResourceObservation
- type NopResourceParameters
- type NopResourceSpec
- type NopResourceStatus
Constants ¶
This section is empty.
Variables ¶
var ( Group = "nop.crossplane.io" Version = "v1alpha1" )
Package type metadata.
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 ( NopResourceKind = reflect.TypeOf(NopResource{}).Name() NopResourceGroupKind = schema.GroupKind{Group: Group, Kind: NopResourceKind}.String() NopResourceKindAPIVersion = NopResourceKind + "." + SchemeGroupVersion.String() NopResourceGroupVersionKind = SchemeGroupVersion.WithKind(NopResourceKind) )
NopResource type metadata.
Functions ¶
This section is empty.
Types ¶
type NopResource ¶
type NopResource struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NopResourceSpec `json:"spec"` Status NopResourceStatus `json:"status,omitempty"` }
NopResource is a managed resource that does nothing. It can be used to satisfy a composite resource when testing. The resource will immediately become ready when it is created. +kubebuilder:subresource:status +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:resource:scope=Cluster
func (*NopResource) DeepCopy ¶
func (in *NopResource) DeepCopy() *NopResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NopResource.
func (*NopResource) DeepCopyInto ¶
func (in *NopResource) DeepCopyInto(out *NopResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NopResource) DeepCopyObject ¶
func (in *NopResource) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NopResource) GetCondition ¶
func (mg *NopResource) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this NopResource.
func (*NopResource) GetDeletionPolicy ¶
func (mg *NopResource) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this NopResource.
func (*NopResource) GetProviderConfigReference ¶
func (mg *NopResource) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this NopResource.
func (*NopResource) GetProviderReference ¶
func (mg *NopResource) GetProviderReference() *xpv1.Reference
GetProviderReference of this NopResource. Deprecated: Use GetProviderConfigReference.
func (*NopResource) GetWriteConnectionSecretToReference ¶
func (mg *NopResource) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this NopResource.
func (*NopResource) SetConditions ¶
func (mg *NopResource) SetConditions(c ...xpv1.Condition)
SetConditions of this NopResource.
func (*NopResource) SetDeletionPolicy ¶
func (mg *NopResource) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this NopResource.
func (*NopResource) SetProviderConfigReference ¶
func (mg *NopResource) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this NopResource.
func (*NopResource) SetProviderReference ¶
func (mg *NopResource) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this NopResource. Deprecated: Use SetProviderConfigReference.
func (*NopResource) SetWriteConnectionSecretToReference ¶
func (mg *NopResource) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this NopResource.
type NopResourceList ¶
type NopResourceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NopResource `json:"items"` }
NopResourceList contains a list of NopResources.
func (*NopResourceList) DeepCopy ¶
func (in *NopResourceList) DeepCopy() *NopResourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NopResourceList.
func (*NopResourceList) DeepCopyInto ¶
func (in *NopResourceList) DeepCopyInto(out *NopResourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NopResourceList) DeepCopyObject ¶
func (in *NopResourceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NopResourceList) GetItems ¶
func (l *NopResourceList) GetItems() []resource.Managed
GetItems of this NopResourceList.
type NopResourceObservation ¶
type NopResourceObservation struct{}
NopResourceObservation does nothing.
func (*NopResourceObservation) DeepCopy ¶
func (in *NopResourceObservation) DeepCopy() *NopResourceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NopResourceObservation.
func (*NopResourceObservation) DeepCopyInto ¶
func (in *NopResourceObservation) DeepCopyInto(out *NopResourceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NopResourceParameters ¶
type NopResourceParameters struct{}
NopResourceParameters does nothing.
func (*NopResourceParameters) DeepCopy ¶
func (in *NopResourceParameters) DeepCopy() *NopResourceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NopResourceParameters.
func (*NopResourceParameters) DeepCopyInto ¶
func (in *NopResourceParameters) DeepCopyInto(out *NopResourceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NopResourceSpec ¶
type NopResourceSpec struct {
xpv1.ResourceSpec `json:",inline"`
}
NopResourceSpec defines the desired state of a NopResource.
func (*NopResourceSpec) DeepCopy ¶
func (in *NopResourceSpec) DeepCopy() *NopResourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NopResourceSpec.
func (*NopResourceSpec) DeepCopyInto ¶
func (in *NopResourceSpec) DeepCopyInto(out *NopResourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NopResourceStatus ¶
type NopResourceStatus struct {
xpv1.ResourceStatus `json:",inline"`
}
NopResourceStatus represents the observed state of a NopResource.
func (*NopResourceStatus) DeepCopy ¶
func (in *NopResourceStatus) DeepCopy() *NopResourceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NopResourceStatus.
func (*NopResourceStatus) DeepCopyInto ¶
func (in *NopResourceStatus) DeepCopyInto(out *NopResourceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.