ingress

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotMatch = errors.New("no matching rule")
)

error in ingress package

Functions

func Init

func Init() error

Init initialize

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL