v1alpha1

package
v0.0.0-...-2b5eab5 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=administration.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "administration.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 (
	VSphereLicense_Kind             = "VSphereLicense"
	VSphereLicense_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: VSphereLicense_Kind}.String()
	VSphereLicense_KindAPIVersion   = VSphereLicense_Kind + "." + CRDGroupVersion.String()
	VSphereLicense_GroupVersionKind = CRDGroupVersion.WithKind(VSphereLicense_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type VSphereLicense

type VSphereLicense struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.licenseKey)",message="licenseKey is a required parameter"
	Spec   VSphereLicenseSpec   `json:"spec"`
	Status VSphereLicenseStatus `json:"status,omitempty"`
}

VSphereLicense is the Schema for the VSphereLicenses API. <no value> +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 (*VSphereLicense) DeepCopy

func (in *VSphereLicense) DeepCopy() *VSphereLicense

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

func (*VSphereLicense) DeepCopyInto

func (in *VSphereLicense) DeepCopyInto(out *VSphereLicense)

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

func (*VSphereLicense) DeepCopyObject

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

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

func (*VSphereLicense) GetCondition

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

GetCondition of this VSphereLicense.

func (*VSphereLicense) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this VSphereLicense

func (*VSphereLicense) GetDeletionPolicy

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

GetDeletionPolicy of this VSphereLicense.

func (*VSphereLicense) GetID

func (tr *VSphereLicense) GetID() string

GetID returns ID of underlying Terraform resource of this VSphereLicense

func (*VSphereLicense) GetManagementPolicy

func (mg *VSphereLicense) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this VSphereLicense.

func (*VSphereLicense) GetObservation

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

GetObservation of this VSphereLicense

func (*VSphereLicense) GetParameters

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

GetParameters of this VSphereLicense

func (*VSphereLicense) GetProviderConfigReference

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

GetProviderConfigReference of this VSphereLicense.

func (*VSphereLicense) GetProviderReference

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

GetProviderReference of this VSphereLicense. Deprecated: Use GetProviderConfigReference.

func (*VSphereLicense) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this VSphereLicense.

func (*VSphereLicense) GetTerraformResourceType

func (mg *VSphereLicense) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this VSphereLicense

func (*VSphereLicense) GetTerraformSchemaVersion

func (tr *VSphereLicense) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*VSphereLicense) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this VSphereLicense.

func (*VSphereLicense) LateInitialize

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

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

func (*VSphereLicense) SetConditions

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

SetConditions of this VSphereLicense.

func (*VSphereLicense) SetDeletionPolicy

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

SetDeletionPolicy of this VSphereLicense.

func (*VSphereLicense) SetManagementPolicy

func (mg *VSphereLicense) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this VSphereLicense.

func (*VSphereLicense) SetObservation

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

SetObservation for this VSphereLicense

func (*VSphereLicense) SetParameters

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

SetParameters for this VSphereLicense

func (*VSphereLicense) SetProviderConfigReference

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

SetProviderConfigReference of this VSphereLicense.

func (*VSphereLicense) SetProviderReference

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

SetProviderReference of this VSphereLicense. Deprecated: Use SetProviderConfigReference.

func (*VSphereLicense) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this VSphereLicense.

func (*VSphereLicense) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this VSphereLicense.

type VSphereLicenseList

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

VSphereLicenseList contains a list of VSphereLicenses

func (*VSphereLicenseList) DeepCopy

func (in *VSphereLicenseList) DeepCopy() *VSphereLicenseList

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

func (*VSphereLicenseList) DeepCopyInto

func (in *VSphereLicenseList) DeepCopyInto(out *VSphereLicenseList)

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

func (*VSphereLicenseList) DeepCopyObject

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

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

func (*VSphereLicenseList) GetItems

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

GetItems of this VSphereLicenseList.

type VSphereLicenseObservation

type VSphereLicenseObservation struct {
	EditionKey *string `json:"editionKey,omitempty" tf:"edition_key,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	LicenseKey *string `json:"licenseKey,omitempty" tf:"license_key,omitempty"`

	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	Total *float64 `json:"total,omitempty" tf:"total,omitempty"`

	Used *float64 `json:"used,omitempty" tf:"used,omitempty"`
}

func (*VSphereLicenseObservation) DeepCopy

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

func (*VSphereLicenseObservation) DeepCopyInto

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

type VSphereLicenseParameters

type VSphereLicenseParameters struct {

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

	// +kubebuilder:validation:Optional
	LicenseKey *string `json:"licenseKey,omitempty" tf:"license_key,omitempty"`
}

func (*VSphereLicenseParameters) DeepCopy

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

func (*VSphereLicenseParameters) DeepCopyInto

func (in *VSphereLicenseParameters) DeepCopyInto(out *VSphereLicenseParameters)

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

type VSphereLicenseSpec

type VSphereLicenseSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     VSphereLicenseParameters `json:"forProvider"`
}

VSphereLicenseSpec defines the desired state of VSphereLicense

func (*VSphereLicenseSpec) DeepCopy

func (in *VSphereLicenseSpec) DeepCopy() *VSphereLicenseSpec

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

func (*VSphereLicenseSpec) DeepCopyInto

func (in *VSphereLicenseSpec) DeepCopyInto(out *VSphereLicenseSpec)

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

type VSphereLicenseStatus

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

VSphereLicenseStatus defines the observed state of VSphereLicense.

func (*VSphereLicenseStatus) DeepCopy

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

func (*VSphereLicenseStatus) DeepCopyInto

func (in *VSphereLicenseStatus) DeepCopyInto(out *VSphereLicenseStatus)

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