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