commands

package
v0.0.0-...-d5788a2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidProvider

func ValidProvider(str string) bool

ValidProvider Check provider from cli is supported

Types

type Create

type Create struct {
	// contains filtered or unexported fields
}

Create for create sub command

func (*Create) Execute

func (c *Create) Execute(_ context.Context, _ *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

Execute flow for create sub command

func (*Create) Name

func (*Create) Name() string

Name of sub command

func (*Create) SetFlags

func (c *Create) SetFlags(f *flag.FlagSet)

SetFlags required for create sub command

func (*Create) Synopsis

func (*Create) Synopsis() string

Synopsis of sub command

func (*Create) Usage

func (*Create) Usage() string

Usage of sub command

type Validate

type Validate struct {
	// contains filtered or unexported fields
}

Validate for validate sub command

func (*Validate) Execute

func (v *Validate) Execute(_ context.Context, _ *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

Execute flow of subcommand

func (*Validate) Name

func (*Validate) Name() string

Name of subcommand

func (*Validate) SetFlags

func (v *Validate) SetFlags(f *flag.FlagSet)

SetFlags required for create sub command

func (*Validate) Synopsis

func (*Validate) Synopsis() string

Synopsis of subcommand

func (*Validate) Usage

func (*Validate) Usage() string

Usage of sub command

type Version

type Version struct {
}

Version for validate sub command

func (*Version) Execute

func (*Version) Execute(_ context.Context, _ *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

Execute flow of subcommand

func (*Version) Name

func (*Version) Name() string

Name of subcommand

func (*Version) SetFlags

func (v *Version) SetFlags(_ *flag.FlagSet)

SetFlags of subcommand

func (*Version) Synopsis

func (*Version) Synopsis() string

Synopsis of subcommand

func (*Version) Usage

func (*Version) Usage() string

Usage of sub command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL