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