Version: v0.3.0 Latest Latest

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

Go to latest
Published: Nov 12, 2018 License: Apache-2.0 Imports: 9 Imported by: 0



Package fake has the automatically generated clients.



This section is empty.


This section is empty.


This section is empty.


type FakeGitkubeV1alpha1

type FakeGitkubeV1alpha1 struct {

func (*FakeGitkubeV1alpha1) RESTClient

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

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

type FakeRemotes

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

FakeRemotes implements RemoteInterface

func (*FakeRemotes) Create

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

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

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

DeleteCollection deletes a collection of objects.

func (*FakeRemotes) Get

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

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

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

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

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

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to