v1alpha1

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=catalog.rancher.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "catalog.rancher.jet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
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
)
View Source
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

func (in *V2) DeepCopy() *V2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new V2.

func (*V2) DeepCopyInto

func (in *V2) DeepCopyInto(out *V2)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*V2) DeepCopyObject

func (in *V2) DeepCopyObject() runtime.Object

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

func (tr *V2) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this V2

func (*V2) GetDeletionPolicy

func (mg *V2) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this V2.

func (*V2) GetID

func (tr *V2) GetID() string

GetID returns ID of underlying Terraform resource of this V2

func (*V2) GetObservation

func (tr *V2) GetObservation() (map[string]interface{}, error)

GetObservation of this V2

func (*V2) GetParameters

func (tr *V2) GetParameters() (map[string]interface{}, error)

GetParameters of this V2

func (*V2) GetProviderConfigReference

func (mg *V2) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this V2.

func (*V2) GetProviderReference

func (mg *V2) GetProviderReference() *xpv1.Reference

GetProviderReference of this V2. Deprecated: Use GetProviderConfigReference.

func (*V2) GetTerraformResourceType

func (mg *V2) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this V2

func (*V2) GetTerraformSchemaVersion

func (tr *V2) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*V2) GetWriteConnectionSecretToReference

func (mg *V2) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this V2.

func (*V2) LateInitialize

func (tr *V2) LateInitialize(attrs []byte) (bool, error)

LateInitialize this V2 using its observed tfState. returns True if there are any spec changes for the resource.

func (*V2) SetConditions

func (mg *V2) SetConditions(c ...xpv1.Condition)

SetConditions of this V2.

func (*V2) SetDeletionPolicy

func (mg *V2) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this V2.

func (*V2) SetObservation

func (tr *V2) SetObservation(obs map[string]interface{}) error

SetObservation for this V2

func (*V2) SetParameters

func (tr *V2) SetParameters(params map[string]interface{}) error

SetParameters for this V2

func (*V2) SetProviderConfigReference

func (mg *V2) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this V2.

func (*V2) SetProviderReference

func (mg *V2) SetProviderReference(r *xpv1.Reference)

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

func (in *V2List) DeepCopy() *V2List

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new V2List.

func (*V2List) DeepCopyInto

func (in *V2List) DeepCopyInto(out *V2List)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*V2List) DeepCopyObject

func (in *V2List) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*V2List) GetItems

func (l *V2List) GetItems() []resource.Managed

GetItems of this V2List.

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

func (in *V2Spec) DeepCopy() *V2Spec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new V2Spec.

func (*V2Spec) DeepCopyInto

func (in *V2Spec) DeepCopyInto(out *V2Spec)

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

func (in *V2Status) DeepCopy() *V2Status

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new V2Status.

func (*V2Status) DeepCopyInto

func (in *V2Status) DeepCopyInto(out *V2Status)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL