action

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const UseActionAnnotation = "use-annotation"

Variables

This section is empty.

Functions

func Default404Backend

func Default404Backend() extensions.IngressBackend

Default404Backend turns an IngressBackend that will return 404s

func NewParser

NewParser creates a new target group annotation parser

func Use

func Use(s string) bool

Use returns true if the parameter requested an annotation configured action

Types

type Config

type Config struct {
	Actions map[string]*elbv2.Action
}

func Dummy

func Dummy() *Config

func (*Config) GetAction

func (c *Config) GetAction(serviceName string) (elbv2.Action, error)

GetAction returns the action named serviceName configured by an annotation

Jump to

Keyboard shortcuts

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