Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeByteMatchSets
- func (c *FakeByteMatchSets) Create(ctx context.Context, byteMatchSet *v1alpha1.ByteMatchSet, ...) (result *v1alpha1.ByteMatchSet, err error)
- func (c *FakeByteMatchSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeByteMatchSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeByteMatchSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ByteMatchSet, err error)
- func (c *FakeByteMatchSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ByteMatchSetList, err error)
- func (c *FakeByteMatchSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ByteMatchSet, err error)
- func (c *FakeByteMatchSets) Update(ctx context.Context, byteMatchSet *v1alpha1.ByteMatchSet, ...) (result *v1alpha1.ByteMatchSet, err error)
- func (c *FakeByteMatchSets) UpdateStatus(ctx context.Context, byteMatchSet *v1alpha1.ByteMatchSet, ...) (*v1alpha1.ByteMatchSet, error)
- func (c *FakeByteMatchSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeGeoMatchSets
- func (c *FakeGeoMatchSets) Create(ctx context.Context, geoMatchSet *v1alpha1.GeoMatchSet, opts v1.CreateOptions) (result *v1alpha1.GeoMatchSet, err error)
- func (c *FakeGeoMatchSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGeoMatchSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGeoMatchSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GeoMatchSet, err error)
- func (c *FakeGeoMatchSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GeoMatchSetList, err error)
- func (c *FakeGeoMatchSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.GeoMatchSet, err error)
- func (c *FakeGeoMatchSets) Update(ctx context.Context, geoMatchSet *v1alpha1.GeoMatchSet, opts v1.UpdateOptions) (result *v1alpha1.GeoMatchSet, err error)
- func (c *FakeGeoMatchSets) UpdateStatus(ctx context.Context, geoMatchSet *v1alpha1.GeoMatchSet, opts v1.UpdateOptions) (*v1alpha1.GeoMatchSet, error)
- func (c *FakeGeoMatchSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeIpsets
- func (c *FakeIpsets) Create(ctx context.Context, ipset *v1alpha1.Ipset, opts v1.CreateOptions) (result *v1alpha1.Ipset, err error)
- func (c *FakeIpsets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeIpsets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeIpsets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Ipset, err error)
- func (c *FakeIpsets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IpsetList, err error)
- func (c *FakeIpsets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Ipset, err error)
- func (c *FakeIpsets) Update(ctx context.Context, ipset *v1alpha1.Ipset, opts v1.UpdateOptions) (result *v1alpha1.Ipset, err error)
- func (c *FakeIpsets) UpdateStatus(ctx context.Context, ipset *v1alpha1.Ipset, opts v1.UpdateOptions) (*v1alpha1.Ipset, error)
- func (c *FakeIpsets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRateBasedRules
- func (c *FakeRateBasedRules) Create(ctx context.Context, rateBasedRule *v1alpha1.RateBasedRule, ...) (result *v1alpha1.RateBasedRule, err error)
- func (c *FakeRateBasedRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRateBasedRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRateBasedRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RateBasedRule, err error)
- func (c *FakeRateBasedRules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RateBasedRuleList, err error)
- func (c *FakeRateBasedRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.RateBasedRule, err error)
- func (c *FakeRateBasedRules) Update(ctx context.Context, rateBasedRule *v1alpha1.RateBasedRule, ...) (result *v1alpha1.RateBasedRule, err error)
- func (c *FakeRateBasedRules) UpdateStatus(ctx context.Context, rateBasedRule *v1alpha1.RateBasedRule, ...) (*v1alpha1.RateBasedRule, error)
- func (c *FakeRateBasedRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRegexMatchSets
- func (c *FakeRegexMatchSets) Create(ctx context.Context, regexMatchSet *v1alpha1.RegexMatchSet, ...) (result *v1alpha1.RegexMatchSet, err error)
- func (c *FakeRegexMatchSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRegexMatchSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRegexMatchSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RegexMatchSet, err error)
- func (c *FakeRegexMatchSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RegexMatchSetList, err error)
- func (c *FakeRegexMatchSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.RegexMatchSet, err error)
- func (c *FakeRegexMatchSets) Update(ctx context.Context, regexMatchSet *v1alpha1.RegexMatchSet, ...) (result *v1alpha1.RegexMatchSet, err error)
- func (c *FakeRegexMatchSets) UpdateStatus(ctx context.Context, regexMatchSet *v1alpha1.RegexMatchSet, ...) (*v1alpha1.RegexMatchSet, error)
- func (c *FakeRegexMatchSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRegexPatternSets
- func (c *FakeRegexPatternSets) Create(ctx context.Context, regexPatternSet *v1alpha1.RegexPatternSet, ...) (result *v1alpha1.RegexPatternSet, err error)
- func (c *FakeRegexPatternSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRegexPatternSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRegexPatternSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RegexPatternSet, err error)
- func (c *FakeRegexPatternSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RegexPatternSetList, err error)
- func (c *FakeRegexPatternSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.RegexPatternSet, err error)
- func (c *FakeRegexPatternSets) Update(ctx context.Context, regexPatternSet *v1alpha1.RegexPatternSet, ...) (result *v1alpha1.RegexPatternSet, err error)
- func (c *FakeRegexPatternSets) UpdateStatus(ctx context.Context, regexPatternSet *v1alpha1.RegexPatternSet, ...) (*v1alpha1.RegexPatternSet, error)
- func (c *FakeRegexPatternSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRuleGroups
- func (c *FakeRuleGroups) Create(ctx context.Context, ruleGroup *v1alpha1.RuleGroup, opts v1.CreateOptions) (result *v1alpha1.RuleGroup, err error)
- func (c *FakeRuleGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRuleGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRuleGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RuleGroup, err error)
- func (c *FakeRuleGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RuleGroupList, err error)
- func (c *FakeRuleGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.RuleGroup, err error)
- func (c *FakeRuleGroups) Update(ctx context.Context, ruleGroup *v1alpha1.RuleGroup, opts v1.UpdateOptions) (result *v1alpha1.RuleGroup, err error)
- func (c *FakeRuleGroups) UpdateStatus(ctx context.Context, ruleGroup *v1alpha1.RuleGroup, opts v1.UpdateOptions) (*v1alpha1.RuleGroup, error)
- func (c *FakeRuleGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRules
- func (c *FakeRules) Create(ctx context.Context, rule *v1alpha1.Rule, opts v1.CreateOptions) (result *v1alpha1.Rule, err error)
- func (c *FakeRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Rule, err error)
- func (c *FakeRules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RuleList, err error)
- func (c *FakeRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Rule, err error)
- func (c *FakeRules) Update(ctx context.Context, rule *v1alpha1.Rule, opts v1.UpdateOptions) (result *v1alpha1.Rule, err error)
- func (c *FakeRules) UpdateStatus(ctx context.Context, rule *v1alpha1.Rule, opts v1.UpdateOptions) (*v1alpha1.Rule, error)
- func (c *FakeRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSizeConstraintSets
- func (c *FakeSizeConstraintSets) Create(ctx context.Context, sizeConstraintSet *v1alpha1.SizeConstraintSet, ...) (result *v1alpha1.SizeConstraintSet, err error)
- func (c *FakeSizeConstraintSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSizeConstraintSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSizeConstraintSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SizeConstraintSet, err error)
- func (c *FakeSizeConstraintSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SizeConstraintSetList, err error)
- func (c *FakeSizeConstraintSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.SizeConstraintSet, err error)
- func (c *FakeSizeConstraintSets) Update(ctx context.Context, sizeConstraintSet *v1alpha1.SizeConstraintSet, ...) (result *v1alpha1.SizeConstraintSet, err error)
- func (c *FakeSizeConstraintSets) UpdateStatus(ctx context.Context, sizeConstraintSet *v1alpha1.SizeConstraintSet, ...) (*v1alpha1.SizeConstraintSet, error)
- func (c *FakeSizeConstraintSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSqlInjectionMatchSets
- func (c *FakeSqlInjectionMatchSets) Create(ctx context.Context, sqlInjectionMatchSet *v1alpha1.SqlInjectionMatchSet, ...) (result *v1alpha1.SqlInjectionMatchSet, err error)
- func (c *FakeSqlInjectionMatchSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSqlInjectionMatchSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSqlInjectionMatchSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SqlInjectionMatchSet, err error)
- func (c *FakeSqlInjectionMatchSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SqlInjectionMatchSetList, err error)
- func (c *FakeSqlInjectionMatchSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.SqlInjectionMatchSet, err error)
- func (c *FakeSqlInjectionMatchSets) Update(ctx context.Context, sqlInjectionMatchSet *v1alpha1.SqlInjectionMatchSet, ...) (result *v1alpha1.SqlInjectionMatchSet, err error)
- func (c *FakeSqlInjectionMatchSets) UpdateStatus(ctx context.Context, sqlInjectionMatchSet *v1alpha1.SqlInjectionMatchSet, ...) (*v1alpha1.SqlInjectionMatchSet, error)
- func (c *FakeSqlInjectionMatchSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeWafV1alpha1
- func (c *FakeWafV1alpha1) ByteMatchSets(namespace string) v1alpha1.ByteMatchSetInterface
- func (c *FakeWafV1alpha1) GeoMatchSets(namespace string) v1alpha1.GeoMatchSetInterface
- func (c *FakeWafV1alpha1) Ipsets(namespace string) v1alpha1.IpsetInterface
- func (c *FakeWafV1alpha1) RESTClient() rest.Interface
- func (c *FakeWafV1alpha1) RateBasedRules(namespace string) v1alpha1.RateBasedRuleInterface
- func (c *FakeWafV1alpha1) RegexMatchSets(namespace string) v1alpha1.RegexMatchSetInterface
- func (c *FakeWafV1alpha1) RegexPatternSets(namespace string) v1alpha1.RegexPatternSetInterface
- func (c *FakeWafV1alpha1) RuleGroups(namespace string) v1alpha1.RuleGroupInterface
- func (c *FakeWafV1alpha1) Rules(namespace string) v1alpha1.RuleInterface
- func (c *FakeWafV1alpha1) SizeConstraintSets(namespace string) v1alpha1.SizeConstraintSetInterface
- func (c *FakeWafV1alpha1) SqlInjectionMatchSets(namespace string) v1alpha1.SqlInjectionMatchSetInterface
- func (c *FakeWafV1alpha1) WebACLs(namespace string) v1alpha1.WebACLInterface
- func (c *FakeWafV1alpha1) XssMatchSets(namespace string) v1alpha1.XssMatchSetInterface
- type FakeWebACLs
- func (c *FakeWebACLs) Create(ctx context.Context, webACL *v1alpha1.WebACL, opts v1.CreateOptions) (result *v1alpha1.WebACL, err error)
- func (c *FakeWebACLs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeWebACLs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeWebACLs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.WebACL, err error)
- func (c *FakeWebACLs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.WebACLList, err error)
- func (c *FakeWebACLs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.WebACL, err error)
- func (c *FakeWebACLs) Update(ctx context.Context, webACL *v1alpha1.WebACL, opts v1.UpdateOptions) (result *v1alpha1.WebACL, err error)
- func (c *FakeWebACLs) UpdateStatus(ctx context.Context, webACL *v1alpha1.WebACL, opts v1.UpdateOptions) (*v1alpha1.WebACL, error)
- func (c *FakeWebACLs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeXssMatchSets
- func (c *FakeXssMatchSets) Create(ctx context.Context, xssMatchSet *v1alpha1.XssMatchSet, opts v1.CreateOptions) (result *v1alpha1.XssMatchSet, err error)
- func (c *FakeXssMatchSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeXssMatchSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeXssMatchSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.XssMatchSet, err error)
- func (c *FakeXssMatchSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.XssMatchSetList, err error)
- func (c *FakeXssMatchSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.XssMatchSet, err error)
- func (c *FakeXssMatchSets) Update(ctx context.Context, xssMatchSet *v1alpha1.XssMatchSet, opts v1.UpdateOptions) (result *v1alpha1.XssMatchSet, err error)
- func (c *FakeXssMatchSets) UpdateStatus(ctx context.Context, xssMatchSet *v1alpha1.XssMatchSet, opts v1.UpdateOptions) (*v1alpha1.XssMatchSet, error)
- func (c *FakeXssMatchSets) 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 FakeByteMatchSets ¶
type FakeByteMatchSets struct { Fake *FakeWafV1alpha1 // contains filtered or unexported fields }
FakeByteMatchSets implements ByteMatchSetInterface
func (*FakeByteMatchSets) Create ¶
func (c *FakeByteMatchSets) Create(ctx context.Context, byteMatchSet *v1alpha1.ByteMatchSet, opts v1.CreateOptions) (result *v1alpha1.ByteMatchSet, err error)
Create takes the representation of a byteMatchSet and creates it. Returns the server's representation of the byteMatchSet, and an error, if there is any.
func (*FakeByteMatchSets) Delete ¶
func (c *FakeByteMatchSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the byteMatchSet and deletes it. Returns an error if one occurs.
func (*FakeByteMatchSets) DeleteCollection ¶
func (c *FakeByteMatchSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeByteMatchSets) Get ¶
func (c *FakeByteMatchSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ByteMatchSet, err error)
Get takes name of the byteMatchSet, and returns the corresponding byteMatchSet object, and an error if there is any.
func (*FakeByteMatchSets) List ¶
func (c *FakeByteMatchSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ByteMatchSetList, err error)
List takes label and field selectors, and returns the list of ByteMatchSets that match those selectors.
func (*FakeByteMatchSets) Patch ¶
func (c *FakeByteMatchSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ByteMatchSet, err error)
Patch applies the patch and returns the patched byteMatchSet.
func (*FakeByteMatchSets) Update ¶
func (c *FakeByteMatchSets) Update(ctx context.Context, byteMatchSet *v1alpha1.ByteMatchSet, opts v1.UpdateOptions) (result *v1alpha1.ByteMatchSet, err error)
Update takes the representation of a byteMatchSet and updates it. Returns the server's representation of the byteMatchSet, and an error, if there is any.
func (*FakeByteMatchSets) UpdateStatus ¶
func (c *FakeByteMatchSets) UpdateStatus(ctx context.Context, byteMatchSet *v1alpha1.ByteMatchSet, opts v1.UpdateOptions) (*v1alpha1.ByteMatchSet, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeByteMatchSets) Watch ¶
func (c *FakeByteMatchSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested byteMatchSets.
type FakeGeoMatchSets ¶
type FakeGeoMatchSets struct { Fake *FakeWafV1alpha1 // contains filtered or unexported fields }
FakeGeoMatchSets implements GeoMatchSetInterface
func (*FakeGeoMatchSets) Create ¶
func (c *FakeGeoMatchSets) Create(ctx context.Context, geoMatchSet *v1alpha1.GeoMatchSet, opts v1.CreateOptions) (result *v1alpha1.GeoMatchSet, err error)
Create takes the representation of a geoMatchSet and creates it. Returns the server's representation of the geoMatchSet, and an error, if there is any.
func (*FakeGeoMatchSets) Delete ¶
func (c *FakeGeoMatchSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the geoMatchSet and deletes it. Returns an error if one occurs.
func (*FakeGeoMatchSets) DeleteCollection ¶
func (c *FakeGeoMatchSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGeoMatchSets) Get ¶
func (c *FakeGeoMatchSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GeoMatchSet, err error)
Get takes name of the geoMatchSet, and returns the corresponding geoMatchSet object, and an error if there is any.
func (*FakeGeoMatchSets) List ¶
func (c *FakeGeoMatchSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GeoMatchSetList, err error)
List takes label and field selectors, and returns the list of GeoMatchSets that match those selectors.
func (*FakeGeoMatchSets) Patch ¶
func (c *FakeGeoMatchSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.GeoMatchSet, err error)
Patch applies the patch and returns the patched geoMatchSet.
func (*FakeGeoMatchSets) Update ¶
func (c *FakeGeoMatchSets) Update(ctx context.Context, geoMatchSet *v1alpha1.GeoMatchSet, opts v1.UpdateOptions) (result *v1alpha1.GeoMatchSet, err error)
Update takes the representation of a geoMatchSet and updates it. Returns the server's representation of the geoMatchSet, and an error, if there is any.
func (*FakeGeoMatchSets) UpdateStatus ¶
func (c *FakeGeoMatchSets) UpdateStatus(ctx context.Context, geoMatchSet *v1alpha1.GeoMatchSet, opts v1.UpdateOptions) (*v1alpha1.GeoMatchSet, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGeoMatchSets) Watch ¶
func (c *FakeGeoMatchSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested geoMatchSets.
type FakeIpsets ¶
type FakeIpsets struct { Fake *FakeWafV1alpha1 // contains filtered or unexported fields }
FakeIpsets implements IpsetInterface
func (*FakeIpsets) Create ¶
func (c *FakeIpsets) Create(ctx context.Context, ipset *v1alpha1.Ipset, opts v1.CreateOptions) (result *v1alpha1.Ipset, err error)
Create takes the representation of a ipset and creates it. Returns the server's representation of the ipset, and an error, if there is any.
func (*FakeIpsets) Delete ¶
func (c *FakeIpsets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the ipset and deletes it. Returns an error if one occurs.
func (*FakeIpsets) DeleteCollection ¶
func (c *FakeIpsets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIpsets) Get ¶
func (c *FakeIpsets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Ipset, err error)
Get takes name of the ipset, and returns the corresponding ipset object, and an error if there is any.
func (*FakeIpsets) List ¶
func (c *FakeIpsets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IpsetList, err error)
List takes label and field selectors, and returns the list of Ipsets that match those selectors.
func (*FakeIpsets) Patch ¶
func (c *FakeIpsets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Ipset, err error)
Patch applies the patch and returns the patched ipset.
func (*FakeIpsets) Update ¶
func (c *FakeIpsets) Update(ctx context.Context, ipset *v1alpha1.Ipset, opts v1.UpdateOptions) (result *v1alpha1.Ipset, err error)
Update takes the representation of a ipset and updates it. Returns the server's representation of the ipset, and an error, if there is any.
func (*FakeIpsets) UpdateStatus ¶
func (c *FakeIpsets) UpdateStatus(ctx context.Context, ipset *v1alpha1.Ipset, opts v1.UpdateOptions) (*v1alpha1.Ipset, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeIpsets) Watch ¶
func (c *FakeIpsets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested ipsets.
type FakeRateBasedRules ¶
type FakeRateBasedRules struct { Fake *FakeWafV1alpha1 // contains filtered or unexported fields }
FakeRateBasedRules implements RateBasedRuleInterface
func (*FakeRateBasedRules) Create ¶
func (c *FakeRateBasedRules) Create(ctx context.Context, rateBasedRule *v1alpha1.RateBasedRule, opts v1.CreateOptions) (result *v1alpha1.RateBasedRule, err error)
Create takes the representation of a rateBasedRule and creates it. Returns the server's representation of the rateBasedRule, and an error, if there is any.
func (*FakeRateBasedRules) Delete ¶
func (c *FakeRateBasedRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the rateBasedRule and deletes it. Returns an error if one occurs.
func (*FakeRateBasedRules) DeleteCollection ¶
func (c *FakeRateBasedRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRateBasedRules) Get ¶
func (c *FakeRateBasedRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RateBasedRule, err error)
Get takes name of the rateBasedRule, and returns the corresponding rateBasedRule object, and an error if there is any.
func (*FakeRateBasedRules) List ¶
func (c *FakeRateBasedRules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RateBasedRuleList, err error)
List takes label and field selectors, and returns the list of RateBasedRules that match those selectors.
func (*FakeRateBasedRules) Patch ¶
func (c *FakeRateBasedRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.RateBasedRule, err error)
Patch applies the patch and returns the patched rateBasedRule.
func (*FakeRateBasedRules) Update ¶
func (c *FakeRateBasedRules) Update(ctx context.Context, rateBasedRule *v1alpha1.RateBasedRule, opts v1.UpdateOptions) (result *v1alpha1.RateBasedRule, err error)
Update takes the representation of a rateBasedRule and updates it. Returns the server's representation of the rateBasedRule, and an error, if there is any.
func (*FakeRateBasedRules) UpdateStatus ¶
func (c *FakeRateBasedRules) UpdateStatus(ctx context.Context, rateBasedRule *v1alpha1.RateBasedRule, opts v1.UpdateOptions) (*v1alpha1.RateBasedRule, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRateBasedRules) Watch ¶
func (c *FakeRateBasedRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested rateBasedRules.
type FakeRegexMatchSets ¶
type FakeRegexMatchSets struct { Fake *FakeWafV1alpha1 // contains filtered or unexported fields }
FakeRegexMatchSets implements RegexMatchSetInterface
func (*FakeRegexMatchSets) Create ¶
func (c *FakeRegexMatchSets) Create(ctx context.Context, regexMatchSet *v1alpha1.RegexMatchSet, opts v1.CreateOptions) (result *v1alpha1.RegexMatchSet, err error)
Create takes the representation of a regexMatchSet and creates it. Returns the server's representation of the regexMatchSet, and an error, if there is any.
func (*FakeRegexMatchSets) Delete ¶
func (c *FakeRegexMatchSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the regexMatchSet and deletes it. Returns an error if one occurs.
func (*FakeRegexMatchSets) DeleteCollection ¶
func (c *FakeRegexMatchSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRegexMatchSets) Get ¶
func (c *FakeRegexMatchSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RegexMatchSet, err error)
Get takes name of the regexMatchSet, and returns the corresponding regexMatchSet object, and an error if there is any.
func (*FakeRegexMatchSets) List ¶
func (c *FakeRegexMatchSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RegexMatchSetList, err error)
List takes label and field selectors, and returns the list of RegexMatchSets that match those selectors.
func (*FakeRegexMatchSets) Patch ¶
func (c *FakeRegexMatchSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.RegexMatchSet, err error)
Patch applies the patch and returns the patched regexMatchSet.
func (*FakeRegexMatchSets) Update ¶
func (c *FakeRegexMatchSets) Update(ctx context.Context, regexMatchSet *v1alpha1.RegexMatchSet, opts v1.UpdateOptions) (result *v1alpha1.RegexMatchSet, err error)
Update takes the representation of a regexMatchSet and updates it. Returns the server's representation of the regexMatchSet, and an error, if there is any.
func (*FakeRegexMatchSets) UpdateStatus ¶
func (c *FakeRegexMatchSets) UpdateStatus(ctx context.Context, regexMatchSet *v1alpha1.RegexMatchSet, opts v1.UpdateOptions) (*v1alpha1.RegexMatchSet, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRegexMatchSets) Watch ¶
func (c *FakeRegexMatchSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested regexMatchSets.
type FakeRegexPatternSets ¶
type FakeRegexPatternSets struct { Fake *FakeWafV1alpha1 // contains filtered or unexported fields }
FakeRegexPatternSets implements RegexPatternSetInterface
func (*FakeRegexPatternSets) Create ¶
func (c *FakeRegexPatternSets) Create(ctx context.Context, regexPatternSet *v1alpha1.RegexPatternSet, opts v1.CreateOptions) (result *v1alpha1.RegexPatternSet, err error)
Create takes the representation of a regexPatternSet and creates it. Returns the server's representation of the regexPatternSet, and an error, if there is any.
func (*FakeRegexPatternSets) Delete ¶
func (c *FakeRegexPatternSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the regexPatternSet and deletes it. Returns an error if one occurs.
func (*FakeRegexPatternSets) DeleteCollection ¶
func (c *FakeRegexPatternSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRegexPatternSets) Get ¶
func (c *FakeRegexPatternSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RegexPatternSet, err error)
Get takes name of the regexPatternSet, and returns the corresponding regexPatternSet object, and an error if there is any.
func (*FakeRegexPatternSets) List ¶
func (c *FakeRegexPatternSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RegexPatternSetList, err error)
List takes label and field selectors, and returns the list of RegexPatternSets that match those selectors.
func (*FakeRegexPatternSets) Patch ¶
func (c *FakeRegexPatternSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.RegexPatternSet, err error)
Patch applies the patch and returns the patched regexPatternSet.
func (*FakeRegexPatternSets) Update ¶
func (c *FakeRegexPatternSets) Update(ctx context.Context, regexPatternSet *v1alpha1.RegexPatternSet, opts v1.UpdateOptions) (result *v1alpha1.RegexPatternSet, err error)
Update takes the representation of a regexPatternSet and updates it. Returns the server's representation of the regexPatternSet, and an error, if there is any.
func (*FakeRegexPatternSets) UpdateStatus ¶
func (c *FakeRegexPatternSets) UpdateStatus(ctx context.Context, regexPatternSet *v1alpha1.RegexPatternSet, opts v1.UpdateOptions) (*v1alpha1.RegexPatternSet, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRegexPatternSets) Watch ¶
func (c *FakeRegexPatternSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested regexPatternSets.
type FakeRuleGroups ¶
type FakeRuleGroups struct { Fake *FakeWafV1alpha1 // contains filtered or unexported fields }
FakeRuleGroups implements RuleGroupInterface
func (*FakeRuleGroups) Create ¶
func (c *FakeRuleGroups) Create(ctx context.Context, ruleGroup *v1alpha1.RuleGroup, opts v1.CreateOptions) (result *v1alpha1.RuleGroup, err error)
Create takes the representation of a ruleGroup and creates it. Returns the server's representation of the ruleGroup, and an error, if there is any.
func (*FakeRuleGroups) Delete ¶
func (c *FakeRuleGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the ruleGroup and deletes it. Returns an error if one occurs.
func (*FakeRuleGroups) DeleteCollection ¶
func (c *FakeRuleGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRuleGroups) Get ¶
func (c *FakeRuleGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RuleGroup, err error)
Get takes name of the ruleGroup, and returns the corresponding ruleGroup object, and an error if there is any.
func (*FakeRuleGroups) List ¶
func (c *FakeRuleGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RuleGroupList, err error)
List takes label and field selectors, and returns the list of RuleGroups that match those selectors.
func (*FakeRuleGroups) Patch ¶
func (c *FakeRuleGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.RuleGroup, err error)
Patch applies the patch and returns the patched ruleGroup.
func (*FakeRuleGroups) Update ¶
func (c *FakeRuleGroups) Update(ctx context.Context, ruleGroup *v1alpha1.RuleGroup, opts v1.UpdateOptions) (result *v1alpha1.RuleGroup, err error)
Update takes the representation of a ruleGroup and updates it. Returns the server's representation of the ruleGroup, and an error, if there is any.
func (*FakeRuleGroups) UpdateStatus ¶
func (c *FakeRuleGroups) UpdateStatus(ctx context.Context, ruleGroup *v1alpha1.RuleGroup, opts v1.UpdateOptions) (*v1alpha1.RuleGroup, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRuleGroups) Watch ¶
func (c *FakeRuleGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested ruleGroups.
type FakeRules ¶
type FakeRules struct { Fake *FakeWafV1alpha1 // contains filtered or unexported fields }
FakeRules implements RuleInterface
func (*FakeRules) Create ¶
func (c *FakeRules) Create(ctx context.Context, rule *v1alpha1.Rule, opts v1.CreateOptions) (result *v1alpha1.Rule, err error)
Create takes the representation of a rule and creates it. Returns the server's representation of the rule, and an error, if there is any.
func (*FakeRules) Delete ¶
Delete takes name of the rule and deletes it. Returns an error if one occurs.
func (*FakeRules) DeleteCollection ¶
func (c *FakeRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRules) Get ¶
func (c *FakeRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Rule, err error)
Get takes name of the rule, and returns the corresponding rule object, and an error if there is any.
func (*FakeRules) List ¶
func (c *FakeRules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RuleList, err error)
List takes label and field selectors, and returns the list of Rules that match those selectors.
func (*FakeRules) Patch ¶
func (c *FakeRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Rule, err error)
Patch applies the patch and returns the patched rule.
func (*FakeRules) Update ¶
func (c *FakeRules) Update(ctx context.Context, rule *v1alpha1.Rule, opts v1.UpdateOptions) (result *v1alpha1.Rule, err error)
Update takes the representation of a rule and updates it. Returns the server's representation of the rule, and an error, if there is any.
func (*FakeRules) UpdateStatus ¶
func (c *FakeRules) UpdateStatus(ctx context.Context, rule *v1alpha1.Rule, opts v1.UpdateOptions) (*v1alpha1.Rule, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeSizeConstraintSets ¶
type FakeSizeConstraintSets struct { Fake *FakeWafV1alpha1 // contains filtered or unexported fields }
FakeSizeConstraintSets implements SizeConstraintSetInterface
func (*FakeSizeConstraintSets) Create ¶
func (c *FakeSizeConstraintSets) Create(ctx context.Context, sizeConstraintSet *v1alpha1.SizeConstraintSet, opts v1.CreateOptions) (result *v1alpha1.SizeConstraintSet, err error)
Create takes the representation of a sizeConstraintSet and creates it. Returns the server's representation of the sizeConstraintSet, and an error, if there is any.
func (*FakeSizeConstraintSets) Delete ¶
func (c *FakeSizeConstraintSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the sizeConstraintSet and deletes it. Returns an error if one occurs.
func (*FakeSizeConstraintSets) DeleteCollection ¶
func (c *FakeSizeConstraintSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSizeConstraintSets) Get ¶
func (c *FakeSizeConstraintSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SizeConstraintSet, err error)
Get takes name of the sizeConstraintSet, and returns the corresponding sizeConstraintSet object, and an error if there is any.
func (*FakeSizeConstraintSets) List ¶
func (c *FakeSizeConstraintSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SizeConstraintSetList, err error)
List takes label and field selectors, and returns the list of SizeConstraintSets that match those selectors.
func (*FakeSizeConstraintSets) Patch ¶
func (c *FakeSizeConstraintSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.SizeConstraintSet, err error)
Patch applies the patch and returns the patched sizeConstraintSet.
func (*FakeSizeConstraintSets) Update ¶
func (c *FakeSizeConstraintSets) Update(ctx context.Context, sizeConstraintSet *v1alpha1.SizeConstraintSet, opts v1.UpdateOptions) (result *v1alpha1.SizeConstraintSet, err error)
Update takes the representation of a sizeConstraintSet and updates it. Returns the server's representation of the sizeConstraintSet, and an error, if there is any.
func (*FakeSizeConstraintSets) UpdateStatus ¶
func (c *FakeSizeConstraintSets) UpdateStatus(ctx context.Context, sizeConstraintSet *v1alpha1.SizeConstraintSet, opts v1.UpdateOptions) (*v1alpha1.SizeConstraintSet, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSizeConstraintSets) Watch ¶
func (c *FakeSizeConstraintSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sizeConstraintSets.
type FakeSqlInjectionMatchSets ¶
type FakeSqlInjectionMatchSets struct { Fake *FakeWafV1alpha1 // contains filtered or unexported fields }
FakeSqlInjectionMatchSets implements SqlInjectionMatchSetInterface
func (*FakeSqlInjectionMatchSets) Create ¶
func (c *FakeSqlInjectionMatchSets) Create(ctx context.Context, sqlInjectionMatchSet *v1alpha1.SqlInjectionMatchSet, opts v1.CreateOptions) (result *v1alpha1.SqlInjectionMatchSet, err error)
Create takes the representation of a sqlInjectionMatchSet and creates it. Returns the server's representation of the sqlInjectionMatchSet, and an error, if there is any.
func (*FakeSqlInjectionMatchSets) Delete ¶
func (c *FakeSqlInjectionMatchSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the sqlInjectionMatchSet and deletes it. Returns an error if one occurs.
func (*FakeSqlInjectionMatchSets) DeleteCollection ¶
func (c *FakeSqlInjectionMatchSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSqlInjectionMatchSets) Get ¶
func (c *FakeSqlInjectionMatchSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SqlInjectionMatchSet, err error)
Get takes name of the sqlInjectionMatchSet, and returns the corresponding sqlInjectionMatchSet object, and an error if there is any.
func (*FakeSqlInjectionMatchSets) List ¶
func (c *FakeSqlInjectionMatchSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SqlInjectionMatchSetList, err error)
List takes label and field selectors, and returns the list of SqlInjectionMatchSets that match those selectors.
func (*FakeSqlInjectionMatchSets) Patch ¶
func (c *FakeSqlInjectionMatchSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.SqlInjectionMatchSet, err error)
Patch applies the patch and returns the patched sqlInjectionMatchSet.
func (*FakeSqlInjectionMatchSets) Update ¶
func (c *FakeSqlInjectionMatchSets) Update(ctx context.Context, sqlInjectionMatchSet *v1alpha1.SqlInjectionMatchSet, opts v1.UpdateOptions) (result *v1alpha1.SqlInjectionMatchSet, err error)
Update takes the representation of a sqlInjectionMatchSet and updates it. Returns the server's representation of the sqlInjectionMatchSet, and an error, if there is any.
func (*FakeSqlInjectionMatchSets) UpdateStatus ¶
func (c *FakeSqlInjectionMatchSets) UpdateStatus(ctx context.Context, sqlInjectionMatchSet *v1alpha1.SqlInjectionMatchSet, opts v1.UpdateOptions) (*v1alpha1.SqlInjectionMatchSet, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSqlInjectionMatchSets) Watch ¶
func (c *FakeSqlInjectionMatchSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sqlInjectionMatchSets.
type FakeWafV1alpha1 ¶
func (*FakeWafV1alpha1) ByteMatchSets ¶
func (c *FakeWafV1alpha1) ByteMatchSets(namespace string) v1alpha1.ByteMatchSetInterface
func (*FakeWafV1alpha1) GeoMatchSets ¶
func (c *FakeWafV1alpha1) GeoMatchSets(namespace string) v1alpha1.GeoMatchSetInterface
func (*FakeWafV1alpha1) Ipsets ¶
func (c *FakeWafV1alpha1) Ipsets(namespace string) v1alpha1.IpsetInterface
func (*FakeWafV1alpha1) RESTClient ¶
func (c *FakeWafV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeWafV1alpha1) RateBasedRules ¶
func (c *FakeWafV1alpha1) RateBasedRules(namespace string) v1alpha1.RateBasedRuleInterface
func (*FakeWafV1alpha1) RegexMatchSets ¶
func (c *FakeWafV1alpha1) RegexMatchSets(namespace string) v1alpha1.RegexMatchSetInterface
func (*FakeWafV1alpha1) RegexPatternSets ¶
func (c *FakeWafV1alpha1) RegexPatternSets(namespace string) v1alpha1.RegexPatternSetInterface
func (*FakeWafV1alpha1) RuleGroups ¶
func (c *FakeWafV1alpha1) RuleGroups(namespace string) v1alpha1.RuleGroupInterface
func (*FakeWafV1alpha1) Rules ¶
func (c *FakeWafV1alpha1) Rules(namespace string) v1alpha1.RuleInterface
func (*FakeWafV1alpha1) SizeConstraintSets ¶
func (c *FakeWafV1alpha1) SizeConstraintSets(namespace string) v1alpha1.SizeConstraintSetInterface
func (*FakeWafV1alpha1) SqlInjectionMatchSets ¶
func (c *FakeWafV1alpha1) SqlInjectionMatchSets(namespace string) v1alpha1.SqlInjectionMatchSetInterface
func (*FakeWafV1alpha1) WebACLs ¶
func (c *FakeWafV1alpha1) WebACLs(namespace string) v1alpha1.WebACLInterface
func (*FakeWafV1alpha1) XssMatchSets ¶
func (c *FakeWafV1alpha1) XssMatchSets(namespace string) v1alpha1.XssMatchSetInterface
type FakeWebACLs ¶
type FakeWebACLs struct { Fake *FakeWafV1alpha1 // contains filtered or unexported fields }
FakeWebACLs implements WebACLInterface
func (*FakeWebACLs) Create ¶
func (c *FakeWebACLs) Create(ctx context.Context, webACL *v1alpha1.WebACL, opts v1.CreateOptions) (result *v1alpha1.WebACL, err error)
Create takes the representation of a webACL and creates it. Returns the server's representation of the webACL, and an error, if there is any.
func (*FakeWebACLs) Delete ¶
func (c *FakeWebACLs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the webACL and deletes it. Returns an error if one occurs.
func (*FakeWebACLs) DeleteCollection ¶
func (c *FakeWebACLs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeWebACLs) Get ¶
func (c *FakeWebACLs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.WebACL, err error)
Get takes name of the webACL, and returns the corresponding webACL object, and an error if there is any.
func (*FakeWebACLs) List ¶
func (c *FakeWebACLs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.WebACLList, err error)
List takes label and field selectors, and returns the list of WebACLs that match those selectors.
func (*FakeWebACLs) Patch ¶
func (c *FakeWebACLs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.WebACL, err error)
Patch applies the patch and returns the patched webACL.
func (*FakeWebACLs) Update ¶
func (c *FakeWebACLs) Update(ctx context.Context, webACL *v1alpha1.WebACL, opts v1.UpdateOptions) (result *v1alpha1.WebACL, err error)
Update takes the representation of a webACL and updates it. Returns the server's representation of the webACL, and an error, if there is any.
func (*FakeWebACLs) UpdateStatus ¶
func (c *FakeWebACLs) UpdateStatus(ctx context.Context, webACL *v1alpha1.WebACL, opts v1.UpdateOptions) (*v1alpha1.WebACL, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeWebACLs) Watch ¶
func (c *FakeWebACLs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested webACLs.
type FakeXssMatchSets ¶
type FakeXssMatchSets struct { Fake *FakeWafV1alpha1 // contains filtered or unexported fields }
FakeXssMatchSets implements XssMatchSetInterface
func (*FakeXssMatchSets) Create ¶
func (c *FakeXssMatchSets) Create(ctx context.Context, xssMatchSet *v1alpha1.XssMatchSet, opts v1.CreateOptions) (result *v1alpha1.XssMatchSet, err error)
Create takes the representation of a xssMatchSet and creates it. Returns the server's representation of the xssMatchSet, and an error, if there is any.
func (*FakeXssMatchSets) Delete ¶
func (c *FakeXssMatchSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the xssMatchSet and deletes it. Returns an error if one occurs.
func (*FakeXssMatchSets) DeleteCollection ¶
func (c *FakeXssMatchSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeXssMatchSets) Get ¶
func (c *FakeXssMatchSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.XssMatchSet, err error)
Get takes name of the xssMatchSet, and returns the corresponding xssMatchSet object, and an error if there is any.
func (*FakeXssMatchSets) List ¶
func (c *FakeXssMatchSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.XssMatchSetList, err error)
List takes label and field selectors, and returns the list of XssMatchSets that match those selectors.
func (*FakeXssMatchSets) Patch ¶
func (c *FakeXssMatchSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.XssMatchSet, err error)
Patch applies the patch and returns the patched xssMatchSet.
func (*FakeXssMatchSets) Update ¶
func (c *FakeXssMatchSets) Update(ctx context.Context, xssMatchSet *v1alpha1.XssMatchSet, opts v1.UpdateOptions) (result *v1alpha1.XssMatchSet, err error)
Update takes the representation of a xssMatchSet and updates it. Returns the server's representation of the xssMatchSet, and an error, if there is any.
func (*FakeXssMatchSets) UpdateStatus ¶
func (c *FakeXssMatchSets) UpdateStatus(ctx context.Context, xssMatchSet *v1alpha1.XssMatchSet, opts v1.UpdateOptions) (*v1alpha1.XssMatchSet, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeXssMatchSets) Watch ¶
func (c *FakeXssMatchSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested xssMatchSets.