Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- type CdpProvider
- func (p *CdpProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *CdpProvider) DataSources(_ context.Context) []func() datasource.DataSource
- func (p *CdpProvider) Metadata(_ context.Context, _ provider.MetadataRequest, resp *provider.MetadataResponse)
- func (p *CdpProvider) Resources(_ context.Context) []func() resource.Resource
- func (p *CdpProvider) Schema(_ context.Context, _ provider.SchemaRequest, resp *provider.SchemaResponse)
- type CdpProviderModel
- type TFLoggerAdaptor
- func (l *TFLoggerAdaptor) Debugf(ctx context.Context, format string, args ...any)
- func (l *TFLoggerAdaptor) Errorf(ctx context.Context, format string, args ...any)
- func (l *TFLoggerAdaptor) Infof(ctx context.Context, format string, args ...any)
- func (l *TFLoggerAdaptor) Warnf(ctx context.Context, format string, args ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CdpProvider ¶
type CdpProvider struct {
// contains filtered or unexported fields
}
func (*CdpProvider) Configure ¶
func (p *CdpProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*CdpProvider) DataSources ¶
func (p *CdpProvider) DataSources(_ context.Context) []func() datasource.DataSource
func (*CdpProvider) Metadata ¶
func (p *CdpProvider) Metadata(_ context.Context, _ provider.MetadataRequest, resp *provider.MetadataResponse)
Metadata returns the provider type name.
func (*CdpProvider) Resources ¶
func (p *CdpProvider) Resources(_ context.Context) []func() resource.Resource
func (*CdpProvider) Schema ¶
func (p *CdpProvider) Schema(_ context.Context, _ provider.SchemaRequest, resp *provider.SchemaResponse)
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"` 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)
Click to show internal directories.
Click to hide internal directories.