visibility

package
v0.14.3 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

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

Resolver resolves the visibility of traffic targets, based on both the Route and placeholder Services labels.

func NewResolver

func NewResolver(l listers.ServiceLister) *Resolver

NewResolver returns a new Resolver.

func (*Resolver) GetVisibility

func (b *Resolver) GetVisibility(ctx context.Context, route *v1.Route) (map[string]netv1alpha1.IngressVisibility, error)

GetVisibility returns a map from traffic target name to their corresponding netv1alpha1.IngressVisibility.

Jump to

Keyboard shortcuts

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