ingress

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnnoCanary            = "nginx.ingress.kubernetes.io/canary"
	AnnoCanaryWeight      = "nginx.ingress.kubernetes.io/canary-weight"
	AnnoCanaryHeader      = "nginx.ingress.kubernetes.io/canary-by-header"
	AnnoCanaryHeaderValue = "nginx.ingress.kubernetes.io/canary-by-header-value"

	AnnoMseCanaryQuery      = "mse.ingress.kubernetes.io/canary-by-query"
	AnnoMseCanaryQueryValue = "mse.ingress.kubernetes.io/canary-by-query-value"

	AnnoMseReqHeaderCtrlUpdate = "mse.ingress.kubernetes.io/request-header-control-update"
	AnnoMseReqHeaderCtrlAdd    = "mse.ingress.kubernetes.io/request-header-control-add"
	AnnoMseReqHeaderCtrlRemove = "mse.ingress.kubernetes.io/request-header-control-remove"

	MseIngressClass = "mse"
)

Variables

View Source
var GVK = networkingv1.SchemeGroupVersion.WithKind("Ingress")

Functions

func NewStorage

func NewStorage(mgr manager.Manager) route.Store

Types

type IgsStore

type IgsStore struct {
	// contains filtered or unexported fields
}

func (*IgsStore) Get

func (i *IgsStore) Get(ctx context.Context, cluster, namespace, name string) (route.IRoute, error)

func (*IgsStore) GroupVersionKind

func (i *IgsStore) GroupVersionKind() schema.GroupVersionKind

func (*IgsStore) NewObject

func (i *IgsStore) NewObject() client.Object

func (*IgsStore) Wrap

func (i *IgsStore) Wrap(cluster string, obj client.Object) (route.IRoute, error)

Jump to

Keyboard shortcuts

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