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 PrivateKey string PrivateKeyPath string KnownHosts string Github bool }
func (*CreateFlags) BackfillPrivateKey ¶
func (s *CreateFlags) BackfillPrivateKey() error
func (*CreateFlags) BackfillTypeAndURL ¶
func (s *CreateFlags) BackfillTypeAndURL() error
func (*CreateFlags) Set ¶
func (s *CreateFlags) Set(cmd *cobra.Command, flagsFactory cmdcore.FlagsFactory)
func (*CreateFlags) Validate ¶
func (s *CreateFlags) Validate() error
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.