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().
Click to show internal directories.
Click to hide internal directories.