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