fake

package
v0.0.0-...-193f477 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2019 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCoredumpEndpointDumps

type FakeCoredumpEndpointDumps struct {
	Fake *FakeCoredumpV1alpha1
	// contains filtered or unexported fields
}

FakeCoredumpEndpointDumps implements CoredumpEndpointDumpInterface

func (*FakeCoredumpEndpointDumps) Create

func (c *FakeCoredumpEndpointDumps) Create(coredumpEndpointDump *v1alpha1.CoredumpEndpointDump) (result *v1alpha1.CoredumpEndpointDump, err error)

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

func (*FakeCoredumpEndpointDumps) Delete

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

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

func (*FakeCoredumpEndpointDumps) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCoredumpEndpointDumps) Get

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

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

func (*FakeCoredumpEndpointDumps) List

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

func (*FakeCoredumpEndpointDumps) Patch

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

Patch applies the patch and returns the patched coredumpEndpointDump.

func (*FakeCoredumpEndpointDumps) Update

func (c *FakeCoredumpEndpointDumps) Update(coredumpEndpointDump *v1alpha1.CoredumpEndpointDump) (result *v1alpha1.CoredumpEndpointDump, err error)

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

func (*FakeCoredumpEndpointDumps) Watch

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

type FakeCoredumpEndpoints

type FakeCoredumpEndpoints struct {
	Fake *FakeCoredumpV1alpha1
	// contains filtered or unexported fields
}

FakeCoredumpEndpoints implements CoredumpEndpointInterface

func (*FakeCoredumpEndpoints) Create

func (c *FakeCoredumpEndpoints) Create(coredumpEndpoint *v1alpha1.CoredumpEndpoint) (result *v1alpha1.CoredumpEndpoint, err error)

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

func (*FakeCoredumpEndpoints) Delete

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

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

func (*FakeCoredumpEndpoints) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCoredumpEndpoints) Get

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

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

func (*FakeCoredumpEndpoints) List

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

func (*FakeCoredumpEndpoints) Patch

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

Patch applies the patch and returns the patched coredumpEndpoint.

func (*FakeCoredumpEndpoints) Update

func (c *FakeCoredumpEndpoints) Update(coredumpEndpoint *v1alpha1.CoredumpEndpoint) (result *v1alpha1.CoredumpEndpoint, err error)

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

func (*FakeCoredumpEndpoints) UpdateStatus

func (c *FakeCoredumpEndpoints) UpdateStatus(coredumpEndpoint *v1alpha1.CoredumpEndpoint) (*v1alpha1.CoredumpEndpoint, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeCoredumpEndpoints) Watch

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

type FakeCoredumpV1alpha1

type FakeCoredumpV1alpha1 struct {
	*testing.Fake
}

func (*FakeCoredumpV1alpha1) CoredumpEndpointDumps

func (c *FakeCoredumpV1alpha1) CoredumpEndpointDumps(namespace string) v1alpha1.CoredumpEndpointDumpInterface

func (*FakeCoredumpV1alpha1) CoredumpEndpoints

func (c *FakeCoredumpV1alpha1) CoredumpEndpoints(namespace string) v1alpha1.CoredumpEndpointInterface

func (*FakeCoredumpV1alpha1) RESTClient

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL