apiextensions-apiserver: k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/fake Index | Files

package fake

import "k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/fake"

Package fake has the automatically generated clients.

Index

Package Files

doc.go fake_apiextensions_client.go fake_customresourcedefinition.go

type FakeApiextensionsV1 Uses

type FakeApiextensionsV1 struct {
    *testing.Fake
}

func (*FakeApiextensionsV1) CustomResourceDefinitions Uses

func (c *FakeApiextensionsV1) CustomResourceDefinitions() v1.CustomResourceDefinitionInterface

func (*FakeApiextensionsV1) RESTClient Uses

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

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

type FakeCustomResourceDefinitions Uses

type FakeCustomResourceDefinitions struct {
    Fake *FakeApiextensionsV1
}

FakeCustomResourceDefinitions implements CustomResourceDefinitionInterface

func (*FakeCustomResourceDefinitions) Create Uses

func (c *FakeCustomResourceDefinitions) Create(customResourceDefinition *apiextensionsv1.CustomResourceDefinition) (result *apiextensionsv1.CustomResourceDefinition, err error)

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

func (*FakeCustomResourceDefinitions) Delete Uses

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

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

func (*FakeCustomResourceDefinitions) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeCustomResourceDefinitions) Get Uses

func (c *FakeCustomResourceDefinitions) Get(name string, options v1.GetOptions) (result *apiextensionsv1.CustomResourceDefinition, err error)

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

func (*FakeCustomResourceDefinitions) List Uses

func (c *FakeCustomResourceDefinitions) List(opts v1.ListOptions) (result *apiextensionsv1.CustomResourceDefinitionList, err error)

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

func (*FakeCustomResourceDefinitions) Patch Uses

func (c *FakeCustomResourceDefinitions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *apiextensionsv1.CustomResourceDefinition, err error)

Patch applies the patch and returns the patched customResourceDefinition.

func (*FakeCustomResourceDefinitions) Update Uses

func (c *FakeCustomResourceDefinitions) Update(customResourceDefinition *apiextensionsv1.CustomResourceDefinition) (result *apiextensionsv1.CustomResourceDefinition, err error)

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

func (*FakeCustomResourceDefinitions) UpdateStatus Uses

func (c *FakeCustomResourceDefinitions) UpdateStatus(customResourceDefinition *apiextensionsv1.CustomResourceDefinition) (*apiextensionsv1.CustomResourceDefinition, error)

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

func (*FakeCustomResourceDefinitions) Watch Uses

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

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

Package fake imports 9 packages (graph) and is imported by 1 packages. Updated 2019-08-19. Refresh now. Tools for package owners.