v1alpha1

package
v0.0.0-...-ca841eb Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=catalogitementitlement.vmware.vra +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "catalogitementitlement.vmware.vra"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	CatalogItemEntitlement_Kind             = "CatalogItemEntitlement"
	CatalogItemEntitlement_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CatalogItemEntitlement_Kind}.String()
	CatalogItemEntitlement_KindAPIVersion   = CatalogItemEntitlement_Kind + "." + CRDGroupVersion.String()
	CatalogItemEntitlement_GroupVersionKind = CRDGroupVersion.WithKind(CatalogItemEntitlement_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 CatalogItemEntitlement

type CatalogItemEntitlement struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.catalogItemId) || (has(self.initProvider) && has(self.initProvider.catalogItemId))",message="spec.forProvider.catalogItemId is a required parameter"
	Spec   CatalogItemEntitlementSpec   `json:"spec"`
	Status CatalogItemEntitlementStatus `json:"status,omitempty"`
}

CatalogItemEntitlement is the Schema for the CatalogItemEntitlements API. <no value> +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,vra8}

func (*CatalogItemEntitlement) DeepCopy

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

func (*CatalogItemEntitlement) DeepCopyInto

func (in *CatalogItemEntitlement) DeepCopyInto(out *CatalogItemEntitlement)

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

func (*CatalogItemEntitlement) DeepCopyObject

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

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

func (*CatalogItemEntitlement) GetCondition

GetCondition of this CatalogItemEntitlement.

func (*CatalogItemEntitlement) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this CatalogItemEntitlement

func (*CatalogItemEntitlement) GetDeletionPolicy

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

GetDeletionPolicy of this CatalogItemEntitlement.

func (*CatalogItemEntitlement) GetID

func (tr *CatalogItemEntitlement) GetID() string

GetID returns ID of underlying Terraform resource of this CatalogItemEntitlement

func (*CatalogItemEntitlement) GetInitParameters

func (tr *CatalogItemEntitlement) GetInitParameters() (map[string]any, error)

GetInitParameters of this CatalogItemEntitlement

func (*CatalogItemEntitlement) GetManagementPolicies

func (mg *CatalogItemEntitlement) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this CatalogItemEntitlement.

func (*CatalogItemEntitlement) GetMergedParameters

func (tr *CatalogItemEntitlement) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this CatalogItemEntitlement

func (*CatalogItemEntitlement) GetObservation

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

GetObservation of this CatalogItemEntitlement

func (*CatalogItemEntitlement) GetParameters

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

GetParameters of this CatalogItemEntitlement

func (*CatalogItemEntitlement) GetProviderConfigReference

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

GetProviderConfigReference of this CatalogItemEntitlement.

func (*CatalogItemEntitlement) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CatalogItemEntitlement.

func (*CatalogItemEntitlement) GetTerraformResourceType

func (mg *CatalogItemEntitlement) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CatalogItemEntitlement

func (*CatalogItemEntitlement) GetTerraformSchemaVersion

func (tr *CatalogItemEntitlement) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CatalogItemEntitlement) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CatalogItemEntitlement.

func (*CatalogItemEntitlement) Hub

func (tr *CatalogItemEntitlement) Hub()

Hub marks this type as a conversion hub.

func (*CatalogItemEntitlement) LateInitialize

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

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

func (*CatalogItemEntitlement) ResolveReferences

func (mg *CatalogItemEntitlement) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this CatalogItemEntitlement.

func (*CatalogItemEntitlement) SetConditions

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

SetConditions of this CatalogItemEntitlement.

func (*CatalogItemEntitlement) SetDeletionPolicy

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

SetDeletionPolicy of this CatalogItemEntitlement.

func (*CatalogItemEntitlement) SetManagementPolicies

func (mg *CatalogItemEntitlement) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this CatalogItemEntitlement.

func (*CatalogItemEntitlement) SetObservation

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

SetObservation for this CatalogItemEntitlement

func (*CatalogItemEntitlement) SetParameters

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

SetParameters for this CatalogItemEntitlement

func (*CatalogItemEntitlement) SetProviderConfigReference

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

SetProviderConfigReference of this CatalogItemEntitlement.

func (*CatalogItemEntitlement) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this CatalogItemEntitlement.

func (*CatalogItemEntitlement) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this CatalogItemEntitlement.

type CatalogItemEntitlementInitParameters

type CatalogItemEntitlementInitParameters struct {

	// Catalog item id.
	CatalogItemID *string `json:"catalogItemId,omitempty" tf:"catalog_item_id,omitempty"`

	// Project id.
	// +crossplane:generate:reference:type=github.com/therandombyte/provider-vra8/apis/project/v1alpha1.Project
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Reference to a Project in project to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"`

	// Selector for a Project in project to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"`
}

func (*CatalogItemEntitlementInitParameters) DeepCopy

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

func (*CatalogItemEntitlementInitParameters) DeepCopyInto

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

type CatalogItemEntitlementList

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

CatalogItemEntitlementList contains a list of CatalogItemEntitlements

func (*CatalogItemEntitlementList) DeepCopy

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

func (*CatalogItemEntitlementList) DeepCopyInto

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

func (*CatalogItemEntitlementList) DeepCopyObject

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

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

func (*CatalogItemEntitlementList) GetItems

GetItems of this CatalogItemEntitlementList.

type CatalogItemEntitlementObservation

type CatalogItemEntitlementObservation struct {

	// Catalog item id.
	CatalogItemID *string `json:"catalogItemId,omitempty" tf:"catalog_item_id,omitempty"`

	Definition []DefinitionObservation `json:"definition,omitempty" tf:"definition,omitempty"`

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

	// Project id.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
}

func (*CatalogItemEntitlementObservation) DeepCopy

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

func (*CatalogItemEntitlementObservation) DeepCopyInto

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

type CatalogItemEntitlementParameters

type CatalogItemEntitlementParameters struct {

	// Catalog item id.
	// +kubebuilder:validation:Optional
	CatalogItemID *string `json:"catalogItemId,omitempty" tf:"catalog_item_id,omitempty"`

	// Project id.
	// +crossplane:generate:reference:type=github.com/therandombyte/provider-vra8/apis/project/v1alpha1.Project
	// +kubebuilder:validation:Optional
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Reference to a Project in project to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"`

	// Selector for a Project in project to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"`
}

func (*CatalogItemEntitlementParameters) DeepCopy

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

func (*CatalogItemEntitlementParameters) DeepCopyInto

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

type CatalogItemEntitlementSpec

type CatalogItemEntitlementSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CatalogItemEntitlementParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider CatalogItemEntitlementInitParameters `json:"initProvider,omitempty"`
}

CatalogItemEntitlementSpec defines the desired state of CatalogItemEntitlement

func (*CatalogItemEntitlementSpec) DeepCopy

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

func (*CatalogItemEntitlementSpec) DeepCopyInto

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

type CatalogItemEntitlementStatus

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

CatalogItemEntitlementStatus defines the observed state of CatalogItemEntitlement.

func (*CatalogItemEntitlementStatus) DeepCopy

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

func (*CatalogItemEntitlementStatus) DeepCopyInto

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

type DefinitionInitParameters

type DefinitionInitParameters struct {
}

func (*DefinitionInitParameters) DeepCopy

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

func (*DefinitionInitParameters) DeepCopyInto

func (in *DefinitionInitParameters) DeepCopyInto(out *DefinitionInitParameters)

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

type DefinitionObservation

type DefinitionObservation struct {
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

	IconID *string `json:"iconId,omitempty" tf:"icon_id,omitempty"`

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

	NumberOfItems *float64 `json:"numberOfItems,omitempty" tf:"number_of_items,omitempty"`

	SourceName *string `json:"sourceName,omitempty" tf:"source_name,omitempty"`

	SourceType *string `json:"sourceType,omitempty" tf:"source_type,omitempty"`

	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*DefinitionObservation) DeepCopy

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

func (*DefinitionObservation) DeepCopyInto

func (in *DefinitionObservation) DeepCopyInto(out *DefinitionObservation)

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

type DefinitionParameters

type DefinitionParameters struct {
}

func (*DefinitionParameters) DeepCopy

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

func (*DefinitionParameters) DeepCopyInto

func (in *DefinitionParameters) DeepCopyInto(out *DefinitionParameters)

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