Documentation ¶
Index ¶
- type CmdInOut
- type ConfigStub
- func (c *ConfigStub) ApplicationIDExists(appID string) (bool, string)
- func (c *ConfigStub) ConfiguredProfiles() []*config.Profile
- func (c *ConfigStub) Default() *config.Profile
- func (c *ConfigStub) InitConfig()
- func (c *ConfigStub) Profile() *config.Profile
- func (c *ConfigStub) ProfileExists(name string) bool
- func (c *ConfigStub) ProfileNames() []string
- func (c *ConfigStub) RemoveProfile(name string) error
- func (c *ConfigStub) SetDefaultProfile(name string) error
- type OutputStub
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdInOut ¶
func NewFactory ¶
type ConfigStub ¶
func NewConfigStubWithProfiles ¶
func NewConfigStubWithProfiles(p []*config.Profile) *ConfigStub
func NewDefaultConfigStub ¶
func NewDefaultConfigStub() *ConfigStub
func (*ConfigStub) ApplicationIDExists ¶
func (c *ConfigStub) ApplicationIDExists(appID string) (bool, string)
func (*ConfigStub) ConfiguredProfiles ¶
func (c *ConfigStub) ConfiguredProfiles() []*config.Profile
func (*ConfigStub) Default ¶
func (c *ConfigStub) Default() *config.Profile
func (*ConfigStub) InitConfig ¶
func (c *ConfigStub) InitConfig()
func (*ConfigStub) Profile ¶
func (c *ConfigStub) Profile() *config.Profile
func (*ConfigStub) ProfileExists ¶
func (c *ConfigStub) ProfileExists(name string) bool
func (*ConfigStub) ProfileNames ¶
func (c *ConfigStub) ProfileNames() []string
func (*ConfigStub) RemoveProfile ¶
func (c *ConfigStub) RemoveProfile(name string) error
func (*ConfigStub) SetDefaultProfile ¶
func (c *ConfigStub) SetDefaultProfile(name string) error
type OutputStub ¶
func (OutputStub) Output ¶
func (s OutputStub) Output() ([]byte, error)
func (OutputStub) Run ¶
func (s OutputStub) Run() error
Click to show internal directories.
Click to hide internal directories.