Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListCommand ¶
type ListCommand struct {
TargetVersion string
ShowAll bool
// contains filtered or unexported fields
}
func NewListCommand ¶
func NewListCommand(streams genericiooptions.IOStreams) *ListCommand
func (*ListCommand) AddFlags ¶
func (c *ListCommand) AddFlags(fs *pflag.FlagSet)
func (*ListCommand) Complete ¶
func (c *ListCommand) Complete() error
func (*ListCommand) Validate ¶
func (c *ListCommand) Validate() error
type OutputFormat ¶
type OutputFormat string
const ( OutputFormatTable OutputFormat = "table" OutputFormatJSON OutputFormat = "json" OutputFormatYAML OutputFormat = "yaml" DefaultTimeout = 10 * time.Minute )
func (OutputFormat) Validate ¶
func (o OutputFormat) Validate() error
type PrepareCommand ¶ added in v0.0.15
type PrepareCommand struct {
DryRun bool
Yes bool
OutputDir string
MigrationIDs []string
TargetVersion string
// contains filtered or unexported fields
}
func NewPrepareCommand ¶ added in v0.0.15
func NewPrepareCommand(streams genericiooptions.IOStreams) *PrepareCommand
func (*PrepareCommand) AddFlags ¶ added in v0.0.15
func (c *PrepareCommand) AddFlags(fs *pflag.FlagSet)
func (*PrepareCommand) Complete ¶ added in v0.0.15
func (c *PrepareCommand) Complete() error
func (*PrepareCommand) Run ¶ added in v0.0.15
func (c *PrepareCommand) Run(ctx context.Context) error
func (*PrepareCommand) Validate ¶ added in v0.0.15
func (c *PrepareCommand) Validate() error
type RunCommand ¶
type RunCommand struct {
DryRun bool
Yes bool
MigrationIDs []string
TargetVersion string
// contains filtered or unexported fields
}
func NewRunCommand ¶
func NewRunCommand(streams genericiooptions.IOStreams) *RunCommand
func (*RunCommand) AddFlags ¶
func (c *RunCommand) AddFlags(fs *pflag.FlagSet)
func (*RunCommand) Complete ¶
func (c *RunCommand) Complete() error
func (*RunCommand) Validate ¶
func (c *RunCommand) Validate() error
type SharedOptions ¶
type SharedOptions struct {
// Throttling settings for Kubernetes API client
}
func NewSharedOptions ¶
func NewSharedOptions(streams genericiooptions.IOStreams) *SharedOptions
func (*SharedOptions) Complete ¶
func (o *SharedOptions) Complete() error
func (*SharedOptions) Validate ¶
func (o *SharedOptions) Validate() error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.