package
2.0.0-beta1+incompatible
Repository: https://github.com/solo-io/gloo.git
Documentation: pkg.go.dev

# Functions

BuilderFromRoute creates a new RouteBuilder from an existing Route.
BuilderFromRouteTable creates a new RouteTableBuilder from an existing RouteTable.
BuilderFromVirtualService creates a new VirtualServiceBuilder from an existing VirtualService.
Certificate returns the CA certificate for the proxy.
DeferredGoroutineLeakDetector returns a function that can be used in tests to identify goroutine leaks Example usage: leakDetector := DeferredGoroutineLeakDetector(t) defer leakDetector() ..
Endpoint returns a generic endpoint included in snapshots generated from ScaledSnapshot The integer argument is used to create a uniquely-named resource which references a corresponding Upstream.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
returns absolute path to the currently executing directory.
GetCertificateFromString returns an x509 certificate from the certificate's string representation.
GetCerts generates a signed key and certificate for the given parameters.
No description provided by the author
GetPrivateKeyRSAFromString returns an RSA private key from the key's string representation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HttpListener returns a generic Listener with HttpListener ListenerType and the specified number of routes.
KubeDumpOnFail creates a small dump of the kubernetes state when a test fails.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Measure wraps benchmarking.Measure 1:1 It is redefined here so that we can build with a darwin-compatible version depending on the machine being used.
MeasureIgnore0ns wraps benchmarking.Measure, checking error values for the 0ns error and returning true as the middle argument if that is the error The 0ns error occurs when measuring very short durations (~100µs) when measurements may round down to 0ns This function should be used in circumstances where we want to ignore that particular error but not others.
MtlsCertificate returns an mTLS CA certificate for the proxy.
MtlsPrivateKey returns an mTLS CA private key for the proxy.
No description provided by the author
returns absolute path to the currently executing directory.
No description provided by the author
NewFakeOcspResponder creates a new fake OCSP responder from the given root CA.
NewInjectedSnapshotBuilder takes a snapshot object to be returned directly by Build() All other settings on a builder with an InjectedSnapshot will be ignored.
NewRouteBuilder creates an empty RouteBuilder.
NewRouteTableBuilder creates an empty RouteTableBuilder.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewVirtualServiceBuilder creates an empty VirtualServiceBuilder.
PatchResource mutates an existing persisted resource, retrying if a resourceVersionError is encountered The mutator method must return the full object that will be persisted, any side effects from the mutator will be ignored.
PatchResourceWithOffset mutates an existing persisted resource, retrying if a resourceVersionError is encountered The mutator method must return the full object that will be persisted, any side effects from the mutator will be ignored.
PercentileIndex returns the index of percentile pct for a slice of length len The Nearest Rank Method is used to determine percentiles (https://en.wikipedia.org/wiki/Percentile#The_nearest-rank_method) Valid inputs for pct are 0 < n <= 100, any other input will cause panic.
No description provided by the author
PrivateKey returns the CA private key for the proxy.
Proxy returns a generic proxy that can be used for translation benchmarking Proxy invokes functions that contain assertions and therefore can only be invoked from within a test block.
ReadMetricByLabel looks up the specified metricName and returns the latest data recorded for the time series with the specified label key/value pair.
No description provided by the author
No description provided by the author
No description provided by the author
Upstream returns a generic upstream included in snapshots generated from ScaledSnapshot The integer argument is used to create a uniquely-named resource.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

BenchmarkConfig allows configuration for benchmarking tests to be reused for similar cases This struct can be factored out to an accessible location should additional benchmarking suites be added.
EndpointBuilder contains options for building Endpoints to be included in scaled Snapshots there are no options currently configurable for the endpointBuilder.
FakeOcspResponder is a fake OCSP responder that can be used to generate OCSP responses.
Params includes parameters used to generate an x509 certificate.
Result represents the result of measuring a function's execution time.
RouteBuilder simplifies the process of generating Routes in tests.
RouteTableBuilder simplifies the process of generating RouteTables in tests.
ScaledSnapshotBuilder enumerates the number of each type of resource that should be included in a snapshot and contains a builder for each sub-resource type which is responsible for building instances of that resource Additional fields should be added as needed.
SecretBuilder contains options for building Secrets to be included in scaled Snapshots there are no options currently configurable for the SecretBuilder.
No description provided by the author
UpstreamBuilder contains options for building Upstreams to be included in scaled Snapshots.
VirtualServiceBuilder simplifies the process of generating VirtualServices in tests.

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author