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 = `` /* 356-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 ¶
Click to show internal directories.
Click to hide internal directories.