Documentation
¶
Index ¶
- Variables
- type Osys
- type OsysClient
- func (o *OsysClient) Exit(code int)
- func (o *OsysClient) GetGitProviderToken() (string, error)
- func (o *OsysClient) Getenv(envVar string) string
- func (o *OsysClient) LookupEnv(envVar string) (string, bool)
- func (o *OsysClient) Setenv(envVar, value string) error
- func (o *OsysClient) Stderr() *os.File
- func (o *OsysClient) Stdin() *os.File
- func (o *OsysClient) Stdout() *os.File
- func (o *OsysClient) UserHomeDir() (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoGitProviderTokenSet = errors.New("no git provider token env variable set")
Functions ¶
This section is empty.
Types ¶
type OsysClient ¶
type OsysClient struct{}
func New ¶
func New() *OsysClient
func (*OsysClient) Exit ¶
func (o *OsysClient) Exit(code int)
func (*OsysClient) GetGitProviderToken ¶ added in v0.2.3
func (o *OsysClient) GetGitProviderToken() (string, error)
func (*OsysClient) Getenv ¶ added in v0.2.3
func (o *OsysClient) Getenv(envVar string) string
func (*OsysClient) LookupEnv ¶ added in v0.2.3
func (o *OsysClient) LookupEnv(envVar string) (string, bool)
func (*OsysClient) Setenv ¶ added in v0.2.3
func (o *OsysClient) Setenv(envVar, value string) error
func (*OsysClient) Stderr ¶
func (o *OsysClient) Stderr() *os.File
func (*OsysClient) Stdin ¶
func (o *OsysClient) Stdin() *os.File
func (*OsysClient) Stdout ¶
func (o *OsysClient) Stdout() *os.File
func (*OsysClient) UserHomeDir ¶
func (o *OsysClient) UserHomeDir() (string, error)
Click to show internal directories.
Click to hide internal directories.