Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppMeshRouter ¶
type AppMeshRouter struct {
// contains filtered or unexported fields
}
AppMeshRouter is managing AppMesh virtual services
func (*AppMeshRouter) GetRoutes ¶
func (ar *AppMeshRouter) GetRoutes(canary *flaggerv1.Canary) ( primaryWeight int, canaryWeight int, err error, )
GetRoutes returns the destinations weight for primary and canary
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func NewFactory ¶
func NewFactory(kubeConfig *restclient.Config, kubeClient kubernetes.Interface, flaggerClient clientset.Interface, logger *zap.SugaredLogger, meshClient clientset.Interface) *Factory
func (*Factory) KubernetesRouter ¶
func (factory *Factory) KubernetesRouter(label string, ports *map[string]int32) *KubernetesRouter
KubernetesRouter returns a ClusterIP service router
func (*Factory) MeshRouter ¶
MeshRouter returns a service mesh router
type GlooRouter ¶
type GlooRouter struct {
// contains filtered or unexported fields
}
GlooRouter is managing Istio virtual services
func NewGlooRouter ¶
func NewGlooRouterWithClient ¶
func NewGlooRouterWithClient(ctx context.Context, routingRuleClient gloov1.UpstreamGroupClient, upstreamDiscoveryNs string, logger *zap.SugaredLogger) *GlooRouter
func (*GlooRouter) GetRoutes ¶
func (gr *GlooRouter) GetRoutes(canary *flaggerv1.Canary) ( primaryWeight int, canaryWeight int, err error, )
GetRoutes returns the destinations weight for primary and canary
type IngressRouter ¶
type IngressRouter struct {
// contains filtered or unexported fields
}
type IstioRouter ¶
type IstioRouter struct {
// contains filtered or unexported fields
}
IstioRouter is managing Istio virtual services
func (*IstioRouter) GetRoutes ¶
func (ir *IstioRouter) GetRoutes(canary *flaggerv1.Canary) ( primaryWeight int, canaryWeight int, err error, )
GetRoutes returns the destinations weight for primary and canary
type KubernetesRouter ¶
type KubernetesRouter struct {
// contains filtered or unexported fields
}
KubernetesRouter is managing ClusterIP services
type NopRouter ¶
type NopRouter struct { }
NopRouter no-operation router
type SmiRouter ¶
type SmiRouter struct {
// contains filtered or unexported fields
}
func (*SmiRouter) GetRoutes ¶
func (sr *SmiRouter) GetRoutes(canary *flaggerv1.Canary) ( primaryWeight int, canaryWeight int, err error, )
GetRoutes returns the destinations weight for primary and canary
type SuperglooRouter ¶
type SuperglooRouter struct {
// contains filtered or unexported fields
}
SuperglooRouter is managing Istio virtual services
func NewSuperglooRouter ¶
func NewSuperglooRouterWithClient ¶
func NewSuperglooRouterWithClient(ctx context.Context, routingRuleClient supergloov1.RoutingRuleClient, targetMesh solokitcore.ResourceRef, logger *zap.SugaredLogger) *SuperglooRouter
func (*SuperglooRouter) GetRoutes ¶
func (sr *SuperglooRouter) GetRoutes(canary *flaggerv1.Canary) ( primaryWeight int, canaryWeight int, err error, )
GetRoutes returns the destinations weight for primary and canary