Documentation ¶
Index ¶
- func NewIngress(opts ...Option) ingress_pkg.Ingress
- func NewPluginIngress(opts ...Option) ingress_pkg.Ingress
- type Option
- func FileLoaderOption(fileLoader loader.Loader) Option
- func HTTPLoaderOption(httpLoader loader.Loader) Option
- func LoggerOption(logger logger.Logger) Option
- func PluginConnOption(c *grpc.ClientConn) Option
- func RedisLoaderOption(redisLoader loader.Loader) Option
- func ReloadPeriodOption(period time.Duration) Option
- func RulesOption(rules []Rule) Option
- type Rule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIngress ¶
func NewIngress(opts ...Option) ingress_pkg.Ingress
NewIngress creates and initializes a new Ingress.
func NewPluginIngress ¶
func NewPluginIngress(opts ...Option) ingress_pkg.Ingress
NewPluginIngress creates a plugin ingress.
Types ¶
type Option ¶
type Option func(opts *options)
func FileLoaderOption ¶
func HTTPLoaderOption ¶
func LoggerOption ¶
func PluginConnOption ¶
func PluginConnOption(c *grpc.ClientConn) Option
func RedisLoaderOption ¶
func ReloadPeriodOption ¶
func RulesOption ¶
Click to show internal directories.
Click to hide internal directories.