Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=catalog.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 = "catalog.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 { ID *string `json:"id,omitempty" tf:"id,omitempty"` ResourceVersion *string `json:"resourceVersion,omitempty" tf:"resource_version,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"` // PEM encoded CA bundle which will be used to validate the repo's certificate // +kubebuilder:validation:Optional CABundle *string `json:"caBundle,omitempty" tf:"ca_bundle,omitempty"` // K8s cluster ID // +kubebuilder:validation:Required ClusterID *string `json:"clusterId" tf:"cluster_id,omitempty"` // If disabled the repo clone will not be updated or allowed to be installed from // +kubebuilder:validation:Optional Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // Git Repository branch containing Helm chart definitions // +kubebuilder:validation:Optional GitBranch *string `json:"gitBranch,omitempty" tf:"git_branch,omitempty"` // Git Repository containing Helm chart definitions // +kubebuilder:validation:Optional GitRepo *string `json:"gitRepo,omitempty" tf:"git_repo,omitempty"` // Use insecure HTTPS to download the repo's index // +kubebuilder:validation:Optional Insecure *bool `json:"insecure,omitempty" tf:"insecure,omitempty"` // Labels of the resource // +kubebuilder:validation:Optional Labels map[string]string `json:"labels,omitempty" tf:"labels,omitempty"` // K8s secret name to be used to connect to the repo // +kubebuilder:validation:Optional SecretName *string `json:"secretName,omitempty" tf:"secret_name,omitempty"` // K8s secret namespace // +kubebuilder:validation:Optional SecretNamespace *string `json:"secretNamespace,omitempty" tf:"secret_namespace,omitempty"` // K8s service account used to deploy charts instead of the end users credentials // +kubebuilder:validation:Optional ServiceAccount *string `json:"serviceAccount,omitempty" tf:"service_account,omitempty"` // K8s namsepace of the service account // +kubebuilder:validation:Optional ServiceAccountNamespace *string `json:"serviceAccountNamespace,omitempty" tf:"service_account_namespace,omitempty"` // URL to an index generated by Helm // +kubebuilder:validation:Optional URL *string `json:"url,omitempty" tf:"url,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.