provider

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(version string) func() provider.Provider

func NewClickhouseClusterResource

func NewClickhouseClusterResource() resource.Resource

func NewClickhouseDataSource

func NewClickhouseDataSource() datasource.DataSource

func NewKafkaClusterResource

func NewKafkaClusterResource() resource.Resource

func NewKafkaDataSource

func NewKafkaDataSource() datasource.DataSource

func NewNetworkDataSource

func NewNetworkDataSource() datasource.DataSource

func NewNetworkResource

func NewNetworkResource() resource.Resource

func NewTransferDataSource

func NewTransferDataSource() datasource.DataSource

func NewTransferEndpointResource

func NewTransferEndpointResource() resource.Resource

func NewTransferResource

func NewTransferResource() resource.Resource

func NewWorkbookResource

func NewWorkbookResource() resource.Resource

Types

type ClickhoiseConnectionInfo

type ClickhoiseConnectionInfo struct {
	Host           types.String `tfsdk:"host"`
	User           types.String `tfsdk:"user"`
	Password       types.String `tfsdk:"password"`
	HttpsPort      types.Int64  `tfsdk:"https_port"`
	TcpPortSecure  types.Int64  `tfsdk:"tcp_port_secure"`
	NativeProtocol types.String `tfsdk:"native_protocol"`
	HttpsUri       types.String `tfsdk:"https_uri"`
	JdbcUri        types.String `tfsdk:"jdbc_uri"`
	OdbcUri        types.String `tfsdk:"odbc_uri"`
}

type ClickhouseClusterResource

type ClickhouseClusterResource struct {
	// contains filtered or unexported fields
}

func (*ClickhouseClusterResource) Configure

func (*ClickhouseClusterResource) Create

func (*ClickhouseClusterResource) Delete

func (*ClickhouseClusterResource) ImportState

func (*ClickhouseClusterResource) Metadata

func (*ClickhouseClusterResource) Read

func (*ClickhouseClusterResource) Schema

func (*ClickhouseClusterResource) Update

type ClickhouseDataSource

type ClickhouseDataSource struct {
	// contains filtered or unexported fields
}

func (*ClickhouseDataSource) Configure

func (*ClickhouseDataSource) Metadata

func (*ClickhouseDataSource) Read

func (*ClickhouseDataSource) Schema

type ClickhouseDataSourceModel

type ClickhouseDataSourceModel struct {
	Id                    types.String              `tfsdk:"id"`
	ProjectID             types.String              `tfsdk:"project_id"`
	Name                  types.String              `tfsdk:"name"`
	Description           types.String              `tfsdk:"description"`
	RegionID              types.String              `tfsdk:"region_id"`
	CloudType             types.String              `tfsdk:"cloud_type"`
	Version               types.String              `tfsdk:"version"`
	ConnectionInfo        *ClickhoiseConnectionInfo `tfsdk:"connection_info"`
	PrivateConnectionInfo *ClickhoiseConnectionInfo `tfsdk:"private_connection_info"`
}

type Config

type Config struct {
	Credentials *dc.Credentials
	ProjectId   string
	// contains filtered or unexported fields
}

type DataEncryptionModel

type DataEncryptionModel struct {
	Enabled types.Bool `tfsdk:"enabled"`
}

type DoubleCloudProvider

type DoubleCloudProvider struct {
	// contains filtered or unexported fields
}

DoubleCloudProvider defines the provider implementation.

func (*DoubleCloudProvider) Configure

func (*DoubleCloudProvider) DataSources

func (p *DoubleCloudProvider) DataSources(ctx context.Context) []func() datasource.DataSource

func (*DoubleCloudProvider) Metadata

func (*DoubleCloudProvider) Resources

func (p *DoubleCloudProvider) Resources(ctx context.Context) []func() resource.Resource

func (*DoubleCloudProvider) Schema

type DoubleCloudProviderModel

type DoubleCloudProviderModel struct {
	AuthorizedKey types.String `tfsdk:"authorized_key"`
}

DoubleCloudProviderModel describes the provider data model.

type KafkaClusterModel

type KafkaClusterModel struct {
	Id          types.String        `tfsdk:"id"`
	ProjectID   types.String        `tfsdk:"project_id"`
	CloudType   types.String        `tfsdk:"cloud_type"`
	RegionID    types.String        `tfsdk:"region_id"`
	Name        types.String        `tfsdk:"name"`
	Description types.String        `tfsdk:"description"`
	Version     types.String        `tfsdk:"version"`
	Resources   KafkaResourcesModel `tfsdk:"resources"`
	NetworkId   types.String        `tfsdk:"network_id"`
	// Hide encryption due to deprecation
	// Encryption     *DataEncryptionModel `tfsdk:"encryption"`
	SchemaRegistry *schemaRegistryModel `tfsdk:"schema_registry"`
}

type KafkaClusterResource

type KafkaClusterResource struct {
	// contains filtered or unexported fields
}

func (*KafkaClusterResource) Configure

func (*KafkaClusterResource) Create

func (*KafkaClusterResource) Delete

func (*KafkaClusterResource) ImportState

func (*KafkaClusterResource) Metadata

func (*KafkaClusterResource) Read

func (*KafkaClusterResource) Schema

func (*KafkaClusterResource) Update

type KafkaConnectionInfo

type KafkaConnectionInfo struct {
	ConnectionString types.String `tfsdk:"connection_string"`
	User             types.String `tfsdk:"user"`
	Password         types.String `tfsdk:"password"`
}

type KafkaDataSource

type KafkaDataSource struct {
	// contains filtered or unexported fields
}

func (*KafkaDataSource) Configure

func (*KafkaDataSource) Metadata

func (*KafkaDataSource) Read

func (*KafkaDataSource) Schema

type KafkaDataSourceModel

type KafkaDataSourceModel struct {
	Id                    types.String         `tfsdk:"id"`
	ProjectID             types.String         `tfsdk:"project_id"`
	Name                  types.String         `tfsdk:"name"`
	Description           types.String         `tfsdk:"description"`
	RegionID              types.String         `tfsdk:"region_id"`
	CloudType             types.String         `tfsdk:"cloud_type"`
	Version               types.String         `tfsdk:"version"`
	ConnectionInfo        *KafkaConnectionInfo `tfsdk:"connection_info"`
	PrivateConnectionInfo *KafkaConnectionInfo `tfsdk:"private_connection_info"`
}

type KafkaResourcesKafkaModel

type KafkaResourcesKafkaModel struct {
	ResourcePresetId types.String `tfsdk:"resource_preset_id"`
	DiskSize         types.Int64  `tfsdk:"disk_size"`
	BrokerCount      types.Int64  `tfsdk:"broker_count"`
	ZoneCount        types.Int64  `tfsdk:"zone_count"`
}

type KafkaResourcesModel

type KafkaResourcesModel struct {
	Kafka KafkaResourcesKafkaModel `tfsdk:"kafka"`
}

type NetworkDataSource

type NetworkDataSource struct {
	// contains filtered or unexported fields
}

NetworkDataSource defines the data source implementation.

func (*NetworkDataSource) Configure

func (*NetworkDataSource) Metadata

func (*NetworkDataSource) Read

func (*NetworkDataSource) Schema

type NetworkDataSourceModel

type NetworkDataSourceModel struct {
	Id            types.String `tfsdk:"id"`
	ProjectID     types.String `tfsdk:"project_id"`
	Name          types.String `tfsdk:"name"`
	Description   types.String `tfsdk:"description"`
	RegionID      types.String `tfsdk:"region_id"`
	CloudType     types.String `tfsdk:"cloud_type"`
	Ipv4CidrBlock types.String `tfsdk:"ipv4_cidr_block"`
}

type NetworkResource

type NetworkResource struct {
	// contains filtered or unexported fields
}

func (*NetworkResource) Configure

func (*NetworkResource) Create

func (*NetworkResource) Delete

func (*NetworkResource) ImportState

func (*NetworkResource) Metadata

func (*NetworkResource) Read

func (*NetworkResource) Schema

func (*NetworkResource) Update

type NetworkResourceModel

type NetworkResourceModel struct {
	Id            types.String `tfsdk:"id"`
	ProjectID     types.String `tfsdk:"project_id"`
	Name          types.String `tfsdk:"name"`
	Description   types.String `tfsdk:"description"`
	RegionID      types.String `tfsdk:"region_id"`
	CloudType     types.String `tfsdk:"cloud_type"`
	Ipv4CidrBlock types.String `tfsdk:"ipv4_cidr_block"`
}

type TransferDataSource

type TransferDataSource struct {
	// contains filtered or unexported fields
}

func (*TransferDataSource) Configure

func (*TransferDataSource) Metadata

func (*TransferDataSource) Read

func (*TransferDataSource) Schema

type TransferDataSourceModel

type TransferDataSourceModel struct {
	Id          types.String `tfsdk:"id"`
	ProjectID   types.String `tfsdk:"project_id"`
	Name        types.String `tfsdk:"name"`
	Description types.String `tfsdk:"description"`
	Status      types.String `tfsdk:"status"`
	Type        types.String `tfsdk:"type"`
}

type TransferEndpointModel

type TransferEndpointModel struct {
	Id          types.String      `tfsdk:"id"`
	ProjectID   types.String      `tfsdk:"project_id"`
	Name        types.String      `tfsdk:"name"`
	Description types.String      `tfsdk:"description"`
	Settings    *endpointSettings `tfsdk:"settings"`
}

type TransferEndpointResource

type TransferEndpointResource struct {
	// contains filtered or unexported fields
}

func (*TransferEndpointResource) Configure

func (*TransferEndpointResource) Create

func (*TransferEndpointResource) Delete

func (*TransferEndpointResource) ImportState

func (*TransferEndpointResource) Metadata

func (*TransferEndpointResource) Read

func (*TransferEndpointResource) Schema

func (*TransferEndpointResource) Update

type TransferResource

type TransferResource struct {
	// contains filtered or unexported fields
}

func (*TransferResource) Configure

func (*TransferResource) Create

func (*TransferResource) Delete

func (*TransferResource) ImportState

func (*TransferResource) Metadata

func (*TransferResource) Read

func (*TransferResource) Schema

func (*TransferResource) Update

type TransferResourceModel

type TransferResourceModel struct {
	Id          types.String `tfsdk:"id"`
	ProjectID   types.String `tfsdk:"project_id"`
	Name        types.String `tfsdk:"name"`
	Description types.String `tfsdk:"description"`
	Source      types.String `tfsdk:"source"`
	Target      types.String `tfsdk:"target"`
	Type        types.String `tfsdk:"type"`
	Activated   types.Bool   `tfsdk:"activated"`
}

type WorkbookResource

type WorkbookResource struct {
	// contains filtered or unexported fields
}

func (*WorkbookResource) Configure

func (*WorkbookResource) Create

func (*WorkbookResource) Delete

func (*WorkbookResource) ImportState

func (*WorkbookResource) Metadata

func (*WorkbookResource) Read

func (*WorkbookResource) Schema

func (*WorkbookResource) Update

type WorkbookResourceModel

type WorkbookResourceModel struct {
	Id          types.String `tfsdk:"id"`
	ProjectID   types.String `tfsdk:"project_id"`
	Title       types.String `tfsdk:"title"`
	Config      types.String `tfsdk:"config"`
	Connections types.Set    `tfsdk:"connect"`
}

Jump to

Keyboard shortcuts

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