Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlagHelper ¶
type FlagHelper[T any] interface { Declare(cmd *cobra.Command) Parse(elem T, cmd *cobra.Command, args []string) error }
func NewOverrideFlags ¶
func NewOverrideFlags() FlagHelper[*OverrideConfig]
type OverrideConfig ¶
type SelectedRecordData ¶
type SelectedRecordsResult ¶
type SelectedRecordsResult struct { Records []SelectedRecordData Resources []*model.Resource }
type SelectorFlags ¶ added in v1.2.36
type SelectorFlags struct { Filters []string Limit int64 Offset int64 PackRecords bool // contains filtered or unexported fields }
func NewSelectorFlags ¶
func NewSelectorFlags(clientGetter func() client.Client) *SelectorFlags
func (*SelectorFlags) Declare ¶ added in v1.2.36
func (s *SelectorFlags) Declare(cmd *cobra.Command)
func (*SelectorFlags) Parse ¶ added in v1.2.36
func (s *SelectorFlags) Parse(result *SelectedRecordsResult, cmd *cobra.Command, args []string) error
Click to show internal directories.
Click to hide internal directories.