Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeInstallations
- func (c *FakeInstallations) Create(installation *v1alpha1.Installation) (result *v1alpha1.Installation, err error)
- func (c *FakeInstallations) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeInstallations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeInstallations) Get(name string, options v1.GetOptions) (result *v1alpha1.Installation, err error)
- func (c *FakeInstallations) List(opts v1.ListOptions) (result *v1alpha1.InstallationList, err error)
- func (c *FakeInstallations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Installation, err error)
- func (c *FakeInstallations) Update(installation *v1alpha1.Installation) (result *v1alpha1.Installation, err error)
- func (c *FakeInstallations) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeInstallerV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeInstallations ¶
type FakeInstallations struct { Fake *FakeInstallerV1alpha1 // contains filtered or unexported fields }
FakeInstallations implements InstallationInterface
func (*FakeInstallations) Create ¶
func (c *FakeInstallations) Create(installation *v1alpha1.Installation) (result *v1alpha1.Installation, err error)
Create takes the representation of a installation and creates it. Returns the server's representation of the installation, and an error, if there is any.
func (*FakeInstallations) Delete ¶
func (c *FakeInstallations) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the installation and deletes it. Returns an error if one occurs.
func (*FakeInstallations) DeleteCollection ¶
func (c *FakeInstallations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeInstallations) Get ¶
func (c *FakeInstallations) Get(name string, options v1.GetOptions) (result *v1alpha1.Installation, err error)
Get takes name of the installation, and returns the corresponding installation object, and an error if there is any.
func (*FakeInstallations) List ¶
func (c *FakeInstallations) List(opts v1.ListOptions) (result *v1alpha1.InstallationList, err error)
List takes label and field selectors, and returns the list of Installations that match those selectors.
func (*FakeInstallations) Patch ¶
func (c *FakeInstallations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Installation, err error)
Patch applies the patch and returns the patched installation.
func (*FakeInstallations) Update ¶
func (c *FakeInstallations) Update(installation *v1alpha1.Installation) (result *v1alpha1.Installation, err error)
Update takes the representation of a installation and updates it. Returns the server's representation of the installation, and an error, if there is any.
func (*FakeInstallations) Watch ¶
func (c *FakeInstallations) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested installations.
type FakeInstallerV1alpha1 ¶
func (*FakeInstallerV1alpha1) Installations ¶
func (c *FakeInstallerV1alpha1) Installations(namespace string) v1alpha1.InstallationInterface
func (*FakeInstallerV1alpha1) RESTClient ¶
func (c *FakeInstallerV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.