client-go: k8s.io/client-go/dynamic/fake Index | Files

package fake

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

Index

Package Files

simple.go

type FakeDynamicClient Uses

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 Uses

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

func (*FakeDynamicClient) Resource Uses

func (c *FakeDynamicClient) Resource(resource schema.GroupVersionResource) dynamic.NamespaceableResourceInterface

Package fake imports 12 packages (graph) and is imported by 7 packages. Updated 2018-10-17. Refresh now. Tools for package owners.