models

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsSecret

type AwsSecret struct {
	Region   types.String `tfsdk:"region"`
	SecretID types.String `tfsdk:"secret_id"`
}

type GcpSecret

type GcpSecret struct {
	Project  types.String `tfsdk:"project"`
	SecretID types.String `tfsdk:"secret_id"`
}

type IntegrationModel

type IntegrationModel struct {
	ID               types.String      `tfsdk:"id"`
	Name             types.String      `tfsdk:"name"`
	Type             types.String      `tfsdk:"type"`
	ConnectorID      types.String      `tfsdk:"connector_id"`
	Metadata         types.Map         `tfsdk:"metadata"`
	AwsSecret        *AwsSecret        `tfsdk:"aws_secret"`
	GcpSecret        *GcpSecret        `tfsdk:"gcp_secret"`
	KubernetesSecret *KubernetesSecret `tfsdk:"kubernetes_secret"`
}

IntegrationModel describes the resource data model.

func ConvertToIntegrationModel

func ConvertToIntegrationModel(ctx context.Context, integration *apono.Integration) (*IntegrationModel, diag.Diagnostics)

type KubernetesSecret

type KubernetesSecret struct {
	Namespace types.String `tfsdk:"namespace"`
	Name      types.String `tfsdk:"name"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL