Versions in this module Expand all Collapse all v0 v0.2.2 Aug 17, 2020 v0.2.1 Aug 17, 2020 Changes in this version + type KubectlOutput struct + Err error + Output string + type MockKubectlCmd struct + APIGroups []metav1.APIGroup + APIResources []kube.APIResourceInfo + Commands map[string]KubectlOutput + DynamicClient dynamic.Interface + Events chan watch.Event + Version string + func (k *MockKubectlCmd) ApplyResource(ctx context.Context, config *rest.Config, obj *unstructured.Unstructured, ...) (string, error) + func (k *MockKubectlCmd) ConvertToVersion(obj *unstructured.Unstructured, group, version string) (*unstructured.Unstructured, error) + func (k *MockKubectlCmd) DeleteResource(ctx context.Context, config *rest.Config, gvk schema.GroupVersionKind, ...) error + func (k *MockKubectlCmd) GetAPIGroups(config *rest.Config) ([]metav1.APIGroup, error) + func (k *MockKubectlCmd) GetAPIResources(config *rest.Config, resourceFilter kube.ResourceFilter) ([]kube.APIResourceInfo, error) + func (k *MockKubectlCmd) GetLastValidate() bool + func (k *MockKubectlCmd) GetResource(ctx context.Context, config *rest.Config, gvk schema.GroupVersionKind, ...) (*unstructured.Unstructured, error) + func (k *MockKubectlCmd) GetServerVersion(config *rest.Config) (string, error) + func (k *MockKubectlCmd) NewDynamicClient(config *rest.Config) (dynamic.Interface, error) + func (k *MockKubectlCmd) PatchResource(ctx context.Context, config *rest.Config, gvk schema.GroupVersionKind, ...) (*unstructured.Unstructured, error) + func (k *MockKubectlCmd) SetLastValidate(validate bool) + func (k *MockKubectlCmd) SetOnKubectlRun(onKubectlRun func(command string) (io.Closer, error))