connectorcmdutil

package
v0.51.3-beta1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterValidTypesArgs added in v0.47.0

func FilterValidTypesArgs(f *factory.Factory, toComplete string) ([]string, cobra.ShellCompDirective)

Types

type FlagSet

type FlagSet struct {
	*flagutil.FlagSet
	// contains filtered or unexported fields
}

func NewFlagSet

func NewFlagSet(cmd *cobra.Command, f *factory.Factory) *FlagSet

NewFlagSet returns a new flag set with common connector flags

func (*FlagSet) AddConnectorID

func (fs *FlagSet) AddConnectorID(ruleType *string) *flagutil.FlagOptions

AddConnectorID adds a flag for specifying the connector ID

func (*FlagSet) AddConnectorName added in v0.46.0

func (fs *FlagSet) AddConnectorName(ruleType *string) *flagutil.FlagOptions

AddConnectorName adds a flag for specifying the connector name

type TypeSearchQuery added in v0.47.0

type TypeSearchQuery struct {
	// contains filtered or unexported fields
}

func NewSearchQuery added in v0.47.0

func NewSearchQuery(input string) *TypeSearchQuery

func (*TypeSearchQuery) Build added in v0.47.0

func (sq *TypeSearchQuery) Build() string

func (*TypeSearchQuery) Filter added in v0.47.0

func (sq *TypeSearchQuery) Filter(filter string) *TypeSearchQuery

type Validator

type Validator struct {
	Localizer localize.Localizer
}

Validator is a type for validating connector attributes

func (*Validator) ValidateNamespace

func (v *Validator) ValidateNamespace(name string) error

ValidateNamespace validates the name of the namespace

Jump to

Keyboard shortcuts

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