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(kubeClient kubernetes.Interface, flaggerClient clientset.Interface, logger *zap.SugaredLogger, meshClient clientset.Interface) *Factory
func (*Factory) KubernetesRouter ¶
func (factory *Factory) KubernetesRouter() *KubernetesRouter
KubernetesRouter returns a ClusterIP service router
func (*Factory) MeshRouter ¶
MeshRouter returns a service mesh router (Istio or AppMesh)
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
Click to show internal directories.
Click to hide internal directories.