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.
Click to show internal directories.
Click to hide internal directories.