Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCanaryConfigs
- func (c *FakeCanaryConfigs) Create(ctx context.Context, _canaryConfig *corev1.CanaryConfig, opts v1.CreateOptions) (result *corev1.CanaryConfig, err error)
- func (c *FakeCanaryConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCanaryConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCanaryConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *corev1.CanaryConfig, err error)
- func (c *FakeCanaryConfigs) List(ctx context.Context, opts v1.ListOptions) (result *corev1.CanaryConfigList, err error)
- func (c *FakeCanaryConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *corev1.CanaryConfig, err error)
- func (c *FakeCanaryConfigs) Update(ctx context.Context, _canaryConfig *corev1.CanaryConfig, opts v1.UpdateOptions) (result *corev1.CanaryConfig, err error)
- func (c *FakeCanaryConfigs) UpdateStatus(ctx context.Context, _canaryConfig *corev1.CanaryConfig, opts v1.UpdateOptions) (*corev1.CanaryConfig, error)
- func (c *FakeCanaryConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCoreV1
- func (c *FakeCoreV1) CanaryConfigs(namespace string) v1.CanaryConfigInterface
- func (c *FakeCoreV1) Environments(namespace string) v1.EnvironmentInterface
- func (c *FakeCoreV1) Functions(namespace string) v1.FunctionInterface
- func (c *FakeCoreV1) HTTPTriggers(namespace string) v1.HTTPTriggerInterface
- func (c *FakeCoreV1) KubernetesWatchTriggers(namespace string) v1.KubernetesWatchTriggerInterface
- func (c *FakeCoreV1) MessageQueueTriggers(namespace string) v1.MessageQueueTriggerInterface
- func (c *FakeCoreV1) Packages(namespace string) v1.PackageInterface
- func (c *FakeCoreV1) RESTClient() rest.Interface
- func (c *FakeCoreV1) TimeTriggers(namespace string) v1.TimeTriggerInterface
- type FakeEnvironments
- func (c *FakeEnvironments) Create(ctx context.Context, _environment *corev1.Environment, opts v1.CreateOptions) (result *corev1.Environment, err error)
- func (c *FakeEnvironments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeEnvironments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeEnvironments) Get(ctx context.Context, name string, options v1.GetOptions) (result *corev1.Environment, err error)
- func (c *FakeEnvironments) List(ctx context.Context, opts v1.ListOptions) (result *corev1.EnvironmentList, err error)
- func (c *FakeEnvironments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *corev1.Environment, err error)
- func (c *FakeEnvironments) Update(ctx context.Context, _environment *corev1.Environment, opts v1.UpdateOptions) (result *corev1.Environment, err error)
- func (c *FakeEnvironments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeFunctions
- func (c *FakeFunctions) Create(ctx context.Context, _function *corev1.Function, opts v1.CreateOptions) (result *corev1.Function, err error)
- func (c *FakeFunctions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFunctions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFunctions) Get(ctx context.Context, name string, options v1.GetOptions) (result *corev1.Function, err error)
- func (c *FakeFunctions) List(ctx context.Context, opts v1.ListOptions) (result *corev1.FunctionList, err error)
- func (c *FakeFunctions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *corev1.Function, err error)
- func (c *FakeFunctions) Update(ctx context.Context, _function *corev1.Function, opts v1.UpdateOptions) (result *corev1.Function, err error)
- func (c *FakeFunctions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeHTTPTriggers
- func (c *FakeHTTPTriggers) Create(ctx context.Context, _hTTPTrigger *corev1.HTTPTrigger, opts v1.CreateOptions) (result *corev1.HTTPTrigger, err error)
- func (c *FakeHTTPTriggers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeHTTPTriggers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeHTTPTriggers) Get(ctx context.Context, name string, options v1.GetOptions) (result *corev1.HTTPTrigger, err error)
- func (c *FakeHTTPTriggers) List(ctx context.Context, opts v1.ListOptions) (result *corev1.HTTPTriggerList, err error)
- func (c *FakeHTTPTriggers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *corev1.HTTPTrigger, err error)
- func (c *FakeHTTPTriggers) Update(ctx context.Context, _hTTPTrigger *corev1.HTTPTrigger, opts v1.UpdateOptions) (result *corev1.HTTPTrigger, err error)
- func (c *FakeHTTPTriggers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKubernetesWatchTriggers
- func (c *FakeKubernetesWatchTriggers) Create(ctx context.Context, _kubernetesWatchTrigger *corev1.KubernetesWatchTrigger, ...) (result *corev1.KubernetesWatchTrigger, err error)
- func (c *FakeKubernetesWatchTriggers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKubernetesWatchTriggers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKubernetesWatchTriggers) Get(ctx context.Context, name string, options v1.GetOptions) (result *corev1.KubernetesWatchTrigger, err error)
- func (c *FakeKubernetesWatchTriggers) List(ctx context.Context, opts v1.ListOptions) (result *corev1.KubernetesWatchTriggerList, err error)
- func (c *FakeKubernetesWatchTriggers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *corev1.KubernetesWatchTrigger, err error)
- func (c *FakeKubernetesWatchTriggers) Update(ctx context.Context, _kubernetesWatchTrigger *corev1.KubernetesWatchTrigger, ...) (result *corev1.KubernetesWatchTrigger, err error)
- func (c *FakeKubernetesWatchTriggers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMessageQueueTriggers
- func (c *FakeMessageQueueTriggers) Create(ctx context.Context, _messageQueueTrigger *corev1.MessageQueueTrigger, ...) (result *corev1.MessageQueueTrigger, err error)
- func (c *FakeMessageQueueTriggers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMessageQueueTriggers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMessageQueueTriggers) Get(ctx context.Context, name string, options v1.GetOptions) (result *corev1.MessageQueueTrigger, err error)
- func (c *FakeMessageQueueTriggers) List(ctx context.Context, opts v1.ListOptions) (result *corev1.MessageQueueTriggerList, err error)
- func (c *FakeMessageQueueTriggers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *corev1.MessageQueueTrigger, err error)
- func (c *FakeMessageQueueTriggers) Update(ctx context.Context, _messageQueueTrigger *corev1.MessageQueueTrigger, ...) (result *corev1.MessageQueueTrigger, err error)
- func (c *FakeMessageQueueTriggers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePackages
- func (c *FakePackages) Create(ctx context.Context, _package *corev1.Package, opts v1.CreateOptions) (result *corev1.Package, err error)
- func (c *FakePackages) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePackages) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePackages) Get(ctx context.Context, name string, options v1.GetOptions) (result *corev1.Package, err error)
- func (c *FakePackages) List(ctx context.Context, opts v1.ListOptions) (result *corev1.PackageList, err error)
- func (c *FakePackages) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *corev1.Package, err error)
- func (c *FakePackages) Update(ctx context.Context, _package *corev1.Package, opts v1.UpdateOptions) (result *corev1.Package, err error)
- func (c *FakePackages) UpdateStatus(ctx context.Context, _package *corev1.Package, opts v1.UpdateOptions) (*corev1.Package, error)
- func (c *FakePackages) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTimeTriggers
- func (c *FakeTimeTriggers) Create(ctx context.Context, _timeTrigger *corev1.TimeTrigger, opts v1.CreateOptions) (result *corev1.TimeTrigger, err error)
- func (c *FakeTimeTriggers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTimeTriggers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTimeTriggers) Get(ctx context.Context, name string, options v1.GetOptions) (result *corev1.TimeTrigger, err error)
- func (c *FakeTimeTriggers) List(ctx context.Context, opts v1.ListOptions) (result *corev1.TimeTriggerList, err error)
- func (c *FakeTimeTriggers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *corev1.TimeTrigger, err error)
- func (c *FakeTimeTriggers) Update(ctx context.Context, _timeTrigger *corev1.TimeTrigger, opts v1.UpdateOptions) (result *corev1.TimeTrigger, err error)
- func (c *FakeTimeTriggers) 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 FakeCanaryConfigs ¶
type FakeCanaryConfigs struct { Fake *FakeCoreV1 // contains filtered or unexported fields }
FakeCanaryConfigs implements CanaryConfigInterface
func (*FakeCanaryConfigs) Create ¶
func (c *FakeCanaryConfigs) Create(ctx context.Context, _canaryConfig *corev1.CanaryConfig, opts v1.CreateOptions) (result *corev1.CanaryConfig, err error)
Create takes the representation of a _canaryConfig and creates it. Returns the server's representation of the canaryConfig, and an error, if there is any.
func (*FakeCanaryConfigs) Delete ¶
func (c *FakeCanaryConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the _canaryConfig and deletes it. Returns an error if one occurs.
func (*FakeCanaryConfigs) DeleteCollection ¶
func (c *FakeCanaryConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCanaryConfigs) Get ¶
func (c *FakeCanaryConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *corev1.CanaryConfig, err error)
Get takes name of the _canaryConfig, and returns the corresponding canaryConfig object, and an error if there is any.
func (*FakeCanaryConfigs) List ¶
func (c *FakeCanaryConfigs) List(ctx context.Context, opts v1.ListOptions) (result *corev1.CanaryConfigList, err error)
List takes label and field selectors, and returns the list of CanaryConfigs that match those selectors.
func (*FakeCanaryConfigs) Patch ¶
func (c *FakeCanaryConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *corev1.CanaryConfig, err error)
Patch applies the patch and returns the patched canaryConfig.
func (*FakeCanaryConfigs) Update ¶
func (c *FakeCanaryConfigs) Update(ctx context.Context, _canaryConfig *corev1.CanaryConfig, opts v1.UpdateOptions) (result *corev1.CanaryConfig, err error)
Update takes the representation of a _canaryConfig and updates it. Returns the server's representation of the canaryConfig, and an error, if there is any.
func (*FakeCanaryConfigs) UpdateStatus ¶
func (c *FakeCanaryConfigs) UpdateStatus(ctx context.Context, _canaryConfig *corev1.CanaryConfig, opts v1.UpdateOptions) (*corev1.CanaryConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCanaryConfigs) Watch ¶
func (c *FakeCanaryConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested canaryConfigs.
type FakeCoreV1 ¶
func (*FakeCoreV1) CanaryConfigs ¶
func (c *FakeCoreV1) CanaryConfigs(namespace string) v1.CanaryConfigInterface
func (*FakeCoreV1) Environments ¶
func (c *FakeCoreV1) Environments(namespace string) v1.EnvironmentInterface
func (*FakeCoreV1) Functions ¶
func (c *FakeCoreV1) Functions(namespace string) v1.FunctionInterface
func (*FakeCoreV1) HTTPTriggers ¶
func (c *FakeCoreV1) HTTPTriggers(namespace string) v1.HTTPTriggerInterface
func (*FakeCoreV1) KubernetesWatchTriggers ¶
func (c *FakeCoreV1) KubernetesWatchTriggers(namespace string) v1.KubernetesWatchTriggerInterface
func (*FakeCoreV1) MessageQueueTriggers ¶
func (c *FakeCoreV1) MessageQueueTriggers(namespace string) v1.MessageQueueTriggerInterface
func (*FakeCoreV1) Packages ¶
func (c *FakeCoreV1) Packages(namespace string) v1.PackageInterface
func (*FakeCoreV1) RESTClient ¶
func (c *FakeCoreV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeCoreV1) TimeTriggers ¶
func (c *FakeCoreV1) TimeTriggers(namespace string) v1.TimeTriggerInterface
type FakeEnvironments ¶
type FakeEnvironments struct { Fake *FakeCoreV1 // contains filtered or unexported fields }
FakeEnvironments implements EnvironmentInterface
func (*FakeEnvironments) Create ¶
func (c *FakeEnvironments) Create(ctx context.Context, _environment *corev1.Environment, opts v1.CreateOptions) (result *corev1.Environment, err error)
Create takes the representation of a _environment and creates it. Returns the server's representation of the environment, and an error, if there is any.
func (*FakeEnvironments) Delete ¶
func (c *FakeEnvironments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the _environment and deletes it. Returns an error if one occurs.
func (*FakeEnvironments) DeleteCollection ¶
func (c *FakeEnvironments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEnvironments) Get ¶
func (c *FakeEnvironments) Get(ctx context.Context, name string, options v1.GetOptions) (result *corev1.Environment, err error)
Get takes name of the _environment, and returns the corresponding environment object, and an error if there is any.
func (*FakeEnvironments) List ¶
func (c *FakeEnvironments) List(ctx context.Context, opts v1.ListOptions) (result *corev1.EnvironmentList, err error)
List takes label and field selectors, and returns the list of Environments that match those selectors.
func (*FakeEnvironments) Patch ¶
func (c *FakeEnvironments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *corev1.Environment, err error)
Patch applies the patch and returns the patched environment.
func (*FakeEnvironments) Update ¶
func (c *FakeEnvironments) Update(ctx context.Context, _environment *corev1.Environment, opts v1.UpdateOptions) (result *corev1.Environment, err error)
Update takes the representation of a _environment and updates it. Returns the server's representation of the environment, and an error, if there is any.
func (*FakeEnvironments) Watch ¶
func (c *FakeEnvironments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested environments.
type FakeFunctions ¶
type FakeFunctions struct { Fake *FakeCoreV1 // contains filtered or unexported fields }
FakeFunctions implements FunctionInterface
func (*FakeFunctions) Create ¶
func (c *FakeFunctions) Create(ctx context.Context, _function *corev1.Function, opts v1.CreateOptions) (result *corev1.Function, err error)
Create takes the representation of a _function and creates it. Returns the server's representation of the function, and an error, if there is any.
func (*FakeFunctions) Delete ¶
func (c *FakeFunctions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the _function and deletes it. Returns an error if one occurs.
func (*FakeFunctions) DeleteCollection ¶
func (c *FakeFunctions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFunctions) Get ¶
func (c *FakeFunctions) Get(ctx context.Context, name string, options v1.GetOptions) (result *corev1.Function, err error)
Get takes name of the _function, and returns the corresponding function object, and an error if there is any.
func (*FakeFunctions) List ¶
func (c *FakeFunctions) List(ctx context.Context, opts v1.ListOptions) (result *corev1.FunctionList, err error)
List takes label and field selectors, and returns the list of Functions that match those selectors.
func (*FakeFunctions) Patch ¶
func (c *FakeFunctions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *corev1.Function, err error)
Patch applies the patch and returns the patched function.
func (*FakeFunctions) Update ¶
func (c *FakeFunctions) Update(ctx context.Context, _function *corev1.Function, opts v1.UpdateOptions) (result *corev1.Function, err error)
Update takes the representation of a _function and updates it. Returns the server's representation of the function, and an error, if there is any.
func (*FakeFunctions) Watch ¶
func (c *FakeFunctions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested functions.
type FakeHTTPTriggers ¶
type FakeHTTPTriggers struct { Fake *FakeCoreV1 // contains filtered or unexported fields }
FakeHTTPTriggers implements HTTPTriggerInterface
func (*FakeHTTPTriggers) Create ¶
func (c *FakeHTTPTriggers) Create(ctx context.Context, _hTTPTrigger *corev1.HTTPTrigger, opts v1.CreateOptions) (result *corev1.HTTPTrigger, err error)
Create takes the representation of a _hTTPTrigger and creates it. Returns the server's representation of the hTTPTrigger, and an error, if there is any.
func (*FakeHTTPTriggers) Delete ¶
func (c *FakeHTTPTriggers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the _hTTPTrigger and deletes it. Returns an error if one occurs.
func (*FakeHTTPTriggers) DeleteCollection ¶
func (c *FakeHTTPTriggers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeHTTPTriggers) Get ¶
func (c *FakeHTTPTriggers) Get(ctx context.Context, name string, options v1.GetOptions) (result *corev1.HTTPTrigger, err error)
Get takes name of the _hTTPTrigger, and returns the corresponding hTTPTrigger object, and an error if there is any.
func (*FakeHTTPTriggers) List ¶
func (c *FakeHTTPTriggers) List(ctx context.Context, opts v1.ListOptions) (result *corev1.HTTPTriggerList, err error)
List takes label and field selectors, and returns the list of HTTPTriggers that match those selectors.
func (*FakeHTTPTriggers) Patch ¶
func (c *FakeHTTPTriggers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *corev1.HTTPTrigger, err error)
Patch applies the patch and returns the patched hTTPTrigger.
func (*FakeHTTPTriggers) Update ¶
func (c *FakeHTTPTriggers) Update(ctx context.Context, _hTTPTrigger *corev1.HTTPTrigger, opts v1.UpdateOptions) (result *corev1.HTTPTrigger, err error)
Update takes the representation of a _hTTPTrigger and updates it. Returns the server's representation of the hTTPTrigger, and an error, if there is any.
func (*FakeHTTPTriggers) Watch ¶
func (c *FakeHTTPTriggers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested hTTPTriggers.
type FakeKubernetesWatchTriggers ¶
type FakeKubernetesWatchTriggers struct { Fake *FakeCoreV1 // contains filtered or unexported fields }
FakeKubernetesWatchTriggers implements KubernetesWatchTriggerInterface
func (*FakeKubernetesWatchTriggers) Create ¶
func (c *FakeKubernetesWatchTriggers) Create(ctx context.Context, _kubernetesWatchTrigger *corev1.KubernetesWatchTrigger, opts v1.CreateOptions) (result *corev1.KubernetesWatchTrigger, err error)
Create takes the representation of a _kubernetesWatchTrigger and creates it. Returns the server's representation of the kubernetesWatchTrigger, and an error, if there is any.
func (*FakeKubernetesWatchTriggers) Delete ¶
func (c *FakeKubernetesWatchTriggers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the _kubernetesWatchTrigger and deletes it. Returns an error if one occurs.
func (*FakeKubernetesWatchTriggers) DeleteCollection ¶
func (c *FakeKubernetesWatchTriggers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKubernetesWatchTriggers) Get ¶
func (c *FakeKubernetesWatchTriggers) Get(ctx context.Context, name string, options v1.GetOptions) (result *corev1.KubernetesWatchTrigger, err error)
Get takes name of the _kubernetesWatchTrigger, and returns the corresponding kubernetesWatchTrigger object, and an error if there is any.
func (*FakeKubernetesWatchTriggers) List ¶
func (c *FakeKubernetesWatchTriggers) List(ctx context.Context, opts v1.ListOptions) (result *corev1.KubernetesWatchTriggerList, err error)
List takes label and field selectors, and returns the list of KubernetesWatchTriggers that match those selectors.
func (*FakeKubernetesWatchTriggers) Patch ¶
func (c *FakeKubernetesWatchTriggers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *corev1.KubernetesWatchTrigger, err error)
Patch applies the patch and returns the patched kubernetesWatchTrigger.
func (*FakeKubernetesWatchTriggers) Update ¶
func (c *FakeKubernetesWatchTriggers) Update(ctx context.Context, _kubernetesWatchTrigger *corev1.KubernetesWatchTrigger, opts v1.UpdateOptions) (result *corev1.KubernetesWatchTrigger, err error)
Update takes the representation of a _kubernetesWatchTrigger and updates it. Returns the server's representation of the kubernetesWatchTrigger, and an error, if there is any.
func (*FakeKubernetesWatchTriggers) Watch ¶
func (c *FakeKubernetesWatchTriggers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kubernetesWatchTriggers.
type FakeMessageQueueTriggers ¶
type FakeMessageQueueTriggers struct { Fake *FakeCoreV1 // contains filtered or unexported fields }
FakeMessageQueueTriggers implements MessageQueueTriggerInterface
func (*FakeMessageQueueTriggers) Create ¶
func (c *FakeMessageQueueTriggers) Create(ctx context.Context, _messageQueueTrigger *corev1.MessageQueueTrigger, opts v1.CreateOptions) (result *corev1.MessageQueueTrigger, err error)
Create takes the representation of a _messageQueueTrigger and creates it. Returns the server's representation of the messageQueueTrigger, and an error, if there is any.
func (*FakeMessageQueueTriggers) Delete ¶
func (c *FakeMessageQueueTriggers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the _messageQueueTrigger and deletes it. Returns an error if one occurs.
func (*FakeMessageQueueTriggers) DeleteCollection ¶
func (c *FakeMessageQueueTriggers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMessageQueueTriggers) Get ¶
func (c *FakeMessageQueueTriggers) Get(ctx context.Context, name string, options v1.GetOptions) (result *corev1.MessageQueueTrigger, err error)
Get takes name of the _messageQueueTrigger, and returns the corresponding messageQueueTrigger object, and an error if there is any.
func (*FakeMessageQueueTriggers) List ¶
func (c *FakeMessageQueueTriggers) List(ctx context.Context, opts v1.ListOptions) (result *corev1.MessageQueueTriggerList, err error)
List takes label and field selectors, and returns the list of MessageQueueTriggers that match those selectors.
func (*FakeMessageQueueTriggers) Patch ¶
func (c *FakeMessageQueueTriggers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *corev1.MessageQueueTrigger, err error)
Patch applies the patch and returns the patched messageQueueTrigger.
func (*FakeMessageQueueTriggers) Update ¶
func (c *FakeMessageQueueTriggers) Update(ctx context.Context, _messageQueueTrigger *corev1.MessageQueueTrigger, opts v1.UpdateOptions) (result *corev1.MessageQueueTrigger, err error)
Update takes the representation of a _messageQueueTrigger and updates it. Returns the server's representation of the messageQueueTrigger, and an error, if there is any.
func (*FakeMessageQueueTriggers) Watch ¶
func (c *FakeMessageQueueTriggers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested messageQueueTriggers.
type FakePackages ¶
type FakePackages struct { Fake *FakeCoreV1 // contains filtered or unexported fields }
FakePackages implements PackageInterface
func (*FakePackages) Create ¶
func (c *FakePackages) Create(ctx context.Context, _package *corev1.Package, opts v1.CreateOptions) (result *corev1.Package, err error)
Create takes the representation of a _package and creates it. Returns the server's representation of the package, and an error, if there is any.
func (*FakePackages) Delete ¶
func (c *FakePackages) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the _package and deletes it. Returns an error if one occurs.
func (*FakePackages) DeleteCollection ¶
func (c *FakePackages) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePackages) Get ¶
func (c *FakePackages) Get(ctx context.Context, name string, options v1.GetOptions) (result *corev1.Package, err error)
Get takes name of the _package, and returns the corresponding package object, and an error if there is any.
func (*FakePackages) List ¶
func (c *FakePackages) List(ctx context.Context, opts v1.ListOptions) (result *corev1.PackageList, err error)
List takes label and field selectors, and returns the list of Packages that match those selectors.
func (*FakePackages) Patch ¶
func (c *FakePackages) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *corev1.Package, err error)
Patch applies the patch and returns the patched package.
func (*FakePackages) Update ¶
func (c *FakePackages) Update(ctx context.Context, _package *corev1.Package, opts v1.UpdateOptions) (result *corev1.Package, err error)
Update takes the representation of a _package and updates it. Returns the server's representation of the package, and an error, if there is any.
func (*FakePackages) UpdateStatus ¶
func (c *FakePackages) UpdateStatus(ctx context.Context, _package *corev1.Package, opts v1.UpdateOptions) (*corev1.Package, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePackages) Watch ¶
func (c *FakePackages) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested packages.
type FakeTimeTriggers ¶
type FakeTimeTriggers struct { Fake *FakeCoreV1 // contains filtered or unexported fields }
FakeTimeTriggers implements TimeTriggerInterface
func (*FakeTimeTriggers) Create ¶
func (c *FakeTimeTriggers) Create(ctx context.Context, _timeTrigger *corev1.TimeTrigger, opts v1.CreateOptions) (result *corev1.TimeTrigger, err error)
Create takes the representation of a _timeTrigger and creates it. Returns the server's representation of the timeTrigger, and an error, if there is any.
func (*FakeTimeTriggers) Delete ¶
func (c *FakeTimeTriggers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the _timeTrigger and deletes it. Returns an error if one occurs.
func (*FakeTimeTriggers) DeleteCollection ¶
func (c *FakeTimeTriggers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTimeTriggers) Get ¶
func (c *FakeTimeTriggers) Get(ctx context.Context, name string, options v1.GetOptions) (result *corev1.TimeTrigger, err error)
Get takes name of the _timeTrigger, and returns the corresponding timeTrigger object, and an error if there is any.
func (*FakeTimeTriggers) List ¶
func (c *FakeTimeTriggers) List(ctx context.Context, opts v1.ListOptions) (result *corev1.TimeTriggerList, err error)
List takes label and field selectors, and returns the list of TimeTriggers that match those selectors.
func (*FakeTimeTriggers) Patch ¶
func (c *FakeTimeTriggers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *corev1.TimeTrigger, err error)
Patch applies the patch and returns the patched timeTrigger.
func (*FakeTimeTriggers) Update ¶
func (c *FakeTimeTriggers) Update(ctx context.Context, _timeTrigger *corev1.TimeTrigger, opts v1.UpdateOptions) (result *corev1.TimeTrigger, err error)
Update takes the representation of a _timeTrigger and updates it. Returns the server's representation of the timeTrigger, and an error, if there is any.
func (*FakeTimeTriggers) Watch ¶
func (c *FakeTimeTriggers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested timeTriggers.