config

package
v0.0.1-beta.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdConfig

type CmdConfig struct {
	SSOHost           string `json:"sso_host" yaml:"sso_host"`
	SSOUsername       string `json:"sso_username" yaml:"sso_username"`
	SSOPassword       string `json:"sso_password" yaml:"sso_password"`
	SSORealm          string `json:"sso_realm" yaml:"sso_realm"`
	SSOClientID       string `json:"sso_client_id" yaml:"sso_client_id"`
	JobServerUrl      string `json:"job_server_url" yaml:"job_server_url"`
	AppServerUrl      string `json:"app_server_url" yaml:"app_server_url"`
	JobDefaultCluster string `json:"job_default_cluster" yaml:"job_default_cluster"`
}

func LoadCmdConfig

func LoadCmdConfig(opts ...string) (*CmdConfig, error)

type JobConfig

type JobConfig struct {
	Artifacts []string
}

User can provide a local job config to instruct kaectl to prepare job It mainly used to upload artifacts

Jump to

Keyboard shortcuts

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