Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCreateCmd ¶
func NewCreateCmd(o *CreateOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
Types ¶
type CreateFlags ¶
type CreateFlags struct {
GenerateNameFlags cmdcore.GenerateNameFlags
Type string
URL string
Username string
Password string
DockerHub bool
GCR bool
ForPulling bool
}
func (*CreateFlags) BackfillTypeAndURL ¶
func (s *CreateFlags) BackfillTypeAndURL() error
func (*CreateFlags) Set ¶
func (s *CreateFlags) Set(cmd *cobra.Command, flagsFactory cmdcore.FlagsFactory)
type CreateOptions ¶
type CreateOptions struct {
SecretFlags cmdflags.SecretFlags
CreateFlags CreateFlags
// contains filtered or unexported fields
}
func NewCreateOptions ¶
func NewCreateOptions(ui ui.UI, depsFactory cmdcore.DepsFactory) *CreateOptions
func (*CreateOptions) Run ¶
func (o *CreateOptions) Run() error
Click to show internal directories.
Click to hide internal directories.