router

package
v1.0.0-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

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(instance *iter8v1alpha2.Experiment) error
	// UpdateRouteWithBaseline updates routing rules with runtime object of baseline
	UpdateRouteWithBaseline(instance *iter8v1alpha2.Experiment, baseline runtime.Object) error
	// UpdateRouteWithCandidates updates routing rules with runtime objects of candidates
	UpdateRouteWithCandidates(instance *iter8v1alpha2.Experiment, candidates []runtime.Object) error
	// UpdateRouteWithTrafficUpdate updates routing rules with new traffic state from assessment
	UpdateRouteWithTrafficUpdate(instance *iter8v1alpha2.Experiment) error
	// UpdateRouteToStable updates routing rules to desired stable state
	UpdateRouteToStable(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

Directories

Path Synopsis
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL