connectorcmdutil

package
v0.45.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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

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