activeingress

package
v3.0.3-alpha2+incompat... Latest Latest
Warning

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

Go to latest
Published: May 11, 2018 License: MIT Imports: 17 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ErrInvalidPath    chkitErrors.Err = "invalid path"
	ErrInvalidRule    chkitErrors.Err = "invalid rule"
	ErrInvalidIngress chkitErrors.Err = "invalid ingress"
)

Variables

View Source
var HostRe = regexp.MustCompile("^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9])$")

Functions

func EditWizard

func EditWizard(config Config) (ingress.Ingress, error)

func ValidateIngress

func ValidateIngress(ingr ingress.Ingress) error

func ValidatePath

func ValidatePath(path ingress.Path) error

func ValidateRule

func ValidateRule(rule ingress.Rule) error

func Wizard

func Wizard(config Config) (ingress.Ingress, error)

Types

type Config

type Config struct {
	Services service.ServiceList
	Ingress  *ingress.Ingress
}

Jump to

Keyboard shortcuts

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