Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
// Fetch gets routing rules from cluster
Fetch(ctx context.Context, instance *iter8v1alpha2.Experiment) error
// UpdateRouteWithBaseline updates routing rules with runtime object of baseline
UpdateRouteWithBaseline(ctx context.Context, instance *iter8v1alpha2.Experiment, baseline runtime.Object) error
// UpdateRouteWithCandidates updates routing rules with runtime objects of candidates
UpdateRouteWithCandidates(ctx context.Context, instance *iter8v1alpha2.Experiment, candidates []runtime.Object) error
// UpdateRouteWithTrafficUpdate updates routing rules with new traffic state from assessment
UpdateRouteWithTrafficUpdate(ctx context.Context, instance *iter8v1alpha2.Experiment) error
// UpdateRouteToStable updates routing rules to desired stable state
UpdateRouteToStable(ctx context.Context, instance *iter8v1alpha2.Experiment) error
// Print prints detailed information about the router
Print() string
}
Interface declares functions to be implemented so as to be used by iter8 router
Click to show internal directories.
Click to hide internal directories.