configutil

package
v0.5.25 Latest Latest
Warning

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

Go to latest
Published: May 11, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AdminConfigTemplate = `` /* 182-byte string literal not displayed */

)

Variables

View Source
var (
	FlytectlConfig = f.FilePathJoin(f.UserHomeDir(), ".flyte", "config-sandbox.yaml")
	ConfigFile     = f.FilePathJoin(f.UserHomeDir(), ".flyte", "config.yaml")
	Kubeconfig     = f.FilePathJoin(f.UserHomeDir(), ".flyte", "k3s", "k3s.yaml")
)

Functions

func ConfigCleanup

func ConfigCleanup() error

ConfigCleanup will remove the sandbox config from Flyte dir

func GetTemplate added in v0.5.23

func GetTemplate() string

GetTemplate returns cluster config

func SetupConfig

func SetupConfig(filename, templateStr string, templateSpec ConfigTemplateSpec) error

SetupConfig download the Flyte sandbox config

Types

type ConfigTemplateSpec

type ConfigTemplateSpec struct {
	Host     string
	Insecure bool
}

Jump to

Keyboard shortcuts

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