k8s

package
v0.0.0-...-a8bb040 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateK8sMapping

func CreateK8sMapping(listen string) error

CreateK8sMapping opens a new port at the ToxiProxy k8s service level

Types

type ConfigToxiProxy

type ConfigToxiProxy struct {
	Name      string `required:"true"`
	Port      int    `required:"true"`
	Namespace string `required:"true"`
	Scheme    string `required:"true"`
}

ConfigToxiProxy defines the env variables passed by the configmap to access the ToxiProxy service

var Config ConfigToxiProxy

Config contains the info to access the ToxiProxy service

Jump to

Keyboard shortcuts

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