config

package
v0.0.3-rc5 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoConfigAndTemplate

func DoConfigAndTemplate(config string) (*v1alpha1.MeshConfig, string, error)

func Inject

func Inject(input []byte, template string, meshConfig *v1alpha1.MeshConfig) ([]byte, error)

func InjectParams

func InjectParams(meshConfig *v1alpha1.MeshConfig) *inject.Params

Types

type Factory

type Factory struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewConfigFactory

func NewConfigFactory(configMap v1.ConfigMapInterface, configMapNamespace, configMapName, configMapKey string) *Factory

func (*Factory) TemplateAndConfig

func (c *Factory) TemplateAndConfig() (*v1alpha1.MeshConfig, string)

type IstioInjector

type IstioInjector struct {
	// contains filtered or unexported fields
}

func NewIstioInjector

func NewIstioInjector(cf *Factory) *IstioInjector

func (*IstioInjector) Inject

func (i *IstioInjector) Inject(content []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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