Documentation ¶
Index ¶
- func ClientForClientsetAndResource(clientset *fake.Clientset, cache kube.SharedCache, crd crd.Crd, ...) *kube.ResourceClient
- func CreateMockResource(ctx context.Context, cs *fake.Clientset, ...) error
- func CreateV2Alpha1MockResource(ctx context.Context, cs *fake.Clientset, ...) error
- func DeleteMockResource(ctx context.Context, cs *fake.Clientset, namespace, name string) error
- func MockClientForNamespace(cache kube.SharedCache, namespaces []string) *kube.ResourceClient
- func ZeroResourceVersion(resource resources.Resource)
- func ZeroResourceVersions(resources ...resources.Resource)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientForClientsetAndResource ¶
func ClientForClientsetAndResource(clientset *fake.Clientset, cache kube.SharedCache, crd crd.Crd, res resources.InputResource, namespaces []string) *kube.ResourceClient
func CreateMockResource ¶
func CreateV2Alpha1MockResource ¶ added in v0.10.3
func DeleteMockResource ¶
func MockClientForNamespace ¶
func MockClientForNamespace(cache kube.SharedCache, namespaces []string) *kube.ResourceClient
func ZeroResourceVersion ¶
func ZeroResourceVersions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.