cfgdir

package
v0.0.0-...-60f4931 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigDir string

Functions

func CLILogFile

func CLILogFile() string

func Create

func Create() error

func Expand

func Expand(filename string) string

Types

type Config

type Config struct {
	OptOutAnalytics bool `json:"opt_out_analytics"`

	ClusterToken string `json:"cluster_token"`

	KubeHost    string `json:"kube_host"`
	ManagerHost string `json:"manager_host"`
	ManagerCert string `json:"manager_cert"`
}

func ParseConfig

func ParseConfig() (Config, error)

Jump to

Keyboard shortcuts

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