Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterTriggerBindings
- func (c *FakeClusterTriggerBindings) Create(clusterTriggerBinding *v1alpha1.ClusterTriggerBinding) (result *v1alpha1.ClusterTriggerBinding, err error)
- func (c *FakeClusterTriggerBindings) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusterTriggerBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusterTriggerBindings) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterTriggerBinding, err error)
- func (c *FakeClusterTriggerBindings) List(opts v1.ListOptions) (result *v1alpha1.ClusterTriggerBindingList, err error)
- func (c *FakeClusterTriggerBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterTriggerBinding, err error)
- func (c *FakeClusterTriggerBindings) Update(clusterTriggerBinding *v1alpha1.ClusterTriggerBinding) (result *v1alpha1.ClusterTriggerBinding, err error)
- func (c *FakeClusterTriggerBindings) UpdateStatus(clusterTriggerBinding *v1alpha1.ClusterTriggerBinding) (*v1alpha1.ClusterTriggerBinding, error)
- func (c *FakeClusterTriggerBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeEventListeners
- func (c *FakeEventListeners) Create(eventListener *v1alpha1.EventListener) (result *v1alpha1.EventListener, err error)
- func (c *FakeEventListeners) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeEventListeners) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeEventListeners) Get(name string, options v1.GetOptions) (result *v1alpha1.EventListener, err error)
- func (c *FakeEventListeners) List(opts v1.ListOptions) (result *v1alpha1.EventListenerList, err error)
- func (c *FakeEventListeners) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.EventListener, err error)
- func (c *FakeEventListeners) Update(eventListener *v1alpha1.EventListener) (result *v1alpha1.EventListener, err error)
- func (c *FakeEventListeners) UpdateStatus(eventListener *v1alpha1.EventListener) (*v1alpha1.EventListener, error)
- func (c *FakeEventListeners) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeTriggerBindings
- func (c *FakeTriggerBindings) Create(triggerBinding *v1alpha1.TriggerBinding) (result *v1alpha1.TriggerBinding, err error)
- func (c *FakeTriggerBindings) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeTriggerBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeTriggerBindings) Get(name string, options v1.GetOptions) (result *v1alpha1.TriggerBinding, err error)
- func (c *FakeTriggerBindings) List(opts v1.ListOptions) (result *v1alpha1.TriggerBindingList, err error)
- func (c *FakeTriggerBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.TriggerBinding, err error)
- func (c *FakeTriggerBindings) Update(triggerBinding *v1alpha1.TriggerBinding) (result *v1alpha1.TriggerBinding, err error)
- func (c *FakeTriggerBindings) UpdateStatus(triggerBinding *v1alpha1.TriggerBinding) (*v1alpha1.TriggerBinding, error)
- func (c *FakeTriggerBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeTriggerTemplates
- func (c *FakeTriggerTemplates) Create(triggerTemplate *v1alpha1.TriggerTemplate) (result *v1alpha1.TriggerTemplate, err error)
- func (c *FakeTriggerTemplates) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeTriggerTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeTriggerTemplates) Get(name string, options v1.GetOptions) (result *v1alpha1.TriggerTemplate, err error)
- func (c *FakeTriggerTemplates) List(opts v1.ListOptions) (result *v1alpha1.TriggerTemplateList, err error)
- func (c *FakeTriggerTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.TriggerTemplate, err error)
- func (c *FakeTriggerTemplates) Update(triggerTemplate *v1alpha1.TriggerTemplate) (result *v1alpha1.TriggerTemplate, err error)
- func (c *FakeTriggerTemplates) UpdateStatus(triggerTemplate *v1alpha1.TriggerTemplate) (*v1alpha1.TriggerTemplate, error)
- func (c *FakeTriggerTemplates) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeTriggersV1alpha1
- func (c *FakeTriggersV1alpha1) ClusterTriggerBindings() v1alpha1.ClusterTriggerBindingInterface
- func (c *FakeTriggersV1alpha1) EventListeners(namespace string) v1alpha1.EventListenerInterface
- func (c *FakeTriggersV1alpha1) RESTClient() rest.Interface
- func (c *FakeTriggersV1alpha1) TriggerBindings(namespace string) v1alpha1.TriggerBindingInterface
- func (c *FakeTriggersV1alpha1) TriggerTemplates(namespace string) v1alpha1.TriggerTemplateInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterTriggerBindings ¶
type FakeClusterTriggerBindings struct {
Fake *FakeTriggersV1alpha1
}
FakeClusterTriggerBindings implements ClusterTriggerBindingInterface
func (*FakeClusterTriggerBindings) Create ¶
func (c *FakeClusterTriggerBindings) Create(clusterTriggerBinding *v1alpha1.ClusterTriggerBinding) (result *v1alpha1.ClusterTriggerBinding, err error)
Create takes the representation of a clusterTriggerBinding and creates it. Returns the server's representation of the clusterTriggerBinding, and an error, if there is any.
func (*FakeClusterTriggerBindings) Delete ¶
func (c *FakeClusterTriggerBindings) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the clusterTriggerBinding and deletes it. Returns an error if one occurs.
func (*FakeClusterTriggerBindings) DeleteCollection ¶
func (c *FakeClusterTriggerBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterTriggerBindings) Get ¶
func (c *FakeClusterTriggerBindings) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterTriggerBinding, err error)
Get takes name of the clusterTriggerBinding, and returns the corresponding clusterTriggerBinding object, and an error if there is any.
func (*FakeClusterTriggerBindings) List ¶
func (c *FakeClusterTriggerBindings) List(opts v1.ListOptions) (result *v1alpha1.ClusterTriggerBindingList, err error)
List takes label and field selectors, and returns the list of ClusterTriggerBindings that match those selectors.
func (*FakeClusterTriggerBindings) Patch ¶
func (c *FakeClusterTriggerBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterTriggerBinding, err error)
Patch applies the patch and returns the patched clusterTriggerBinding.
func (*FakeClusterTriggerBindings) Update ¶
func (c *FakeClusterTriggerBindings) Update(clusterTriggerBinding *v1alpha1.ClusterTriggerBinding) (result *v1alpha1.ClusterTriggerBinding, err error)
Update takes the representation of a clusterTriggerBinding and updates it. Returns the server's representation of the clusterTriggerBinding, and an error, if there is any.
func (*FakeClusterTriggerBindings) UpdateStatus ¶
func (c *FakeClusterTriggerBindings) UpdateStatus(clusterTriggerBinding *v1alpha1.ClusterTriggerBinding) (*v1alpha1.ClusterTriggerBinding, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterTriggerBindings) Watch ¶
func (c *FakeClusterTriggerBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterTriggerBindings.
type FakeEventListeners ¶
type FakeEventListeners struct { Fake *FakeTriggersV1alpha1 // contains filtered or unexported fields }
FakeEventListeners implements EventListenerInterface
func (*FakeEventListeners) Create ¶
func (c *FakeEventListeners) Create(eventListener *v1alpha1.EventListener) (result *v1alpha1.EventListener, err error)
Create takes the representation of a eventListener and creates it. Returns the server's representation of the eventListener, and an error, if there is any.
func (*FakeEventListeners) Delete ¶
func (c *FakeEventListeners) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the eventListener and deletes it. Returns an error if one occurs.
func (*FakeEventListeners) DeleteCollection ¶
func (c *FakeEventListeners) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEventListeners) Get ¶
func (c *FakeEventListeners) Get(name string, options v1.GetOptions) (result *v1alpha1.EventListener, err error)
Get takes name of the eventListener, and returns the corresponding eventListener object, and an error if there is any.
func (*FakeEventListeners) List ¶
func (c *FakeEventListeners) List(opts v1.ListOptions) (result *v1alpha1.EventListenerList, err error)
List takes label and field selectors, and returns the list of EventListeners that match those selectors.
func (*FakeEventListeners) Patch ¶
func (c *FakeEventListeners) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.EventListener, err error)
Patch applies the patch and returns the patched eventListener.
func (*FakeEventListeners) Update ¶
func (c *FakeEventListeners) Update(eventListener *v1alpha1.EventListener) (result *v1alpha1.EventListener, err error)
Update takes the representation of a eventListener and updates it. Returns the server's representation of the eventListener, and an error, if there is any.
func (*FakeEventListeners) UpdateStatus ¶
func (c *FakeEventListeners) UpdateStatus(eventListener *v1alpha1.EventListener) (*v1alpha1.EventListener, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeEventListeners) Watch ¶
func (c *FakeEventListeners) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested eventListeners.
type FakeTriggerBindings ¶
type FakeTriggerBindings struct { Fake *FakeTriggersV1alpha1 // contains filtered or unexported fields }
FakeTriggerBindings implements TriggerBindingInterface
func (*FakeTriggerBindings) Create ¶
func (c *FakeTriggerBindings) Create(triggerBinding *v1alpha1.TriggerBinding) (result *v1alpha1.TriggerBinding, err error)
Create takes the representation of a triggerBinding and creates it. Returns the server's representation of the triggerBinding, and an error, if there is any.
func (*FakeTriggerBindings) Delete ¶
func (c *FakeTriggerBindings) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the triggerBinding and deletes it. Returns an error if one occurs.
func (*FakeTriggerBindings) DeleteCollection ¶
func (c *FakeTriggerBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTriggerBindings) Get ¶
func (c *FakeTriggerBindings) Get(name string, options v1.GetOptions) (result *v1alpha1.TriggerBinding, err error)
Get takes name of the triggerBinding, and returns the corresponding triggerBinding object, and an error if there is any.
func (*FakeTriggerBindings) List ¶
func (c *FakeTriggerBindings) List(opts v1.ListOptions) (result *v1alpha1.TriggerBindingList, err error)
List takes label and field selectors, and returns the list of TriggerBindings that match those selectors.
func (*FakeTriggerBindings) Patch ¶
func (c *FakeTriggerBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.TriggerBinding, err error)
Patch applies the patch and returns the patched triggerBinding.
func (*FakeTriggerBindings) Update ¶
func (c *FakeTriggerBindings) Update(triggerBinding *v1alpha1.TriggerBinding) (result *v1alpha1.TriggerBinding, err error)
Update takes the representation of a triggerBinding and updates it. Returns the server's representation of the triggerBinding, and an error, if there is any.
func (*FakeTriggerBindings) UpdateStatus ¶
func (c *FakeTriggerBindings) UpdateStatus(triggerBinding *v1alpha1.TriggerBinding) (*v1alpha1.TriggerBinding, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTriggerBindings) Watch ¶
func (c *FakeTriggerBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested triggerBindings.
type FakeTriggerTemplates ¶
type FakeTriggerTemplates struct { Fake *FakeTriggersV1alpha1 // contains filtered or unexported fields }
FakeTriggerTemplates implements TriggerTemplateInterface
func (*FakeTriggerTemplates) Create ¶
func (c *FakeTriggerTemplates) Create(triggerTemplate *v1alpha1.TriggerTemplate) (result *v1alpha1.TriggerTemplate, err error)
Create takes the representation of a triggerTemplate and creates it. Returns the server's representation of the triggerTemplate, and an error, if there is any.
func (*FakeTriggerTemplates) Delete ¶
func (c *FakeTriggerTemplates) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the triggerTemplate and deletes it. Returns an error if one occurs.
func (*FakeTriggerTemplates) DeleteCollection ¶
func (c *FakeTriggerTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTriggerTemplates) Get ¶
func (c *FakeTriggerTemplates) Get(name string, options v1.GetOptions) (result *v1alpha1.TriggerTemplate, err error)
Get takes name of the triggerTemplate, and returns the corresponding triggerTemplate object, and an error if there is any.
func (*FakeTriggerTemplates) List ¶
func (c *FakeTriggerTemplates) List(opts v1.ListOptions) (result *v1alpha1.TriggerTemplateList, err error)
List takes label and field selectors, and returns the list of TriggerTemplates that match those selectors.
func (*FakeTriggerTemplates) Patch ¶
func (c *FakeTriggerTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.TriggerTemplate, err error)
Patch applies the patch and returns the patched triggerTemplate.
func (*FakeTriggerTemplates) Update ¶
func (c *FakeTriggerTemplates) Update(triggerTemplate *v1alpha1.TriggerTemplate) (result *v1alpha1.TriggerTemplate, err error)
Update takes the representation of a triggerTemplate and updates it. Returns the server's representation of the triggerTemplate, and an error, if there is any.
func (*FakeTriggerTemplates) UpdateStatus ¶
func (c *FakeTriggerTemplates) UpdateStatus(triggerTemplate *v1alpha1.TriggerTemplate) (*v1alpha1.TriggerTemplate, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTriggerTemplates) Watch ¶
func (c *FakeTriggerTemplates) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested triggerTemplates.
type FakeTriggersV1alpha1 ¶
func (*FakeTriggersV1alpha1) ClusterTriggerBindings ¶
func (c *FakeTriggersV1alpha1) ClusterTriggerBindings() v1alpha1.ClusterTriggerBindingInterface
func (*FakeTriggersV1alpha1) EventListeners ¶
func (c *FakeTriggersV1alpha1) EventListeners(namespace string) v1alpha1.EventListenerInterface
func (*FakeTriggersV1alpha1) RESTClient ¶
func (c *FakeTriggersV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeTriggersV1alpha1) TriggerBindings ¶
func (c *FakeTriggersV1alpha1) TriggerBindings(namespace string) v1alpha1.TriggerBindingInterface
func (*FakeTriggersV1alpha1) TriggerTemplates ¶
func (c *FakeTriggersV1alpha1) TriggerTemplates(namespace string) v1alpha1.TriggerTemplateInterface