options

package
v0.0.0-...-ee8e995 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComparatorConfig

type ComparatorConfig struct {
	ComparatorRegistry manifestcomparators.CRDComparatorRegistry
	ComparatorNames    []string
}

type ComparatorOptions

type ComparatorOptions struct {
	ComparatorRegistry        manifestcomparators.CRDComparatorRegistry
	KnownComparators          []string
	DefaultEnabledComparators []string
	EnabledComparators        []string
	DisabledComparators       []string
}

func NewComparatorOptions

func NewComparatorOptions() *ComparatorOptions

func (*ComparatorOptions) AddFlags

func (o *ComparatorOptions) AddFlags(fs *pflag.FlagSet)

func (*ComparatorOptions) Complete

func (o *ComparatorOptions) Complete() (*ComparatorConfig, error)

Complete fills in missing values before command execution.

func (*ComparatorOptions) Validate

func (o *ComparatorOptions) Validate() error

Jump to

Keyboard shortcuts

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