Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeConfigurationV1alpha1
- func (c *FakeConfigurationV1alpha1) IngressClassParameterses(namespace string) v1alpha1.IngressClassParametersInterface
- func (c *FakeConfigurationV1alpha1) KongCustomEntities(namespace string) v1alpha1.KongCustomEntityInterface
- func (c *FakeConfigurationV1alpha1) KongLicenses() v1alpha1.KongLicenseInterface
- func (c *FakeConfigurationV1alpha1) KongVaults() v1alpha1.KongVaultInterface
- func (c *FakeConfigurationV1alpha1) RESTClient() rest.Interface
- type FakeIngressClassParameterses
- func (c *FakeIngressClassParameterses) Create(ctx context.Context, ingressClassParameters *v1alpha1.IngressClassParameters, ...) (result *v1alpha1.IngressClassParameters, err error)
- func (c *FakeIngressClassParameterses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeIngressClassParameterses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeIngressClassParameterses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IngressClassParameters, err error)
- func (c *FakeIngressClassParameterses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IngressClassParametersList, err error)
- func (c *FakeIngressClassParameterses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.IngressClassParameters, err error)
- func (c *FakeIngressClassParameterses) Update(ctx context.Context, ingressClassParameters *v1alpha1.IngressClassParameters, ...) (result *v1alpha1.IngressClassParameters, err error)
- func (c *FakeIngressClassParameterses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKongCustomEntities
- func (c *FakeKongCustomEntities) Create(ctx context.Context, kongCustomEntity *v1alpha1.KongCustomEntity, ...) (result *v1alpha1.KongCustomEntity, err error)
- func (c *FakeKongCustomEntities) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKongCustomEntities) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKongCustomEntities) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KongCustomEntity, err error)
- func (c *FakeKongCustomEntities) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KongCustomEntityList, err error)
- func (c *FakeKongCustomEntities) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.KongCustomEntity, err error)
- func (c *FakeKongCustomEntities) Update(ctx context.Context, kongCustomEntity *v1alpha1.KongCustomEntity, ...) (result *v1alpha1.KongCustomEntity, err error)
- func (c *FakeKongCustomEntities) UpdateStatus(ctx context.Context, kongCustomEntity *v1alpha1.KongCustomEntity, ...) (result *v1alpha1.KongCustomEntity, err error)
- func (c *FakeKongCustomEntities) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKongLicenses
- func (c *FakeKongLicenses) Create(ctx context.Context, kongLicense *v1alpha1.KongLicense, opts v1.CreateOptions) (result *v1alpha1.KongLicense, err error)
- func (c *FakeKongLicenses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKongLicenses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKongLicenses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KongLicense, err error)
- func (c *FakeKongLicenses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KongLicenseList, err error)
- func (c *FakeKongLicenses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.KongLicense, err error)
- func (c *FakeKongLicenses) Update(ctx context.Context, kongLicense *v1alpha1.KongLicense, opts v1.UpdateOptions) (result *v1alpha1.KongLicense, err error)
- func (c *FakeKongLicenses) UpdateStatus(ctx context.Context, kongLicense *v1alpha1.KongLicense, opts v1.UpdateOptions) (result *v1alpha1.KongLicense, err error)
- func (c *FakeKongLicenses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKongVaults
- func (c *FakeKongVaults) Create(ctx context.Context, kongVault *v1alpha1.KongVault, opts v1.CreateOptions) (result *v1alpha1.KongVault, err error)
- func (c *FakeKongVaults) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKongVaults) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKongVaults) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KongVault, err error)
- func (c *FakeKongVaults) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KongVaultList, err error)
- func (c *FakeKongVaults) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.KongVault, err error)
- func (c *FakeKongVaults) Update(ctx context.Context, kongVault *v1alpha1.KongVault, opts v1.UpdateOptions) (result *v1alpha1.KongVault, err error)
- func (c *FakeKongVaults) UpdateStatus(ctx context.Context, kongVault *v1alpha1.KongVault, opts v1.UpdateOptions) (result *v1alpha1.KongVault, err error)
- func (c *FakeKongVaults) 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 FakeConfigurationV1alpha1 ¶
func (*FakeConfigurationV1alpha1) IngressClassParameterses ¶
func (c *FakeConfigurationV1alpha1) IngressClassParameterses(namespace string) v1alpha1.IngressClassParametersInterface
func (*FakeConfigurationV1alpha1) KongCustomEntities ¶ added in v3.2.0
func (c *FakeConfigurationV1alpha1) KongCustomEntities(namespace string) v1alpha1.KongCustomEntityInterface
func (*FakeConfigurationV1alpha1) KongLicenses ¶ added in v3.1.0
func (c *FakeConfigurationV1alpha1) KongLicenses() v1alpha1.KongLicenseInterface
func (*FakeConfigurationV1alpha1) KongVaults ¶ added in v3.1.0
func (c *FakeConfigurationV1alpha1) KongVaults() v1alpha1.KongVaultInterface
func (*FakeConfigurationV1alpha1) RESTClient ¶
func (c *FakeConfigurationV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeIngressClassParameterses ¶
type FakeIngressClassParameterses struct { Fake *FakeConfigurationV1alpha1 // contains filtered or unexported fields }
FakeIngressClassParameterses implements IngressClassParametersInterface
func (*FakeIngressClassParameterses) Create ¶
func (c *FakeIngressClassParameterses) Create(ctx context.Context, ingressClassParameters *v1alpha1.IngressClassParameters, opts v1.CreateOptions) (result *v1alpha1.IngressClassParameters, err error)
Create takes the representation of a ingressClassParameters and creates it. Returns the server's representation of the ingressClassParameters, and an error, if there is any.
func (*FakeIngressClassParameterses) Delete ¶
func (c *FakeIngressClassParameterses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the ingressClassParameters and deletes it. Returns an error if one occurs.
func (*FakeIngressClassParameterses) DeleteCollection ¶
func (c *FakeIngressClassParameterses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIngressClassParameterses) Get ¶
func (c *FakeIngressClassParameterses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IngressClassParameters, err error)
Get takes name of the ingressClassParameters, and returns the corresponding ingressClassParameters object, and an error if there is any.
func (*FakeIngressClassParameterses) List ¶
func (c *FakeIngressClassParameterses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IngressClassParametersList, err error)
List takes label and field selectors, and returns the list of IngressClassParameterses that match those selectors.
func (*FakeIngressClassParameterses) Patch ¶
func (c *FakeIngressClassParameterses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.IngressClassParameters, err error)
Patch applies the patch and returns the patched ingressClassParameters.
func (*FakeIngressClassParameterses) Update ¶
func (c *FakeIngressClassParameterses) Update(ctx context.Context, ingressClassParameters *v1alpha1.IngressClassParameters, opts v1.UpdateOptions) (result *v1alpha1.IngressClassParameters, err error)
Update takes the representation of a ingressClassParameters and updates it. Returns the server's representation of the ingressClassParameters, and an error, if there is any.
func (*FakeIngressClassParameterses) Watch ¶
func (c *FakeIngressClassParameterses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested ingressClassParameterses.
type FakeKongCustomEntities ¶ added in v3.2.0
type FakeKongCustomEntities struct { Fake *FakeConfigurationV1alpha1 // contains filtered or unexported fields }
FakeKongCustomEntities implements KongCustomEntityInterface
func (*FakeKongCustomEntities) Create ¶ added in v3.2.0
func (c *FakeKongCustomEntities) Create(ctx context.Context, kongCustomEntity *v1alpha1.KongCustomEntity, opts v1.CreateOptions) (result *v1alpha1.KongCustomEntity, err error)
Create takes the representation of a kongCustomEntity and creates it. Returns the server's representation of the kongCustomEntity, and an error, if there is any.
func (*FakeKongCustomEntities) Delete ¶ added in v3.2.0
func (c *FakeKongCustomEntities) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the kongCustomEntity and deletes it. Returns an error if one occurs.
func (*FakeKongCustomEntities) DeleteCollection ¶ added in v3.2.0
func (c *FakeKongCustomEntities) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKongCustomEntities) Get ¶ added in v3.2.0
func (c *FakeKongCustomEntities) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KongCustomEntity, err error)
Get takes name of the kongCustomEntity, and returns the corresponding kongCustomEntity object, and an error if there is any.
func (*FakeKongCustomEntities) List ¶ added in v3.2.0
func (c *FakeKongCustomEntities) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KongCustomEntityList, err error)
List takes label and field selectors, and returns the list of KongCustomEntities that match those selectors.
func (*FakeKongCustomEntities) Patch ¶ added in v3.2.0
func (c *FakeKongCustomEntities) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KongCustomEntity, err error)
Patch applies the patch and returns the patched kongCustomEntity.
func (*FakeKongCustomEntities) Update ¶ added in v3.2.0
func (c *FakeKongCustomEntities) Update(ctx context.Context, kongCustomEntity *v1alpha1.KongCustomEntity, opts v1.UpdateOptions) (result *v1alpha1.KongCustomEntity, err error)
Update takes the representation of a kongCustomEntity and updates it. Returns the server's representation of the kongCustomEntity, and an error, if there is any.
func (*FakeKongCustomEntities) UpdateStatus ¶ added in v3.2.0
func (c *FakeKongCustomEntities) UpdateStatus(ctx context.Context, kongCustomEntity *v1alpha1.KongCustomEntity, opts v1.UpdateOptions) (result *v1alpha1.KongCustomEntity, err error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeKongCustomEntities) Watch ¶ added in v3.2.0
func (c *FakeKongCustomEntities) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kongCustomEntities.
type FakeKongLicenses ¶ added in v3.1.0
type FakeKongLicenses struct {
Fake *FakeConfigurationV1alpha1
}
FakeKongLicenses implements KongLicenseInterface
func (*FakeKongLicenses) Create ¶ added in v3.1.0
func (c *FakeKongLicenses) Create(ctx context.Context, kongLicense *v1alpha1.KongLicense, opts v1.CreateOptions) (result *v1alpha1.KongLicense, err error)
Create takes the representation of a kongLicense and creates it. Returns the server's representation of the kongLicense, and an error, if there is any.
func (*FakeKongLicenses) Delete ¶ added in v3.1.0
func (c *FakeKongLicenses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the kongLicense and deletes it. Returns an error if one occurs.
func (*FakeKongLicenses) DeleteCollection ¶ added in v3.1.0
func (c *FakeKongLicenses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKongLicenses) Get ¶ added in v3.1.0
func (c *FakeKongLicenses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KongLicense, err error)
Get takes name of the kongLicense, and returns the corresponding kongLicense object, and an error if there is any.
func (*FakeKongLicenses) List ¶ added in v3.1.0
func (c *FakeKongLicenses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KongLicenseList, err error)
List takes label and field selectors, and returns the list of KongLicenses that match those selectors.
func (*FakeKongLicenses) Patch ¶ added in v3.1.0
func (c *FakeKongLicenses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KongLicense, err error)
Patch applies the patch and returns the patched kongLicense.
func (*FakeKongLicenses) Update ¶ added in v3.1.0
func (c *FakeKongLicenses) Update(ctx context.Context, kongLicense *v1alpha1.KongLicense, opts v1.UpdateOptions) (result *v1alpha1.KongLicense, err error)
Update takes the representation of a kongLicense and updates it. Returns the server's representation of the kongLicense, and an error, if there is any.
func (*FakeKongLicenses) UpdateStatus ¶ added in v3.1.0
func (c *FakeKongLicenses) UpdateStatus(ctx context.Context, kongLicense *v1alpha1.KongLicense, opts v1.UpdateOptions) (result *v1alpha1.KongLicense, err error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeKongLicenses) Watch ¶ added in v3.1.0
func (c *FakeKongLicenses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kongLicenses.
type FakeKongVaults ¶ added in v3.1.0
type FakeKongVaults struct {
Fake *FakeConfigurationV1alpha1
}
FakeKongVaults implements KongVaultInterface
func (*FakeKongVaults) Create ¶ added in v3.1.0
func (c *FakeKongVaults) Create(ctx context.Context, kongVault *v1alpha1.KongVault, opts v1.CreateOptions) (result *v1alpha1.KongVault, err error)
Create takes the representation of a kongVault and creates it. Returns the server's representation of the kongVault, and an error, if there is any.
func (*FakeKongVaults) Delete ¶ added in v3.1.0
func (c *FakeKongVaults) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the kongVault and deletes it. Returns an error if one occurs.
func (*FakeKongVaults) DeleteCollection ¶ added in v3.1.0
func (c *FakeKongVaults) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKongVaults) Get ¶ added in v3.1.0
func (c *FakeKongVaults) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KongVault, err error)
Get takes name of the kongVault, and returns the corresponding kongVault object, and an error if there is any.
func (*FakeKongVaults) List ¶ added in v3.1.0
func (c *FakeKongVaults) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KongVaultList, err error)
List takes label and field selectors, and returns the list of KongVaults that match those selectors.
func (*FakeKongVaults) Patch ¶ added in v3.1.0
func (c *FakeKongVaults) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KongVault, err error)
Patch applies the patch and returns the patched kongVault.
func (*FakeKongVaults) Update ¶ added in v3.1.0
func (c *FakeKongVaults) Update(ctx context.Context, kongVault *v1alpha1.KongVault, opts v1.UpdateOptions) (result *v1alpha1.KongVault, err error)
Update takes the representation of a kongVault and updates it. Returns the server's representation of the kongVault, and an error, if there is any.
func (*FakeKongVaults) UpdateStatus ¶ added in v3.1.0
func (c *FakeKongVaults) UpdateStatus(ctx context.Context, kongVault *v1alpha1.KongVault, opts v1.UpdateOptions) (result *v1alpha1.KongVault, err error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeKongVaults) Watch ¶ added in v3.1.0
func (c *FakeKongVaults) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kongVaults.