Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeReleaseV1alpha1
- type FakeReleases
- func (c *FakeReleases) Create(release *v1alpha1.Release) (result *v1alpha1.Release, err error)
- func (c *FakeReleases) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeReleases) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeReleases) Get(name string, options v1.GetOptions) (result *v1alpha1.Release, err error)
- func (c *FakeReleases) List(opts v1.ListOptions) (result *v1alpha1.ReleaseList, err error)
- func (c *FakeReleases) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Release, err error)
- func (c *FakeReleases) Update(release *v1alpha1.Release) (result *v1alpha1.Release, err error)
- func (c *FakeReleases) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeReleaseV1alpha1 ¶
func (*FakeReleaseV1alpha1) RESTClient ¶
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 ¶
func (c *FakeReleaseV1alpha1) Releases(namespace string) v1alpha1.ReleaseInterface
type FakeReleases ¶
type FakeReleases struct { Fake *FakeReleaseV1alpha1 // contains filtered or unexported fields }
FakeReleases implements ReleaseInterface
func (*FakeReleases) Create ¶
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 ¶
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 ¶
func (c *FakeReleases) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeReleases) Get ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (c *FakeReleases) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested releases.