Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDenylistError ¶ added in v0.6.0
NewDenylistError returns a DenyListError.
Types ¶
type Args ¶
Args represents a set of args.
func (Args) Merge ¶
func (a Args) Merge(args Args) ArgsBuilder
Merge implements the ArgsBuilder interface.
type ArgsBuilder ¶
type ArgsBuilder interface { Merge(Args) ArgsBuilder Set(string, string) ArgsBuilder Args() []string }
ArgsBuilder defines the requirements to build and manage a set of args.
type DenyListError ¶ added in v0.6.0
type DenyListError struct {
// contains filtered or unexported fields
}
DenyListError represents an error indicating that an argument was supplied that is not allowed.
func (*DenyListError) Error ¶ added in v0.6.0
func (b *DenyListError) Error() string
Error implements the Error interface.
Click to show internal directories.
Click to hide internal directories.