config

package
Version: v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Clusters clusters.Config `json:"clusters"`
	Plugins  plugins.Config  `json:"plugins"`
}

Config is the complete configuration for kobs.

func Load

func Load(file string) (*Config, error)

Load the configuration for kobs. Most of the configuration options are available as command-line flag, but we also need some more complex configuration options, which can be set via a config file in yaml format. The configuration file can contain environment variables in the following format: "${NAME_OF_THE_ENVIRONMENT_VARIABLE}".

Source Files

Jump to

Keyboard shortcuts

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