Documentation ¶
Index ¶
- Constants
- func DestinationRuleLocator(ctx model.SessionContext, ref model.Ref, store model.LocatorStatusStore, ...) error
- func DestinationRuleModificator(ctx model.SessionContext, ref model.Ref, store model.LocatorStatusStore, ...)
- func DestinationRuleRegistrar() (client.Object, model.Modificator)
- func GatewayModificator(ctx model.SessionContext, ref model.Ref, store model.LocatorStatusStore, ...)
- func GatewayRegistrar() (client.Object, model.Modificator)
- func GetDestinationRules(ctx model.SessionContext, namespace string, opts ...client.ListOption) (*istionetwork.DestinationRuleList, error)
- func VirtualServiceGatewayLocator(ctx model.SessionContext, ref model.Ref, store model.LocatorStatusStore, ...) error
- func VirtualServiceLocator(ctx model.SessionContext, ref model.Ref, store model.LocatorStatusStore, ...) error
- func VirtualServiceModificator(ctx model.SessionContext, ref model.Ref, store model.LocatorStatusStore, ...)
- func VirtualServiceRegistrar() (client.Object, model.Modificator)
Constants ¶
View Source
const ( // VirtualServiceKind is the k8s Kind for a istio VirtualService. VirtualServiceKind = "VirtualService" // LabelIkeMutated is a bool label to indicated we own the resource. LabelIkeMutated = "ike.mutated" // LabelIkeMutatedValue is the bool value of the LabelIkeMutated label. LabelIkeMutatedValue = "true" )
View Source
const (
// DestinationRuleKind is the k8s Kind for a istio DestinationRule.
DestinationRuleKind = "DestinationRule"
)
View Source
const (
// GatewayKind is the k8s Kind for a istio Gateway.
GatewayKind = "Gateway"
)
View Source
const (
// LabelIkeHosts describes the labels key used on the Gateway LocatedResource of Hosts bound to this Gateway.
LabelIkeHosts = "ike.hosts"
)
Variables ¶
This section is empty.
Functions ¶
func DestinationRuleLocator ¶ added in v0.4.0
func DestinationRuleLocator(ctx model.SessionContext, ref model.Ref, store model.LocatorStatusStore, report model.LocatorStatusReporter) error
func DestinationRuleModificator ¶ added in v0.4.0
func DestinationRuleModificator(ctx model.SessionContext, ref model.Ref, store model.LocatorStatusStore, report model.ModificatorStatusReporter)
DestinationRuleModificator creates destination rule mutator which is responsible for alternating the traffic for development of the forked service.
func DestinationRuleRegistrar ¶ added in v0.4.0
func DestinationRuleRegistrar() (client.Object, model.Modificator)
func GatewayModificator ¶ added in v0.4.0
func GatewayModificator(ctx model.SessionContext, ref model.Ref, store model.LocatorStatusStore, report model.ModificatorStatusReporter)
GatewayModificator attempts to expose a external host on the gateway.
func GatewayRegistrar ¶ added in v0.4.0
func GatewayRegistrar() (client.Object, model.Modificator)
func GetDestinationRules ¶ added in v0.4.0
func GetDestinationRules(ctx model.SessionContext, namespace string, opts ...client.ListOption) (*istionetwork.DestinationRuleList, error)
func VirtualServiceGatewayLocator ¶ added in v0.0.4
func VirtualServiceGatewayLocator(ctx model.SessionContext, ref model.Ref, store model.LocatorStatusStore, report model.LocatorStatusReporter) error
VirtualServiceGatewayLocator locates the Gateways that are connected to VirtualServices.
func VirtualServiceLocator ¶ added in v0.4.0
func VirtualServiceLocator(ctx model.SessionContext, ref model.Ref, store model.LocatorStatusStore, report model.LocatorStatusReporter) error
func VirtualServiceModificator ¶ added in v0.4.0
func VirtualServiceModificator(ctx model.SessionContext, ref model.Ref, store model.LocatorStatusStore, report model.ModificatorStatusReporter)
VirtualServiceModificator attempts to create a virtual service for forked service.
func VirtualServiceRegistrar ¶ added in v0.4.0
func VirtualServiceRegistrar() (client.Object, model.Modificator)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.