Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeKyvernoV1beta1
- type FakeUpdateRequests
- func (c *FakeUpdateRequests) Create(ctx context.Context, updateRequest *v1beta1.UpdateRequest, ...) (result *v1beta1.UpdateRequest, err error)
- func (c *FakeUpdateRequests) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeUpdateRequests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeUpdateRequests) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.UpdateRequest, err error)
- func (c *FakeUpdateRequests) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.UpdateRequestList, err error)
- func (c *FakeUpdateRequests) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.UpdateRequest, err error)
- func (c *FakeUpdateRequests) Update(ctx context.Context, updateRequest *v1beta1.UpdateRequest, ...) (result *v1beta1.UpdateRequest, err error)
- func (c *FakeUpdateRequests) UpdateStatus(ctx context.Context, updateRequest *v1beta1.UpdateRequest, ...) (*v1beta1.UpdateRequest, error)
- func (c *FakeUpdateRequests) 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 FakeKyvernoV1beta1 ¶
func (*FakeKyvernoV1beta1) RESTClient ¶
func (c *FakeKyvernoV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeKyvernoV1beta1) UpdateRequests ¶
func (c *FakeKyvernoV1beta1) UpdateRequests(namespace string) v1beta1.UpdateRequestInterface
type FakeUpdateRequests ¶
type FakeUpdateRequests struct { Fake *FakeKyvernoV1beta1 // contains filtered or unexported fields }
FakeUpdateRequests implements UpdateRequestInterface
func (*FakeUpdateRequests) Create ¶
func (c *FakeUpdateRequests) Create(ctx context.Context, updateRequest *v1beta1.UpdateRequest, opts v1.CreateOptions) (result *v1beta1.UpdateRequest, err error)
Create takes the representation of a updateRequest and creates it. Returns the server's representation of the updateRequest, and an error, if there is any.
func (*FakeUpdateRequests) Delete ¶
func (c *FakeUpdateRequests) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the updateRequest and deletes it. Returns an error if one occurs.
func (*FakeUpdateRequests) DeleteCollection ¶
func (c *FakeUpdateRequests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUpdateRequests) Get ¶
func (c *FakeUpdateRequests) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.UpdateRequest, err error)
Get takes name of the updateRequest, and returns the corresponding updateRequest object, and an error if there is any.
func (*FakeUpdateRequests) List ¶
func (c *FakeUpdateRequests) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.UpdateRequestList, err error)
List takes label and field selectors, and returns the list of UpdateRequests that match those selectors.
func (*FakeUpdateRequests) Patch ¶
func (c *FakeUpdateRequests) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.UpdateRequest, err error)
Patch applies the patch and returns the patched updateRequest.
func (*FakeUpdateRequests) Update ¶
func (c *FakeUpdateRequests) Update(ctx context.Context, updateRequest *v1beta1.UpdateRequest, opts v1.UpdateOptions) (result *v1beta1.UpdateRequest, err error)
Update takes the representation of a updateRequest and updates it. Returns the server's representation of the updateRequest, and an error, if there is any.
func (*FakeUpdateRequests) UpdateStatus ¶
func (c *FakeUpdateRequests) UpdateStatus(ctx context.Context, updateRequest *v1beta1.UpdateRequest, opts v1.UpdateOptions) (*v1beta1.UpdateRequest, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeUpdateRequests) Watch ¶
func (c *FakeUpdateRequests) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested updateRequests.