Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=null.template.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Resource
- func (in *Resource) DeepCopy() *Resource
- func (in *Resource) DeepCopyInto(out *Resource)
- func (in *Resource) DeepCopyObject() runtime.Object
- func (mg *Resource) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Resource) GetConnectionDetailsMapping() map[string]string
- func (mg *Resource) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Resource) GetID() string
- func (tr *Resource) GetObservation() (map[string]interface{}, error)
- func (tr *Resource) GetParameters() (map[string]interface{}, error)
- func (mg *Resource) GetProviderConfigReference() *xpv1.Reference
- func (mg *Resource) GetProviderReference() *xpv1.Reference
- func (mg *Resource) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Resource) GetTerraformResourceType() string
- func (tr *Resource) GetTerraformSchemaVersion() int
- func (mg *Resource) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Resource) LateInitialize(attrs []byte) (bool, error)
- func (mg *Resource) SetConditions(c ...xpv1.Condition)
- func (mg *Resource) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Resource) SetObservation(obs map[string]interface{}) error
- func (tr *Resource) SetParameters(params map[string]interface{}) error
- func (mg *Resource) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Resource) SetProviderReference(r *xpv1.Reference)
- func (mg *Resource) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Resource) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ResourceList
- type ResourceObservation
- type ResourceParameters
- type ResourceSpec
- type ResourceStatus
Constants ¶
const ( CRDGroup = "null.template.jet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( Resource_Kind = "Resource" Resource_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Resource_Kind}.String() Resource_KindAPIVersion = Resource_Kind + "." + CRDGroupVersion.String() Resource_GroupVersionKind = CRDGroupVersion.WithKind(Resource_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Resource ¶
type Resource struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ResourceSpec `json:"spec"` Status ResourceStatus `json:"status,omitempty"` }
Resource is the Schema for the Resources API +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,templatejet}
func (*Resource) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resource.
func (*Resource) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Resource) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Resource) GetCondition ¶
func (mg *Resource) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Resource.
func (*Resource) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Resource
func (*Resource) GetDeletionPolicy ¶
func (mg *Resource) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Resource.
func (*Resource) GetObservation ¶
GetObservation of this Resource
func (*Resource) GetParameters ¶
GetParameters of this Resource
func (*Resource) GetProviderConfigReference ¶
GetProviderConfigReference of this Resource.
func (*Resource) GetProviderReference ¶
GetProviderReference of this Resource. Deprecated: Use GetProviderConfigReference.
func (*Resource) GetPublishConnectionDetailsTo ¶
func (mg *Resource) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Resource.
func (*Resource) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Resource
func (*Resource) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Resource) GetWriteConnectionSecretToReference ¶
func (mg *Resource) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Resource.
func (*Resource) LateInitialize ¶
LateInitialize this Resource using its observed tfState. returns True if there are any spec changes for the resource.
func (*Resource) SetConditions ¶
SetConditions of this Resource.
func (*Resource) SetDeletionPolicy ¶
func (mg *Resource) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Resource.
func (*Resource) SetObservation ¶
SetObservation for this Resource
func (*Resource) SetParameters ¶
SetParameters for this Resource
func (*Resource) SetProviderConfigReference ¶
SetProviderConfigReference of this Resource.
func (*Resource) SetProviderReference ¶
SetProviderReference of this Resource. Deprecated: Use SetProviderConfigReference.
func (*Resource) SetPublishConnectionDetailsTo ¶
func (mg *Resource) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Resource.
func (*Resource) SetWriteConnectionSecretToReference ¶
func (mg *Resource) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Resource.
type ResourceList ¶
type ResourceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Resource `json:"items"` }
ResourceList contains a list of Resources
func (*ResourceList) DeepCopy ¶
func (in *ResourceList) DeepCopy() *ResourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceList.
func (*ResourceList) DeepCopyInto ¶
func (in *ResourceList) DeepCopyInto(out *ResourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceList) DeepCopyObject ¶
func (in *ResourceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ResourceList) GetItems ¶
func (l *ResourceList) GetItems() []resource.Managed
GetItems of this ResourceList.
type ResourceObservation ¶
type ResourceObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*ResourceObservation) DeepCopy ¶
func (in *ResourceObservation) DeepCopy() *ResourceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceObservation.
func (*ResourceObservation) DeepCopyInto ¶
func (in *ResourceObservation) DeepCopyInto(out *ResourceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceParameters ¶
type ResourceParameters struct { // A map of arbitrary strings that, when changed, will force the null resource to be replaced, re-running any associated provisioners. // +kubebuilder:validation:Optional Triggers map[string]*string `json:"triggers,omitempty" tf:"triggers,omitempty"` }
func (*ResourceParameters) DeepCopy ¶
func (in *ResourceParameters) DeepCopy() *ResourceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceParameters.
func (*ResourceParameters) DeepCopyInto ¶
func (in *ResourceParameters) DeepCopyInto(out *ResourceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceSpec ¶
type ResourceSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ResourceParameters `json:"forProvider"` }
ResourceSpec defines the desired state of Resource
func (*ResourceSpec) DeepCopy ¶
func (in *ResourceSpec) DeepCopy() *ResourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSpec.
func (*ResourceSpec) DeepCopyInto ¶
func (in *ResourceSpec) DeepCopyInto(out *ResourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceStatus ¶
type ResourceStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ResourceObservation `json:"atProvider,omitempty"` }
ResourceStatus defines the observed state of Resource.
func (*ResourceStatus) DeepCopy ¶
func (in *ResourceStatus) DeepCopy() *ResourceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceStatus.
func (*ResourceStatus) DeepCopyInto ¶
func (in *ResourceStatus) DeepCopyInto(out *ResourceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.