Documentation ¶
Index ¶
- type K8sClientInterface
- type K8sClientMock
- func (k *K8sClientMock) CalculateWorkloadParentRecursive(workload k8sinterface.IWorkload) (string, string, error)
- func (k *K8sClientMock) GetDynamicClient() dynamic.Interface
- func (k *K8sClientMock) GetKubernetesClient() kubernetes.Interface
- func (k *K8sClientMock) GetWorkload(namespace, _, name string) (k8sinterface.IWorkload, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sClientInterface ¶
type K8sClientInterface interface { GetWorkload(namespace, kind, name string) (k8sinterface.IWorkload, error) CalculateWorkloadParentRecursive(workload k8sinterface.IWorkload) (string, string, error) GetKubernetesClient() kubernetes.Interface GetDynamicClient() dynamic.Interface }
type K8sClientMock ¶
type K8sClientMock struct {
// contains filtered or unexported fields
}
func (*K8sClientMock) CalculateWorkloadParentRecursive ¶
func (k *K8sClientMock) CalculateWorkloadParentRecursive(workload k8sinterface.IWorkload) (string, string, error)
func (*K8sClientMock) GetDynamicClient ¶
func (k *K8sClientMock) GetDynamicClient() dynamic.Interface
func (*K8sClientMock) GetKubernetesClient ¶
func (k *K8sClientMock) GetKubernetesClient() kubernetes.Interface
func (*K8sClientMock) GetWorkload ¶
func (k *K8sClientMock) GetWorkload(namespace, _, name string) (k8sinterface.IWorkload, error)
Click to show internal directories.
Click to hide internal directories.