Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotMatch = errors.New("no matching rule")
)
error in ingress package
Functions ¶
func InstallPlugin ¶
func InstallPlugin(name string, f func() (RuleFetcher, error))
InstallPlugin install implementation
Types ¶
type RuleFetcher ¶
type RuleFetcher interface {
Fetch(protocol, host, apiPath string, headers map[string][]string) (*config.IngressRule, error)
}
RuleFetcher query ingress rule
var DefaultFetcher RuleFetcher
DefaultFetcher fetch config
Click to show internal directories.
Click to hide internal directories.