apiextensions: github.com/giantswarm/apiextensions/pkg/clientset/versioned/typed/release/v1alpha1/fake Index | Files

package fake

import "github.com/giantswarm/apiextensions/pkg/clientset/versioned/typed/release/v1alpha1/fake"

Package fake has the automatically generated clients.

Index

Package Files

doc.go fake_release.go fake_release_client.go

type FakeReleaseV1alpha1 Uses

type FakeReleaseV1alpha1 struct {
    *testing.Fake
}

func (*FakeReleaseV1alpha1) RESTClient Uses

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

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

func (*FakeReleaseV1alpha1) Releases Uses

func (c *FakeReleaseV1alpha1) Releases() v1alpha1.ReleaseInterface

type FakeReleases Uses

type FakeReleases struct {
    Fake *FakeReleaseV1alpha1
}

FakeReleases implements ReleaseInterface

func (*FakeReleases) Create Uses

func (c *FakeReleases) Create(release *v1alpha1.Release) (result *v1alpha1.Release, err error)

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

func (*FakeReleases) Delete Uses

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

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

func (*FakeReleases) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeReleases) Get Uses

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

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

func (*FakeReleases) List Uses

func (c *FakeReleases) List(opts v1.ListOptions) (result *v1alpha1.ReleaseList, err error)

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

func (*FakeReleases) Patch Uses

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

Patch applies the patch and returns the patched release.

func (*FakeReleases) Update Uses

func (c *FakeReleases) Update(release *v1alpha1.Release) (result *v1alpha1.Release, err error)

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

func (*FakeReleases) Watch Uses

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

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

Package fake imports 9 packages (graph) and is imported by 1 packages. Updated 2020-05-29. Refresh now. Tools for package owners.