common

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: MIT Imports: 2 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 (*Options) GetProfile

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

Jump to

Keyboard shortcuts

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