Documentation ¶
Index ¶
- type Context
- func (ctx *Context) ExitCommand()
- func (ctx *Context) GetClient() *chClient.Client
- func (ctx *Context) GetStorable() Storable
- func (ctx *Context) SetAPI(api string) *Context
- func (ctx *Context) SetNamespace(ns namespace.Namespace) *Context
- func (ctx *Context) SetStorable(config Storable) (configVersion string)
- func (ctx *Context) StartCommand(command string)
- type Namespace
- type Storable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { Log coblog.Log Version string ConfigPath string ConfigDir string Namespace Namespace Quiet bool Changed bool Client chClient.Client AllowSelfSignedTLS bool }
func (*Context) ExitCommand ¶
func (ctx *Context) ExitCommand()
func (*Context) GetStorable ¶
func (*Context) SetStorable ¶
func (*Context) StartCommand ¶
type Namespace ¶
func NamespaceFromModel ¶
Click to show internal directories.
Click to hide internal directories.