smi

package
v0.3.25 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MeshConfig

type MeshConfig struct {
	RoutingConfig  RoutingConfig
	SecurityConfig SecurityConfig
}

A container for the entire set of config for a single istio mesh

func (*MeshConfig) Sort

func (c *MeshConfig) Sort()

type RoutingConfig

type RoutingConfig struct {
	TrafficSplits v1alpha1.TrafficSplitList
}

func (*RoutingConfig) Sort

func (c *RoutingConfig) Sort()

type SecurityConfig

type SecurityConfig struct {
	TrafficTargets  sgaccess.TrafficTargetList
	HTTPRouteGroups sgspec.HTTPRouteGroupList
}

func (*SecurityConfig) Sort

func (c *SecurityConfig) Sort()

type Translator

type Translator interface {
	// translates a snapshot into a set of istio configs for each mesh
	Translate(ctx context.Context, snapshot *v1.ConfigSnapshot) (map[*v1.Mesh]*MeshConfig, reporter.ResourceErrors, error)
}

func NewTranslator

func NewTranslator() Translator

Jump to

Keyboard shortcuts

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