v1alpha1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

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
)
View Source
var (
	Integration_Kind             = "Integration"
	Integration_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Integration_Kind}.String()
	Integration_KindAPIVersion   = Integration_Kind + "." + CRDGroupVersion.String()
	Integration_GroupVersionKind = CRDGroupVersion.WithKind(Integration_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Integration

type Integration 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.integrationProperties) || (has(self.initProvider) && has(self.initProvider.integrationProperties))",message="spec.forProvider.integrationProperties is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.integrationType) || (has(self.initProvider) && has(self.initProvider.integrationType))",message="spec.forProvider.integrationType is a required parameter"
	// +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   IntegrationSpec   `json:"spec"`
	Status IntegrationStatus `json:"status,omitempty"`
}

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

func (in *Integration) DeepCopy() *Integration

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

func (*Integration) DeepCopyInto

func (in *Integration) DeepCopyInto(out *Integration)

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

func (*Integration) DeepCopyObject

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

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

func (*Integration) GetCondition

func (mg *Integration) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Integration.

func (*Integration) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Integration

func (*Integration) GetDeletionPolicy

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

GetDeletionPolicy of this Integration.

func (*Integration) GetID

func (tr *Integration) GetID() string

GetID returns ID of underlying Terraform resource of this Integration

func (*Integration) GetInitParameters added in v0.1.0

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

GetInitParameters of this Integration

func (*Integration) GetManagementPolicies added in v0.1.0

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

GetManagementPolicies of this Integration.

func (*Integration) GetMergedParameters added in v0.1.0

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

GetInitParameters of this Integration

func (*Integration) GetObservation

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

GetObservation of this Integration

func (*Integration) GetParameters

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

GetParameters of this Integration

func (*Integration) GetProviderConfigReference

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

GetProviderConfigReference of this Integration.

func (*Integration) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Integration.

func (*Integration) GetTerraformResourceType

func (mg *Integration) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Integration

func (*Integration) GetTerraformSchemaVersion

func (tr *Integration) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Integration) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Integration.

func (*Integration) Hub added in v0.1.0

func (tr *Integration) Hub()

Hub marks this type as a conversion hub.

func (*Integration) LateInitialize

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

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

func (*Integration) SetConditions

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

SetConditions of this Integration.

func (*Integration) SetDeletionPolicy

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

SetDeletionPolicy of this Integration.

func (*Integration) SetManagementPolicies added in v0.1.0

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

SetManagementPolicies of this Integration.

func (*Integration) SetObservation

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

SetObservation for this Integration

func (*Integration) SetParameters

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

SetParameters for this Integration

func (*Integration) SetProviderConfigReference

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

SetProviderConfigReference of this Integration.

func (*Integration) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Integration.

func (*Integration) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Integration.

type IntegrationInitParameters added in v0.1.0

type IntegrationInitParameters struct {

	// Ids of the cloud accounts to associate with this integration.
	// +listType=set
	AssociatedCloudAccountIds []*string `json:"associatedCloudAccountIds,omitempty" tf:"associated_cloud_account_ids,omitempty"`

	// Certificate to be used to connect to the integration.
	CertificateSecretRef *v1.SecretKeySelector `json:"certificateSecretRef,omitempty" tf:"-"`

	// Additional custom properties that may be used to extend the Integration.
	// +mapType=granular
	CustomProperties map[string]*string `json:"customProperties,omitempty" tf:"custom_properties,omitempty"`

	// A human-friendly description.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Integration specific properties supplied in as name value pairs.
	// +mapType=granular
	IntegrationProperties map[string]*string `json:"integrationProperties,omitempty" tf:"integration_properties,omitempty"`

	// Integration type.
	IntegrationType *string `json:"integrationType,omitempty" tf:"integration_type,omitempty"`

	// The name of the integration.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Access key id or username to be used to authenticate with the integration.
	PrivateKeyIDSecretRef *v1.SecretKeySelector `json:"privateKeyIdSecretRef,omitempty" tf:"-"`

	// Secret access key or password to be used to authenticate with the integration.
	PrivateKeySecretRef *v1.SecretKeySelector `json:"privateKeySecretRef,omitempty" tf:"-"`

	Tags []TagsInitParameters `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*IntegrationInitParameters) DeepCopy added in v0.1.0

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

func (*IntegrationInitParameters) DeepCopyInto added in v0.1.0

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

type IntegrationList

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

IntegrationList contains a list of Integrations

func (*IntegrationList) DeepCopy

func (in *IntegrationList) DeepCopy() *IntegrationList

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

func (*IntegrationList) DeepCopyInto

func (in *IntegrationList) DeepCopyInto(out *IntegrationList)

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

func (*IntegrationList) DeepCopyObject

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

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

func (*IntegrationList) GetItems

func (l *IntegrationList) GetItems() []resource.Managed

GetItems of this IntegrationList.

type IntegrationObservation

type IntegrationObservation struct {

	// Ids of the cloud accounts to associate with this integration.
	// +listType=set
	AssociatedCloudAccountIds []*string `json:"associatedCloudAccountIds,omitempty" tf:"associated_cloud_account_ids,omitempty"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Additional custom properties that may be used to extend the Integration.
	// +mapType=granular
	CustomProperties map[string]*string `json:"customProperties,omitempty" tf:"custom_properties,omitempty"`

	// A human-friendly description.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

	// Integration specific properties supplied in as name value pairs.
	// +mapType=granular
	IntegrationProperties map[string]*string `json:"integrationProperties,omitempty" tf:"integration_properties,omitempty"`

	// Integration type.
	IntegrationType *string `json:"integrationType,omitempty" tf:"integration_type,omitempty"`

	Links []LinksObservation `json:"links,omitempty" tf:"links,omitempty"`

	// The name of the integration.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The id of the organization this entity belongs to.
	OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"`

	// Email of the user that owns the entity.
	Owner *string `json:"owner,omitempty" tf:"owner,omitempty"`

	Tags []TagsObservation `json:"tags,omitempty" tf:"tags,omitempty"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at,omitempty"`
}

func (*IntegrationObservation) DeepCopy

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

func (*IntegrationObservation) DeepCopyInto

func (in *IntegrationObservation) DeepCopyInto(out *IntegrationObservation)

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

type IntegrationParameters

type IntegrationParameters struct {

	// Ids of the cloud accounts to associate with this integration.
	// +kubebuilder:validation:Optional
	// +listType=set
	AssociatedCloudAccountIds []*string `json:"associatedCloudAccountIds,omitempty" tf:"associated_cloud_account_ids,omitempty"`

	// Certificate to be used to connect to the integration.
	// +kubebuilder:validation:Optional
	CertificateSecretRef *v1.SecretKeySelector `json:"certificateSecretRef,omitempty" tf:"-"`

	// Additional custom properties that may be used to extend the Integration.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	CustomProperties map[string]*string `json:"customProperties,omitempty" tf:"custom_properties,omitempty"`

	// A human-friendly description.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Integration specific properties supplied in as name value pairs.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	IntegrationProperties map[string]*string `json:"integrationProperties,omitempty" tf:"integration_properties,omitempty"`

	// Integration type.
	// +kubebuilder:validation:Optional
	IntegrationType *string `json:"integrationType,omitempty" tf:"integration_type,omitempty"`

	// The name of the integration.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Access key id or username to be used to authenticate with the integration.
	// +kubebuilder:validation:Optional
	PrivateKeyIDSecretRef *v1.SecretKeySelector `json:"privateKeyIdSecretRef,omitempty" tf:"-"`

	// Secret access key or password to be used to authenticate with the integration.
	// +kubebuilder:validation:Optional
	PrivateKeySecretRef *v1.SecretKeySelector `json:"privateKeySecretRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	Tags []TagsParameters `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*IntegrationParameters) DeepCopy

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

func (*IntegrationParameters) DeepCopyInto

func (in *IntegrationParameters) DeepCopyInto(out *IntegrationParameters)

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

type IntegrationSpec

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

IntegrationSpec defines the desired state of Integration

func (*IntegrationSpec) DeepCopy

func (in *IntegrationSpec) DeepCopy() *IntegrationSpec

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

func (*IntegrationSpec) DeepCopyInto

func (in *IntegrationSpec) DeepCopyInto(out *IntegrationSpec)

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

type IntegrationStatus

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

IntegrationStatus defines the observed state of Integration.

func (*IntegrationStatus) DeepCopy

func (in *IntegrationStatus) DeepCopy() *IntegrationStatus

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

func (*IntegrationStatus) DeepCopyInto

func (in *IntegrationStatus) DeepCopyInto(out *IntegrationStatus)

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

type LinksInitParameters added in v0.1.0

type LinksInitParameters struct {
}

func (*LinksInitParameters) DeepCopy added in v0.1.0

func (in *LinksInitParameters) DeepCopy() *LinksInitParameters

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

func (*LinksInitParameters) DeepCopyInto added in v0.1.0

func (in *LinksInitParameters) DeepCopyInto(out *LinksInitParameters)

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

type LinksObservation

type LinksObservation struct {
	Href *string `json:"href,omitempty" tf:"href,omitempty"`

	// +listType=set
	Hrefs []*string `json:"hrefs,omitempty" tf:"hrefs,omitempty"`

	Rel *string `json:"rel,omitempty" tf:"rel,omitempty"`
}

func (*LinksObservation) DeepCopy

func (in *LinksObservation) DeepCopy() *LinksObservation

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

func (*LinksObservation) DeepCopyInto

func (in *LinksObservation) DeepCopyInto(out *LinksObservation)

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

type LinksParameters

type LinksParameters struct {
}

func (*LinksParameters) DeepCopy

func (in *LinksParameters) DeepCopy() *LinksParameters

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

func (*LinksParameters) DeepCopyInto

func (in *LinksParameters) DeepCopyInto(out *LinksParameters)

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

type TagsInitParameters added in v0.1.0

type TagsInitParameters struct {
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*TagsInitParameters) DeepCopy added in v0.1.0

func (in *TagsInitParameters) DeepCopy() *TagsInitParameters

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

func (*TagsInitParameters) DeepCopyInto added in v0.1.0

func (in *TagsInitParameters) DeepCopyInto(out *TagsInitParameters)

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

type TagsObservation

type TagsObservation struct {
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*TagsObservation) DeepCopy

func (in *TagsObservation) DeepCopy() *TagsObservation

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

func (*TagsObservation) DeepCopyInto

func (in *TagsObservation) DeepCopyInto(out *TagsObservation)

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

type TagsParameters

type TagsParameters struct {

	// +kubebuilder:validation:Optional
	Key *string `json:"key" tf:"key,omitempty"`

	// +kubebuilder:validation:Optional
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*TagsParameters) DeepCopy

func (in *TagsParameters) DeepCopy() *TagsParameters

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

func (*TagsParameters) DeepCopyInto

func (in *TagsParameters) DeepCopyInto(out *TagsParameters)

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