visibility

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: Apache-2.0 Imports: 13 Imported by: 1

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