routing

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractDependencies added in v0.4.0

func ExtractDependencies(depJson string) ([]map[string]string, error)

Types

type CellToCellRoute added in v0.4.0

type CellToCellRoute struct {
	Src           kubernetes.Cell
	CurrentTarget kubernetes.Cell
	NewTarget     kubernetes.Cell
}

func (*CellToCellRoute) Build added in v0.4.0

func (router *CellToCellRoute) Build(cli cli.Cli, percentage int, isSessionAware bool, routesFile string) error

func (*CellToCellRoute) Check added in v0.4.0

func (router *CellToCellRoute) Check() error

type CellToCompositeRoute added in v0.4.0

type CellToCompositeRoute struct {
	Src           kubernetes.Cell
	CurrentTarget kubernetes.Composite
	NewTarget     kubernetes.Composite
}

func (*CellToCompositeRoute) Build added in v0.4.0

func (router *CellToCompositeRoute) Build(cli cli.Cli, percentage int, isSessionAware bool, routesFile string) error

func (*CellToCompositeRoute) Check added in v0.4.0

func (router *CellToCompositeRoute) Check() error

type CompositeToCellRoute added in v0.4.0

type CompositeToCellRoute struct {
	Src           kubernetes.Composite
	CurrentTarget kubernetes.Cell
	NewTarget     kubernetes.Cell
}

func (*CompositeToCellRoute) Build added in v0.4.0

func (router *CompositeToCellRoute) Build(cli cli.Cli, percentage int, isSessionAware bool, routesFile string) error

func (*CompositeToCellRoute) Check added in v0.4.0

func (router *CompositeToCellRoute) Check() error

type CompositeToCompositeRoute added in v0.4.0

type CompositeToCompositeRoute struct {
	Src           kubernetes.Composite
	CurrentTarget kubernetes.Composite
	NewTarget     kubernetes.Composite
}

func (*CompositeToCompositeRoute) Build added in v0.4.0

func (router *CompositeToCompositeRoute) Build(cli cli.Cli, percentage int, isSessionAware bool, routesFile string) error

func (*CompositeToCompositeRoute) Check added in v0.4.0

func (router *CompositeToCompositeRoute) Check() error

type Route added in v0.4.0

type Route interface {
	Check() error
	Build(cli cli.Cli, percentage int, isSessionAware bool, routesFile string) error
}

func GetRoutes added in v0.4.0

func GetRoutes(cli cli.Cli, sourceInstances []string, currentTarget string, newTarget string) ([]Route, error)

Jump to

Keyboard shortcuts

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