Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTestServices ¶
CreateTestServices creates a mocked service for testing purposes
func InitializeMockedKubernetesClient ¶
InitializeMockedKubernetesClient initializes a MockKubernetesClient with a given list of services
Types ¶
type MockKubernetesClient ¶
MockKubernetesClient is a mocked implementation of k8s.KubernetesClientApi
func GetMockedKubernetesClient ¶
func GetMockedKubernetesClient() *MockKubernetesClient
GetMockedKubernetesClient returns a mocked implementation of k8s.KubernetesClientApi
func (*MockKubernetesClient) GetServices ¶
func (mock *MockKubernetesClient) GetServices(namespace string) ([]v1.Service, error)
GetServices returns a list of services in a given namespace
Click to show internal directories.
Click to hide internal directories.