Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrFailedShimCreation = errors.New("failed to create tool shim") ErrInvalidCacheConfig = errors.New("invalid cache configuration") ErrNoBackends = errors.New("no backend found") ErrNoToolSet = errors.New("no tool set") ErrUnknownSyncMode = errors.New("unknown sync mode") ErrUnknownTool = errors.New("tool unknown in current environment") ErrUnimplemented = errors.New("unimplemented") )
Functions ¶
func Download ¶
func Download(cOpts *CommonOpts) *cobra.Command
func Env ¶
func Env(cOpts *CommonOpts) *cobra.Command
func Invoke ¶
func Invoke(cOpts *CommonOpts) *cobra.Command
func Sync ¶
func Sync(cOpts *CommonOpts) *cobra.Command
func Versions ¶
func Versions(cOpts *CommonOpts) *cobra.Command
Types ¶
type CommonOpts ¶
type CommonOpts struct { LogBuilder logger.Builder Log *zap.Logger Config *config.Global Env environment.Environment Verbose []string }
func NewCommonOpts ¶
func NewCommonOpts() *CommonOpts
func (*CommonOpts) Parse ¶
func (c *CommonOpts) Parse() error
Click to show internal directories.
Click to hide internal directories.