Documentation ¶
Index ¶
- Variables
- func AssertSleepPodRequestFailure(t test.TestHelper, sleepNamespace string, url string, opts ...CurlOpts)
- func AssertSleepPodRequestForbidden(t test.TestHelper, sleepNamespace string, url string, opts ...CurlOpts)
- func AssertSleepPodRequestSuccess(t test.TestHelper, sleepNamespace string, url string, opts ...CurlOpts)
- func AssertSleepPodRequestUnauthorized(t test.TestHelper, sleepNamespace string, url string, opts ...CurlOpts)
- func AssertSleepPodZeroesPlaceholder(t test.TestHelper, sleepNamespace string, url string, opts ...CurlOpts)
- func BookinfoLogin(t test.TestHelper, meshNamespace string) *cookiejar.Jar
- func BookinfoProductPageURL(t test.TestHelper, meshNamespace string) string
- func ExecInSleepPod(t test.TestHelper, ns string, command string, checks ...common.CheckFunc)
- func FindBookinfoProductPageResponseFile(body []byte) string
- func Install(t test.TestHelper, apps ...App)
- func InstallAndWaitReady(t test.TestHelper, apps ...App)
- func Uninstall(t test.TestHelper, apps ...App)
- func WaitReady(t test.TestHelper, apps ...App)
- type App
- func Bookinfo(ns string) App
- func BookinfoWithMTLS(ns string) App
- func Echo(ns string) App
- func EchoV1(ns string) App
- func EchoV2(ns string) App
- func Fortio(ns string) App
- func Httpbin(ns string) App
- func HttpbinNoSidecar(ns string) App
- func HttpbinV1(ns string) App
- func HttpbinV2(ns string) App
- func Nginx(ns string) App
- func NginxExternalMTLS(ns string) App
- func NginxExternalTLS(ns string) App
- func Redis(ns string) App
- func Sleep(ns string) App
- func SleepNoSidecar(ns string) App
- type CurlOpts
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //go:embed "yaml/bookinfo.yaml" BookinfoTemplate string //go:embed "yaml/bookinfo-db.yaml" BookinfoDBTemplate string //go:embed "yaml/bookinfo-ratings-v2.yaml" BookinfoRatingsV2Template string //go:embed "yaml/virtual-service-reviews-v2.yaml" BookinfoVirtualServiceReviewsV2 string //go:embed "yaml/virtual-service-reviews-v3.yaml" BookinfoVirtualServiceReviewsV3 string //go:embed "yaml/bookinfo-gateway.yaml" BookinfoGateway string //go:embed "yaml/destination-rule-all.yaml" BookinfoRuleAll string //go:embed "yaml/destination-rule-all-mtls.yaml" BookinfoRuleAllMTLS string //go:embed "yaml/virtual-service-all-v1.yaml" BookinfoVirtualServicesAllV1 string )
View Source
var ProductPageResponseFiles = []string{
"productpage-normal-user-mongo.html",
"productpage-normal-user-rating-one-star.html",
"productpage-normal-user-rating-unavailable.html",
"productpage-normal-user-v1.html",
"productpage-normal-user-v2.html",
"productpage-normal-user-v3.html",
"productpage-quota-exhausted.html",
"productpage-rbac-details-reviews-error.html",
"productpage-rbac-rating-error.html",
"productpage-review-timeout.html",
"productpage-test-user-v1.html",
"productpage-test-user-v2.html",
"productpage-test-user-v2-rating-unavailable.html",
"productpage-test-user-v2-review-timeout.html",
}
Functions ¶
func AssertSleepPodRequestFailure ¶
func AssertSleepPodRequestFailure(t test.TestHelper, sleepNamespace string, url string, opts ...CurlOpts)
func AssertSleepPodRequestForbidden ¶
func AssertSleepPodRequestForbidden(t test.TestHelper, sleepNamespace string, url string, opts ...CurlOpts)
func AssertSleepPodRequestSuccess ¶
func AssertSleepPodRequestSuccess(t test.TestHelper, sleepNamespace string, url string, opts ...CurlOpts)
func AssertSleepPodRequestUnauthorized ¶
func AssertSleepPodRequestUnauthorized(t test.TestHelper, sleepNamespace string, url string, opts ...CurlOpts)
func AssertSleepPodZeroesPlaceholder ¶
func AssertSleepPodZeroesPlaceholder(t test.TestHelper, sleepNamespace string, url string, opts ...CurlOpts)
func BookinfoLogin ¶
func BookinfoLogin(t test.TestHelper, meshNamespace string) *cookiejar.Jar
func BookinfoProductPageURL ¶
func BookinfoProductPageURL(t test.TestHelper, meshNamespace string) string
func ExecInSleepPod ¶
func Install ¶
func Install(t test.TestHelper, apps ...App)
func InstallAndWaitReady ¶
func InstallAndWaitReady(t test.TestHelper, apps ...App)
func Uninstall ¶
func Uninstall(t test.TestHelper, apps ...App)
func WaitReady ¶
func WaitReady(t test.TestHelper, apps ...App)
Types ¶
type App ¶
type App interface { Name() string Namespace() string Install(t test.TestHelper) Uninstall(t test.TestHelper) WaitReady(t test.TestHelper) }
func BookinfoWithMTLS ¶
func HttpbinNoSidecar ¶
func NginxExternalMTLS ¶
func NginxExternalTLS ¶
func SleepNoSidecar ¶
Click to show internal directories.
Click to hide internal directories.