Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeGitkubeV1alpha1
- type FakeRemotes
- func (c *FakeRemotes) Create(remote *v1alpha1.Remote) (result *v1alpha1.Remote, err error)
- func (c *FakeRemotes) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeRemotes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeRemotes) Get(name string, options v1.GetOptions) (result *v1alpha1.Remote, err error)
- func (c *FakeRemotes) List(opts v1.ListOptions) (result *v1alpha1.RemoteList, err error)
- func (c *FakeRemotes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Remote, err error)
- func (c *FakeRemotes) Update(remote *v1alpha1.Remote) (result *v1alpha1.Remote, err error)
- func (c *FakeRemotes) UpdateStatus(remote *v1alpha1.Remote) (*v1alpha1.Remote, error)
- func (c *FakeRemotes) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeGitkubeV1alpha1 ¶
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 ¶
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 ¶
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 ¶
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.