v1alpha1

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	CustomAppIntegration_Kind             = "CustomAppIntegration"
	CustomAppIntegration_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CustomAppIntegration_Kind}.String()
	CustomAppIntegration_KindAPIVersion   = CustomAppIntegration_Kind + "." + CRDGroupVersion.String()
	CustomAppIntegration_GroupVersionKind = CRDGroupVersion.WithKind(CustomAppIntegration_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 CustomAppIntegration

type CustomAppIntegration struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CustomAppIntegrationSpec   `json:"spec"`
	Status            CustomAppIntegrationStatus `json:"status,omitempty"`
}

CustomAppIntegration is the Schema for the CustomAppIntegrations API. ""subcategory: "Apps" +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,databricks}

func (*CustomAppIntegration) DeepCopy

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

func (*CustomAppIntegration) DeepCopyInto

func (in *CustomAppIntegration) DeepCopyInto(out *CustomAppIntegration)

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

func (*CustomAppIntegration) DeepCopyObject

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

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

func (*CustomAppIntegration) GetCondition

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

GetCondition of this CustomAppIntegration.

func (*CustomAppIntegration) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this CustomAppIntegration

func (*CustomAppIntegration) GetDeletionPolicy

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

GetDeletionPolicy of this CustomAppIntegration.

func (*CustomAppIntegration) GetID

func (tr *CustomAppIntegration) GetID() string

GetID returns ID of underlying Terraform resource of this CustomAppIntegration

func (*CustomAppIntegration) GetInitParameters

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

GetInitParameters of this CustomAppIntegration

func (*CustomAppIntegration) GetManagementPolicies

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

GetManagementPolicies of this CustomAppIntegration.

func (*CustomAppIntegration) GetMergedParameters

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

GetInitParameters of this CustomAppIntegration

func (*CustomAppIntegration) GetObservation

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

GetObservation of this CustomAppIntegration

func (*CustomAppIntegration) GetParameters

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

GetParameters of this CustomAppIntegration

func (*CustomAppIntegration) GetProviderConfigReference

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

GetProviderConfigReference of this CustomAppIntegration.

func (*CustomAppIntegration) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CustomAppIntegration.

func (*CustomAppIntegration) GetTerraformResourceType

func (mg *CustomAppIntegration) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CustomAppIntegration

func (*CustomAppIntegration) GetTerraformSchemaVersion

func (tr *CustomAppIntegration) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CustomAppIntegration) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CustomAppIntegration.

func (*CustomAppIntegration) Hub

func (tr *CustomAppIntegration) Hub()

Hub marks this type as a conversion hub.

func (*CustomAppIntegration) LateInitialize

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

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

func (*CustomAppIntegration) SetConditions

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

SetConditions of this CustomAppIntegration.

func (*CustomAppIntegration) SetDeletionPolicy

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

SetDeletionPolicy of this CustomAppIntegration.

func (*CustomAppIntegration) SetManagementPolicies

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

SetManagementPolicies of this CustomAppIntegration.

func (*CustomAppIntegration) SetObservation

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

SetObservation for this CustomAppIntegration

func (*CustomAppIntegration) SetParameters

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

SetParameters for this CustomAppIntegration

func (*CustomAppIntegration) SetProviderConfigReference

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

SetProviderConfigReference of this CustomAppIntegration.

func (*CustomAppIntegration) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this CustomAppIntegration.

func (*CustomAppIntegration) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this CustomAppIntegration.

type CustomAppIntegrationInitParameters

type CustomAppIntegrationInitParameters struct {

	// OAuth client-id generated by Databricks
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// OAuth client-secret generated by the Databricks if this is a confidential OAuth app.
	ClientSecretSecretRef *v1.SecretKeySelector `json:"clientSecretSecretRef,omitempty" tf:"-"`

	// Indicates whether an OAuth client secret is required to authenticate this client. Default to false. Change requires a new resource.
	Confidential *bool `json:"confidential,omitempty" tf:"confidential,omitempty"`

	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

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

	// Name of the custom OAuth app. Change requires a new resource.
	CreatorUsername *string `json:"creatorUsername,omitempty" tf:"creator_username,omitempty"`

	// Unique integration id for the custom OAuth app.
	IntegrationID *string `json:"integrationId,omitempty" tf:"integration_id,omitempty"`

	// Name of the custom OAuth app. Change requires a new resource.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// List of OAuth redirect urls.
	RedirectUrls []*string `json:"redirectUrls,omitempty" tf:"redirect_urls,omitempty"`

	// OAuth scopes granted to the application. Supported scopes: all-apis, sql, offline_access, openid, profile, email.
	Scopes []*string `json:"scopes,omitempty" tf:"scopes,omitempty"`

	TokenAccessPolicy []TokenAccessPolicyInitParameters `json:"tokenAccessPolicy,omitempty" tf:"token_access_policy,omitempty"`
}

func (*CustomAppIntegrationInitParameters) DeepCopy

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

func (*CustomAppIntegrationInitParameters) DeepCopyInto

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

type CustomAppIntegrationList

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

CustomAppIntegrationList contains a list of CustomAppIntegrations

func (*CustomAppIntegrationList) DeepCopy

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

func (*CustomAppIntegrationList) DeepCopyInto

func (in *CustomAppIntegrationList) DeepCopyInto(out *CustomAppIntegrationList)

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

func (*CustomAppIntegrationList) DeepCopyObject

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

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

func (*CustomAppIntegrationList) GetItems

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

GetItems of this CustomAppIntegrationList.

type CustomAppIntegrationObservation

type CustomAppIntegrationObservation struct {

	// OAuth client-id generated by Databricks
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// Indicates whether an OAuth client secret is required to authenticate this client. Default to false. Change requires a new resource.
	Confidential *bool `json:"confidential,omitempty" tf:"confidential,omitempty"`

	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

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

	// Name of the custom OAuth app. Change requires a new resource.
	CreatorUsername *string `json:"creatorUsername,omitempty" tf:"creator_username,omitempty"`

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

	// Unique integration id for the custom OAuth app.
	IntegrationID *string `json:"integrationId,omitempty" tf:"integration_id,omitempty"`

	// Name of the custom OAuth app. Change requires a new resource.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// List of OAuth redirect urls.
	RedirectUrls []*string `json:"redirectUrls,omitempty" tf:"redirect_urls,omitempty"`

	// OAuth scopes granted to the application. Supported scopes: all-apis, sql, offline_access, openid, profile, email.
	Scopes []*string `json:"scopes,omitempty" tf:"scopes,omitempty"`

	TokenAccessPolicy []TokenAccessPolicyObservation `json:"tokenAccessPolicy,omitempty" tf:"token_access_policy,omitempty"`
}

func (*CustomAppIntegrationObservation) DeepCopy

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

func (*CustomAppIntegrationObservation) DeepCopyInto

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

type CustomAppIntegrationParameters

type CustomAppIntegrationParameters struct {

	// OAuth client-id generated by Databricks
	// +kubebuilder:validation:Optional
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// OAuth client-secret generated by the Databricks if this is a confidential OAuth app.
	// +kubebuilder:validation:Optional
	ClientSecretSecretRef *v1.SecretKeySelector `json:"clientSecretSecretRef,omitempty" tf:"-"`

	// Indicates whether an OAuth client secret is required to authenticate this client. Default to false. Change requires a new resource.
	// +kubebuilder:validation:Optional
	Confidential *bool `json:"confidential,omitempty" tf:"confidential,omitempty"`

	// +kubebuilder:validation:Optional
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// +kubebuilder:validation:Optional
	CreatedBy *float64 `json:"createdBy,omitempty" tf:"created_by,omitempty"`

	// Name of the custom OAuth app. Change requires a new resource.
	// +kubebuilder:validation:Optional
	CreatorUsername *string `json:"creatorUsername,omitempty" tf:"creator_username,omitempty"`

	// Unique integration id for the custom OAuth app.
	// +kubebuilder:validation:Optional
	IntegrationID *string `json:"integrationId,omitempty" tf:"integration_id,omitempty"`

	// Name of the custom OAuth app. Change requires a new resource.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// List of OAuth redirect urls.
	// +kubebuilder:validation:Optional
	RedirectUrls []*string `json:"redirectUrls,omitempty" tf:"redirect_urls,omitempty"`

	// OAuth scopes granted to the application. Supported scopes: all-apis, sql, offline_access, openid, profile, email.
	// +kubebuilder:validation:Optional
	Scopes []*string `json:"scopes,omitempty" tf:"scopes,omitempty"`

	// +kubebuilder:validation:Optional
	TokenAccessPolicy []TokenAccessPolicyParameters `json:"tokenAccessPolicy,omitempty" tf:"token_access_policy,omitempty"`
}

func (*CustomAppIntegrationParameters) DeepCopy

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

func (*CustomAppIntegrationParameters) DeepCopyInto

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

type CustomAppIntegrationSpec

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

CustomAppIntegrationSpec defines the desired state of CustomAppIntegration

func (*CustomAppIntegrationSpec) DeepCopy

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

func (*CustomAppIntegrationSpec) DeepCopyInto

func (in *CustomAppIntegrationSpec) DeepCopyInto(out *CustomAppIntegrationSpec)

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

type CustomAppIntegrationStatus

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

CustomAppIntegrationStatus defines the observed state of CustomAppIntegration.

func (*CustomAppIntegrationStatus) DeepCopy

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

func (*CustomAppIntegrationStatus) DeepCopyInto

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

type TokenAccessPolicyInitParameters

type TokenAccessPolicyInitParameters struct {

	// access token time to live (TTL) in minutes.
	AccessTokenTTLInMinutes *float64 `json:"accessTokenTtlInMinutes,omitempty" tf:"access_token_ttl_in_minutes,omitempty"`

	// refresh token TTL in minutes. The TTL of refresh token cannot be lower than TTL of access token.
	RefreshTokenTTLInMinutes *float64 `json:"refreshTokenTtlInMinutes,omitempty" tf:"refresh_token_ttl_in_minutes,omitempty"`
}

func (*TokenAccessPolicyInitParameters) DeepCopy

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

func (*TokenAccessPolicyInitParameters) DeepCopyInto

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

type TokenAccessPolicyObservation

type TokenAccessPolicyObservation struct {

	// access token time to live (TTL) in minutes.
	AccessTokenTTLInMinutes *float64 `json:"accessTokenTtlInMinutes,omitempty" tf:"access_token_ttl_in_minutes,omitempty"`

	// refresh token TTL in minutes. The TTL of refresh token cannot be lower than TTL of access token.
	RefreshTokenTTLInMinutes *float64 `json:"refreshTokenTtlInMinutes,omitempty" tf:"refresh_token_ttl_in_minutes,omitempty"`
}

func (*TokenAccessPolicyObservation) DeepCopy

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

func (*TokenAccessPolicyObservation) DeepCopyInto

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

type TokenAccessPolicyParameters

type TokenAccessPolicyParameters struct {

	// access token time to live (TTL) in minutes.
	// +kubebuilder:validation:Optional
	AccessTokenTTLInMinutes *float64 `json:"accessTokenTtlInMinutes,omitempty" tf:"access_token_ttl_in_minutes,omitempty"`

	// refresh token TTL in minutes. The TTL of refresh token cannot be lower than TTL of access token.
	// +kubebuilder:validation:Optional
	RefreshTokenTTLInMinutes *float64 `json:"refreshTokenTtlInMinutes,omitempty" tf:"refresh_token_ttl_in_minutes,omitempty"`
}

func (*TokenAccessPolicyParameters) DeepCopy

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

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