provider

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 23 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

Types

type CdpProvider

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

func (*CdpProvider) Configure

func (*CdpProvider) DataSources

func (p *CdpProvider) DataSources(_ context.Context) []func() datasource.DataSource

func (*CdpProvider) Metadata

Metadata returns the provider type name.

func (*CdpProvider) Resources

func (p *CdpProvider) Resources(_ context.Context) []func() resource.Resource

func (*CdpProvider) Schema

type CdpProviderModel

type CdpProviderModel struct {
	CdpAccessKeyId           types.String `tfsdk:"cdp_access_key_id"`
	CdpPrivateKey            types.String `tfsdk:"cdp_private_key"`
	Profile                  types.String `tfsdk:"cdp_profile"`
	CdpRegion                types.String `tfsdk:"cdp_region"`
	AltusEndpointUrl         types.String `tfsdk:"endpoint_url"`
	CdpEndpointUrl           types.String `tfsdk:"cdp_endpoint_url"`
	CdpConfigFile            types.String `tfsdk:"cdp_config_file"`
	CdpSharedCredentialsFile types.String `tfsdk:"cdp_shared_credentials_file"`
	LocalEnvironment         types.Bool   `tfsdk:"local_environment"`
}

type TFLoggerAdaptor

type TFLoggerAdaptor struct {
}

TFLoggerAdaptor implements cdp.Logger to send CDP SDK logs to tflog

func (*TFLoggerAdaptor) Debugf

func (l *TFLoggerAdaptor) Debugf(ctx context.Context, format string, args ...any)

func (*TFLoggerAdaptor) Errorf

func (l *TFLoggerAdaptor) Errorf(ctx context.Context, format string, args ...any)

func (*TFLoggerAdaptor) Infof

func (l *TFLoggerAdaptor) Infof(ctx context.Context, format string, args ...any)

func (*TFLoggerAdaptor) Warnf

func (l *TFLoggerAdaptor) Warnf(ctx context.Context, format string, args ...any)

Jump to

Keyboard shortcuts

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