Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeEventPolicies
- func (c *FakeEventPolicies) Create(eventPolicy *v1alpha1.EventPolicy) (result *v1alpha1.EventPolicy, err error)
- func (c *FakeEventPolicies) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeEventPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeEventPolicies) Get(name string, options v1.GetOptions) (result *v1alpha1.EventPolicy, err error)
- func (c *FakeEventPolicies) List(opts v1.ListOptions) (result *v1alpha1.EventPolicyList, err error)
- func (c *FakeEventPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.EventPolicy, err error)
- func (c *FakeEventPolicies) Update(eventPolicy *v1alpha1.EventPolicy) (result *v1alpha1.EventPolicy, err error)
- func (c *FakeEventPolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeEventPolicyBindings
- func (c *FakeEventPolicyBindings) Create(eventPolicyBinding *v1alpha1.EventPolicyBinding) (result *v1alpha1.EventPolicyBinding, err error)
- func (c *FakeEventPolicyBindings) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeEventPolicyBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeEventPolicyBindings) Get(name string, options v1.GetOptions) (result *v1alpha1.EventPolicyBinding, err error)
- func (c *FakeEventPolicyBindings) List(opts v1.ListOptions) (result *v1alpha1.EventPolicyBindingList, err error)
- func (c *FakeEventPolicyBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.EventPolicyBinding, err error)
- func (c *FakeEventPolicyBindings) Update(eventPolicyBinding *v1alpha1.EventPolicyBinding) (result *v1alpha1.EventPolicyBinding, err error)
- func (c *FakeEventPolicyBindings) UpdateStatus(eventPolicyBinding *v1alpha1.EventPolicyBinding) (*v1alpha1.EventPolicyBinding, error)
- func (c *FakeEventPolicyBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeHTTPPolicies
- func (c *FakeHTTPPolicies) Create(hTTPPolicy *v1alpha1.HTTPPolicy) (result *v1alpha1.HTTPPolicy, err error)
- func (c *FakeHTTPPolicies) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeHTTPPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeHTTPPolicies) Get(name string, options v1.GetOptions) (result *v1alpha1.HTTPPolicy, err error)
- func (c *FakeHTTPPolicies) List(opts v1.ListOptions) (result *v1alpha1.HTTPPolicyList, err error)
- func (c *FakeHTTPPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.HTTPPolicy, err error)
- func (c *FakeHTTPPolicies) Update(hTTPPolicy *v1alpha1.HTTPPolicy) (result *v1alpha1.HTTPPolicy, err error)
- func (c *FakeHTTPPolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeHTTPPolicyBindings
- func (c *FakeHTTPPolicyBindings) Create(hTTPPolicyBinding *v1alpha1.HTTPPolicyBinding) (result *v1alpha1.HTTPPolicyBinding, err error)
- func (c *FakeHTTPPolicyBindings) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeHTTPPolicyBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeHTTPPolicyBindings) Get(name string, options v1.GetOptions) (result *v1alpha1.HTTPPolicyBinding, err error)
- func (c *FakeHTTPPolicyBindings) List(opts v1.ListOptions) (result *v1alpha1.HTTPPolicyBindingList, err error)
- func (c *FakeHTTPPolicyBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.HTTPPolicyBinding, err error)
- func (c *FakeHTTPPolicyBindings) Update(hTTPPolicyBinding *v1alpha1.HTTPPolicyBinding) (result *v1alpha1.HTTPPolicyBinding, err error)
- func (c *FakeHTTPPolicyBindings) UpdateStatus(hTTPPolicyBinding *v1alpha1.HTTPPolicyBinding) (*v1alpha1.HTTPPolicyBinding, error)
- func (c *FakeHTTPPolicyBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakePolicyV1alpha1
- func (c *FakePolicyV1alpha1) EventPolicies(namespace string) v1alpha1.EventPolicyInterface
- func (c *FakePolicyV1alpha1) EventPolicyBindings(namespace string) v1alpha1.EventPolicyBindingInterface
- func (c *FakePolicyV1alpha1) HTTPPolicies(namespace string) v1alpha1.HTTPPolicyInterface
- func (c *FakePolicyV1alpha1) HTTPPolicyBindings(namespace string) v1alpha1.HTTPPolicyBindingInterface
- func (c *FakePolicyV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeEventPolicies ¶
type FakeEventPolicies struct { Fake *FakePolicyV1alpha1 // contains filtered or unexported fields }
FakeEventPolicies implements EventPolicyInterface
func (*FakeEventPolicies) Create ¶
func (c *FakeEventPolicies) Create(eventPolicy *v1alpha1.EventPolicy) (result *v1alpha1.EventPolicy, err error)
Create takes the representation of a eventPolicy and creates it. Returns the server's representation of the eventPolicy, and an error, if there is any.
func (*FakeEventPolicies) Delete ¶
func (c *FakeEventPolicies) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the eventPolicy and deletes it. Returns an error if one occurs.
func (*FakeEventPolicies) DeleteCollection ¶
func (c *FakeEventPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEventPolicies) Get ¶
func (c *FakeEventPolicies) Get(name string, options v1.GetOptions) (result *v1alpha1.EventPolicy, err error)
Get takes name of the eventPolicy, and returns the corresponding eventPolicy object, and an error if there is any.
func (*FakeEventPolicies) List ¶
func (c *FakeEventPolicies) List(opts v1.ListOptions) (result *v1alpha1.EventPolicyList, err error)
List takes label and field selectors, and returns the list of EventPolicies that match those selectors.
func (*FakeEventPolicies) Patch ¶
func (c *FakeEventPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.EventPolicy, err error)
Patch applies the patch and returns the patched eventPolicy.
func (*FakeEventPolicies) Update ¶
func (c *FakeEventPolicies) Update(eventPolicy *v1alpha1.EventPolicy) (result *v1alpha1.EventPolicy, err error)
Update takes the representation of a eventPolicy and updates it. Returns the server's representation of the eventPolicy, and an error, if there is any.
func (*FakeEventPolicies) Watch ¶
func (c *FakeEventPolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested eventPolicies.
type FakeEventPolicyBindings ¶
type FakeEventPolicyBindings struct { Fake *FakePolicyV1alpha1 // contains filtered or unexported fields }
FakeEventPolicyBindings implements EventPolicyBindingInterface
func (*FakeEventPolicyBindings) Create ¶
func (c *FakeEventPolicyBindings) Create(eventPolicyBinding *v1alpha1.EventPolicyBinding) (result *v1alpha1.EventPolicyBinding, err error)
Create takes the representation of a eventPolicyBinding and creates it. Returns the server's representation of the eventPolicyBinding, and an error, if there is any.
func (*FakeEventPolicyBindings) Delete ¶
func (c *FakeEventPolicyBindings) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the eventPolicyBinding and deletes it. Returns an error if one occurs.
func (*FakeEventPolicyBindings) DeleteCollection ¶
func (c *FakeEventPolicyBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEventPolicyBindings) Get ¶
func (c *FakeEventPolicyBindings) Get(name string, options v1.GetOptions) (result *v1alpha1.EventPolicyBinding, err error)
Get takes name of the eventPolicyBinding, and returns the corresponding eventPolicyBinding object, and an error if there is any.
func (*FakeEventPolicyBindings) List ¶
func (c *FakeEventPolicyBindings) List(opts v1.ListOptions) (result *v1alpha1.EventPolicyBindingList, err error)
List takes label and field selectors, and returns the list of EventPolicyBindings that match those selectors.
func (*FakeEventPolicyBindings) Patch ¶
func (c *FakeEventPolicyBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.EventPolicyBinding, err error)
Patch applies the patch and returns the patched eventPolicyBinding.
func (*FakeEventPolicyBindings) Update ¶
func (c *FakeEventPolicyBindings) Update(eventPolicyBinding *v1alpha1.EventPolicyBinding) (result *v1alpha1.EventPolicyBinding, err error)
Update takes the representation of a eventPolicyBinding and updates it. Returns the server's representation of the eventPolicyBinding, and an error, if there is any.
func (*FakeEventPolicyBindings) UpdateStatus ¶
func (c *FakeEventPolicyBindings) UpdateStatus(eventPolicyBinding *v1alpha1.EventPolicyBinding) (*v1alpha1.EventPolicyBinding, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeEventPolicyBindings) Watch ¶
func (c *FakeEventPolicyBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested eventPolicyBindings.
type FakeHTTPPolicies ¶
type FakeHTTPPolicies struct { Fake *FakePolicyV1alpha1 // contains filtered or unexported fields }
FakeHTTPPolicies implements HTTPPolicyInterface
func (*FakeHTTPPolicies) Create ¶
func (c *FakeHTTPPolicies) Create(hTTPPolicy *v1alpha1.HTTPPolicy) (result *v1alpha1.HTTPPolicy, err error)
Create takes the representation of a hTTPPolicy and creates it. Returns the server's representation of the hTTPPolicy, and an error, if there is any.
func (*FakeHTTPPolicies) Delete ¶
func (c *FakeHTTPPolicies) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the hTTPPolicy and deletes it. Returns an error if one occurs.
func (*FakeHTTPPolicies) DeleteCollection ¶
func (c *FakeHTTPPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeHTTPPolicies) Get ¶
func (c *FakeHTTPPolicies) Get(name string, options v1.GetOptions) (result *v1alpha1.HTTPPolicy, err error)
Get takes name of the hTTPPolicy, and returns the corresponding hTTPPolicy object, and an error if there is any.
func (*FakeHTTPPolicies) List ¶
func (c *FakeHTTPPolicies) List(opts v1.ListOptions) (result *v1alpha1.HTTPPolicyList, err error)
List takes label and field selectors, and returns the list of HTTPPolicies that match those selectors.
func (*FakeHTTPPolicies) Patch ¶
func (c *FakeHTTPPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.HTTPPolicy, err error)
Patch applies the patch and returns the patched hTTPPolicy.
func (*FakeHTTPPolicies) Update ¶
func (c *FakeHTTPPolicies) Update(hTTPPolicy *v1alpha1.HTTPPolicy) (result *v1alpha1.HTTPPolicy, err error)
Update takes the representation of a hTTPPolicy and updates it. Returns the server's representation of the hTTPPolicy, and an error, if there is any.
func (*FakeHTTPPolicies) Watch ¶
func (c *FakeHTTPPolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested hTTPPolicies.
type FakeHTTPPolicyBindings ¶
type FakeHTTPPolicyBindings struct { Fake *FakePolicyV1alpha1 // contains filtered or unexported fields }
FakeHTTPPolicyBindings implements HTTPPolicyBindingInterface
func (*FakeHTTPPolicyBindings) Create ¶
func (c *FakeHTTPPolicyBindings) Create(hTTPPolicyBinding *v1alpha1.HTTPPolicyBinding) (result *v1alpha1.HTTPPolicyBinding, err error)
Create takes the representation of a hTTPPolicyBinding and creates it. Returns the server's representation of the hTTPPolicyBinding, and an error, if there is any.
func (*FakeHTTPPolicyBindings) Delete ¶
func (c *FakeHTTPPolicyBindings) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the hTTPPolicyBinding and deletes it. Returns an error if one occurs.
func (*FakeHTTPPolicyBindings) DeleteCollection ¶
func (c *FakeHTTPPolicyBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeHTTPPolicyBindings) Get ¶
func (c *FakeHTTPPolicyBindings) Get(name string, options v1.GetOptions) (result *v1alpha1.HTTPPolicyBinding, err error)
Get takes name of the hTTPPolicyBinding, and returns the corresponding hTTPPolicyBinding object, and an error if there is any.
func (*FakeHTTPPolicyBindings) List ¶
func (c *FakeHTTPPolicyBindings) List(opts v1.ListOptions) (result *v1alpha1.HTTPPolicyBindingList, err error)
List takes label and field selectors, and returns the list of HTTPPolicyBindings that match those selectors.
func (*FakeHTTPPolicyBindings) Patch ¶
func (c *FakeHTTPPolicyBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.HTTPPolicyBinding, err error)
Patch applies the patch and returns the patched hTTPPolicyBinding.
func (*FakeHTTPPolicyBindings) Update ¶
func (c *FakeHTTPPolicyBindings) Update(hTTPPolicyBinding *v1alpha1.HTTPPolicyBinding) (result *v1alpha1.HTTPPolicyBinding, err error)
Update takes the representation of a hTTPPolicyBinding and updates it. Returns the server's representation of the hTTPPolicyBinding, and an error, if there is any.
func (*FakeHTTPPolicyBindings) UpdateStatus ¶
func (c *FakeHTTPPolicyBindings) UpdateStatus(hTTPPolicyBinding *v1alpha1.HTTPPolicyBinding) (*v1alpha1.HTTPPolicyBinding, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeHTTPPolicyBindings) Watch ¶
func (c *FakeHTTPPolicyBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested hTTPPolicyBindings.
type FakePolicyV1alpha1 ¶
func (*FakePolicyV1alpha1) EventPolicies ¶
func (c *FakePolicyV1alpha1) EventPolicies(namespace string) v1alpha1.EventPolicyInterface
func (*FakePolicyV1alpha1) EventPolicyBindings ¶
func (c *FakePolicyV1alpha1) EventPolicyBindings(namespace string) v1alpha1.EventPolicyBindingInterface
func (*FakePolicyV1alpha1) HTTPPolicies ¶
func (c *FakePolicyV1alpha1) HTTPPolicies(namespace string) v1alpha1.HTTPPolicyInterface
func (*FakePolicyV1alpha1) HTTPPolicyBindings ¶
func (c *FakePolicyV1alpha1) HTTPPolicyBindings(namespace string) v1alpha1.HTTPPolicyBindingInterface
func (*FakePolicyV1alpha1) RESTClient ¶
func (c *FakePolicyV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.