Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterTriggerAuthentications
- func (c *FakeClusterTriggerAuthentications) Create(ctx context.Context, ...) (result *v1alpha1.ClusterTriggerAuthentication, err error)
- func (c *FakeClusterTriggerAuthentications) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterTriggerAuthentications) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterTriggerAuthentications) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterTriggerAuthentication, err error)
- func (c *FakeClusterTriggerAuthentications) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterTriggerAuthenticationList, err error)
- func (c *FakeClusterTriggerAuthentications) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterTriggerAuthentication, err error)
- func (c *FakeClusterTriggerAuthentications) Update(ctx context.Context, ...) (result *v1alpha1.ClusterTriggerAuthentication, err error)
- func (c *FakeClusterTriggerAuthentications) UpdateStatus(ctx context.Context, ...) (*v1alpha1.ClusterTriggerAuthentication, error)
- func (c *FakeClusterTriggerAuthentications) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKedaV1alpha1
- func (c *FakeKedaV1alpha1) ClusterTriggerAuthentications() v1alpha1.ClusterTriggerAuthenticationInterface
- func (c *FakeKedaV1alpha1) RESTClient() rest.Interface
- func (c *FakeKedaV1alpha1) ScaledJobs(namespace string) v1alpha1.ScaledJobInterface
- func (c *FakeKedaV1alpha1) ScaledObjects(namespace string) v1alpha1.ScaledObjectInterface
- func (c *FakeKedaV1alpha1) TriggerAuthentications(namespace string) v1alpha1.TriggerAuthenticationInterface
- type FakeScaledJobs
- func (c *FakeScaledJobs) Create(ctx context.Context, scaledJob *v1alpha1.ScaledJob, opts v1.CreateOptions) (result *v1alpha1.ScaledJob, err error)
- func (c *FakeScaledJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeScaledJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeScaledJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ScaledJob, err error)
- func (c *FakeScaledJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ScaledJobList, err error)
- func (c *FakeScaledJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ScaledJob, err error)
- func (c *FakeScaledJobs) Update(ctx context.Context, scaledJob *v1alpha1.ScaledJob, opts v1.UpdateOptions) (result *v1alpha1.ScaledJob, err error)
- func (c *FakeScaledJobs) UpdateStatus(ctx context.Context, scaledJob *v1alpha1.ScaledJob, opts v1.UpdateOptions) (*v1alpha1.ScaledJob, error)
- func (c *FakeScaledJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeScaledObjects
- func (c *FakeScaledObjects) Create(ctx context.Context, scaledObject *v1alpha1.ScaledObject, ...) (result *v1alpha1.ScaledObject, err error)
- func (c *FakeScaledObjects) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeScaledObjects) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeScaledObjects) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ScaledObject, err error)
- func (c *FakeScaledObjects) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ScaledObjectList, err error)
- func (c *FakeScaledObjects) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ScaledObject, err error)
- func (c *FakeScaledObjects) Update(ctx context.Context, scaledObject *v1alpha1.ScaledObject, ...) (result *v1alpha1.ScaledObject, err error)
- func (c *FakeScaledObjects) UpdateStatus(ctx context.Context, scaledObject *v1alpha1.ScaledObject, ...) (*v1alpha1.ScaledObject, error)
- func (c *FakeScaledObjects) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTriggerAuthentications
- func (c *FakeTriggerAuthentications) Create(ctx context.Context, triggerAuthentication *v1alpha1.TriggerAuthentication, ...) (result *v1alpha1.TriggerAuthentication, err error)
- func (c *FakeTriggerAuthentications) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTriggerAuthentications) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTriggerAuthentications) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TriggerAuthentication, err error)
- func (c *FakeTriggerAuthentications) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TriggerAuthenticationList, err error)
- func (c *FakeTriggerAuthentications) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.TriggerAuthentication, err error)
- func (c *FakeTriggerAuthentications) Update(ctx context.Context, triggerAuthentication *v1alpha1.TriggerAuthentication, ...) (result *v1alpha1.TriggerAuthentication, err error)
- func (c *FakeTriggerAuthentications) UpdateStatus(ctx context.Context, triggerAuthentication *v1alpha1.TriggerAuthentication, ...) (*v1alpha1.TriggerAuthentication, error)
- func (c *FakeTriggerAuthentications) 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 FakeClusterTriggerAuthentications ¶
type FakeClusterTriggerAuthentications struct {
Fake *FakeKedaV1alpha1
}
FakeClusterTriggerAuthentications implements ClusterTriggerAuthenticationInterface
func (*FakeClusterTriggerAuthentications) Create ¶
func (c *FakeClusterTriggerAuthentications) Create(ctx context.Context, clusterTriggerAuthentication *v1alpha1.ClusterTriggerAuthentication, opts v1.CreateOptions) (result *v1alpha1.ClusterTriggerAuthentication, err error)
Create takes the representation of a clusterTriggerAuthentication and creates it. Returns the server's representation of the clusterTriggerAuthentication, and an error, if there is any.
func (*FakeClusterTriggerAuthentications) Delete ¶
func (c *FakeClusterTriggerAuthentications) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterTriggerAuthentication and deletes it. Returns an error if one occurs.
func (*FakeClusterTriggerAuthentications) DeleteCollection ¶
func (c *FakeClusterTriggerAuthentications) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterTriggerAuthentications) Get ¶
func (c *FakeClusterTriggerAuthentications) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterTriggerAuthentication, err error)
Get takes name of the clusterTriggerAuthentication, and returns the corresponding clusterTriggerAuthentication object, and an error if there is any.
func (*FakeClusterTriggerAuthentications) List ¶
func (c *FakeClusterTriggerAuthentications) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterTriggerAuthenticationList, err error)
List takes label and field selectors, and returns the list of ClusterTriggerAuthentications that match those selectors.
func (*FakeClusterTriggerAuthentications) Patch ¶
func (c *FakeClusterTriggerAuthentications) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterTriggerAuthentication, err error)
Patch applies the patch and returns the patched clusterTriggerAuthentication.
func (*FakeClusterTriggerAuthentications) Update ¶
func (c *FakeClusterTriggerAuthentications) Update(ctx context.Context, clusterTriggerAuthentication *v1alpha1.ClusterTriggerAuthentication, opts v1.UpdateOptions) (result *v1alpha1.ClusterTriggerAuthentication, err error)
Update takes the representation of a clusterTriggerAuthentication and updates it. Returns the server's representation of the clusterTriggerAuthentication, and an error, if there is any.
func (*FakeClusterTriggerAuthentications) UpdateStatus ¶
func (c *FakeClusterTriggerAuthentications) UpdateStatus(ctx context.Context, clusterTriggerAuthentication *v1alpha1.ClusterTriggerAuthentication, opts v1.UpdateOptions) (*v1alpha1.ClusterTriggerAuthentication, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterTriggerAuthentications) Watch ¶
func (c *FakeClusterTriggerAuthentications) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterTriggerAuthentications.
type FakeKedaV1alpha1 ¶
func (*FakeKedaV1alpha1) ClusterTriggerAuthentications ¶
func (c *FakeKedaV1alpha1) ClusterTriggerAuthentications() v1alpha1.ClusterTriggerAuthenticationInterface
func (*FakeKedaV1alpha1) RESTClient ¶
func (c *FakeKedaV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeKedaV1alpha1) ScaledJobs ¶
func (c *FakeKedaV1alpha1) ScaledJobs(namespace string) v1alpha1.ScaledJobInterface
func (*FakeKedaV1alpha1) ScaledObjects ¶
func (c *FakeKedaV1alpha1) ScaledObjects(namespace string) v1alpha1.ScaledObjectInterface
func (*FakeKedaV1alpha1) TriggerAuthentications ¶
func (c *FakeKedaV1alpha1) TriggerAuthentications(namespace string) v1alpha1.TriggerAuthenticationInterface
type FakeScaledJobs ¶
type FakeScaledJobs struct { Fake *FakeKedaV1alpha1 // contains filtered or unexported fields }
FakeScaledJobs implements ScaledJobInterface
func (*FakeScaledJobs) Create ¶
func (c *FakeScaledJobs) Create(ctx context.Context, scaledJob *v1alpha1.ScaledJob, opts v1.CreateOptions) (result *v1alpha1.ScaledJob, err error)
Create takes the representation of a scaledJob and creates it. Returns the server's representation of the scaledJob, and an error, if there is any.
func (*FakeScaledJobs) Delete ¶
func (c *FakeScaledJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the scaledJob and deletes it. Returns an error if one occurs.
func (*FakeScaledJobs) DeleteCollection ¶
func (c *FakeScaledJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeScaledJobs) Get ¶
func (c *FakeScaledJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ScaledJob, err error)
Get takes name of the scaledJob, and returns the corresponding scaledJob object, and an error if there is any.
func (*FakeScaledJobs) List ¶
func (c *FakeScaledJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ScaledJobList, err error)
List takes label and field selectors, and returns the list of ScaledJobs that match those selectors.
func (*FakeScaledJobs) Patch ¶
func (c *FakeScaledJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ScaledJob, err error)
Patch applies the patch and returns the patched scaledJob.
func (*FakeScaledJobs) Update ¶
func (c *FakeScaledJobs) Update(ctx context.Context, scaledJob *v1alpha1.ScaledJob, opts v1.UpdateOptions) (result *v1alpha1.ScaledJob, err error)
Update takes the representation of a scaledJob and updates it. Returns the server's representation of the scaledJob, and an error, if there is any.
func (*FakeScaledJobs) UpdateStatus ¶
func (c *FakeScaledJobs) UpdateStatus(ctx context.Context, scaledJob *v1alpha1.ScaledJob, opts v1.UpdateOptions) (*v1alpha1.ScaledJob, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeScaledJobs) Watch ¶
func (c *FakeScaledJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested scaledJobs.
type FakeScaledObjects ¶
type FakeScaledObjects struct { Fake *FakeKedaV1alpha1 // contains filtered or unexported fields }
FakeScaledObjects implements ScaledObjectInterface
func (*FakeScaledObjects) Create ¶
func (c *FakeScaledObjects) Create(ctx context.Context, scaledObject *v1alpha1.ScaledObject, opts v1.CreateOptions) (result *v1alpha1.ScaledObject, err error)
Create takes the representation of a scaledObject and creates it. Returns the server's representation of the scaledObject, and an error, if there is any.
func (*FakeScaledObjects) Delete ¶
func (c *FakeScaledObjects) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the scaledObject and deletes it. Returns an error if one occurs.
func (*FakeScaledObjects) DeleteCollection ¶
func (c *FakeScaledObjects) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeScaledObjects) Get ¶
func (c *FakeScaledObjects) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ScaledObject, err error)
Get takes name of the scaledObject, and returns the corresponding scaledObject object, and an error if there is any.
func (*FakeScaledObjects) List ¶
func (c *FakeScaledObjects) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ScaledObjectList, err error)
List takes label and field selectors, and returns the list of ScaledObjects that match those selectors.
func (*FakeScaledObjects) Patch ¶
func (c *FakeScaledObjects) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ScaledObject, err error)
Patch applies the patch and returns the patched scaledObject.
func (*FakeScaledObjects) Update ¶
func (c *FakeScaledObjects) Update(ctx context.Context, scaledObject *v1alpha1.ScaledObject, opts v1.UpdateOptions) (result *v1alpha1.ScaledObject, err error)
Update takes the representation of a scaledObject and updates it. Returns the server's representation of the scaledObject, and an error, if there is any.
func (*FakeScaledObjects) UpdateStatus ¶
func (c *FakeScaledObjects) UpdateStatus(ctx context.Context, scaledObject *v1alpha1.ScaledObject, opts v1.UpdateOptions) (*v1alpha1.ScaledObject, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeScaledObjects) Watch ¶
func (c *FakeScaledObjects) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested scaledObjects.
type FakeTriggerAuthentications ¶
type FakeTriggerAuthentications struct { Fake *FakeKedaV1alpha1 // contains filtered or unexported fields }
FakeTriggerAuthentications implements TriggerAuthenticationInterface
func (*FakeTriggerAuthentications) Create ¶
func (c *FakeTriggerAuthentications) Create(ctx context.Context, triggerAuthentication *v1alpha1.TriggerAuthentication, opts v1.CreateOptions) (result *v1alpha1.TriggerAuthentication, err error)
Create takes the representation of a triggerAuthentication and creates it. Returns the server's representation of the triggerAuthentication, and an error, if there is any.
func (*FakeTriggerAuthentications) Delete ¶
func (c *FakeTriggerAuthentications) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the triggerAuthentication and deletes it. Returns an error if one occurs.
func (*FakeTriggerAuthentications) DeleteCollection ¶
func (c *FakeTriggerAuthentications) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTriggerAuthentications) Get ¶
func (c *FakeTriggerAuthentications) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TriggerAuthentication, err error)
Get takes name of the triggerAuthentication, and returns the corresponding triggerAuthentication object, and an error if there is any.
func (*FakeTriggerAuthentications) List ¶
func (c *FakeTriggerAuthentications) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TriggerAuthenticationList, err error)
List takes label and field selectors, and returns the list of TriggerAuthentications that match those selectors.
func (*FakeTriggerAuthentications) Patch ¶
func (c *FakeTriggerAuthentications) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.TriggerAuthentication, err error)
Patch applies the patch and returns the patched triggerAuthentication.
func (*FakeTriggerAuthentications) Update ¶
func (c *FakeTriggerAuthentications) Update(ctx context.Context, triggerAuthentication *v1alpha1.TriggerAuthentication, opts v1.UpdateOptions) (result *v1alpha1.TriggerAuthentication, err error)
Update takes the representation of a triggerAuthentication and updates it. Returns the server's representation of the triggerAuthentication, and an error, if there is any.
func (*FakeTriggerAuthentications) UpdateStatus ¶
func (c *FakeTriggerAuthentications) UpdateStatus(ctx context.Context, triggerAuthentication *v1alpha1.TriggerAuthentication, opts v1.UpdateOptions) (*v1alpha1.TriggerAuthentication, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTriggerAuthentications) Watch ¶
func (c *FakeTriggerAuthentications) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested triggerAuthentications.