Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sClient ¶
type K8sClient struct {
// kubernetes.Interface should be used instead of kubernets.Inteface for unit test (mocking)
ClientSet kubernetes.Interface
Config *rest.Config
}
func NewK8sClient ¶
func NewMockK8sClient ¶
return a mock of K8sClient struct, for unit testing
func (*K8sClient) CopyFromK8s ¶
Click to show internal directories.
Click to hide internal directories.