config

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureProvider

func ConfigureProvider(terraformVersion *string) schema.ConfigureContextFunc

ConfigureProvider will configure the *schema.Provider so that *management.Management client and *mutex.KeyValue is stored and passed into the subsequent resources as the meta parameter.

Types

type Config

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

Config is the type used for the *schema.Provider meta parameter.

func New

func New(apiClient *management.Management) *Config

New instantiates a new Config.

func (*Config) GetAPI

func (c *Config) GetAPI() *management.Management

GetAPI fetches an instance of the *management.Management client.

func (*Config) GetMutex

func (c *Config) GetMutex() *mutex.KeyValue

GetMutex fetches an instance of the *mutex.KeyValue.

Jump to

Keyboard shortcuts

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