ingresses

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilterFunc added in v1.0.22

type FilterFunc func(v1beta1.Ingress, config.Config) bool

FilterFunc defined for creating functions that comply with the filtering ingresses

type List

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

List struct is used to list ingresses

func NewList

func NewList(kubeClient kubernetes.Interface, appConfig config.Config, items ...v1beta1.Ingress) *List

NewList creates an List object that you can use to query ingresses

func (*List) Filter

func (il *List) Filter(filterFunc FilterFunc) *List

Filter function applies a filter func that is passed as a parameter to the list of ingresses

func (*List) Get

func (il *List) Get() ([]v1beta1.Ingress, error)

Get function returns the ingresses currently present in List

func (*List) Populate

func (il *List) Populate(namespaces ...string) *List

Populate function returns a list of ingresses

Jump to

Keyboard shortcuts

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