Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCiliumEgressNATPolicies
- func (c *FakeCiliumEgressNATPolicies) Create(ctx context.Context, ciliumEgressNATPolicy *v2alpha1.CiliumEgressNATPolicy, ...) (result *v2alpha1.CiliumEgressNATPolicy, err error)
- func (c *FakeCiliumEgressNATPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCiliumEgressNATPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCiliumEgressNATPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2alpha1.CiliumEgressNATPolicy, err error)
- func (c *FakeCiliumEgressNATPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v2alpha1.CiliumEgressNATPolicyList, err error)
- func (c *FakeCiliumEgressNATPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v2alpha1.CiliumEgressNATPolicy, err error)
- func (c *FakeCiliumEgressNATPolicies) Update(ctx context.Context, ciliumEgressNATPolicy *v2alpha1.CiliumEgressNATPolicy, ...) (result *v2alpha1.CiliumEgressNATPolicy, err error)
- func (c *FakeCiliumEgressNATPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCiliumV2alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCiliumEgressNATPolicies ¶ added in v1.10.0
type FakeCiliumEgressNATPolicies struct {
Fake *FakeCiliumV2alpha1
}
FakeCiliumEgressNATPolicies implements CiliumEgressNATPolicyInterface
func (*FakeCiliumEgressNATPolicies) Create ¶ added in v1.10.0
func (c *FakeCiliumEgressNATPolicies) Create(ctx context.Context, ciliumEgressNATPolicy *v2alpha1.CiliumEgressNATPolicy, opts v1.CreateOptions) (result *v2alpha1.CiliumEgressNATPolicy, err error)
Create takes the representation of a ciliumEgressNATPolicy and creates it. Returns the server's representation of the ciliumEgressNATPolicy, and an error, if there is any.
func (*FakeCiliumEgressNATPolicies) Delete ¶ added in v1.10.0
func (c *FakeCiliumEgressNATPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the ciliumEgressNATPolicy and deletes it. Returns an error if one occurs.
func (*FakeCiliumEgressNATPolicies) DeleteCollection ¶ added in v1.10.0
func (c *FakeCiliumEgressNATPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCiliumEgressNATPolicies) Get ¶ added in v1.10.0
func (c *FakeCiliumEgressNATPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2alpha1.CiliumEgressNATPolicy, err error)
Get takes name of the ciliumEgressNATPolicy, and returns the corresponding ciliumEgressNATPolicy object, and an error if there is any.
func (*FakeCiliumEgressNATPolicies) List ¶ added in v1.10.0
func (c *FakeCiliumEgressNATPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v2alpha1.CiliumEgressNATPolicyList, err error)
List takes label and field selectors, and returns the list of CiliumEgressNATPolicies that match those selectors.
func (*FakeCiliumEgressNATPolicies) Patch ¶ added in v1.10.0
func (c *FakeCiliumEgressNATPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2alpha1.CiliumEgressNATPolicy, err error)
Patch applies the patch and returns the patched ciliumEgressNATPolicy.
func (*FakeCiliumEgressNATPolicies) Update ¶ added in v1.10.0
func (c *FakeCiliumEgressNATPolicies) Update(ctx context.Context, ciliumEgressNATPolicy *v2alpha1.CiliumEgressNATPolicy, opts v1.UpdateOptions) (result *v2alpha1.CiliumEgressNATPolicy, err error)
Update takes the representation of a ciliumEgressNATPolicy and updates it. Returns the server's representation of the ciliumEgressNATPolicy, and an error, if there is any.
func (*FakeCiliumEgressNATPolicies) Watch ¶ added in v1.10.0
func (c *FakeCiliumEgressNATPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested ciliumEgressNATPolicies.
type FakeCiliumV2alpha1 ¶
func (*FakeCiliumV2alpha1) CiliumEgressNATPolicies ¶ added in v1.10.0
func (c *FakeCiliumV2alpha1) CiliumEgressNATPolicies() v2alpha1.CiliumEgressNATPolicyInterface
func (*FakeCiliumV2alpha1) RESTClient ¶
func (c *FakeCiliumV2alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.