v1alpha1

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "catalogsourceentitlement.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	CatalogSourceEntitlement_Kind             = "CatalogSourceEntitlement"
	CatalogSourceEntitlement_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CatalogSourceEntitlement_Kind}.String()
	CatalogSourceEntitlement_KindAPIVersion   = CatalogSourceEntitlement_Kind + "." + CRDGroupVersion.String()
	CatalogSourceEntitlement_GroupVersionKind = CRDGroupVersion.WithKind(CatalogSourceEntitlement_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 CatalogSourceEntitlement

type CatalogSourceEntitlement 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.catalogSourceId) || (has(self.initProvider) && has(self.initProvider.catalogSourceId))",message="spec.forProvider.catalogSourceId is a required parameter"
	Spec   CatalogSourceEntitlementSpec   `json:"spec"`
	Status CatalogSourceEntitlementStatus `json:"status,omitempty"`
}

CatalogSourceEntitlement is the Schema for the CatalogSourceEntitlements 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,vra}

func (*CatalogSourceEntitlement) DeepCopy

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

func (*CatalogSourceEntitlement) DeepCopyInto

func (in *CatalogSourceEntitlement) DeepCopyInto(out *CatalogSourceEntitlement)

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

func (*CatalogSourceEntitlement) DeepCopyObject

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

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

func (*CatalogSourceEntitlement) GetCondition

GetCondition of this CatalogSourceEntitlement.

func (*CatalogSourceEntitlement) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this CatalogSourceEntitlement

func (*CatalogSourceEntitlement) GetDeletionPolicy

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

GetDeletionPolicy of this CatalogSourceEntitlement.

func (*CatalogSourceEntitlement) GetID

func (tr *CatalogSourceEntitlement) GetID() string

GetID returns ID of underlying Terraform resource of this CatalogSourceEntitlement

func (*CatalogSourceEntitlement) GetInitParameters added in v0.1.0

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

GetInitParameters of this CatalogSourceEntitlement

func (*CatalogSourceEntitlement) GetManagementPolicies added in v0.1.0

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

GetManagementPolicies of this CatalogSourceEntitlement.

func (*CatalogSourceEntitlement) GetMergedParameters added in v0.1.0

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

GetInitParameters of this CatalogSourceEntitlement

func (*CatalogSourceEntitlement) GetObservation

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

GetObservation of this CatalogSourceEntitlement

func (*CatalogSourceEntitlement) GetParameters

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

GetParameters of this CatalogSourceEntitlement

func (*CatalogSourceEntitlement) GetProviderConfigReference

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

GetProviderConfigReference of this CatalogSourceEntitlement.

func (*CatalogSourceEntitlement) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CatalogSourceEntitlement.

func (*CatalogSourceEntitlement) GetTerraformResourceType

func (mg *CatalogSourceEntitlement) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CatalogSourceEntitlement

func (*CatalogSourceEntitlement) GetTerraformSchemaVersion

func (tr *CatalogSourceEntitlement) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CatalogSourceEntitlement) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CatalogSourceEntitlement.

func (*CatalogSourceEntitlement) Hub added in v0.1.0

func (tr *CatalogSourceEntitlement) Hub()

Hub marks this type as a conversion hub.

func (*CatalogSourceEntitlement) LateInitialize

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

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

func (*CatalogSourceEntitlement) ResolveReferences

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

ResolveReferences of this CatalogSourceEntitlement.

func (*CatalogSourceEntitlement) SetConditions

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

SetConditions of this CatalogSourceEntitlement.

func (*CatalogSourceEntitlement) SetDeletionPolicy

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

SetDeletionPolicy of this CatalogSourceEntitlement.

func (*CatalogSourceEntitlement) SetManagementPolicies added in v0.1.0

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

SetManagementPolicies of this CatalogSourceEntitlement.

func (*CatalogSourceEntitlement) SetObservation

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

SetObservation for this CatalogSourceEntitlement

func (*CatalogSourceEntitlement) SetParameters

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

SetParameters for this CatalogSourceEntitlement

func (*CatalogSourceEntitlement) SetProviderConfigReference

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

SetProviderConfigReference of this CatalogSourceEntitlement.

func (*CatalogSourceEntitlement) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this CatalogSourceEntitlement.

func (*CatalogSourceEntitlement) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this CatalogSourceEntitlement.

type CatalogSourceEntitlementInitParameters added in v0.1.0

type CatalogSourceEntitlementInitParameters struct {

	// Catalog source id.
	CatalogSourceID *string `json:"catalogSourceId,omitempty" tf:"catalog_source_id,omitempty"`

	// Project id.
	// +crossplane:generate:reference:type=github.com/avarei/provider-vra/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 (*CatalogSourceEntitlementInitParameters) DeepCopy added in v0.1.0

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

func (*CatalogSourceEntitlementInitParameters) DeepCopyInto added in v0.1.0

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

type CatalogSourceEntitlementList

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

CatalogSourceEntitlementList contains a list of CatalogSourceEntitlements

func (*CatalogSourceEntitlementList) DeepCopy

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

func (*CatalogSourceEntitlementList) DeepCopyInto

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

func (*CatalogSourceEntitlementList) DeepCopyObject

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

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

func (*CatalogSourceEntitlementList) GetItems

GetItems of this CatalogSourceEntitlementList.

type CatalogSourceEntitlementObservation

type CatalogSourceEntitlementObservation struct {

	// Catalog source id.
	CatalogSourceID *string `json:"catalogSourceId,omitempty" tf:"catalog_source_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 (*CatalogSourceEntitlementObservation) DeepCopy

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

func (*CatalogSourceEntitlementObservation) DeepCopyInto

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

type CatalogSourceEntitlementParameters

type CatalogSourceEntitlementParameters struct {

	// Catalog source id.
	// +kubebuilder:validation:Optional
	CatalogSourceID *string `json:"catalogSourceId,omitempty" tf:"catalog_source_id,omitempty"`

	// Project id.
	// +crossplane:generate:reference:type=github.com/avarei/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 (*CatalogSourceEntitlementParameters) DeepCopy

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

func (*CatalogSourceEntitlementParameters) DeepCopyInto

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

type CatalogSourceEntitlementSpec

type CatalogSourceEntitlementSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CatalogSourceEntitlementParameters `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 CatalogSourceEntitlementInitParameters `json:"initProvider,omitempty"`
}

CatalogSourceEntitlementSpec defines the desired state of CatalogSourceEntitlement

func (*CatalogSourceEntitlementSpec) DeepCopy

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

func (*CatalogSourceEntitlementSpec) DeepCopyInto

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

type CatalogSourceEntitlementStatus

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

CatalogSourceEntitlementStatus defines the observed state of CatalogSourceEntitlement.

func (*CatalogSourceEntitlementStatus) DeepCopy

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

func (*CatalogSourceEntitlementStatus) DeepCopyInto

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

type DefinitionInitParameters added in v0.1.0

type DefinitionInitParameters struct {
}

func (*DefinitionInitParameters) DeepCopy added in v0.1.0

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

func (*DefinitionInitParameters) DeepCopyInto added in v0.1.0

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