ingress2httpproxy

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mutator

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

Mutator contains common atttributes and the mutation input source structure

func NewMutator

func NewMutator(name string, log logrus.FieldLogger, ingress networking.Ingress, domain string) Mutator

NewMutator creates a new Mutator. Clients of this API should set a meaningful name that can be used to easily identify the calling client.

func (*Mutator) Mutate

func (m *Mutator) Mutate() *MutatorOutput

Mutate converts a Ingress into HTTPProxy

type MutatorOutput

type MutatorOutput struct {
	HTTPProxy contour.HTTPProxy
}

MutatorOutput contains the mutated output structures

Jump to

Keyboard shortcuts

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