config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2020 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendConfig

type BackendConfig struct {
	StoragePath string
}

BackendConfig represents configuration options for the backend storage

type ClusterConfig

type ClusterConfig struct {
	KubeConfig  string
	KubeContext string
}

ClusterConfig represents kubernetes configuration options

type Config

type Config struct {
	Backend       *BackendConfig
	Export        *ExportConfig
	ClusterConfig *ClusterConfig
	Import        *ImportConfig
	OptionsConfig OptionsConfig
	DebugMode     bool
	DryRun        bool
	VerboseMode   bool
}

Config represents the application's configuration codebeat:disable[TOO_MANY_IVARS]

type ExportConfig

type ExportConfig struct {
	DaemonMode      bool
	ReleaseName     string
	PollingInterval int64
	Namespaces      []string
}

ExportConfig represents configurations for manager mode

type ImportConfig

type ImportConfig struct {
	Force             bool
	NewStoragePath    string
	Namespace         string
	Target            string
	Values            map[string]string
	ExcludeNamespaces []string
	Threads           int64
}

ImportConfig represents configuration options for the backend storage

type InstallConfig

type InstallConfig struct {
	Wait            bool
	Timeout         time.Duration
	Replace         bool
	CreateNamespace bool
	Atomic          bool
	DryRun          bool
}

InstallConfig represents the configuration options for installing releases

type ListConfig

type ListConfig struct {
	Deployed      bool
	Failed        bool
	AllNamespaces bool
}

ListConfig represents the configuration options for listing releases

type OptionsConfig

type OptionsConfig struct {
	Install *InstallConfig
	List    *ListConfig
}

OptionsConfig represents the client configurations options for listing and installing releases

Jump to

Keyboard shortcuts

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