config

package
v0.0.4-rc5 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2019 License: Apache-2.0 Imports: 13 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(ctx context.Context, 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(objs []runtime.Object) ([]runtime.Object, error)

Source Files

  • config.go
  • factory.go
  • injector.go

Jump to

Keyboard shortcuts

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