rel

package
v0.12.1-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdRel

func NewCmdRel(streams genericiooptions.IOStreams) *cobra.Command

NewCmdRel returns an initialized Command instance for 'release' sub command.

func NewCmdUnlock

func NewCmdUnlock(streams genericiooptions.IOStreams) *cobra.Command

NewCmdUnlock creates the `kusion release unlock` command.

Types

type UnlockFlags

type UnlockFlags struct {
	MetaFlags *meta.MetaFlags
}

UnlockFlags reflects the information that CLI is gathering via flags, which will be converted into UnlockOptions.

func NewUnlockFlags

func NewUnlockFlags(streams genericiooptions.IOStreams) *UnlockFlags

NewUnlockFlags returns a default UnlockFlags.

func (*UnlockFlags) AddFlags

func (f *UnlockFlags) AddFlags(cmd *cobra.Command)

AddFlags registers flags for the CLI.

func (*UnlockFlags) ToOptions

func (f *UnlockFlags) ToOptions() (*UnlockOptions, error)

ToOptions converts from CLI inputs to runtime inputs.

type UnlockOptions

type UnlockOptions struct {
	*meta.MetaOptions
}

UnlockOptions defines the configuration parameters for the `kusion release unlock` command.

func (*UnlockOptions) Run

func (o *UnlockOptions) Run() error

Run executes the `kusion release unlock` command.

func (*UnlockOptions) Validate

func (o *UnlockOptions) Validate(cmd *cobra.Command, args []string) error

Validate verifies if UnlockOptions are valid and without conflicts.

Jump to

Keyboard shortcuts

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