Documentation ¶
Index ¶
- Constants
- Variables
- func GetDefaultNS(ctx *context.Context, force bool) error
- func InteractiveLogin(ctx *context.Context) error
- func Setup(ctx *context.Context) error
- func SetupClient(ctx *context.Context, debugRequests bool) error
- func SetupConfig(ctx *context.Context) error
- func SetupLogs(ctx *context.Context) error
Constants ¶
View Source
const ( // ErrFatalError -- unrecoverable fatal error ErrFatalError chkitErrors.Err = "fatal error" // ErrInvalidUserInfo -- invalid user info" ErrInvalidUserInfo chkitErrors.Err = "invalid user info" // ErrInvalidAPIurl -- invalid API url ErrInvalidAPIurl chkitErrors.Err = "invalid API url" // ErrUnableToLoadTokens -- unable to load tokens ErrUnableToLoadTokens chkitErrors.Err = "unable to load tokens" // ErrUnableToSaveTokens -- unable to save tokens ErrUnableToSaveTokens chkitErrors.Err = "unable to save tokens" )
Variables ¶
View Source
var ( // ErrUnableToReadPassword -- unable to read password ErrUnableToReadPassword chkitErrors.Err = "unable to read password" // ErrUnableToReadUsername -- unable to read username ErrUnableToReadUsername chkitErrors.Err = "unable to read username" // ErrInvalidPassword -- invalid password ErrInvalidPassword chkitErrors.Err = "invalid password" // ErrInvalidUsername -- invalid username ErrInvalidUsername chkitErrors.Err = "invalid username" )
View Source
var Config = struct { DebugRequests bool }{}
Functions ¶
func InteractiveLogin ¶
func SetupConfig ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.