client-gok8s.io/client-go/dynamic/fake Index | Files

package fake

import "k8s.io/client-go/dynamic/fake"

Index

Types

type FakeDynamicClient

type FakeDynamicClient struct {
	testing.Fake
	// contains filtered or unexported fields
}

Clientset implements clientset.Interface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the method you want to test easier.

func NewSimpleDynamicClient

func NewSimpleDynamicClient(scheme *runtime.Scheme, objects ...runtime.Object) *FakeDynamicClient

func (*FakeDynamicClient) Resource

Source Files

simple.go

Version
v0.18.6
Published
Jul 15, 2020
Platform
js/wasm
Imports
13 packages
Last checked
1 minute ago

Tools for package owners.