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