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