Documentation
¶
Index ¶
- func CreateDefaultEndpoint() *corev1.Endpoints
- func CreateDefaultExternalHostPaths() []esov1alpha1.ExternalServiceHostPath
- func CreateDefaultExternalService() *esov1alpha1.ExternalService
- func CreateDefaultTestProbe() corev1.Probe
- func CreateExternalService(name string, namespace string, ips []string, port int, ...) *esov1alpha1.ExternalService
- func CreateTestProbe(delay int32, timeout int32, period int32, success int32, failure int32, ...) corev1.Probe
- func ExpectEndpointOwnerReference(actual *corev1.Endpoints, instance *esov1alpha1.ExternalService, t *testing.T)
- func ExpectEndpointWithNameAndNamespace(actual *corev1.Endpoints, name string, namespace string, t *testing.T)
- func ExpectEqInt(actual int32, expected int32, t *testing.T)
- func ExpectEqStr(actual string, expected string, t *testing.T)
- func ExpectEqualEndpoints(actual, expected corev1.Endpoints, t *testing.T)
- func ExpectFalse(result bool, t *testing.T)
- func ExpectIngressOwnerReference(actual *extv1.Ingress, instance *esov1alpha1.ExternalService, t *testing.T)
- func ExpectIngressWithNameAndNamespace(actual *extv1.Ingress, name string, namespace string, t *testing.T)
- func ExpectNoErrorsAndRequeue(res reconcile.Result, err error, t *testing.T)
- func ExpectServiceOwnerReference(actual *corev1.Service, instance *esov1alpha1.ExternalService, t *testing.T)
- func ExpectServiceType(actual corev1.ServiceType, expected corev1.ServiceType, t *testing.T)
- func ExpectServiceWithNameAndNamespace(actual *corev1.Service, name string, namespace string, t *testing.T)
- func ExpectTrue(result bool, t *testing.T)
- func InitFakeClient(objs ...runtime.Object) client.Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDefaultEndpoint ¶
func CreateDefaultExternalHostPaths ¶
func CreateDefaultExternalHostPaths() []esov1alpha1.ExternalServiceHostPath
func CreateDefaultExternalService ¶
func CreateDefaultExternalService() *esov1alpha1.ExternalService
func CreateDefaultTestProbe ¶
func CreateExternalService ¶
func CreateExternalService(name string, namespace string, ips []string, port int, hosts []esov1alpha1.ExternalServiceHostPath) *esov1alpha1.ExternalService
func CreateTestProbe ¶
func ExpectEndpointOwnerReference ¶
func ExpectEndpointOwnerReference(actual *corev1.Endpoints, instance *esov1alpha1.ExternalService, t *testing.T)
func ExpectEqualEndpoints ¶
func ExpectFalse ¶
func ExpectIngressOwnerReference ¶
func ExpectIngressOwnerReference(actual *extv1.Ingress, instance *esov1alpha1.ExternalService, t *testing.T)
func ExpectServiceOwnerReference ¶
func ExpectServiceOwnerReference(actual *corev1.Service, instance *esov1alpha1.ExternalService, t *testing.T)
func ExpectServiceType ¶
func ExpectServiceType(actual corev1.ServiceType, expected corev1.ServiceType, t *testing.T)
func ExpectTrue ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.