Documentation ¶
Index ¶
- type Runtime
- func (r Runtime) GetAuthInterceptClient() (httpclient.Client, error)
- func (r Runtime) GetClient() (httpclient.Client, error)
- func (r Runtime) GetConfigManager() (config.Manager, error)
- func (r Runtime) GetEnvironment() (config.EnvironmentState, error)
- func (r Runtime) GetEnvironmentName() string
- func (r Runtime) GetLogger() logrus.FieldLogger
- func (r Runtime) GetStderr() io.Writer
- func (r Runtime) GetStdin() io.Reader
- func (r Runtime) GetStdout() io.Writer
- func (r Runtime) GetUI() boshui.UI
- func (r Runtime) GetVersion() version.Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runtime ¶
type Runtime struct { ConfigPath string `long:"config" env:"SSOCA_CONFIG" description:"Configuration file path" default:"~/.config/ssoca/config"` Environment string `short:"e" long:"environment" env:"SSOCA_ENVIRONMENT" description:"Environment name"` LogLevel string `long:"log-level" env:"SSOCA_LOG_LEVEL" description:"Log level" default:"WARN"` Version cmd.Version `command:"version" description:"Show the current version"` // contains filtered or unexported fields }
func NewRuntime ¶
func (Runtime) GetAuthInterceptClient ¶
func (r Runtime) GetAuthInterceptClient() (httpclient.Client, error)
func (Runtime) GetEnvironment ¶
func (r Runtime) GetEnvironment() (config.EnvironmentState, error)
func (Runtime) GetEnvironmentName ¶
func (Runtime) GetLogger ¶ added in v0.7.0
func (r Runtime) GetLogger() logrus.FieldLogger
func (Runtime) GetVersion ¶ added in v0.7.0
Click to show internal directories.
Click to hide internal directories.