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

package fake

import "k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/fake"

Package fake has the automatically generated clients.

Index

Package Files

doc.go fake_cr_client.go fake_example.go

type FakeCrV1 Uses

type FakeCrV1 struct {
    *testing.Fake
}

func (*FakeCrV1) Examples Uses

func (c *FakeCrV1) Examples(namespace string) v1.ExampleInterface

func (*FakeCrV1) RESTClient Uses

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

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

type FakeExamples Uses

type FakeExamples struct {
    Fake *FakeCrV1
    // contains filtered or unexported fields
}

FakeExamples implements ExampleInterface

func (*FakeExamples) Create Uses

func (c *FakeExamples) Create(example *crv1.Example) (result *crv1.Example, err error)

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

func (*FakeExamples) Delete Uses

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

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

func (*FakeExamples) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeExamples) Get Uses

func (c *FakeExamples) Get(name string, options v1.GetOptions) (result *crv1.Example, err error)

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

func (*FakeExamples) List Uses

func (c *FakeExamples) List(opts v1.ListOptions) (result *crv1.ExampleList, err error)

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

func (*FakeExamples) Patch Uses

func (c *FakeExamples) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *crv1.Example, err error)

Patch applies the patch and returns the patched example.

func (*FakeExamples) Update Uses

func (c *FakeExamples) Update(example *crv1.Example) (result *crv1.Example, err error)

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

func (*FakeExamples) Watch Uses

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

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

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