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