proxmoxtf

package
v0.66.3 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProviderConfiguration

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

ProviderConfiguration is the configuration for the provider.

func NewProviderConfiguration

func NewProviderConfiguration(
	apiClient api.Client,
	sshClient ssh.Client,
	tmpDirOverride string,
	idCfg cluster.IDGeneratorConfig,
) (ProviderConfiguration, error)

NewProviderConfiguration creates a new provider configuration.

func (*ProviderConfiguration) GetClient

func (c *ProviderConfiguration) GetClient() (proxmox.Client, error)

GetClient returns the Proxmox API client.

func (*ProviderConfiguration) GetIDGenerator

func (c *ProviderConfiguration) GetIDGenerator() cluster.IDGenerator

GetIDGenerator returns the IDGenerator.

func (*ProviderConfiguration) TempDir

func (c *ProviderConfiguration) TempDir() string

TempDir returns (possibly overridden) os.TempDir().

Jump to

Keyboard shortcuts

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