privateconnections

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DataSourceGetName = "private_connection"
)
View Source
const (
	DataSourceListName = "private_connections"
)
View Source
const (
	ResourceName = "private_connection"
)

Variables

This section is empty.

Functions

func NewDataSourceGet

func NewDataSourceGet() datasource.DataSource

NewDataSourceGet is a helper function to simplify the provider implementation.

func NewDataSourceList

func NewDataSourceList() datasource.DataSource

NewDataSourceList is a helper function to simplify the provider implementation.

func NewResource

func NewResource() resource.Resource

NewResource is a helper function to simplify the provider implementation.

func ValidatePrivateConnection

func ValidatePrivateConnection(plan PrivateConnectionModel, isUpdate bool) *util.SummaryWithDetailError

func ValidatePrivateConnectionModifyPlan

func ValidatePrivateConnectionModifyPlan(plan, state PrivateConnectionModel) *util.SummaryWithDetailError

Types

type PrivateConnectionModel

type PrivateConnectionModel struct {
	ID                types.String  `tfsdk:"id"`
	ActiveAt          types.String  `tfsdk:"active_at"`
	AllowList         types.String  `tfsdk:"allow_list"`
	KaiEndpointID     types.String  `tfsdk:"kai_endpoint_id"`
	CreatedAt         types.String  `tfsdk:"created_at"`
	DeletedAt         types.String  `tfsdk:"deleted_at"`
	Endpoint          types.String  `tfsdk:"endpoint"`
	OutboundAllowList types.String  `tfsdk:"outbound_allow_list"`
	ServiceName       types.String  `tfsdk:"service_name"`
	Status            types.String  `tfsdk:"status"`
	SQLPort           types.Float32 `tfsdk:"sql_port"`
	Type              types.String  `tfsdk:"type"`
	WebsocketsPort    types.Float32 `tfsdk:"web_socket_port"`
	UpdatedAt         types.String  `tfsdk:"updated_at"`
	WorkspaceGroupID  types.String  `tfsdk:"workspace_group_id"`
	WorkspaceID       types.String  `tfsdk:"workspace_id"`
}

privateConnectionModel maps the resource schema data.

Jump to

Keyboard shortcuts

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