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: 9 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="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.integrationProperties)",message="integrationProperties is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.integrationType)",message="integrationType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="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="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 (*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) GetManagementPolicy

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

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

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

GetProviderReference of this Integration. Deprecated: Use GetProviderConfigReference.

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

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

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

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

SetProviderReference of this Integration. Deprecated: Use SetProviderConfigReference.

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 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.
	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.
	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.
	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
	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
	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
	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"`
}

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 LinksObservation

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

	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 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:Required
	Key *string `json:"key" tf:"key,omitempty"`

	// +kubebuilder:validation:Required
	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