bookinfo

package
v0.0.0-...-48a44ca Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// BookInfoConfig uses "bookinfo.yaml"
	BookInfoConfig bookInfoConfig = "bookinfo.yaml"
)

Variables

This section is empty.

Functions

func NewKubeComponent

func NewKubeComponent() (api.Component, error)

NewKubeComponent factory function for the component

Types

type ConfigFile

type ConfigFile string

ConfigFile represents config yaml files for different bookinfo scenarios.

const (
	// NetworkingBookinfoGateway uses "networking/bookinfo-gateway.yaml"
	NetworkingBookinfoGateway ConfigFile = "networking/bookinfo-gateway.yaml"

	// NetworkingDestinationRuleAll uses "networking/destination-rule-all.yaml"
	NetworkingDestinationRuleAll ConfigFile = "networking/destination-rule-all.yaml"

	// NetworkingVirtualServiceAllV1 uses "networking/virtual-service-all-v1.yaml"
	NetworkingVirtualServiceAllV1 ConfigFile = "networking/virtual-service-all-v1.yaml"

	// MixerRuleRatingsRatelimit uses "policy/mixer-rule-ratings-ratelimit.yaml"
	MixerRuleRatingsRatelimit ConfigFile = "policy/mixer-rule-ratings-ratelimit.yaml"

	// MixerRuleRatingsDenial uses "policy/mixer-rule-ratings-denial.yaml"
	MixerRuleRatingsDenial ConfigFile = "policy/mixer-rule-ratings-denial.yaml"

	// MixerRuleIngressDenial uses "policy/mixer-rule-ingress-denial.yaml"
	MixerRuleIngressDenial ConfigFile = "policy/mixer-rule-ingress-denial.yaml"
)

func (ConfigFile) LoadOrFail

func (l ConfigFile) LoadOrFail(t testing.TB) string

LoadOrFail loads a Book Info configuration file from the system and returns its contents.

Jump to

Keyboard shortcuts

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