Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeJsPolicies
- func (c *FakeJsPolicies) Create(ctx context.Context, jsPolicy *v1beta1.JsPolicy, opts v1.CreateOptions) (result *v1beta1.JsPolicy, err error)
- func (c *FakeJsPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeJsPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeJsPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.JsPolicy, err error)
- func (c *FakeJsPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.JsPolicyList, err error)
- func (c *FakeJsPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.JsPolicy, err error)
- func (c *FakeJsPolicies) Update(ctx context.Context, jsPolicy *v1beta1.JsPolicy, opts v1.UpdateOptions) (result *v1beta1.JsPolicy, err error)
- func (c *FakeJsPolicies) UpdateStatus(ctx context.Context, jsPolicy *v1beta1.JsPolicy, opts v1.UpdateOptions) (*v1beta1.JsPolicy, error)
- func (c *FakeJsPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeJsPolicyBundles
- func (c *FakeJsPolicyBundles) Create(ctx context.Context, jsPolicyBundle *v1beta1.JsPolicyBundle, ...) (result *v1beta1.JsPolicyBundle, err error)
- func (c *FakeJsPolicyBundles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeJsPolicyBundles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeJsPolicyBundles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.JsPolicyBundle, err error)
- func (c *FakeJsPolicyBundles) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.JsPolicyBundleList, err error)
- func (c *FakeJsPolicyBundles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.JsPolicyBundle, err error)
- func (c *FakeJsPolicyBundles) Update(ctx context.Context, jsPolicyBundle *v1beta1.JsPolicyBundle, ...) (result *v1beta1.JsPolicyBundle, err error)
- func (c *FakeJsPolicyBundles) UpdateStatus(ctx context.Context, jsPolicyBundle *v1beta1.JsPolicyBundle, ...) (*v1beta1.JsPolicyBundle, error)
- func (c *FakeJsPolicyBundles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeJsPolicyViolationses
- func (c *FakeJsPolicyViolationses) Create(ctx context.Context, jsPolicyViolations *v1beta1.JsPolicyViolations, ...) (result *v1beta1.JsPolicyViolations, err error)
- func (c *FakeJsPolicyViolationses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeJsPolicyViolationses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeJsPolicyViolationses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.JsPolicyViolations, err error)
- func (c *FakeJsPolicyViolationses) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.JsPolicyViolationsList, err error)
- func (c *FakeJsPolicyViolationses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.JsPolicyViolations, err error)
- func (c *FakeJsPolicyViolationses) Update(ctx context.Context, jsPolicyViolations *v1beta1.JsPolicyViolations, ...) (result *v1beta1.JsPolicyViolations, err error)
- func (c *FakeJsPolicyViolationses) UpdateStatus(ctx context.Context, jsPolicyViolations *v1beta1.JsPolicyViolations, ...) (*v1beta1.JsPolicyViolations, error)
- func (c *FakeJsPolicyViolationses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePolicyV1beta1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeJsPolicies ¶
type FakeJsPolicies struct {
Fake *FakePolicyV1beta1
}
FakeJsPolicies implements JsPolicyInterface
func (*FakeJsPolicies) Create ¶
func (c *FakeJsPolicies) Create(ctx context.Context, jsPolicy *v1beta1.JsPolicy, opts v1.CreateOptions) (result *v1beta1.JsPolicy, err error)
Create takes the representation of a jsPolicy and creates it. Returns the server's representation of the jsPolicy, and an error, if there is any.
func (*FakeJsPolicies) Delete ¶
func (c *FakeJsPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the jsPolicy and deletes it. Returns an error if one occurs.
func (*FakeJsPolicies) DeleteCollection ¶
func (c *FakeJsPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeJsPolicies) Get ¶
func (c *FakeJsPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.JsPolicy, err error)
Get takes name of the jsPolicy, and returns the corresponding jsPolicy object, and an error if there is any.
func (*FakeJsPolicies) List ¶
func (c *FakeJsPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.JsPolicyList, err error)
List takes label and field selectors, and returns the list of JsPolicies that match those selectors.
func (*FakeJsPolicies) Patch ¶
func (c *FakeJsPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.JsPolicy, err error)
Patch applies the patch and returns the patched jsPolicy.
func (*FakeJsPolicies) Update ¶
func (c *FakeJsPolicies) Update(ctx context.Context, jsPolicy *v1beta1.JsPolicy, opts v1.UpdateOptions) (result *v1beta1.JsPolicy, err error)
Update takes the representation of a jsPolicy and updates it. Returns the server's representation of the jsPolicy, and an error, if there is any.
func (*FakeJsPolicies) UpdateStatus ¶
func (c *FakeJsPolicies) UpdateStatus(ctx context.Context, jsPolicy *v1beta1.JsPolicy, opts v1.UpdateOptions) (*v1beta1.JsPolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeJsPolicies) Watch ¶
func (c *FakeJsPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested jsPolicies.
type FakeJsPolicyBundles ¶
type FakeJsPolicyBundles struct {
Fake *FakePolicyV1beta1
}
FakeJsPolicyBundles implements JsPolicyBundleInterface
func (*FakeJsPolicyBundles) Create ¶
func (c *FakeJsPolicyBundles) Create(ctx context.Context, jsPolicyBundle *v1beta1.JsPolicyBundle, opts v1.CreateOptions) (result *v1beta1.JsPolicyBundle, err error)
Create takes the representation of a jsPolicyBundle and creates it. Returns the server's representation of the jsPolicyBundle, and an error, if there is any.
func (*FakeJsPolicyBundles) Delete ¶
func (c *FakeJsPolicyBundles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the jsPolicyBundle and deletes it. Returns an error if one occurs.
func (*FakeJsPolicyBundles) DeleteCollection ¶
func (c *FakeJsPolicyBundles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeJsPolicyBundles) Get ¶
func (c *FakeJsPolicyBundles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.JsPolicyBundle, err error)
Get takes name of the jsPolicyBundle, and returns the corresponding jsPolicyBundle object, and an error if there is any.
func (*FakeJsPolicyBundles) List ¶
func (c *FakeJsPolicyBundles) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.JsPolicyBundleList, err error)
List takes label and field selectors, and returns the list of JsPolicyBundles that match those selectors.
func (*FakeJsPolicyBundles) Patch ¶
func (c *FakeJsPolicyBundles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.JsPolicyBundle, err error)
Patch applies the patch and returns the patched jsPolicyBundle.
func (*FakeJsPolicyBundles) Update ¶
func (c *FakeJsPolicyBundles) Update(ctx context.Context, jsPolicyBundle *v1beta1.JsPolicyBundle, opts v1.UpdateOptions) (result *v1beta1.JsPolicyBundle, err error)
Update takes the representation of a jsPolicyBundle and updates it. Returns the server's representation of the jsPolicyBundle, and an error, if there is any.
func (*FakeJsPolicyBundles) UpdateStatus ¶
func (c *FakeJsPolicyBundles) UpdateStatus(ctx context.Context, jsPolicyBundle *v1beta1.JsPolicyBundle, opts v1.UpdateOptions) (*v1beta1.JsPolicyBundle, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeJsPolicyBundles) Watch ¶
func (c *FakeJsPolicyBundles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested jsPolicyBundles.
type FakeJsPolicyViolationses ¶
type FakeJsPolicyViolationses struct {
Fake *FakePolicyV1beta1
}
FakeJsPolicyViolationses implements JsPolicyViolationsInterface
func (*FakeJsPolicyViolationses) Create ¶
func (c *FakeJsPolicyViolationses) Create(ctx context.Context, jsPolicyViolations *v1beta1.JsPolicyViolations, opts v1.CreateOptions) (result *v1beta1.JsPolicyViolations, err error)
Create takes the representation of a jsPolicyViolations and creates it. Returns the server's representation of the jsPolicyViolations, and an error, if there is any.
func (*FakeJsPolicyViolationses) Delete ¶
func (c *FakeJsPolicyViolationses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the jsPolicyViolations and deletes it. Returns an error if one occurs.
func (*FakeJsPolicyViolationses) DeleteCollection ¶
func (c *FakeJsPolicyViolationses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeJsPolicyViolationses) Get ¶
func (c *FakeJsPolicyViolationses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.JsPolicyViolations, err error)
Get takes name of the jsPolicyViolations, and returns the corresponding jsPolicyViolations object, and an error if there is any.
func (*FakeJsPolicyViolationses) List ¶
func (c *FakeJsPolicyViolationses) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.JsPolicyViolationsList, err error)
List takes label and field selectors, and returns the list of JsPolicyViolationses that match those selectors.
func (*FakeJsPolicyViolationses) Patch ¶
func (c *FakeJsPolicyViolationses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.JsPolicyViolations, err error)
Patch applies the patch and returns the patched jsPolicyViolations.
func (*FakeJsPolicyViolationses) Update ¶
func (c *FakeJsPolicyViolationses) Update(ctx context.Context, jsPolicyViolations *v1beta1.JsPolicyViolations, opts v1.UpdateOptions) (result *v1beta1.JsPolicyViolations, err error)
Update takes the representation of a jsPolicyViolations and updates it. Returns the server's representation of the jsPolicyViolations, and an error, if there is any.
func (*FakeJsPolicyViolationses) UpdateStatus ¶
func (c *FakeJsPolicyViolationses) UpdateStatus(ctx context.Context, jsPolicyViolations *v1beta1.JsPolicyViolations, opts v1.UpdateOptions) (*v1beta1.JsPolicyViolations, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeJsPolicyViolationses) Watch ¶
func (c *FakeJsPolicyViolationses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested jsPolicyViolationses.
type FakePolicyV1beta1 ¶
func (*FakePolicyV1beta1) JsPolicies ¶
func (c *FakePolicyV1beta1) JsPolicies() v1beta1.JsPolicyInterface
func (*FakePolicyV1beta1) JsPolicyBundles ¶
func (c *FakePolicyV1beta1) JsPolicyBundles() v1beta1.JsPolicyBundleInterface
func (*FakePolicyV1beta1) JsPolicyViolationses ¶
func (c *FakePolicyV1beta1) JsPolicyViolationses() v1beta1.JsPolicyViolationsInterface
func (*FakePolicyV1beta1) RESTClient ¶
func (c *FakePolicyV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.