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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	ClassV2_Kind             = "ClassV2"
	ClassV2_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ClassV2_Kind}.String()
	ClassV2_KindAPIVersion   = ClassV2_Kind + "." + CRDGroupVersion.String()
	ClassV2_GroupVersionKind = CRDGroupVersion.WithKind(ClassV2_Kind)
)

Repository type metadata.

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
)

Functions

This section is empty.

Types

type ClassV2

type ClassV2 struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ClassV2Spec   `json:"spec"`
	Status            ClassV2Status `json:"status,omitempty"`
}

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

func (in *ClassV2) DeepCopy() *ClassV2

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

func (*ClassV2) DeepCopyInto

func (in *ClassV2) DeepCopyInto(out *ClassV2)

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

func (*ClassV2) DeepCopyObject

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

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

func (*ClassV2) GetCondition

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

GetCondition of this ClassV2.

func (*ClassV2) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ClassV2

func (*ClassV2) GetDeletionPolicy

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

GetDeletionPolicy of this ClassV2.

func (*ClassV2) GetID

func (tr *ClassV2) GetID() string

GetID returns ID of underlying Terraform resource of this ClassV2

func (*ClassV2) GetObservation

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

GetObservation of this ClassV2

func (*ClassV2) GetParameters

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

GetParameters of this ClassV2

func (*ClassV2) GetProviderConfigReference

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

GetProviderConfigReference of this ClassV2.

func (*ClassV2) GetProviderReference

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

GetProviderReference of this ClassV2. Deprecated: Use GetProviderConfigReference.

func (*ClassV2) GetTerraformResourceType

func (mg *ClassV2) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ClassV2

func (*ClassV2) GetTerraformSchemaVersion

func (tr *ClassV2) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ClassV2) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ClassV2.

func (*ClassV2) LateInitialize

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

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

func (*ClassV2) SetConditions

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

SetConditions of this ClassV2.

func (*ClassV2) SetDeletionPolicy

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

SetDeletionPolicy of this ClassV2.

func (*ClassV2) SetObservation

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

SetObservation for this ClassV2

func (*ClassV2) SetParameters

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

SetParameters for this ClassV2

func (*ClassV2) SetProviderConfigReference

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

SetProviderConfigReference of this ClassV2.

func (*ClassV2) SetProviderReference

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

SetProviderReference of this ClassV2. Deprecated: Use SetProviderConfigReference.

func (*ClassV2) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ClassV2.

type ClassV2List

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

ClassV2List contains a list of ClassV2s

func (*ClassV2List) DeepCopy

func (in *ClassV2List) DeepCopy() *ClassV2List

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

func (*ClassV2List) DeepCopyInto

func (in *ClassV2List) DeepCopyInto(out *ClassV2List)

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

func (*ClassV2List) DeepCopyObject

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

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

func (*ClassV2List) GetItems

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

GetItems of this ClassV2List.

type ClassV2Observation

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

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

func (*ClassV2Observation) DeepCopy

func (in *ClassV2Observation) DeepCopy() *ClassV2Observation

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

func (*ClassV2Observation) DeepCopyInto

func (in *ClassV2Observation) DeepCopyInto(out *ClassV2Observation)

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

type ClassV2Parameters

type ClassV2Parameters struct {

	// StorageClass allow_volume_expansion
	// +kubebuilder:validation:Optional
	AllowVolumeExpansion *bool `json:"allowVolumeExpansion,omitempty" tf:"allow_volume_expansion,omitempty"`

	// 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"`

	// StorageClass provisioner
	// +kubebuilder:validation:Required
	K8SProvisioner *string `json:"k8sProvisioner" tf:"k8s_provisioner,omitempty"`

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

	// StorageClass mount options
	// +kubebuilder:validation:Optional
	MountOptions []*string `json:"mountOptions,omitempty" tf:"mount_options,omitempty"`

	// StorageClass provisioner paramaters
	// +kubebuilder:validation:Optional
	Parameters map[string]string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// StorageClass provisioner reclaim policy
	// +kubebuilder:validation:Optional
	ReclaimPolicy *string `json:"reclaimPolicy,omitempty" tf:"reclaim_policy,omitempty"`

	// StorageClass provisioner volume binding mode
	// +kubebuilder:validation:Optional
	VolumeBindingMode *string `json:"volumeBindingMode,omitempty" tf:"volume_binding_mode,omitempty"`
}

func (*ClassV2Parameters) DeepCopy

func (in *ClassV2Parameters) DeepCopy() *ClassV2Parameters

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

func (*ClassV2Parameters) DeepCopyInto

func (in *ClassV2Parameters) DeepCopyInto(out *ClassV2Parameters)

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

type ClassV2Spec

type ClassV2Spec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ClassV2Parameters `json:"forProvider"`
}

ClassV2Spec defines the desired state of ClassV2

func (*ClassV2Spec) DeepCopy

func (in *ClassV2Spec) DeepCopy() *ClassV2Spec

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

func (*ClassV2Spec) DeepCopyInto

func (in *ClassV2Spec) DeepCopyInto(out *ClassV2Spec)

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

type ClassV2Status

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

ClassV2Status defines the observed state of ClassV2.

func (*ClassV2Status) DeepCopy

func (in *ClassV2Status) DeepCopy() *ClassV2Status

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

func (*ClassV2Status) DeepCopyInto

func (in *ClassV2Status) DeepCopyInto(out *ClassV2Status)

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