Documentation
¶
Index ¶
- func MakeDestinationRuleSubsetsForDestination(destination *discoveryv1.Destination, ...) []*networkingv1alpha3spec.Subset
- func MakeDestinationRuleSubsetsForVirtualDestination(virtualDestination *v1beta1.VirtualDestination, ...) []*networkingv1alpha3spec.Subset
- func NewTrafficShiftDecorator(clusterDomains hostutils.ClusterDomainRegistry, ...) *trafficShiftDecorator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeDestinationRuleSubsetsForDestination ¶ added in v1.0.0
func MakeDestinationRuleSubsetsForDestination( destination *discoveryv1.Destination, allDestinations discoveryv1sets.DestinationSet, ) []*networkingv1alpha3spec.Subset
make all the necessary subsets for the destination rule for the given destination. traverses all the applied traffic policies to find subsets matching this destination
func MakeDestinationRuleSubsetsForVirtualDestination ¶ added in v1.0.0
func MakeDestinationRuleSubsetsForVirtualDestination( virtualDestination *v1beta1.VirtualDestination, allTrafficTargets discoveryv1sets.DestinationSet, ) []*networkingv1alpha3spec.Subset
make all the necessary subsets for the destination rule for the given VirtualDestination. traverses all the applied traffic policies to find subsets matching this VirtualDestination
func NewTrafficShiftDecorator ¶
func NewTrafficShiftDecorator( clusterDomains hostutils.ClusterDomainRegistry, destinations discoveryv1sets.DestinationSet, virtualDestinations v1beta1sets.VirtualDestinationSet, ) *trafficShiftDecorator
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.