goflags

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2017 License: MIT Imports: 15 Imported by: 0

Documentation

Index

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"`
	// contains filtered or unexported fields
}

func NewRuntime

func NewRuntime(serviceManager service.Manager, ui boshui.UI, stdin io.Reader, stdout io.Writer, stderr io.Writer, fs boshsys.FileSystem, logger boshlog.Logger) Runtime

func (Runtime) GetAuthInterceptClient

func (r Runtime) GetAuthInterceptClient() (httpclient.Client, error)

func (Runtime) GetClient

func (r Runtime) GetClient() (httpclient.Client, error)

func (Runtime) GetConfigManager

func (r Runtime) GetConfigManager() (config.Manager, error)

func (Runtime) GetEnvironment

func (r Runtime) GetEnvironment() (config.EnvironmentState, error)

func (Runtime) GetEnvironmentName

func (r Runtime) GetEnvironmentName() string

func (Runtime) GetStderr

func (r Runtime) GetStderr() io.Writer

func (Runtime) GetStdin

func (r Runtime) GetStdin() io.Reader

func (Runtime) GetStdout

func (r Runtime) GetStdout() io.Writer

func (Runtime) GetUI

func (r Runtime) GetUI() boshui.UI

Jump to

Keyboard shortcuts

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