ingress

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler() capsulewebhook.Handler

func NewIngressClassForbidden

func NewIngressClassForbidden(ingressClass string) error

func NewIngressClassNotValid

func NewIngressClassNotValid() error

func Webhook

Types

type Extension

type Extension struct {
	*extensionsv1beta1.Ingress
}

func (Extension) IngressClass

func (e Extension) IngressClass() (res *string)

func (Extension) Namespace

func (e Extension) Namespace() string

type Ingress

type Ingress interface {
	IngressClass() *string
	Namespace() string
}

type Networking

type Networking struct {
	*networkingv1beta1.Ingress
}

func (Networking) IngressClass

func (n Networking) IngressClass() (res *string)

func (Networking) Namespace

func (n Networking) Namespace() string

Jump to

Keyboard shortcuts

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