Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeC7NHelmReleases
- func (c *FakeC7NHelmReleases) Create(c7NHelmRelease *v1alpha1.C7NHelmRelease) (result *v1alpha1.C7NHelmRelease, err error)
- func (c *FakeC7NHelmReleases) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeC7NHelmReleases) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeC7NHelmReleases) Get(name string, options v1.GetOptions) (result *v1alpha1.C7NHelmRelease, err error)
- func (c *FakeC7NHelmReleases) List(opts v1.ListOptions) (result *v1alpha1.C7NHelmReleaseList, err error)
- func (c *FakeC7NHelmReleases) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.C7NHelmRelease, err error)
- func (c *FakeC7NHelmReleases) Update(c7NHelmRelease *v1alpha1.C7NHelmRelease) (result *v1alpha1.C7NHelmRelease, err error)
- func (c *FakeC7NHelmReleases) UpdateStatus(c7NHelmRelease *v1alpha1.C7NHelmRelease) (*v1alpha1.C7NHelmRelease, error)
- func (c *FakeC7NHelmReleases) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeChoerodonV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeC7NHelmReleases ¶
type FakeC7NHelmReleases struct { Fake *FakeChoerodonV1alpha1 // contains filtered or unexported fields }
FakeC7NHelmReleases implements C7NHelmReleaseInterface
func (*FakeC7NHelmReleases) Create ¶
func (c *FakeC7NHelmReleases) Create(c7NHelmRelease *v1alpha1.C7NHelmRelease) (result *v1alpha1.C7NHelmRelease, err error)
Create takes the representation of a c7NHelmRelease and creates it. Returns the server's representation of the c7NHelmRelease, and an error, if there is any.
func (*FakeC7NHelmReleases) Delete ¶
func (c *FakeC7NHelmReleases) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the c7NHelmRelease and deletes it. Returns an error if one occurs.
func (*FakeC7NHelmReleases) DeleteCollection ¶
func (c *FakeC7NHelmReleases) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeC7NHelmReleases) Get ¶
func (c *FakeC7NHelmReleases) Get(name string, options v1.GetOptions) (result *v1alpha1.C7NHelmRelease, err error)
Get takes name of the c7NHelmRelease, and returns the corresponding c7NHelmRelease object, and an error if there is any.
func (*FakeC7NHelmReleases) List ¶
func (c *FakeC7NHelmReleases) List(opts v1.ListOptions) (result *v1alpha1.C7NHelmReleaseList, err error)
List takes label and field selectors, and returns the list of C7NHelmReleases that match those selectors.
func (*FakeC7NHelmReleases) Patch ¶
func (c *FakeC7NHelmReleases) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.C7NHelmRelease, err error)
Patch applies the patch and returns the patched c7NHelmRelease.
func (*FakeC7NHelmReleases) Update ¶
func (c *FakeC7NHelmReleases) Update(c7NHelmRelease *v1alpha1.C7NHelmRelease) (result *v1alpha1.C7NHelmRelease, err error)
Update takes the representation of a c7NHelmRelease and updates it. Returns the server's representation of the c7NHelmRelease, and an error, if there is any.
func (*FakeC7NHelmReleases) UpdateStatus ¶
func (c *FakeC7NHelmReleases) UpdateStatus(c7NHelmRelease *v1alpha1.C7NHelmRelease) (*v1alpha1.C7NHelmRelease, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeC7NHelmReleases) Watch ¶
func (c *FakeC7NHelmReleases) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested c7NHelmReleases.
type FakeChoerodonV1alpha1 ¶
func (*FakeChoerodonV1alpha1) C7NHelmReleases ¶
func (c *FakeChoerodonV1alpha1) C7NHelmReleases(namespace string) v1alpha1.C7NHelmReleaseInterface
func (*FakeChoerodonV1alpha1) RESTClient ¶
func (c *FakeChoerodonV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.