Documentation ¶
Index ¶
- func Execute()
- func GetRoot() *cobra.Command
- func NewAuthCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewInitCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewPushCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewVersionCmd() *cobra.Command
- type AuthCmd
- type InitCmd
- type PushCmd
- type VersionCmd
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func NewAuthCmd ¶
func NewAuthCmd(globalFlags *flags.GlobalFlags) *cobra.Command
func NewInitCmd ¶
func NewInitCmd(globalFlags *flags.GlobalFlags) *cobra.Command
func NewPushCmd ¶
func NewPushCmd(globalFlags *flags.GlobalFlags) *cobra.Command
func NewVersionCmd ¶
Types ¶
type AuthCmd ¶
type AuthCmd struct {
*flags.GlobalFlags
}
InitCmd holds the required data for the init cmd
type InitCmd ¶
type InitCmd struct { *flags.GlobalFlags // command flags Reconfigure bool }
InitCmd holds the required data for the init cmd
type PushCmd ¶
type PushCmd struct { *flags.GlobalFlags // command flags NumberOfWorkers int DryRunMode bool }
PushCmd holds the required data for the push cmd
type VersionCmd ¶
type VersionCmd struct{}
Click to show internal directories.
Click to hide internal directories.