v1beta1

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=servicelinker.azure.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "servicelinker.azure.upbound.io"
	CRDVersion = "v1beta1"
)

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 (
	SpringCloudConnection_Kind             = "SpringCloudConnection"
	SpringCloudConnection_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SpringCloudConnection_Kind}.String()
	SpringCloudConnection_KindAPIVersion   = SpringCloudConnection_Kind + "." + CRDGroupVersion.String()
	SpringCloudConnection_GroupVersionKind = CRDGroupVersion.WithKind(SpringCloudConnection_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AuthenticationObservation

type AuthenticationObservation struct {
}

func (*AuthenticationObservation) DeepCopy

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

func (*AuthenticationObservation) DeepCopyInto

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

type AuthenticationParameters

type AuthenticationParameters struct {

	// Service principal certificate for servicePrincipal auth. Should be specified when type is set to servicePrincipalCertificate.
	// +kubebuilder:validation:Optional
	CertificateSecretRef *v1.SecretKeySelector `json:"certificateSecretRef,omitempty" tf:"-"`

	// Client ID for userAssignedIdentity or servicePrincipal auth. Should be specified when type is set to servicePrincipalSecret or servicePrincipalCertificate. When type is set to userAssignedIdentity, client_id and subscription_id should be either both specified or both not specified.
	// +kubebuilder:validation:Optional
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// Username or account name for secret auth. name and secret should be either both specified or both not specified when type is set to secret.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Principal ID for servicePrincipal auth. Should be specified when type is set to servicePrincipalSecret or servicePrincipalCertificate.
	// +kubebuilder:validation:Optional
	PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"`

	// Password or account key for secret auth. secret and name should be either both specified or both not specified when type is set to secret.
	// +kubebuilder:validation:Optional
	SecretSecretRef *v1.SecretKeySelector `json:"secretSecretRef,omitempty" tf:"-"`

	// Subscription ID for userAssignedIdentity. subscription_id and client_id should be either both specified or both not specified.
	// +kubebuilder:validation:Optional
	SubscriptionID *string `json:"subscriptionId,omitempty" tf:"subscription_id,omitempty"`

	// The authentication type. Possible values are systemAssignedIdentity, userAssignedIdentity, servicePrincipalSecret, servicePrincipalCertificate, secret. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*AuthenticationParameters) DeepCopy

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

func (*AuthenticationParameters) DeepCopyInto

func (in *AuthenticationParameters) DeepCopyInto(out *AuthenticationParameters)

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

type SpringCloudConnection

type SpringCloudConnection struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SpringCloudConnectionSpec   `json:"spec"`
	Status            SpringCloudConnectionStatus `json:"status,omitempty"`
}

SpringCloudConnection is the Schema for the SpringCloudConnections API. Manages a service connector for spring cloud app. +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,azure}

func (*SpringCloudConnection) DeepCopy

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

func (*SpringCloudConnection) DeepCopyInto

func (in *SpringCloudConnection) DeepCopyInto(out *SpringCloudConnection)

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

func (*SpringCloudConnection) DeepCopyObject

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

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

func (*SpringCloudConnection) GetCondition

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

GetCondition of this SpringCloudConnection.

func (*SpringCloudConnection) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this SpringCloudConnection

func (*SpringCloudConnection) GetDeletionPolicy

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

GetDeletionPolicy of this SpringCloudConnection.

func (*SpringCloudConnection) GetID

func (tr *SpringCloudConnection) GetID() string

GetID returns ID of underlying Terraform resource of this SpringCloudConnection

func (*SpringCloudConnection) GetObservation

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

GetObservation of this SpringCloudConnection

func (*SpringCloudConnection) GetParameters

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

GetParameters of this SpringCloudConnection

func (*SpringCloudConnection) GetProviderConfigReference

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

GetProviderConfigReference of this SpringCloudConnection.

func (*SpringCloudConnection) GetProviderReference

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

GetProviderReference of this SpringCloudConnection. Deprecated: Use GetProviderConfigReference.

func (*SpringCloudConnection) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this SpringCloudConnection.

func (*SpringCloudConnection) GetTerraformResourceType

func (mg *SpringCloudConnection) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SpringCloudConnection

func (*SpringCloudConnection) GetTerraformSchemaVersion

func (tr *SpringCloudConnection) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SpringCloudConnection) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this SpringCloudConnection.

func (*SpringCloudConnection) LateInitialize

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

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

func (*SpringCloudConnection) ResolveReferences

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

ResolveReferences of this SpringCloudConnection.

func (*SpringCloudConnection) SetConditions

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

SetConditions of this SpringCloudConnection.

func (*SpringCloudConnection) SetDeletionPolicy

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

SetDeletionPolicy of this SpringCloudConnection.

func (*SpringCloudConnection) SetObservation

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

SetObservation for this SpringCloudConnection

func (*SpringCloudConnection) SetParameters

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

SetParameters for this SpringCloudConnection

func (*SpringCloudConnection) SetProviderConfigReference

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

SetProviderConfigReference of this SpringCloudConnection.

func (*SpringCloudConnection) SetProviderReference

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

SetProviderReference of this SpringCloudConnection. Deprecated: Use SetProviderConfigReference.

func (*SpringCloudConnection) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this SpringCloudConnection.

func (*SpringCloudConnection) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this SpringCloudConnection.

type SpringCloudConnectionList

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

SpringCloudConnectionList contains a list of SpringCloudConnections

func (*SpringCloudConnectionList) DeepCopy

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

func (*SpringCloudConnectionList) DeepCopyInto

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

func (*SpringCloudConnectionList) DeepCopyObject

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

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

func (*SpringCloudConnectionList) GetItems

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

GetItems of this SpringCloudConnectionList.

type SpringCloudConnectionObservation

type SpringCloudConnectionObservation struct {

	// The ID of the service connector.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*SpringCloudConnectionObservation) DeepCopy

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

func (*SpringCloudConnectionObservation) DeepCopyInto

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

type SpringCloudConnectionParameters

type SpringCloudConnectionParameters struct {

	// The authentication info. An authentication block as defined below.
	// +kubebuilder:validation:Required
	Authentication []AuthenticationParameters `json:"authentication" tf:"authentication,omitempty"`

	// The application client type. Possible values are none, dotnet, java, python, go, php, ruby, django, nodejs and springBoot.
	// +kubebuilder:validation:Optional
	ClientType *string `json:"clientType,omitempty" tf:"client_type,omitempty"`

	// The name of the service connection. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The ID of the data source spring cloud. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/appplatform/v1beta1.SpringCloudJavaDeployment
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	SpringCloudID *string `json:"springCloudId,omitempty" tf:"spring_cloud_id,omitempty"`

	// Reference to a SpringCloudJavaDeployment in appplatform to populate springCloudId.
	// +kubebuilder:validation:Optional
	SpringCloudIDRef *v1.Reference `json:"springCloudIdRef,omitempty" tf:"-"`

	// Selector for a SpringCloudJavaDeployment in appplatform to populate springCloudId.
	// +kubebuilder:validation:Optional
	SpringCloudIDSelector *v1.Selector `json:"springCloudIdSelector,omitempty" tf:"-"`

	// The ID of the target resource. Changing this forces a new resource to be created. Possible values are Postgres, PostgresFlexible, Mysql, Sql, Redis, RedisEnterprise, CosmosCassandra, CosmosGremlin, CosmosMongo, CosmosSql, CosmosTable, StorageBlob, StorageQueue, StorageFile, StorageTable, AppConfig, EventHub, ServiceBus, SignalR, WebPubSub, ConfluentKafka.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta1.SQLDatabase
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	TargetResourceID *string `json:"targetResourceId,omitempty" tf:"target_resource_id,omitempty"`

	// Reference to a SQLDatabase in cosmosdb to populate targetResourceId.
	// +kubebuilder:validation:Optional
	TargetResourceIDRef *v1.Reference `json:"targetResourceIdRef,omitempty" tf:"-"`

	// Selector for a SQLDatabase in cosmosdb to populate targetResourceId.
	// +kubebuilder:validation:Optional
	TargetResourceIDSelector *v1.Selector `json:"targetResourceIdSelector,omitempty" tf:"-"`

	// The type of the VNet solution. Possible values are serviceEndpoint, privateLink.
	// +kubebuilder:validation:Optional
	VnetSolution *string `json:"vnetSolution,omitempty" tf:"vnet_solution,omitempty"`
}

func (*SpringCloudConnectionParameters) DeepCopy

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

func (*SpringCloudConnectionParameters) DeepCopyInto

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

type SpringCloudConnectionSpec

type SpringCloudConnectionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SpringCloudConnectionParameters `json:"forProvider"`
}

SpringCloudConnectionSpec defines the desired state of SpringCloudConnection

func (*SpringCloudConnectionSpec) DeepCopy

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

func (*SpringCloudConnectionSpec) DeepCopyInto

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

type SpringCloudConnectionStatus

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

SpringCloudConnectionStatus defines the observed state of SpringCloudConnection.

func (*SpringCloudConnectionStatus) DeepCopy

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

func (*SpringCloudConnectionStatus) 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