pushcmd

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdPush added in v0.0.15

func NewCmdPush(f util.Factory, streams *genericclioptions.IOStreams) *cobra.Command

Types

type PushFlags added in v0.0.15

type PushFlags struct {
}

func NewPushFlags added in v0.0.15

func NewPushFlags() *PushFlags

The defaults are determined here

func (*PushFlags) AddFlags added in v0.0.15

func (r *PushFlags) AddFlags(cmd *cobra.Command)

AddFlags add flags tp the command

func (*PushFlags) ToOptions added in v0.0.15

func (r *PushFlags) ToOptions(cmd *cobra.Command, f util.Factory, streams *genericclioptions.IOStreams) (*PushOptions, error)

ToOptions renders the options based on the flags that were set and will be the base context used to run the command

type PushOptions added in v0.0.15

type PushOptions struct {
	Factory util.Factory
	Streams *genericclioptions.IOStreams
}

func (*PushOptions) Run added in v0.0.15

func (r *PushOptions) Run(ctx context.Context, args []string) error

func (*PushOptions) Validate added in v0.0.15

func (r *PushOptions) Validate(args []string) error

Jump to

Keyboard shortcuts

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