Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct{}
Builder is the default implementation of KubeClientBuilder. It returns a regular kube client.
type KubeClientBuilder ¶
KubeClientBuilder interface is used as an abstraction to get a kube client. Useful to mock the client in tests.
type MockBuilder ¶
MockBuilder is a mock implementation of KubeClientBuilder. It returns the client that was set in the struct allowing you to set a fakeClient for example.
func (*MockBuilder) GetKubeClient ¶
GetKubeClient returns the client that was set in the struct.
Click to show internal directories.
Click to hide internal directories.