Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlagSet ¶
func NewFlagSet ¶
NewFlagSet returns a new flag set with common context flags
func (*FlagSet) AddContextName ¶
func (fs *FlagSet) AddContextName(name *string) *flagutil.FlagOptions
AddContextName adds a flag for setting the name of the context
type Validator ¶
type Validator struct { Localizer localize.Localizer SvcContext *servicecontext.Context }
Validator is a type for validating service context inputs
func (*Validator) ValidateName ¶
ValidateName validates the name of the context
func (*Validator) ValidateNameIsAvailable ¶
ValidateNameIsAvailable validates if the name provided is a unique context name
Click to show internal directories.
Click to hide internal directories.