Documentation ¶
Index ¶
- func FakeConfigMap(namespace, name string, data map[string]string) *corev1.ConfigMap
- func FakeEventRecorder(bufferSize int) *record.FakeRecorder
- func FakePodWithSingleContainer(namespace, name, image string) *corev1.Pod
- func FakeSecret(namespace, name string, data map[string]string) *corev1.Secret
- func FakeService(namespace, name, clusterIP, protocol string, port int32) *corev1.Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FakeConfigMap ¶
FakeConfigMap returns a configmap with the specified namespace, name and data.
func FakeEventRecorder ¶
func FakeEventRecorder(bufferSize int) *record.FakeRecorder
FakeEventRecorder returns an event recorder that can be used to capture events.
func FakePodWithSingleContainer ¶
FakePodWithSingleContainer returns a pod with the specified namespace and name, and having a single container with the specified image.
func FakeSecret ¶
FakeSecret returns a secret with the specified namespace, name and data.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.