Documentation
¶
Overview ¶
Package common provides functions and types used by several other packages of the CML2 Terraform provider.
Index ¶
Constants ¶
View Source
const ErrorLabel = "CML2 Provider Error"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ProviderConfig ¶
type ProviderConfig struct {
// contains filtered or unexported fields
}
func DatasourceConfigure ¶
func DatasourceConfigure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse) *ProviderConfig
func NewProviderConfig ¶
func NewProviderConfig(data *cmlschema.ProviderModel) *ProviderConfig
func ResourceConfigure ¶
func ResourceConfigure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse) *ProviderConfig
func (*ProviderConfig) Client ¶
func (r *ProviderConfig) Client() *cmlclient.Client
func (*ProviderConfig) Initialize ¶
func (r *ProviderConfig) Initialize(ctx context.Context, diag diag.Diagnostics) *ProviderConfig
func (*ProviderConfig) Lock ¶
func (r *ProviderConfig) Lock()
func (*ProviderConfig) Unlock ¶
func (r *ProviderConfig) Unlock()
func (*ProviderConfig) UseNamedConfigs ¶
func (r *ProviderConfig) UseNamedConfigs() bool
Click to show internal directories.
Click to hide internal directories.