Documentation
¶
Index ¶
Constants ¶
View Source
const (
SourceKind = "source"
)
Variables ¶
This section is empty.
Functions ¶
func NewCmdCreate ¶
func NewCmdDelete ¶
func NewCmdGenerate ¶
func NewCmdVersion ¶
Types ¶
type CreateOptions ¶
type CreateOptions struct { GlobalOptions SshKeyFile string }
func DefaultCreateOptions ¶
func DefaultCreateOptions() *CreateOptions
func (*CreateOptions) Bind ¶
func (o *CreateOptions) Bind(fs *pflag.FlagSet)
type DeleteOptions ¶
type DeleteOptions struct {
GlobalOptions
}
func DefaultDeleteOptions ¶
func DefaultDeleteOptions() *DeleteOptions
func (*DeleteOptions) Bind ¶
func (o *DeleteOptions) Bind(fs *pflag.FlagSet)
func (*DeleteOptions) Complete ¶
func (o *DeleteOptions) Complete(cmd *cobra.Command, args []string) error
func (*DeleteOptions) Validate ¶
func (o *DeleteOptions) Validate(args []string) error
type GenerateOptions ¶
type GenerateOptions struct { GlobalOptions ImageType string AgentImageURL string ServiceIP string OutputImageFilePath string HttpProxyUrl string HttpsProxyUrl string NoProxyDomain string }
func DefaultGenerateOptions ¶
func DefaultGenerateOptions() *GenerateOptions
func (*GenerateOptions) Bind ¶
func (o *GenerateOptions) Bind(fs *pflag.FlagSet)
func (*GenerateOptions) Complete ¶
func (o *GenerateOptions) Complete(cmd *cobra.Command, args []string) error
func (*GenerateOptions) Run ¶
func (o *GenerateOptions) Run(ctx context.Context, args []string) error
func (*GenerateOptions) Validate ¶
func (o *GenerateOptions) Validate(args []string) error
type GetOptions ¶
type GetOptions struct { GlobalOptions Output string }
func DefaultGetOptions ¶
func DefaultGetOptions() *GetOptions
func (*GetOptions) Bind ¶
func (o *GetOptions) Bind(fs *pflag.FlagSet)
func (*GetOptions) Complete ¶
func (o *GetOptions) Complete(cmd *cobra.Command, args []string) error
func (*GetOptions) Validate ¶
func (o *GetOptions) Validate(args []string) error
type GlobalOptions ¶
type GlobalOptions struct {
ServerUrl string
}
func DefaultGlobalOptions ¶
func DefaultGlobalOptions() GlobalOptions
func (*GlobalOptions) Bind ¶
func (o *GlobalOptions) Bind(fs *pflag.FlagSet)
func (*GlobalOptions) Client ¶
func (o *GlobalOptions) Client() (*client.ClientWithResponses, error)
func (*GlobalOptions) Complete ¶
func (o *GlobalOptions) Complete(cmd *cobra.Command, args []string) error
func (*GlobalOptions) Validate ¶
func (o *GlobalOptions) Validate(args []string) error
type VersionOptions ¶
type VersionOptions struct {
Output string
}
func DefaultVersionOptions ¶
func DefaultVersionOptions() *VersionOptions
Click to show internal directories.
Click to hide internal directories.