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