# Functions
MustParseYaml parses a YAML to objects.
NewClientMock create a new client mock.
NewClientWrapper creates and returns both a kubernetes client, and a CRD client.
NewCoreV1ClientMock create a new corev1 client mock.
NewIgnored returns a new IgnoreWrapper.
NewSMIClientMock create a new smi client mock.
ParseServiceNamePort parses a name, namespace, and a port from a string, using the default namespace if none is defined.
ServiceNamePortToString formats a parsable string from the values.
# Constants
AnnotationCircuitBreakerExpression circuit breaker expression annotation.
AnnotationRateLimitAverage sets the average value for rate limiting.
AnnotationRateLimitBurst sets the burst value for rate limiting.
AnnotationRetryAttempts retry attempts annotation.
AnnotationScheme scheme.
AnnotationServiceType service type annotation.
BlockAllMiddlewareKey block all middleware name.
ConfigMessageChanForce force.
ConfigMessageChanRebuild rebuild.
ResyncPeriod set the resync period.
SchemeH2c h2c scheme.
SchemeHTTP HTTP scheme.
ServiceTypeHTTP HTTP service type.
ServiceTypeTCP TCP service type.
TCPStateConfigMapName TCP config map name.
# Structs
AppsV1ClientMock holds AppsV1 client mock information.
ClientMock clients mock.
ClientWrapper holds the clients for the various resource controllers.
CoreV1ClientMock holds CoreV1 client mock information.
IgnoreWrapper holds namespaces and services to ignore.
Service holds a combination of service name and namespace.
ServiceWithPort holds a combination of service name and namespace and port.
SMIClientMock holds SMI client mock information.
State holds service state for TCP.
# Interfaces
AppsV1Client AppsV1 client.
Client is an interface that represents a full-featured kubernetes client wrapper.
ClusterInitClient is an interface that can be used for doing cluster initialization.
CoreV1Client CoreV1 client.
SMIAccessV1Alpha1Client SMI Access v1Alpha client.
SMIClient SMI client.
SMISpecsV1Alpha1Client SMI Specs v1Alpha client.
SMISplitV1Alpha1Client SMI Split v1Alpha client.