config

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadConfigFromBytes added in v0.2.0

func ReadConfigFromBytes(byteValue []byte, cfg *Configuration) error

func ReadConfigFromFilename added in v0.2.0

func ReadConfigFromFilename(configFile string, cfg *Configuration) error

Types

type AnsibleCalloutConfig added in v0.2.0

type AnsibleCalloutConfig struct {
	Disabled           bool
	Playbooks          []string
	Options            *playbook.AnsiblePlaybookOptions
	ConnectionOptions  *options.AnsibleConnectionOptions `yaml:"connection_options"`
	AnsibleBinary      string                            `yaml:"ansible_binary"`
	ParallelProcessing bool                              `yaml:"parallel_processing"`
}

type Configuration

type Configuration struct {
	LogLevel                     string               `yaml:"log_level"`
	Username                     string               `yaml:"username"`
	Password                     string               `yaml:"password"`
	OmnikeeperBackendUrl         string               `yaml:"omnikeeper_backend_url"`
	OmnikeeperInsecureSkipVerify bool                 `yaml:"omnikeeper_insecure_skip_verify"`
	KeycloakClientId             string               `yaml:"keycloak_client_id"`
	CollectIntervalSeconds       int                  `yaml:"collect_interval_seconds"`
	HealthcheckThresholdSeconds  int64                `yaml:"healthcheck_threshold_seconds"`
	OutputDirectory              string               `yaml:"output_directory"`
	Ansible                      AnsibleCalloutConfig `yaml:"ansible"`
}

Jump to

Keyboard shortcuts

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