Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnknownKind = errors.New("unknown kind") ErrUnknownContext = errors.New("unknown context") ErrUnsupportedOperation = errors.New("unsupported operation") ErrUnknownSpec = errors.New("unknown spec") )
View Source
var ( ErrInvalidChanges = errors.New("invalid change") ErrCannotApply = errors.New("cannot apply") )
View Source
var ApplyTable = map[string]func(c *config.Config, f *v1alpha1.IstioFilter) error{ gvk.DestinationRule.Kind: ApplyToDestinationRule, gvk.VirtualService.Kind: ApplyToVirtualService, }
Functions ¶
func ApplyToDestinationRule ¶
func ApplyToDestinationRule(cfg *config.Config, filter *v1alpha1.IstioFilter) (err error)
func ApplyToVirtualService ¶
func ApplyToVirtualService(cfg *config.Config, filter *v1alpha1.IstioFilter) (err error)
Types ¶
Click to show internal directories.
Click to hide internal directories.