config

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CombinedConfig

type CombinedConfig struct {
	api.ClientInterface
	Logger              *slog.Logger
	CreatedServersCount Counter
	CreateUsersCount    Counter
	ServerUpPort        int
	RetryLimit          int
}

func NewCombinedConfig

func NewCombinedConfig(config *Config, client api.ClientInterface) *CombinedConfig

type Config

type Config struct {
	Token            string
	APIEndpoint      string
	TerraformVersion string
	ServerUpPort     int
	RetryLimit       int
}

func (*Config) Client

func (c *Config) Client() (*CombinedConfig, diag.Diagnostics)

type Counter added in v0.1.5

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

func (*Counter) Inc added in v0.1.5

func (c *Counter) Inc()

func (*Counter) Value added in v0.1.5

func (c *Counter) Value() (x int64)

Jump to

Keyboard shortcuts

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