Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=app.rancher.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type V2
- func (in *V2) DeepCopy() *V2
- func (in *V2) DeepCopyInto(out *V2)
- func (in *V2) DeepCopyObject() runtime.Object
- func (mg *V2) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *V2) GetConnectionDetailsMapping() map[string]string
- func (mg *V2) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *V2) GetID() string
- func (tr *V2) GetObservation() (map[string]interface{}, error)
- func (tr *V2) GetParameters() (map[string]interface{}, error)
- func (mg *V2) GetProviderConfigReference() *xpv1.Reference
- func (mg *V2) GetProviderReference() *xpv1.Reference
- func (mg *V2) GetTerraformResourceType() string
- func (tr *V2) GetTerraformSchemaVersion() int
- func (mg *V2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *V2) LateInitialize(attrs []byte) (bool, error)
- func (mg *V2) SetConditions(c ...xpv1.Condition)
- func (mg *V2) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *V2) SetObservation(obs map[string]interface{}) error
- func (tr *V2) SetParameters(params map[string]interface{}) error
- func (mg *V2) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *V2) SetProviderReference(r *xpv1.Reference)
- func (mg *V2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type V2List
- type V2Observation
- type V2Parameters
- type V2Spec
- type V2Status
Constants ¶
const ( CRDGroup = "app.rancher.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 ( V2_Kind = "V2" V2_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: V2_Kind}.String() V2_KindAPIVersion = V2_Kind + "." + CRDGroupVersion.String() V2_GroupVersionKind = CRDGroupVersion.WithKind(V2_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type V2 ¶
type V2 struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec V2Spec `json:"spec"` Status V2Status `json:"status,omitempty"` }
V2 is the Schema for the V2s 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,rancherjet}
func (*V2) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new V2.
func (*V2) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*V2) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*V2) GetCondition ¶
func (mg *V2) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this V2.
func (*V2) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this V2
func (*V2) GetDeletionPolicy ¶
func (mg *V2) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this V2.
func (*V2) GetObservation ¶
GetObservation of this V2
func (*V2) GetParameters ¶
GetParameters of this V2
func (*V2) GetProviderConfigReference ¶
GetProviderConfigReference of this V2.
func (*V2) GetProviderReference ¶
GetProviderReference of this V2. Deprecated: Use GetProviderConfigReference.
func (*V2) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this V2
func (*V2) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*V2) GetWriteConnectionSecretToReference ¶
func (mg *V2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this V2.
func (*V2) LateInitialize ¶
LateInitialize this V2 using its observed tfState. returns True if there are any spec changes for the resource.
func (*V2) SetConditions ¶
SetConditions of this V2.
func (*V2) SetDeletionPolicy ¶
func (mg *V2) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this V2.
func (*V2) SetObservation ¶
SetObservation for this V2
func (*V2) SetParameters ¶
SetParameters for this V2
func (*V2) SetProviderConfigReference ¶
SetProviderConfigReference of this V2.
func (*V2) SetProviderReference ¶
SetProviderReference of this V2. Deprecated: Use SetProviderConfigReference.
func (*V2) SetWriteConnectionSecretToReference ¶
func (mg *V2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this V2.
type V2List ¶
type V2List struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []V2 `json:"items"` }
V2List contains a list of V2s
func (*V2List) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new V2List.
func (*V2List) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*V2List) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type V2Observation ¶
type V2Observation struct { ClusterName *string `json:"clusterName,omitempty" tf:"cluster_name,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` SystemDefaultRegistry *string `json:"systemDefaultRegistry,omitempty" tf:"system_default_registry,omitempty"` }
func (*V2Observation) DeepCopy ¶
func (in *V2Observation) DeepCopy() *V2Observation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new V2Observation.
func (*V2Observation) DeepCopyInto ¶
func (in *V2Observation) DeepCopyInto(out *V2Observation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type V2Parameters ¶
type V2Parameters struct { // Annotations of the resource // +kubebuilder:validation:Optional Annotations map[string]string `json:"annotations,omitempty" tf:"annotations,omitempty"` // Chart name // +kubebuilder:validation:Required ChartName *string `json:"chartName" tf:"chart_name,omitempty"` // Chart version // +kubebuilder:validation:Optional ChartVersion *string `json:"chartVersion,omitempty" tf:"chart_version,omitempty"` // Cleanup app V2 on failed chart upgrade // +kubebuilder:validation:Optional CleanupOnFail *bool `json:"cleanupOnFail,omitempty" tf:"cleanup_on_fail,omitempty"` // +kubebuilder:validation:Required ClusterID *string `json:"clusterId" tf:"cluster_id,omitempty"` // Disable app V2 chart hooks // +kubebuilder:validation:Optional DisableHooks *bool `json:"disableHooks,omitempty" tf:"disable_hooks,omitempty"` // Disable app V2 Open API Validation // +kubebuilder:validation:Optional DisableOpenAPIValidation *bool `json:"disableOpenApiValidation,omitempty" tf:"disable_open_api_validation,omitempty"` // Force app V2 chart upgrade // +kubebuilder:validation:Optional ForceUpgrade *bool `json:"forceUpgrade,omitempty" tf:"force_upgrade,omitempty"` // Labels of the resource // +kubebuilder:validation:Optional Labels map[string]string `json:"labels,omitempty" tf:"labels,omitempty"` // App v2 namespace // +kubebuilder:validation:Required Namespace *string `json:"namespace" tf:"namespace,omitempty"` // Deploy app within project ID // +kubebuilder:validation:Optional ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"` // Repo name // +kubebuilder:validation:Required RepoName *string `json:"repoName" tf:"repo_name,omitempty"` // App v2 custom values yaml // +kubebuilder:validation:Optional Values *string `json:"values,omitempty" tf:"values,omitempty"` // Wait until app is deployed // +kubebuilder:validation:Optional Wait *bool `json:"wait,omitempty" tf:"wait,omitempty"` }
func (*V2Parameters) DeepCopy ¶
func (in *V2Parameters) DeepCopy() *V2Parameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new V2Parameters.
func (*V2Parameters) DeepCopyInto ¶
func (in *V2Parameters) DeepCopyInto(out *V2Parameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type V2Spec ¶
type V2Spec struct { v1.ResourceSpec `json:",inline"` ForProvider V2Parameters `json:"forProvider"` }
V2Spec defines the desired state of V2
func (*V2Spec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new V2Spec.
func (*V2Spec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type V2Status ¶
type V2Status struct { v1.ResourceStatus `json:",inline"` AtProvider V2Observation `json:"atProvider,omitempty"` }
V2Status defines the observed state of V2.
func (*V2Status) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new V2Status.
func (*V2Status) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.