configutil

package
v0.5.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

	StorageConfigTemplate = `` /* 252-byte string literal not displayed */

	StorageS3ConfigTemplate = `` /* 255-byte string literal not displayed */

	StorageGCSConfigTemplate = `` /* 360-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 GetAWSCloudTemplate

func GetAWSCloudTemplate() string

GetAWSCloudTemplate return aws Flyte config with storage config

func GetGoogleCloudTemplate

func GetGoogleCloudTemplate() string

GetGoogleCloudTemplate return google Flyte config with storage config

func GetSandboxTemplate

func GetSandboxTemplate() string

GetSandboxTemplate return sandbox 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