gitkube: Index | Files

package fake

import ""

Package fake has the automatically generated clients.


Package Files

doc.go fake_gitkube.sh_client.go fake_remote.go

type FakeGitkubeV1alpha1 Uses

type FakeGitkubeV1alpha1 struct {

func (*FakeGitkubeV1alpha1) RESTClient Uses

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

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

func (*FakeGitkubeV1alpha1) Remotes Uses

func (c *FakeGitkubeV1alpha1) Remotes(namespace string) v1alpha1.RemoteInterface

type FakeRemotes Uses

type FakeRemotes struct {
    Fake *FakeGitkubeV1alpha1
    // contains filtered or unexported fields

FakeRemotes implements RemoteInterface

func (*FakeRemotes) Create Uses

func (c *FakeRemotes) Create(remote *v1alpha1.Remote) (result *v1alpha1.Remote, err error)

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

func (*FakeRemotes) Delete Uses

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

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

func (*FakeRemotes) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeRemotes) Get Uses

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

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

func (*FakeRemotes) List Uses

func (c *FakeRemotes) List(opts v1.ListOptions) (result *v1alpha1.RemoteList, err error)

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

func (*FakeRemotes) Patch Uses

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

Patch applies the patch and returns the patched remote.

func (*FakeRemotes) Update Uses

func (c *FakeRemotes) Update(remote *v1alpha1.Remote) (result *v1alpha1.Remote, err error)

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

func (*FakeRemotes) UpdateStatus Uses

func (c *FakeRemotes) UpdateStatus(remote *v1alpha1.Remote) (*v1alpha1.Remote, error)

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

func (*FakeRemotes) Watch Uses

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

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

Package fake imports 9 packages (graph) and is imported by 1 packages. Updated 2018-10-28. Refresh now. Tools for package owners.