Documentation
¶
Overview ¶
Package provider is a plugin to use a proxmox cluster as an provider.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
PollInterval string `json:"pollInterval" yaml:"pollInterval" toml:"pollInterval"`
ApiEndpoint string `json:"apiEndpoint" yaml:"apiEndpoint" toml:"apiEndpoint"`
ApiTokenId string `json:"apiTokenId" yaml:"apiTokenId" toml:"apiTokenId"`
ApiToken string `json:"apiToken" yaml:"apiToken" toml:"apiToken"`
ApiLogging string `json:"apiLogging" yaml:"apiLogging" toml:"apiLogging"`
ApiValidateSSL string `json:"apiValidateSSL" yaml:"apiValidateSSL" toml:"apiValidateSSL"`
}
Config the plugin configuration.
func CreateConfig ¶
func CreateConfig() *Config
CreateConfig creates the default plugin configuration.
type ParserConfig ¶
type ParserConfig struct {
ApiEndpoint string
TokenId string
Token string
LogLevel string
ValidateSSL bool
}
ParserConfig represents the configuration for the Proxmox API client
Click to show internal directories.
Click to hide internal directories.