common

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionOptions

type ActionOptions struct {
	ItemOptions

	WithoutPipeline bool
}

func NewActionOptions

func NewActionOptions(id string) *ActionOptions

func (*ActionOptions) UpdateFlagSet

func (ao *ActionOptions) UpdateFlagSet(flags *pflag.FlagSet)

type ItemOptions

type ItemOptions struct {
	Options

	ID string
}

func NewItemOptions

func NewItemOptions(id string) *ItemOptions

type ListOptions

type ListOptions struct {
	Options

	Page int32
}

func NewListOptions

func NewListOptions() *ListOptions

func (*ListOptions) SetPage

func (lo *ListOptions) SetPage(page int32)

func (*ListOptions) UpdateFlagSet

func (lo *ListOptions) UpdateFlagSet(flags *pflag.FlagSet)

type Options

type Options struct {
	Profile *config.Profile
}

func NewOptions added in v0.16.0

func NewOptions() *Options

func (*Options) GetProfile

func (o *Options) GetProfile() config.Profile

type PartialActionOptions added in v0.17.1

type PartialActionOptions struct {
	ActionOptions
	// contains filtered or unexported fields
}

func NewPartialActionOptions added in v0.17.1

func NewPartialActionOptions(id string) *PartialActionOptions

func (*PartialActionOptions) GetActionComponents added in v0.17.1

func (pao *PartialActionOptions) GetActionComponents() []string

Handle the "--component ”" case.

func (*PartialActionOptions) IsPartial added in v0.17.1

func (pao *PartialActionOptions) IsPartial() bool

func (*PartialActionOptions) UpdateFlagSet added in v0.17.1

func (pao *PartialActionOptions) UpdateFlagSet(flags *pflag.FlagSet)

Jump to

Keyboard shortcuts

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