Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeApplicationRuleCollections
- func (c *FakeApplicationRuleCollections) Create(ctx context.Context, ...) (result *v1alpha1.ApplicationRuleCollection, err error)
- func (c *FakeApplicationRuleCollections) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeApplicationRuleCollections) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeApplicationRuleCollections) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ApplicationRuleCollection, err error)
- func (c *FakeApplicationRuleCollections) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ApplicationRuleCollectionList, err error)
- func (c *FakeApplicationRuleCollections) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ApplicationRuleCollection, err error)
- func (c *FakeApplicationRuleCollections) Update(ctx context.Context, ...) (result *v1alpha1.ApplicationRuleCollection, err error)
- func (c *FakeApplicationRuleCollections) UpdateStatus(ctx context.Context, ...) (*v1alpha1.ApplicationRuleCollection, error)
- func (c *FakeApplicationRuleCollections) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeFirewallV1alpha1
- func (c *FakeFirewallV1alpha1) ApplicationRuleCollections(namespace string) v1alpha1.ApplicationRuleCollectionInterface
- func (c *FakeFirewallV1alpha1) Firewalls(namespace string) v1alpha1.FirewallInterface
- func (c *FakeFirewallV1alpha1) NatRuleCollections(namespace string) v1alpha1.NatRuleCollectionInterface
- func (c *FakeFirewallV1alpha1) NetworkRuleCollections(namespace string) v1alpha1.NetworkRuleCollectionInterface
- func (c *FakeFirewallV1alpha1) Policies(namespace string) v1alpha1.PolicyInterface
- func (c *FakeFirewallV1alpha1) PolicyRuleCollectionGroups(namespace string) v1alpha1.PolicyRuleCollectionGroupInterface
- func (c *FakeFirewallV1alpha1) RESTClient() rest.Interface
- type FakeFirewalls
- func (c *FakeFirewalls) Create(ctx context.Context, firewall *v1alpha1.Firewall, opts v1.CreateOptions) (result *v1alpha1.Firewall, err error)
- func (c *FakeFirewalls) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFirewalls) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFirewalls) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Firewall, err error)
- func (c *FakeFirewalls) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FirewallList, err error)
- func (c *FakeFirewalls) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Firewall, err error)
- func (c *FakeFirewalls) Update(ctx context.Context, firewall *v1alpha1.Firewall, opts v1.UpdateOptions) (result *v1alpha1.Firewall, err error)
- func (c *FakeFirewalls) UpdateStatus(ctx context.Context, firewall *v1alpha1.Firewall, opts v1.UpdateOptions) (*v1alpha1.Firewall, error)
- func (c *FakeFirewalls) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNatRuleCollections
- func (c *FakeNatRuleCollections) Create(ctx context.Context, natRuleCollection *v1alpha1.NatRuleCollection, ...) (result *v1alpha1.NatRuleCollection, err error)
- func (c *FakeNatRuleCollections) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNatRuleCollections) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNatRuleCollections) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NatRuleCollection, err error)
- func (c *FakeNatRuleCollections) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NatRuleCollectionList, err error)
- func (c *FakeNatRuleCollections) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NatRuleCollection, err error)
- func (c *FakeNatRuleCollections) Update(ctx context.Context, natRuleCollection *v1alpha1.NatRuleCollection, ...) (result *v1alpha1.NatRuleCollection, err error)
- func (c *FakeNatRuleCollections) UpdateStatus(ctx context.Context, natRuleCollection *v1alpha1.NatRuleCollection, ...) (*v1alpha1.NatRuleCollection, error)
- func (c *FakeNatRuleCollections) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNetworkRuleCollections
- func (c *FakeNetworkRuleCollections) Create(ctx context.Context, networkRuleCollection *v1alpha1.NetworkRuleCollection, ...) (result *v1alpha1.NetworkRuleCollection, err error)
- func (c *FakeNetworkRuleCollections) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNetworkRuleCollections) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNetworkRuleCollections) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NetworkRuleCollection, err error)
- func (c *FakeNetworkRuleCollections) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NetworkRuleCollectionList, err error)
- func (c *FakeNetworkRuleCollections) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NetworkRuleCollection, err error)
- func (c *FakeNetworkRuleCollections) Update(ctx context.Context, networkRuleCollection *v1alpha1.NetworkRuleCollection, ...) (result *v1alpha1.NetworkRuleCollection, err error)
- func (c *FakeNetworkRuleCollections) UpdateStatus(ctx context.Context, networkRuleCollection *v1alpha1.NetworkRuleCollection, ...) (*v1alpha1.NetworkRuleCollection, error)
- func (c *FakeNetworkRuleCollections) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePolicies
- func (c *FakePolicies) Create(ctx context.Context, policy *v1alpha1.Policy, opts v1.CreateOptions) (result *v1alpha1.Policy, err error)
- func (c *FakePolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Policy, err error)
- func (c *FakePolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PolicyList, err error)
- func (c *FakePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Policy, err error)
- func (c *FakePolicies) Update(ctx context.Context, policy *v1alpha1.Policy, opts v1.UpdateOptions) (result *v1alpha1.Policy, err error)
- func (c *FakePolicies) UpdateStatus(ctx context.Context, policy *v1alpha1.Policy, opts v1.UpdateOptions) (*v1alpha1.Policy, error)
- func (c *FakePolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePolicyRuleCollectionGroups
- func (c *FakePolicyRuleCollectionGroups) Create(ctx context.Context, ...) (result *v1alpha1.PolicyRuleCollectionGroup, err error)
- func (c *FakePolicyRuleCollectionGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePolicyRuleCollectionGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePolicyRuleCollectionGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PolicyRuleCollectionGroup, err error)
- func (c *FakePolicyRuleCollectionGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PolicyRuleCollectionGroupList, err error)
- func (c *FakePolicyRuleCollectionGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PolicyRuleCollectionGroup, err error)
- func (c *FakePolicyRuleCollectionGroups) Update(ctx context.Context, ...) (result *v1alpha1.PolicyRuleCollectionGroup, err error)
- func (c *FakePolicyRuleCollectionGroups) UpdateStatus(ctx context.Context, ...) (*v1alpha1.PolicyRuleCollectionGroup, error)
- func (c *FakePolicyRuleCollectionGroups) 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 FakeApplicationRuleCollections ¶
type FakeApplicationRuleCollections struct { Fake *FakeFirewallV1alpha1 // contains filtered or unexported fields }
FakeApplicationRuleCollections implements ApplicationRuleCollectionInterface
func (*FakeApplicationRuleCollections) Create ¶
func (c *FakeApplicationRuleCollections) Create(ctx context.Context, applicationRuleCollection *v1alpha1.ApplicationRuleCollection, opts v1.CreateOptions) (result *v1alpha1.ApplicationRuleCollection, err error)
Create takes the representation of a applicationRuleCollection and creates it. Returns the server's representation of the applicationRuleCollection, and an error, if there is any.
func (*FakeApplicationRuleCollections) Delete ¶
func (c *FakeApplicationRuleCollections) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the applicationRuleCollection and deletes it. Returns an error if one occurs.
func (*FakeApplicationRuleCollections) DeleteCollection ¶
func (c *FakeApplicationRuleCollections) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApplicationRuleCollections) Get ¶
func (c *FakeApplicationRuleCollections) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ApplicationRuleCollection, err error)
Get takes name of the applicationRuleCollection, and returns the corresponding applicationRuleCollection object, and an error if there is any.
func (*FakeApplicationRuleCollections) List ¶
func (c *FakeApplicationRuleCollections) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ApplicationRuleCollectionList, err error)
List takes label and field selectors, and returns the list of ApplicationRuleCollections that match those selectors.
func (*FakeApplicationRuleCollections) Patch ¶
func (c *FakeApplicationRuleCollections) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ApplicationRuleCollection, err error)
Patch applies the patch and returns the patched applicationRuleCollection.
func (*FakeApplicationRuleCollections) Update ¶
func (c *FakeApplicationRuleCollections) Update(ctx context.Context, applicationRuleCollection *v1alpha1.ApplicationRuleCollection, opts v1.UpdateOptions) (result *v1alpha1.ApplicationRuleCollection, err error)
Update takes the representation of a applicationRuleCollection and updates it. Returns the server's representation of the applicationRuleCollection, and an error, if there is any.
func (*FakeApplicationRuleCollections) UpdateStatus ¶
func (c *FakeApplicationRuleCollections) UpdateStatus(ctx context.Context, applicationRuleCollection *v1alpha1.ApplicationRuleCollection, opts v1.UpdateOptions) (*v1alpha1.ApplicationRuleCollection, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeApplicationRuleCollections) Watch ¶
func (c *FakeApplicationRuleCollections) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested applicationRuleCollections.
type FakeFirewallV1alpha1 ¶
func (*FakeFirewallV1alpha1) ApplicationRuleCollections ¶
func (c *FakeFirewallV1alpha1) ApplicationRuleCollections(namespace string) v1alpha1.ApplicationRuleCollectionInterface
func (*FakeFirewallV1alpha1) Firewalls ¶
func (c *FakeFirewallV1alpha1) Firewalls(namespace string) v1alpha1.FirewallInterface
func (*FakeFirewallV1alpha1) NatRuleCollections ¶
func (c *FakeFirewallV1alpha1) NatRuleCollections(namespace string) v1alpha1.NatRuleCollectionInterface
func (*FakeFirewallV1alpha1) NetworkRuleCollections ¶
func (c *FakeFirewallV1alpha1) NetworkRuleCollections(namespace string) v1alpha1.NetworkRuleCollectionInterface
func (*FakeFirewallV1alpha1) Policies ¶
func (c *FakeFirewallV1alpha1) Policies(namespace string) v1alpha1.PolicyInterface
func (*FakeFirewallV1alpha1) PolicyRuleCollectionGroups ¶
func (c *FakeFirewallV1alpha1) PolicyRuleCollectionGroups(namespace string) v1alpha1.PolicyRuleCollectionGroupInterface
func (*FakeFirewallV1alpha1) RESTClient ¶
func (c *FakeFirewallV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeFirewalls ¶
type FakeFirewalls struct { Fake *FakeFirewallV1alpha1 // contains filtered or unexported fields }
FakeFirewalls implements FirewallInterface
func (*FakeFirewalls) Create ¶
func (c *FakeFirewalls) Create(ctx context.Context, firewall *v1alpha1.Firewall, opts v1.CreateOptions) (result *v1alpha1.Firewall, err error)
Create takes the representation of a firewall and creates it. Returns the server's representation of the firewall, and an error, if there is any.
func (*FakeFirewalls) Delete ¶
func (c *FakeFirewalls) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the firewall and deletes it. Returns an error if one occurs.
func (*FakeFirewalls) DeleteCollection ¶
func (c *FakeFirewalls) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFirewalls) Get ¶
func (c *FakeFirewalls) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Firewall, err error)
Get takes name of the firewall, and returns the corresponding firewall object, and an error if there is any.
func (*FakeFirewalls) List ¶
func (c *FakeFirewalls) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FirewallList, err error)
List takes label and field selectors, and returns the list of Firewalls that match those selectors.
func (*FakeFirewalls) Patch ¶
func (c *FakeFirewalls) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Firewall, err error)
Patch applies the patch and returns the patched firewall.
func (*FakeFirewalls) Update ¶
func (c *FakeFirewalls) Update(ctx context.Context, firewall *v1alpha1.Firewall, opts v1.UpdateOptions) (result *v1alpha1.Firewall, err error)
Update takes the representation of a firewall and updates it. Returns the server's representation of the firewall, and an error, if there is any.
func (*FakeFirewalls) UpdateStatus ¶
func (c *FakeFirewalls) UpdateStatus(ctx context.Context, firewall *v1alpha1.Firewall, opts v1.UpdateOptions) (*v1alpha1.Firewall, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeFirewalls) Watch ¶
func (c *FakeFirewalls) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested firewalls.
type FakeNatRuleCollections ¶
type FakeNatRuleCollections struct { Fake *FakeFirewallV1alpha1 // contains filtered or unexported fields }
FakeNatRuleCollections implements NatRuleCollectionInterface
func (*FakeNatRuleCollections) Create ¶
func (c *FakeNatRuleCollections) Create(ctx context.Context, natRuleCollection *v1alpha1.NatRuleCollection, opts v1.CreateOptions) (result *v1alpha1.NatRuleCollection, err error)
Create takes the representation of a natRuleCollection and creates it. Returns the server's representation of the natRuleCollection, and an error, if there is any.
func (*FakeNatRuleCollections) Delete ¶
func (c *FakeNatRuleCollections) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the natRuleCollection and deletes it. Returns an error if one occurs.
func (*FakeNatRuleCollections) DeleteCollection ¶
func (c *FakeNatRuleCollections) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNatRuleCollections) Get ¶
func (c *FakeNatRuleCollections) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NatRuleCollection, err error)
Get takes name of the natRuleCollection, and returns the corresponding natRuleCollection object, and an error if there is any.
func (*FakeNatRuleCollections) List ¶
func (c *FakeNatRuleCollections) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NatRuleCollectionList, err error)
List takes label and field selectors, and returns the list of NatRuleCollections that match those selectors.
func (*FakeNatRuleCollections) Patch ¶
func (c *FakeNatRuleCollections) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NatRuleCollection, err error)
Patch applies the patch and returns the patched natRuleCollection.
func (*FakeNatRuleCollections) Update ¶
func (c *FakeNatRuleCollections) Update(ctx context.Context, natRuleCollection *v1alpha1.NatRuleCollection, opts v1.UpdateOptions) (result *v1alpha1.NatRuleCollection, err error)
Update takes the representation of a natRuleCollection and updates it. Returns the server's representation of the natRuleCollection, and an error, if there is any.
func (*FakeNatRuleCollections) UpdateStatus ¶
func (c *FakeNatRuleCollections) UpdateStatus(ctx context.Context, natRuleCollection *v1alpha1.NatRuleCollection, opts v1.UpdateOptions) (*v1alpha1.NatRuleCollection, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNatRuleCollections) Watch ¶
func (c *FakeNatRuleCollections) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested natRuleCollections.
type FakeNetworkRuleCollections ¶
type FakeNetworkRuleCollections struct { Fake *FakeFirewallV1alpha1 // contains filtered or unexported fields }
FakeNetworkRuleCollections implements NetworkRuleCollectionInterface
func (*FakeNetworkRuleCollections) Create ¶
func (c *FakeNetworkRuleCollections) Create(ctx context.Context, networkRuleCollection *v1alpha1.NetworkRuleCollection, opts v1.CreateOptions) (result *v1alpha1.NetworkRuleCollection, err error)
Create takes the representation of a networkRuleCollection and creates it. Returns the server's representation of the networkRuleCollection, and an error, if there is any.
func (*FakeNetworkRuleCollections) Delete ¶
func (c *FakeNetworkRuleCollections) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the networkRuleCollection and deletes it. Returns an error if one occurs.
func (*FakeNetworkRuleCollections) DeleteCollection ¶
func (c *FakeNetworkRuleCollections) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNetworkRuleCollections) Get ¶
func (c *FakeNetworkRuleCollections) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NetworkRuleCollection, err error)
Get takes name of the networkRuleCollection, and returns the corresponding networkRuleCollection object, and an error if there is any.
func (*FakeNetworkRuleCollections) List ¶
func (c *FakeNetworkRuleCollections) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NetworkRuleCollectionList, err error)
List takes label and field selectors, and returns the list of NetworkRuleCollections that match those selectors.
func (*FakeNetworkRuleCollections) Patch ¶
func (c *FakeNetworkRuleCollections) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NetworkRuleCollection, err error)
Patch applies the patch and returns the patched networkRuleCollection.
func (*FakeNetworkRuleCollections) Update ¶
func (c *FakeNetworkRuleCollections) Update(ctx context.Context, networkRuleCollection *v1alpha1.NetworkRuleCollection, opts v1.UpdateOptions) (result *v1alpha1.NetworkRuleCollection, err error)
Update takes the representation of a networkRuleCollection and updates it. Returns the server's representation of the networkRuleCollection, and an error, if there is any.
func (*FakeNetworkRuleCollections) UpdateStatus ¶
func (c *FakeNetworkRuleCollections) UpdateStatus(ctx context.Context, networkRuleCollection *v1alpha1.NetworkRuleCollection, opts v1.UpdateOptions) (*v1alpha1.NetworkRuleCollection, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNetworkRuleCollections) Watch ¶
func (c *FakeNetworkRuleCollections) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested networkRuleCollections.
type FakePolicies ¶
type FakePolicies struct { Fake *FakeFirewallV1alpha1 // contains filtered or unexported fields }
FakePolicies implements PolicyInterface
func (*FakePolicies) Create ¶
func (c *FakePolicies) Create(ctx context.Context, policy *v1alpha1.Policy, opts v1.CreateOptions) (result *v1alpha1.Policy, err error)
Create takes the representation of a policy and creates it. Returns the server's representation of the policy, and an error, if there is any.
func (*FakePolicies) Delete ¶
func (c *FakePolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the policy and deletes it. Returns an error if one occurs.
func (*FakePolicies) DeleteCollection ¶
func (c *FakePolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePolicies) Get ¶
func (c *FakePolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Policy, err error)
Get takes name of the policy, and returns the corresponding policy object, and an error if there is any.
func (*FakePolicies) List ¶
func (c *FakePolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PolicyList, err error)
List takes label and field selectors, and returns the list of Policies that match those selectors.
func (*FakePolicies) Patch ¶
func (c *FakePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Policy, err error)
Patch applies the patch and returns the patched policy.
func (*FakePolicies) Update ¶
func (c *FakePolicies) Update(ctx context.Context, policy *v1alpha1.Policy, opts v1.UpdateOptions) (result *v1alpha1.Policy, err error)
Update takes the representation of a policy and updates it. Returns the server's representation of the policy, and an error, if there is any.
func (*FakePolicies) UpdateStatus ¶
func (c *FakePolicies) UpdateStatus(ctx context.Context, policy *v1alpha1.Policy, opts v1.UpdateOptions) (*v1alpha1.Policy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePolicies) Watch ¶
func (c *FakePolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested policies.
type FakePolicyRuleCollectionGroups ¶
type FakePolicyRuleCollectionGroups struct { Fake *FakeFirewallV1alpha1 // contains filtered or unexported fields }
FakePolicyRuleCollectionGroups implements PolicyRuleCollectionGroupInterface
func (*FakePolicyRuleCollectionGroups) Create ¶
func (c *FakePolicyRuleCollectionGroups) Create(ctx context.Context, policyRuleCollectionGroup *v1alpha1.PolicyRuleCollectionGroup, opts v1.CreateOptions) (result *v1alpha1.PolicyRuleCollectionGroup, err error)
Create takes the representation of a policyRuleCollectionGroup and creates it. Returns the server's representation of the policyRuleCollectionGroup, and an error, if there is any.
func (*FakePolicyRuleCollectionGroups) Delete ¶
func (c *FakePolicyRuleCollectionGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the policyRuleCollectionGroup and deletes it. Returns an error if one occurs.
func (*FakePolicyRuleCollectionGroups) DeleteCollection ¶
func (c *FakePolicyRuleCollectionGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePolicyRuleCollectionGroups) Get ¶
func (c *FakePolicyRuleCollectionGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PolicyRuleCollectionGroup, err error)
Get takes name of the policyRuleCollectionGroup, and returns the corresponding policyRuleCollectionGroup object, and an error if there is any.
func (*FakePolicyRuleCollectionGroups) List ¶
func (c *FakePolicyRuleCollectionGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PolicyRuleCollectionGroupList, err error)
List takes label and field selectors, and returns the list of PolicyRuleCollectionGroups that match those selectors.
func (*FakePolicyRuleCollectionGroups) Patch ¶
func (c *FakePolicyRuleCollectionGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PolicyRuleCollectionGroup, err error)
Patch applies the patch and returns the patched policyRuleCollectionGroup.
func (*FakePolicyRuleCollectionGroups) Update ¶
func (c *FakePolicyRuleCollectionGroups) Update(ctx context.Context, policyRuleCollectionGroup *v1alpha1.PolicyRuleCollectionGroup, opts v1.UpdateOptions) (result *v1alpha1.PolicyRuleCollectionGroup, err error)
Update takes the representation of a policyRuleCollectionGroup and updates it. Returns the server's representation of the policyRuleCollectionGroup, and an error, if there is any.
func (*FakePolicyRuleCollectionGroups) UpdateStatus ¶
func (c *FakePolicyRuleCollectionGroups) UpdateStatus(ctx context.Context, policyRuleCollectionGroup *v1alpha1.PolicyRuleCollectionGroup, opts v1.UpdateOptions) (*v1alpha1.PolicyRuleCollectionGroup, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePolicyRuleCollectionGroups) Watch ¶
func (c *FakePolicyRuleCollectionGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested policyRuleCollectionGroups.