v1alpha1

package
v0.0.0-...-6fe2522 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=customattribute.vsphere.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "customattribute.vsphere.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Attribute_Kind             = "Attribute"
	Attribute_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Attribute_Kind}.String()
	Attribute_KindAPIVersion   = Attribute_Kind + "." + CRDGroupVersion.String()
	Attribute_GroupVersionKind = CRDGroupVersion.WithKind(Attribute_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 Attribute

type Attribute struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AttributeSpec   `json:"spec"`
	Status            AttributeStatus `json:"status,omitempty"`
}

Attribute is the Schema for the Attributes API. Provides a VMware vSphere custom attribute resource. This can be used to manage custom attributes in vSphere. +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,vsphere}

func (*Attribute) DeepCopy

func (in *Attribute) DeepCopy() *Attribute

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

func (*Attribute) DeepCopyInto

func (in *Attribute) DeepCopyInto(out *Attribute)

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

func (*Attribute) DeepCopyObject

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

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

func (*Attribute) GetCondition

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

GetCondition of this Attribute.

func (*Attribute) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Attribute

func (*Attribute) GetDeletionPolicy

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

GetDeletionPolicy of this Attribute.

func (*Attribute) GetID

func (tr *Attribute) GetID() string

GetID returns ID of underlying Terraform resource of this Attribute

func (*Attribute) GetObservation

func (tr *Attribute) GetObservation() (map[string]any, error)

GetObservation of this Attribute

func (*Attribute) GetParameters

func (tr *Attribute) GetParameters() (map[string]any, error)

GetParameters of this Attribute

func (*Attribute) GetProviderConfigReference

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

GetProviderConfigReference of this Attribute.

func (*Attribute) GetProviderReference

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

GetProviderReference of this Attribute. Deprecated: Use GetProviderConfigReference.

func (*Attribute) GetPublishConnectionDetailsTo

func (mg *Attribute) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Attribute.

func (*Attribute) GetTerraformResourceType

func (mg *Attribute) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Attribute

func (*Attribute) GetTerraformSchemaVersion

func (tr *Attribute) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Attribute) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Attribute.

func (*Attribute) LateInitialize

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

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

func (*Attribute) SetConditions

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

SetConditions of this Attribute.

func (*Attribute) SetDeletionPolicy

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

SetDeletionPolicy of this Attribute.

func (*Attribute) SetObservation

func (tr *Attribute) SetObservation(obs map[string]any) error

SetObservation for this Attribute

func (*Attribute) SetParameters

func (tr *Attribute) SetParameters(params map[string]any) error

SetParameters for this Attribute

func (*Attribute) SetProviderConfigReference

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

SetProviderConfigReference of this Attribute.

func (*Attribute) SetProviderReference

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

SetProviderReference of this Attribute. Deprecated: Use SetProviderConfigReference.

func (*Attribute) SetPublishConnectionDetailsTo

func (mg *Attribute) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Attribute.

func (*Attribute) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Attribute.

type AttributeList

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

AttributeList contains a list of Attributes

func (*AttributeList) DeepCopy

func (in *AttributeList) DeepCopy() *AttributeList

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

func (*AttributeList) DeepCopyInto

func (in *AttributeList) DeepCopyInto(out *AttributeList)

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

func (*AttributeList) DeepCopyObject

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

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

func (*AttributeList) GetItems

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

GetItems of this AttributeList.

type AttributeObservation

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

func (*AttributeObservation) DeepCopy

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

func (*AttributeObservation) DeepCopyInto

func (in *AttributeObservation) DeepCopyInto(out *AttributeObservation)

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

type AttributeParameters

type AttributeParameters struct {

	// The object type that this attribute may be
	// applied to. If not set, the custom attribute may be applied to any object
	// type. For a full list, review the Managed Object Types. Forces a new resource if changed.
	// Object type for which the custom attribute is valid. If not specified, the attribute is valid for all managed object types.
	// +kubebuilder:validation:Optional
	ManagedObjectType *string `json:"managedObjectType,omitempty" tf:"managed_object_type,omitempty"`
}

func (*AttributeParameters) DeepCopy

func (in *AttributeParameters) DeepCopy() *AttributeParameters

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

func (*AttributeParameters) DeepCopyInto

func (in *AttributeParameters) DeepCopyInto(out *AttributeParameters)

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

type AttributeSpec

type AttributeSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AttributeParameters `json:"forProvider"`
}

AttributeSpec defines the desired state of Attribute

func (*AttributeSpec) DeepCopy

func (in *AttributeSpec) DeepCopy() *AttributeSpec

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

func (*AttributeSpec) DeepCopyInto

func (in *AttributeSpec) DeepCopyInto(out *AttributeSpec)

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

type AttributeStatus

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

AttributeStatus defines the observed state of Attribute.

func (*AttributeStatus) DeepCopy

func (in *AttributeStatus) DeepCopy() *AttributeStatus

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

func (*AttributeStatus) DeepCopyInto

func (in *AttributeStatus) DeepCopyInto(out *AttributeStatus)

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