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=catalogsourceblueprint.crossplane.io +versionName=v1alpha1

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	CatalogSourceBlueprint_Kind             = "CatalogSourceBlueprint"
	CatalogSourceBlueprint_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CatalogSourceBlueprint_Kind}.String()
	CatalogSourceBlueprint_KindAPIVersion   = CatalogSourceBlueprint_Kind + "." + CRDGroupVersion.String()
	CatalogSourceBlueprint_GroupVersionKind = CRDGroupVersion.WithKind(CatalogSourceBlueprint_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 CatalogSourceBlueprint

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

CatalogSourceBlueprint is the Schema for the CatalogSourceBlueprints 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 (*CatalogSourceBlueprint) DeepCopy

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

func (*CatalogSourceBlueprint) DeepCopyInto

func (in *CatalogSourceBlueprint) DeepCopyInto(out *CatalogSourceBlueprint)

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

func (*CatalogSourceBlueprint) DeepCopyObject

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

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

func (*CatalogSourceBlueprint) GetCondition

GetCondition of this CatalogSourceBlueprint.

func (*CatalogSourceBlueprint) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this CatalogSourceBlueprint

func (*CatalogSourceBlueprint) GetDeletionPolicy

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

GetDeletionPolicy of this CatalogSourceBlueprint.

func (*CatalogSourceBlueprint) GetID

func (tr *CatalogSourceBlueprint) GetID() string

GetID returns ID of underlying Terraform resource of this CatalogSourceBlueprint

func (*CatalogSourceBlueprint) GetInitParameters added in v0.1.0

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

GetInitParameters of this CatalogSourceBlueprint

func (*CatalogSourceBlueprint) GetManagementPolicies added in v0.1.0

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

GetManagementPolicies of this CatalogSourceBlueprint.

func (*CatalogSourceBlueprint) GetMergedParameters added in v0.1.0

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

GetInitParameters of this CatalogSourceBlueprint

func (*CatalogSourceBlueprint) GetObservation

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

GetObservation of this CatalogSourceBlueprint

func (*CatalogSourceBlueprint) GetParameters

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

GetParameters of this CatalogSourceBlueprint

func (*CatalogSourceBlueprint) GetProviderConfigReference

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

GetProviderConfigReference of this CatalogSourceBlueprint.

func (*CatalogSourceBlueprint) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CatalogSourceBlueprint.

func (*CatalogSourceBlueprint) GetTerraformResourceType

func (mg *CatalogSourceBlueprint) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CatalogSourceBlueprint

func (*CatalogSourceBlueprint) GetTerraformSchemaVersion

func (tr *CatalogSourceBlueprint) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CatalogSourceBlueprint) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CatalogSourceBlueprint.

func (*CatalogSourceBlueprint) Hub added in v0.1.0

func (tr *CatalogSourceBlueprint) Hub()

Hub marks this type as a conversion hub.

func (*CatalogSourceBlueprint) LateInitialize

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

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

func (*CatalogSourceBlueprint) ResolveReferences

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

ResolveReferences of this CatalogSourceBlueprint.

func (*CatalogSourceBlueprint) SetConditions

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

SetConditions of this CatalogSourceBlueprint.

func (*CatalogSourceBlueprint) SetDeletionPolicy

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

SetDeletionPolicy of this CatalogSourceBlueprint.

func (*CatalogSourceBlueprint) SetManagementPolicies added in v0.1.0

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

SetManagementPolicies of this CatalogSourceBlueprint.

func (*CatalogSourceBlueprint) SetObservation

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

SetObservation for this CatalogSourceBlueprint

func (*CatalogSourceBlueprint) SetParameters

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

SetParameters for this CatalogSourceBlueprint

func (*CatalogSourceBlueprint) SetProviderConfigReference

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

SetProviderConfigReference of this CatalogSourceBlueprint.

func (*CatalogSourceBlueprint) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this CatalogSourceBlueprint.

func (*CatalogSourceBlueprint) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this CatalogSourceBlueprint.

type CatalogSourceBlueprintInitParameters added in v0.1.0

type CatalogSourceBlueprintInitParameters struct {

	// +mapType=granular
	Config map[string]*string `json:"config,omitempty" tf:"config,omitempty"`

	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

	// +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 (*CatalogSourceBlueprintInitParameters) DeepCopy added in v0.1.0

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

func (*CatalogSourceBlueprintInitParameters) DeepCopyInto added in v0.1.0

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

type CatalogSourceBlueprintList

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

CatalogSourceBlueprintList contains a list of CatalogSourceBlueprints

func (*CatalogSourceBlueprintList) DeepCopy

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

func (*CatalogSourceBlueprintList) DeepCopyInto

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

func (*CatalogSourceBlueprintList) DeepCopyObject

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

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

func (*CatalogSourceBlueprintList) GetItems

GetItems of this CatalogSourceBlueprintList.

type CatalogSourceBlueprintObservation

type CatalogSourceBlueprintObservation struct {

	// +mapType=granular
	Config map[string]*string `json:"config,omitempty" tf:"config,omitempty"`

	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	CreatedBy *string `json:"createdBy,omitempty" tf:"created_by,omitempty"`

	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	Global *bool `json:"global,omitempty" tf:"global,omitempty"`

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

	ItemsFound *string `json:"itemsFound,omitempty" tf:"items_found,omitempty"`

	ItemsImported *string `json:"itemsImported,omitempty" tf:"items_imported,omitempty"`

	LastImportCompletedAt *string `json:"lastImportCompletedAt,omitempty" tf:"last_import_completed_at,omitempty"`

	// +listType=set
	LastImportErrors []*string `json:"lastImportErrors,omitempty" tf:"last_import_errors,omitempty"`

	LastImportStartedAt *string `json:"lastImportStartedAt,omitempty" tf:"last_import_started_at,omitempty"`

	LastUpdatedBy *string `json:"lastUpdatedBy,omitempty" tf:"last_updated_by,omitempty"`

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

	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	TypeID *string `json:"typeId,omitempty" tf:"type_id,omitempty"`
}

func (*CatalogSourceBlueprintObservation) DeepCopy

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

func (*CatalogSourceBlueprintObservation) DeepCopyInto

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

type CatalogSourceBlueprintParameters

type CatalogSourceBlueprintParameters struct {

	// +kubebuilder:validation:Optional
	// +mapType=granular
	Config map[string]*string `json:"config,omitempty" tf:"config,omitempty"`

	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// +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 (*CatalogSourceBlueprintParameters) DeepCopy

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

func (*CatalogSourceBlueprintParameters) DeepCopyInto

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

type CatalogSourceBlueprintSpec

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

CatalogSourceBlueprintSpec defines the desired state of CatalogSourceBlueprint

func (*CatalogSourceBlueprintSpec) DeepCopy

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

func (*CatalogSourceBlueprintSpec) DeepCopyInto

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

type CatalogSourceBlueprintStatus

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

CatalogSourceBlueprintStatus defines the observed state of CatalogSourceBlueprint.

func (*CatalogSourceBlueprintStatus) DeepCopy

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

func (*CatalogSourceBlueprintStatus) DeepCopyInto

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