common

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2025 License: MPL-2.0 Imports: 12 Imported by: 0

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

func Converge

func Converge(ctx context.Context, client *cmlclient.Client, diags *diag.Diagnostics, id, timeout string)

Types

type ProviderConfig

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

func NewProviderConfig

func NewProviderConfig(data *cmlschema.ProviderModel) *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

Jump to

Keyboard shortcuts

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