Documentation ¶
Index ¶
Constants ¶
View Source
const (
// BookInfoConfig uses "bookinfo.yaml"
BookInfoConfig bookInfoConfig = "bookinfo.yaml"
)
Variables ¶
This section is empty.
Functions ¶
func NewKubeComponent ¶
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.
Click to show internal directories.
Click to hide internal directories.