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=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="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.catalogSourceId)",message="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="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 (*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) GetManagementPolicy

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

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

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

GetProviderReference of this CatalogSourceEntitlement. Deprecated: Use GetProviderConfigReference.

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

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

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

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

SetProviderReference of this CatalogSourceEntitlement. Deprecated: Use SetProviderConfigReference.

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 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/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 (*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"`
}

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