config

package
v0.5.3-beta Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File []byte

Functions

This section is empty.

Types

type Config

type Config struct {
	Version                    string `json:"version"`
	QuayHost                   string `json:"quay_host"`
	QuayOrg                    string `json:"quay_org"`
	QuayRegistry               string `json:"quay_registry"`
	QuayRepositoryApi          string `json:"quay_repositoryApi"`
	ContainerPrefix            string `json:"container_prefix"`
	KubeconfigPrefix           string `json:"kubeconfig_prefix"`
	PodmanDarwinSocketTemplate string `json:"podman_darwin_socket_template"`
	PodmanLinuxSocketTemplate  string `json:"podman_linux_socket_template"`
	PodmanSocketRoot           string `json:"podman_socket_root_linux"`
	PodmanRunningState         string `json:"podman_running_state"`
	DockerSocketRoot           string `json:"docker_socket_root"`
	DockerRunningState         string `json:"docker_running_state"`
	DefaultContainerPlatform   string `json:"default_container_platform"`
	MetricsProfilePath         string `json:"metrics_profile_path"`
	AlertsProfilePath          string `json:"alerts_profile_path"`
	KubeconfigPath             string `json:"kubeconfig_path"`
	LabelTitle                 string `json:"label_title"`
	LabelDescription           string `json:"label_description"`
	LabelInputFields           string `json:"label_input_fields"`
	LabelTitleRegex            string `json:"label_title_regex"`
	LabelDescriptionRegex      string `json:"label_description_regex"`
	LabelInputFieldsRegex      string `json:"label_input_fields_regex"`
	DebugEnvironmentVariable   string `json:"debug_environment_variable"`
}

func LoadConfig

func LoadConfig() (Config, error)

func (*Config) GetQuayImageUri

func (c *Config) GetQuayImageUri() (string, error)

func (*Config) GetQuayRepositoryApiUri

func (c *Config) GetQuayRepositoryApiUri() (string, error)

Jump to

Keyboard shortcuts

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