client-go: k8s.io/client-go/kubernetes/typed/node/v1alpha1/fake Index | Files

package fake

import "k8s.io/client-go/kubernetes/typed/node/v1alpha1/fake"

Package fake has the automatically generated clients.

Index

Package Files

doc.go fake_node_client.go fake_runtimeclass.go

type FakeNodeV1alpha1 Uses

type FakeNodeV1alpha1 struct {
    *testing.Fake
}

func (*FakeNodeV1alpha1) RESTClient Uses

func (c *FakeNodeV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeNodeV1alpha1) RuntimeClasses Uses

func (c *FakeNodeV1alpha1) RuntimeClasses() v1alpha1.RuntimeClassInterface

type FakeRuntimeClasses Uses

type FakeRuntimeClasses struct {
    Fake *FakeNodeV1alpha1
}

FakeRuntimeClasses implements RuntimeClassInterface

func (*FakeRuntimeClasses) Create Uses

func (c *FakeRuntimeClasses) Create(runtimeClass *v1alpha1.RuntimeClass) (result *v1alpha1.RuntimeClass, err error)

Create takes the representation of a runtimeClass and creates it. Returns the server's representation of the runtimeClass, and an error, if there is any.

func (*FakeRuntimeClasses) Delete Uses

func (c *FakeRuntimeClasses) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the runtimeClass and deletes it. Returns an error if one occurs.

func (*FakeRuntimeClasses) DeleteCollection Uses

func (c *FakeRuntimeClasses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeRuntimeClasses) Get Uses

func (c *FakeRuntimeClasses) Get(name string, options v1.GetOptions) (result *v1alpha1.RuntimeClass, err error)

Get takes name of the runtimeClass, and returns the corresponding runtimeClass object, and an error if there is any.

func (*FakeRuntimeClasses) List Uses

func (c *FakeRuntimeClasses) List(opts v1.ListOptions) (result *v1alpha1.RuntimeClassList, err error)

List takes label and field selectors, and returns the list of RuntimeClasses that match those selectors.

func (*FakeRuntimeClasses) Patch Uses

func (c *FakeRuntimeClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.RuntimeClass, err error)

Patch applies the patch and returns the patched runtimeClass.

func (*FakeRuntimeClasses) Update Uses

func (c *FakeRuntimeClasses) Update(runtimeClass *v1alpha1.RuntimeClass) (result *v1alpha1.RuntimeClass, err error)

Update takes the representation of a runtimeClass and updates it. Returns the server's representation of the runtimeClass, and an error, if there is any.

func (*FakeRuntimeClasses) Watch Uses

func (c *FakeRuntimeClasses) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested runtimeClasses.

Package fake imports 9 packages (graph) and is imported by 4 packages. Updated 2019-04-05. Refresh now. Tools for package owners.