cc

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonCtx

type CommonCtx struct {
	Context   context.Context
	OutWriter io.Writer
	ErrWriter io.Writer
	// contains filtered or unexported fields
}

func New

func New() *CommonCtx

func (*CommonCtx) AccessToken

func (ctx *CommonCtx) AccessToken() string

func (*CommonCtx) AuthorizerAPIKey

func (ctx *CommonCtx) AuthorizerAPIKey() string

func (*CommonCtx) AuthorizerService

func (ctx *CommonCtx) AuthorizerService() string

func (*CommonCtx) Environment

func (ctx *CommonCtx) Environment() string

func (*CommonCtx) IsLoggedIn

func (ctx *CommonCtx) IsLoggedIn() bool

func (*CommonCtx) Logf added in v0.1.3

func (ctx *CommonCtx) Logf(format string, v ...interface{})

func (*CommonCtx) Override

func (ctx *CommonCtx) Override(key, value string)

func (*CommonCtx) RegistryDownloadKey

func (ctx *CommonCtx) RegistryDownloadKey() string

func (*CommonCtx) RegistrySvc

func (ctx *CommonCtx) RegistrySvc() string

func (*CommonCtx) RegistryUploadKey

func (ctx *CommonCtx) RegistryUploadKey() string

func (*CommonCtx) SetEnv

func (ctx *CommonCtx) SetEnv(env string) error

func (*CommonCtx) SetLogger added in v0.1.3

func (ctx *CommonCtx) SetLogger(w io.Writer)

func (*CommonCtx) TasksService

func (ctx *CommonCtx) TasksService() string

func (*CommonCtx) TenantID

func (ctx *CommonCtx) TenantID() string

func (*CommonCtx) TenantService

func (ctx *CommonCtx) TenantService() string

func (*CommonCtx) Token

func (ctx *CommonCtx) Token() *api.Token

func (*CommonCtx) VerifyLoggedIn

func (ctx *CommonCtx) VerifyLoggedIn() error

Jump to

Keyboard shortcuts

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