Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrEmptyRepositoryName = errors.New("repository name must not be empty") ErrEmptyRepositoryURL = errors.New("repository url must not be empty") )
Functions ¶
func NewCreateCmd ¶
func NewRemoveCmd ¶
Types ¶
type AddOptions ¶
type AddOptions struct {
cmdutil.ConfigFlags
RepoName string
RepoURL string
}
func (*AddOptions) Complete ¶
func (o *AddOptions) Complete(args []string) error
func (*AddOptions) Run ¶
func (o *AddOptions) Run() error
func (*AddOptions) Validate ¶
func (o *AddOptions) Validate() error
type CreateOptions ¶
func (*CreateOptions) Complete ¶
func (o *CreateOptions) Complete(args []string) (err error)
func (*CreateOptions) Run ¶
func (o *CreateOptions) Run() error
func (*CreateOptions) Validate ¶
func (o *CreateOptions) Validate() error
type ListOptions ¶
type ListOptions struct {
cli.IOStreams
cmdutil.ConfigFlags
}
func (*ListOptions) Run ¶
func (o *ListOptions) Run() error
type RemoveOptions ¶
type RemoveOptions struct {
cmdutil.ConfigFlags
RepoName string
}
func (*RemoveOptions) Complete ¶
func (o *RemoveOptions) Complete(args []string) error
func (*RemoveOptions) Run ¶
func (o *RemoveOptions) Run() error
func (*RemoveOptions) Validate ¶
func (o *RemoveOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.