Documentation
¶
Index ¶
- type Client
- type K8sClient
- func (k *K8sClient) Apply(ctx context.Context, config string) <-chan error
- func (k *K8sClient) CreateNamespace(ctx context.Context, name string) error
- func (k *K8sClient) DeleteNamespace(ctx context.Context, name string) error
- func (k *K8sClient) NamespaceExists(ctx context.Context, name string) bool
- type MockClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sClient ¶
type K8sClient struct {
// contains filtered or unexported fields
}
func (*K8sClient) CreateNamespace ¶
func (*K8sClient) DeleteNamespace ¶
type MockClient ¶
func NewMockClient ¶
func NewMockClient() *MockClient
func (*MockClient) Apply ¶
func (m *MockClient) Apply(_ context.Context, config string) <-chan error
func (*MockClient) CreateNamespace ¶
func (m *MockClient) CreateNamespace(_ context.Context, name string) error
func (*MockClient) DeleteNamespace ¶
func (m *MockClient) DeleteNamespace(_ context.Context, name string) error
func (*MockClient) NamespaceExists ¶
func (m *MockClient) NamespaceExists(_ context.Context, name string) bool
Click to show internal directories.
Click to hide internal directories.