Versions in this module Expand all Collapse all v1 v1.2.0 Aug 21, 2020 v1.1.3 Jun 29, 2020 Changes in this version + const EnvDCOSDir + const EnvStrictDeprecations + func NewTable(writer io.Writer, header []string) *tablewriter.Table + type Context struct + func NewContext(env *Environment) *Context + func (ctx *Context) Args() []string + func (ctx *Context) Cluster() (*config.Cluster, error) + func (ctx *Context) Clusters() ([]*config.Cluster, error) + func (ctx *Context) ConfigManager() (*config.Manager, error) + func (ctx *Context) DCOSDir() (string, error) + func (ctx *Context) Deprecated(msg string) error + func (ctx *Context) EnvLookup(key string) (string, bool) + func (ctx *Context) ErrOut() io.Writer + func (ctx *Context) Fs() afero.Fs + func (ctx *Context) HTTPClient(c *config.Cluster, opts ...httpclient.Option) (*httpclient.Client, error) + func (ctx *Context) Input() io.Reader + func (ctx *Context) Logger() *logrus.Logger + func (ctx *Context) Login(flags *login.Flags, httpClient *httpclient.Client) (string, error) + func (ctx *Context) Opener() open.Opener + func (ctx *Context) Out() io.Writer + func (ctx *Context) PluginManager(cluster *config.Cluster) *plugin.Manager + func (ctx *Context) Prompt() *prompt.Prompt + func (ctx *Context) Setup(flags *setup.Flags, clusterURL string, attach bool) (*config.Cluster, error) + type Environment struct + Args []string + EnvLookup func(key string) (string, bool) + ErrOut io.Writer + Fs afero.Fs + Input io.Reader + Out io.Writer + func NewOsEnvironment() *Environment + type GlobalFlags struct + Debug bool + LogLevel string + Verbosity int + Version bool + func (gf *GlobalFlags) Parse(args []string) []string