v1alpha1

package
v0.0.0-...-1d7f71f 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: 13 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "catalogitementitlement.crossplane.io"
	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="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.catalogItemId)",message="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="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,vra}

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) GetManagementPolicy

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

GetManagementPolicy 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) GetProviderReference

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

GetProviderReference of this CatalogItemEntitlement. Deprecated: Use GetProviderConfigReference.

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) 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) SetManagementPolicy

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

SetManagementPolicy 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) SetProviderReference

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

SetProviderReference of this CatalogItemEntitlement. Deprecated: Use SetProviderConfigReference.

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 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/ankasoftco/provider-vra/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"`
}

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 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