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=config.rancher.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "config.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 (
	MapV2_Kind             = "MapV2"
	MapV2_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MapV2_Kind}.String()
	MapV2_KindAPIVersion   = MapV2_Kind + "." + CRDGroupVersion.String()
	MapV2_GroupVersionKind = CRDGroupVersion.WithKind(MapV2_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type MapV2

type MapV2 struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MapV2Spec   `json:"spec"`
	Status            MapV2Status `json:"status,omitempty"`
}

MapV2 is the Schema for the MapV2s 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 (*MapV2) DeepCopy

func (in *MapV2) DeepCopy() *MapV2

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

func (*MapV2) DeepCopyInto

func (in *MapV2) DeepCopyInto(out *MapV2)

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

func (*MapV2) DeepCopyObject

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

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

func (*MapV2) GetCondition

func (mg *MapV2) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this MapV2.

func (*MapV2) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this MapV2

func (*MapV2) GetDeletionPolicy

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

GetDeletionPolicy of this MapV2.

func (*MapV2) GetID

func (tr *MapV2) GetID() string

GetID returns ID of underlying Terraform resource of this MapV2

func (*MapV2) GetObservation

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

GetObservation of this MapV2

func (*MapV2) GetParameters

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

GetParameters of this MapV2

func (*MapV2) GetProviderConfigReference

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

GetProviderConfigReference of this MapV2.

func (*MapV2) GetProviderReference

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

GetProviderReference of this MapV2. Deprecated: Use GetProviderConfigReference.

func (*MapV2) GetTerraformResourceType

func (mg *MapV2) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MapV2

func (*MapV2) GetTerraformSchemaVersion

func (tr *MapV2) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MapV2) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MapV2.

func (*MapV2) LateInitialize

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

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

func (*MapV2) SetConditions

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

SetConditions of this MapV2.

func (*MapV2) SetDeletionPolicy

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

SetDeletionPolicy of this MapV2.

func (*MapV2) SetObservation

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

SetObservation for this MapV2

func (*MapV2) SetParameters

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

SetParameters for this MapV2

func (*MapV2) SetProviderConfigReference

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

SetProviderConfigReference of this MapV2.

func (*MapV2) SetProviderReference

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

SetProviderReference of this MapV2. Deprecated: Use SetProviderConfigReference.

func (*MapV2) SetWriteConnectionSecretToReference

func (mg *MapV2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this MapV2.

type MapV2List

type MapV2List struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MapV2 `json:"items"`
}

MapV2List contains a list of MapV2s

func (*MapV2List) DeepCopy

func (in *MapV2List) DeepCopy() *MapV2List

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

func (*MapV2List) DeepCopyInto

func (in *MapV2List) DeepCopyInto(out *MapV2List)

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

func (*MapV2List) DeepCopyObject

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

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

func (*MapV2List) GetItems

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

GetItems of this MapV2List.

type MapV2Observation

type MapV2Observation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	ResourceVersion *string `json:"resourceVersion,omitempty" tf:"resource_version,omitempty"`
}

func (*MapV2Observation) DeepCopy

func (in *MapV2Observation) DeepCopy() *MapV2Observation

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

func (*MapV2Observation) DeepCopyInto

func (in *MapV2Observation) DeepCopyInto(out *MapV2Observation)

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

type MapV2Parameters

type MapV2Parameters struct {

	// Annotations of the resource
	// +kubebuilder:validation:Optional
	Annotations map[string]string `json:"annotations,omitempty" tf:"annotations,omitempty"`

	// K8s cluster ID
	// +kubebuilder:validation:Required
	ClusterID *string `json:"clusterId" tf:"cluster_id,omitempty"`

	// ConfigMap V2 data map
	// +kubebuilder:validation:Required
	Data map[string]string `json:"data" tf:"data,omitempty"`

	// If set to true, ensures that data stored in the ConfigMap cannot be updated
	// +kubebuilder:validation:Optional
	Immutable *bool `json:"immutable,omitempty" tf:"immutable,omitempty"`

	// Labels of the resource
	// +kubebuilder:validation:Optional
	Labels map[string]string `json:"labels,omitempty" tf:"labels,omitempty"`

	// ConfigMap V2 namespace
	// +kubebuilder:validation:Optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`
}

func (*MapV2Parameters) DeepCopy

func (in *MapV2Parameters) DeepCopy() *MapV2Parameters

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

func (*MapV2Parameters) DeepCopyInto

func (in *MapV2Parameters) DeepCopyInto(out *MapV2Parameters)

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

type MapV2Spec

type MapV2Spec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MapV2Parameters `json:"forProvider"`
}

MapV2Spec defines the desired state of MapV2

func (*MapV2Spec) DeepCopy

func (in *MapV2Spec) DeepCopy() *MapV2Spec

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

func (*MapV2Spec) DeepCopyInto

func (in *MapV2Spec) DeepCopyInto(out *MapV2Spec)

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

type MapV2Status

type MapV2Status struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        MapV2Observation `json:"atProvider,omitempty"`
}

MapV2Status defines the observed state of MapV2.

func (*MapV2Status) DeepCopy

func (in *MapV2Status) DeepCopy() *MapV2Status

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

func (*MapV2Status) DeepCopyInto

func (in *MapV2Status) DeepCopyInto(out *MapV2Status)

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