cmd

package
v0.0.63 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const BackendVersion string = "0.8.17"

Backend version is the version this client is tested with

View Source
const Version string = semver.Version //"v0.0.63"

version should be in format d.d.d where d is a decimal number

Variables

View Source
var APIVersion string
View Source
var AppName string = InitAppName()
View Source
var Application string
View Source
var Cert string
View Source
var Cluster string
View Source
var Config config
View Source
var Destination string
View Source
var Detailed bool
View Source
var Experiment string
View Source
var Hosts []string
View Source
var Init bool
View Source
var JsonPath string
View Source
var Kind string
View Source
var LogoData string = `` /* 2596-byte string literal not displayed */
View Source
var Name string
View Source
var NotificationLevel string
View Source
var NumberOfTrialLimit int
View Source
var OutputType string
View Source
var Password string
View Source
var Path string
View Source
var Period string
View Source
var Permission string
View Source
var Port string
View Source
var Project string
View Source
var ReleaseType string
View Source
var Role string
View Source
var SourceFile string
View Source
var SourceFileType string
View Source
var SourceString string
View Source
var Step string
View Source
var Subset string
View Source
var SubsetLabels map[string]string
View Source
var Token string
View Source
var TokenStore client.TokenStore
View Source
var Type string
View Source
var Username string
View Source
var VirtualCluster string
View Source
var WaitUntilAvailable bool
View Source
var WelcomeText = AddAppName(`
  Welcome to $AppName
  It is recommeded to update your password with
  $AppName passwd
  and re-login with your username and new password.
  `)

Functions

func AddAppName added in v0.0.22

func AddAppName(str string) string

Application name can change over time so it is made parameteric

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func FilenameWithoutExtension added in v0.0.57

func FilenameWithoutExtension(fn string) string

FilenameWithoutExtension extracts the last element without extension from path

func InitAppName added in v0.0.23

func InitAppName() string

Application name is automacially set to the calling name

func ReadConfig added in v0.0.32

func ReadConfig() error

func WriteConfigFile

func WriteConfigFile() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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