Documentation ¶
Index ¶
- Constants
- func Certificate() string
- func EventuallyObjectDeleted(getter ObjectGetter, intervals ...interface{})
- func EventuallyObjectDeletedWithOffset(offset int, getter ObjectGetter, intervals ...interface{})
- func EventuallyResourceAccepted(getter InputResourceGetter, intervals ...interface{})
- func EventuallyResourceDeleted(getter InputResourceGetter, intervals ...interface{})
- func EventuallyResourceDeletedWithOffset(offset int, getter InputResourceGetter, intervals ...interface{})
- func EventuallyResourceRejected(getter InputResourceGetter, intervals ...interface{})
- func EventuallyResourceStatusMatchesState(offset int, getter InputResourceGetter, desiredStatusState core.Status_State, ...)
- func EventuallyResourceWarning(getter InputResourceGetter, intervals ...interface{})
- func GetCallerDirectory(skip ...int) (string, error)
- func GetCerts(params Params) (string, string)
- func GetKubeSecret(name, namespace string) *kubev1.Secret
- func GlooDir() string
- func GlooHelmChartDir() string
- func GlooInstallDir() string
- func GlooTestContainersDir() string
- func KubeDump(namespaces ...string) (string, error)
- func KubeDumpOnFail(out io.Writer, namespaces ...string) func()
- func MakeGatewayRoute(pathType, length int) *gatwayv1.Route
- func MakeMatcher(pathType, length int) *matchers.Matcher
- func MakeMultiMatcherRoute(pathType1, length1, pathType2, length2 int) *v1.Route
- func MakeRoute(pathType, length int) *v1.Route
- func Must(err error)
- func MustReadFile(name string) []byte
- func PrintDockerState()
- func PrintGlooDebugLogs()
- func PrintKubeState()
- func PrintProcessState()
- func PrivateKey() string
- func ReadMetricByLabel(metricName string, labelKey string, labelValue string) (int, error)
- func RegisterGlooDebugLogPrintHandler()
- func RegisterGlooDebugLogPrintHandlerAndClearLogs()
- func WriteDefaultGateways(writeNamespace string, gatewayClient v1.GatewayClient) error
- func WriteDefaultHybridGateway(writeNamespace string, gatewayClient v1.GatewayClient) error
- type InputResourceGetter
- type InputResourceListGetter
- type ObjectGetter
- type Params
Constants ¶
View Source
const ( ExactPath = iota PrefixPath RegexPath )
Variables ¶
This section is empty.
Functions ¶
func Certificate ¶ added in v0.10.1
func Certificate() string
func EventuallyObjectDeleted ¶ added in v1.8.3
func EventuallyObjectDeleted(getter ObjectGetter, intervals ...interface{})
func EventuallyObjectDeletedWithOffset ¶ added in v1.8.3
func EventuallyObjectDeletedWithOffset(offset int, getter ObjectGetter, intervals ...interface{})
func EventuallyResourceAccepted ¶ added in v1.8.3
func EventuallyResourceAccepted(getter InputResourceGetter, intervals ...interface{})
func EventuallyResourceDeleted ¶ added in v1.8.3
func EventuallyResourceDeleted(getter InputResourceGetter, intervals ...interface{})
func EventuallyResourceDeletedWithOffset ¶ added in v1.8.3
func EventuallyResourceDeletedWithOffset(offset int, getter InputResourceGetter, intervals ...interface{})
func EventuallyResourceRejected ¶ added in v1.9.0
func EventuallyResourceRejected(getter InputResourceGetter, intervals ...interface{})
func EventuallyResourceStatusMatchesState ¶ added in v1.8.3
func EventuallyResourceStatusMatchesState(offset int, getter InputResourceGetter, desiredStatusState core.Status_State, intervals ...interface{})
func EventuallyResourceWarning ¶ added in v1.8.3
func EventuallyResourceWarning(getter InputResourceGetter, intervals ...interface{})
func GetCallerDirectory ¶ added in v0.18.17
returns absolute path to the currently executing directory
func GetKubeSecret ¶ added in v0.10.1
func GlooHelmChartDir ¶ added in v0.10.1
func GlooHelmChartDir() string
func GlooInstallDir ¶ added in v0.10.1
func GlooInstallDir() string
func GlooTestContainersDir ¶ added in v0.10.1
func GlooTestContainersDir() string
func KubeDumpOnFail ¶ added in v0.18.9
func MakeGatewayRoute ¶ added in v0.18.32
func MakeMatcher ¶ added in v1.0.0
func MakeMultiMatcherRoute ¶ added in v1.0.0
func MustReadFile ¶ added in v0.18.17
returns absolute path to the currently executing directory
func PrintDockerState ¶ added in v1.4.0
func PrintDockerState()
func PrintGlooDebugLogs ¶ added in v1.0.0
func PrintGlooDebugLogs()
func PrintKubeState ¶ added in v1.4.0
func PrintKubeState()
func PrintProcessState ¶ added in v1.4.0
func PrintProcessState()
func PrivateKey ¶ added in v0.10.1
func PrivateKey() string
func ReadMetricByLabel ¶ added in v1.9.25
ReadMetricByLabel looks up the specified metricName and returns the latest data recorded for the time series with the specified label key/value pair.
If the metric has not yet been registered, this function will fail. If the metric has been registered, but there is not yet any time series data recorded with the label key/value provided, then an error is returned. The error response allows tests to distinguish "the metric was never recorded" from "a value of 0 was recorded"
func RegisterGlooDebugLogPrintHandler ¶ added in v0.18.12
func RegisterGlooDebugLogPrintHandler()
func RegisterGlooDebugLogPrintHandlerAndClearLogs ¶ added in v0.18.12
func RegisterGlooDebugLogPrintHandlerAndClearLogs()
func WriteDefaultGateways ¶ added in v1.2.13
func WriteDefaultGateways(writeNamespace string, gatewayClient v1.GatewayClient) error
func WriteDefaultHybridGateway ¶ added in v1.10.0
func WriteDefaultHybridGateway(writeNamespace string, gatewayClient v1.GatewayClient) error
Types ¶
type InputResourceGetter ¶ added in v1.8.3
type InputResourceGetter func() (resources.InputResource, error)
type InputResourceListGetter ¶ added in v1.8.3
type InputResourceListGetter func() (resources.InputResourceList, error)
type ObjectGetter ¶ added in v1.8.3
type Params ¶ added in v0.10.1
type Params struct { Hosts string // Comma-separated hostnames and IPs to generate a certificate for ValidFrom *time.Time // Creation date ValidFor *time.Duration // Duration that certificate is valid for IsCA bool // whether this cert should be its own Certificate Authority RsaBits int // Size of RSA key to generate. Ignored if EcdsaCurve is set EcdsaCurve string // ECDSA curve to use to generate a key. Valid values are P224, P256 (recommended), P384, P521 }
Click to show internal directories.
Click to hide internal directories.