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