Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAkoV1alpha2
- type FakeL4Rules
- func (c *FakeL4Rules) Create(ctx context.Context, l4Rule *v1alpha2.L4Rule, opts v1.CreateOptions) (result *v1alpha2.L4Rule, err error)
- func (c *FakeL4Rules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeL4Rules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeL4Rules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.L4Rule, err error)
- func (c *FakeL4Rules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.L4RuleList, err error)
- func (c *FakeL4Rules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.L4Rule, err error)
- func (c *FakeL4Rules) Update(ctx context.Context, l4Rule *v1alpha2.L4Rule, opts v1.UpdateOptions) (result *v1alpha2.L4Rule, err error)
- func (c *FakeL4Rules) UpdateStatus(ctx context.Context, l4Rule *v1alpha2.L4Rule, opts v1.UpdateOptions) (*v1alpha2.L4Rule, error)
- func (c *FakeL4Rules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeL7Rules
- func (c *FakeL7Rules) Create(ctx context.Context, l7Rule *v1alpha2.L7Rule, opts v1.CreateOptions) (result *v1alpha2.L7Rule, err error)
- func (c *FakeL7Rules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeL7Rules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeL7Rules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.L7Rule, err error)
- func (c *FakeL7Rules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.L7RuleList, err error)
- func (c *FakeL7Rules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.L7Rule, err error)
- func (c *FakeL7Rules) Update(ctx context.Context, l7Rule *v1alpha2.L7Rule, opts v1.UpdateOptions) (result *v1alpha2.L7Rule, err error)
- func (c *FakeL7Rules) UpdateStatus(ctx context.Context, l7Rule *v1alpha2.L7Rule, opts v1.UpdateOptions) (*v1alpha2.L7Rule, error)
- func (c *FakeL7Rules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSSORules
- func (c *FakeSSORules) Create(ctx context.Context, sSORule *v1alpha2.SSORule, opts v1.CreateOptions) (result *v1alpha2.SSORule, err error)
- func (c *FakeSSORules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSSORules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSSORules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.SSORule, err error)
- func (c *FakeSSORules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.SSORuleList, err error)
- func (c *FakeSSORules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.SSORule, err error)
- func (c *FakeSSORules) Update(ctx context.Context, sSORule *v1alpha2.SSORule, opts v1.UpdateOptions) (result *v1alpha2.SSORule, err error)
- func (c *FakeSSORules) UpdateStatus(ctx context.Context, sSORule *v1alpha2.SSORule, opts v1.UpdateOptions) (*v1alpha2.SSORule, error)
- func (c *FakeSSORules) 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 FakeAkoV1alpha2 ¶
func (*FakeAkoV1alpha2) L4Rules ¶
func (c *FakeAkoV1alpha2) L4Rules(namespace string) v1alpha2.L4RuleInterface
func (*FakeAkoV1alpha2) L7Rules ¶
func (c *FakeAkoV1alpha2) L7Rules(namespace string) v1alpha2.L7RuleInterface
func (*FakeAkoV1alpha2) RESTClient ¶
func (c *FakeAkoV1alpha2) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAkoV1alpha2) SSORules ¶
func (c *FakeAkoV1alpha2) SSORules(namespace string) v1alpha2.SSORuleInterface
type FakeL4Rules ¶
type FakeL4Rules struct { Fake *FakeAkoV1alpha2 // contains filtered or unexported fields }
FakeL4Rules implements L4RuleInterface
func (*FakeL4Rules) Create ¶
func (c *FakeL4Rules) Create(ctx context.Context, l4Rule *v1alpha2.L4Rule, opts v1.CreateOptions) (result *v1alpha2.L4Rule, err error)
Create takes the representation of a l4Rule and creates it. Returns the server's representation of the l4Rule, and an error, if there is any.
func (*FakeL4Rules) Delete ¶
func (c *FakeL4Rules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the l4Rule and deletes it. Returns an error if one occurs.
func (*FakeL4Rules) DeleteCollection ¶
func (c *FakeL4Rules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeL4Rules) Get ¶
func (c *FakeL4Rules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.L4Rule, err error)
Get takes name of the l4Rule, and returns the corresponding l4Rule object, and an error if there is any.
func (*FakeL4Rules) List ¶
func (c *FakeL4Rules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.L4RuleList, err error)
List takes label and field selectors, and returns the list of L4Rules that match those selectors.
func (*FakeL4Rules) Patch ¶
func (c *FakeL4Rules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.L4Rule, err error)
Patch applies the patch and returns the patched l4Rule.
func (*FakeL4Rules) Update ¶
func (c *FakeL4Rules) Update(ctx context.Context, l4Rule *v1alpha2.L4Rule, opts v1.UpdateOptions) (result *v1alpha2.L4Rule, err error)
Update takes the representation of a l4Rule and updates it. Returns the server's representation of the l4Rule, and an error, if there is any.
func (*FakeL4Rules) UpdateStatus ¶
func (c *FakeL4Rules) UpdateStatus(ctx context.Context, l4Rule *v1alpha2.L4Rule, opts v1.UpdateOptions) (*v1alpha2.L4Rule, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeL4Rules) Watch ¶
func (c *FakeL4Rules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested l4Rules.
type FakeL7Rules ¶
type FakeL7Rules struct { Fake *FakeAkoV1alpha2 // contains filtered or unexported fields }
FakeL7Rules implements L7RuleInterface
func (*FakeL7Rules) Create ¶
func (c *FakeL7Rules) Create(ctx context.Context, l7Rule *v1alpha2.L7Rule, opts v1.CreateOptions) (result *v1alpha2.L7Rule, err error)
Create takes the representation of a l7Rule and creates it. Returns the server's representation of the l7Rule, and an error, if there is any.
func (*FakeL7Rules) Delete ¶
func (c *FakeL7Rules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the l7Rule and deletes it. Returns an error if one occurs.
func (*FakeL7Rules) DeleteCollection ¶
func (c *FakeL7Rules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeL7Rules) Get ¶
func (c *FakeL7Rules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.L7Rule, err error)
Get takes name of the l7Rule, and returns the corresponding l7Rule object, and an error if there is any.
func (*FakeL7Rules) List ¶
func (c *FakeL7Rules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.L7RuleList, err error)
List takes label and field selectors, and returns the list of L7Rules that match those selectors.
func (*FakeL7Rules) Patch ¶
func (c *FakeL7Rules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.L7Rule, err error)
Patch applies the patch and returns the patched l7Rule.
func (*FakeL7Rules) Update ¶
func (c *FakeL7Rules) Update(ctx context.Context, l7Rule *v1alpha2.L7Rule, opts v1.UpdateOptions) (result *v1alpha2.L7Rule, err error)
Update takes the representation of a l7Rule and updates it. Returns the server's representation of the l7Rule, and an error, if there is any.
func (*FakeL7Rules) UpdateStatus ¶
func (c *FakeL7Rules) UpdateStatus(ctx context.Context, l7Rule *v1alpha2.L7Rule, opts v1.UpdateOptions) (*v1alpha2.L7Rule, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeL7Rules) Watch ¶
func (c *FakeL7Rules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested l7Rules.
type FakeSSORules ¶
type FakeSSORules struct { Fake *FakeAkoV1alpha2 // contains filtered or unexported fields }
FakeSSORules implements SSORuleInterface
func (*FakeSSORules) Create ¶
func (c *FakeSSORules) Create(ctx context.Context, sSORule *v1alpha2.SSORule, opts v1.CreateOptions) (result *v1alpha2.SSORule, err error)
Create takes the representation of a sSORule and creates it. Returns the server's representation of the sSORule, and an error, if there is any.
func (*FakeSSORules) Delete ¶
func (c *FakeSSORules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the sSORule and deletes it. Returns an error if one occurs.
func (*FakeSSORules) DeleteCollection ¶
func (c *FakeSSORules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSSORules) Get ¶
func (c *FakeSSORules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.SSORule, err error)
Get takes name of the sSORule, and returns the corresponding sSORule object, and an error if there is any.
func (*FakeSSORules) List ¶
func (c *FakeSSORules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.SSORuleList, err error)
List takes label and field selectors, and returns the list of SSORules that match those selectors.
func (*FakeSSORules) Patch ¶
func (c *FakeSSORules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.SSORule, err error)
Patch applies the patch and returns the patched sSORule.
func (*FakeSSORules) Update ¶
func (c *FakeSSORules) Update(ctx context.Context, sSORule *v1alpha2.SSORule, opts v1.UpdateOptions) (result *v1alpha2.SSORule, err error)
Update takes the representation of a sSORule and updates it. Returns the server's representation of the sSORule, and an error, if there is any.
func (*FakeSSORules) UpdateStatus ¶
func (c *FakeSSORules) UpdateStatus(ctx context.Context, sSORule *v1alpha2.SSORule, opts v1.UpdateOptions) (*v1alpha2.SSORule, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSSORules) Watch ¶
func (c *FakeSSORules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sSORules.