istio

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: 20 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 {
	// mtls
	MeshPolicy *v1alpha1.MeshPolicy // meshpolicy is a singleton

	// root cert
	RootCert *v1.TlsSecret // singleton

	// routing
	DestinationRules v1alpha3.DestinationRuleList
	VirtualServices  v1alpha3.VirtualServiceList

	// rbac
	SecurityConfig
}

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

func (*MeshConfig) Sort

func (c *MeshConfig) Sort()

type SecurityConfig

type SecurityConfig struct {
	RbacConfig          *v1alpha1.RbacConfig // singleton
	ServiceRoles        v1alpha1.ServiceRoleList
	ServiceRoleBindings v1alpha1.ServiceRoleBindingList
}

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(plugins []plugins.Plugin) Translator

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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