fake

package
v1.14.0-snapshot.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCiliumBGPPeeringPolicies

type FakeCiliumBGPPeeringPolicies struct {
	Fake *FakeCiliumV2alpha1
}

FakeCiliumBGPPeeringPolicies implements CiliumBGPPeeringPolicyInterface

func (*FakeCiliumBGPPeeringPolicies) Create

Create takes the representation of a ciliumBGPPeeringPolicy and creates it. Returns the server's representation of the ciliumBGPPeeringPolicy, and an error, if there is any.

func (*FakeCiliumBGPPeeringPolicies) Delete

Delete takes name of the ciliumBGPPeeringPolicy and deletes it. Returns an error if one occurs.

func (*FakeCiliumBGPPeeringPolicies) DeleteCollection

func (c *FakeCiliumBGPPeeringPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCiliumBGPPeeringPolicies) Get

Get takes name of the ciliumBGPPeeringPolicy, and returns the corresponding ciliumBGPPeeringPolicy object, and an error if there is any.

func (*FakeCiliumBGPPeeringPolicies) List

List takes label and field selectors, and returns the list of CiliumBGPPeeringPolicies that match those selectors.

func (*FakeCiliumBGPPeeringPolicies) Patch

func (c *FakeCiliumBGPPeeringPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2alpha1.CiliumBGPPeeringPolicy, err error)

Patch applies the patch and returns the patched ciliumBGPPeeringPolicy.

func (*FakeCiliumBGPPeeringPolicies) Update

Update takes the representation of a ciliumBGPPeeringPolicy and updates it. Returns the server's representation of the ciliumBGPPeeringPolicy, and an error, if there is any.

func (*FakeCiliumBGPPeeringPolicies) Watch

Watch returns a watch.Interface that watches the requested ciliumBGPPeeringPolicies.

type FakeCiliumCIDRGroups

type FakeCiliumCIDRGroups struct {
	Fake *FakeCiliumV2alpha1
}

FakeCiliumCIDRGroups implements CiliumCIDRGroupInterface

func (*FakeCiliumCIDRGroups) Create

func (c *FakeCiliumCIDRGroups) Create(ctx context.Context, ciliumCIDRGroup *v2alpha1.CiliumCIDRGroup, opts v1.CreateOptions) (result *v2alpha1.CiliumCIDRGroup, err error)

Create takes the representation of a ciliumCIDRGroup and creates it. Returns the server's representation of the ciliumCIDRGroup, and an error, if there is any.

func (*FakeCiliumCIDRGroups) Delete

func (c *FakeCiliumCIDRGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the ciliumCIDRGroup and deletes it. Returns an error if one occurs.

func (*FakeCiliumCIDRGroups) DeleteCollection

func (c *FakeCiliumCIDRGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCiliumCIDRGroups) Get

func (c *FakeCiliumCIDRGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2alpha1.CiliumCIDRGroup, err error)

Get takes name of the ciliumCIDRGroup, and returns the corresponding ciliumCIDRGroup object, and an error if there is any.

func (*FakeCiliumCIDRGroups) List

List takes label and field selectors, and returns the list of CiliumCIDRGroups that match those selectors.

func (*FakeCiliumCIDRGroups) Patch

func (c *FakeCiliumCIDRGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2alpha1.CiliumCIDRGroup, err error)

Patch applies the patch and returns the patched ciliumCIDRGroup.

func (*FakeCiliumCIDRGroups) Update

func (c *FakeCiliumCIDRGroups) Update(ctx context.Context, ciliumCIDRGroup *v2alpha1.CiliumCIDRGroup, opts v1.UpdateOptions) (result *v2alpha1.CiliumCIDRGroup, err error)

Update takes the representation of a ciliumCIDRGroup and updates it. Returns the server's representation of the ciliumCIDRGroup, and an error, if there is any.

func (*FakeCiliumCIDRGroups) Watch

Watch returns a watch.Interface that watches the requested ciliumCIDRGroups.

type FakeCiliumEndpointSlices

type FakeCiliumEndpointSlices struct {
	Fake *FakeCiliumV2alpha1
}

FakeCiliumEndpointSlices implements CiliumEndpointSliceInterface

func (*FakeCiliumEndpointSlices) Create

func (c *FakeCiliumEndpointSlices) Create(ctx context.Context, ciliumEndpointSlice *v2alpha1.CiliumEndpointSlice, opts v1.CreateOptions) (result *v2alpha1.CiliumEndpointSlice, err error)

Create takes the representation of a ciliumEndpointSlice and creates it. Returns the server's representation of the ciliumEndpointSlice, and an error, if there is any.

func (*FakeCiliumEndpointSlices) Delete

Delete takes name of the ciliumEndpointSlice and deletes it. Returns an error if one occurs.

func (*FakeCiliumEndpointSlices) DeleteCollection

func (c *FakeCiliumEndpointSlices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCiliumEndpointSlices) Get

func (c *FakeCiliumEndpointSlices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2alpha1.CiliumEndpointSlice, err error)

Get takes name of the ciliumEndpointSlice, and returns the corresponding ciliumEndpointSlice object, and an error if there is any.

func (*FakeCiliumEndpointSlices) List

List takes label and field selectors, and returns the list of CiliumEndpointSlices that match those selectors.

func (*FakeCiliumEndpointSlices) Patch

func (c *FakeCiliumEndpointSlices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2alpha1.CiliumEndpointSlice, err error)

Patch applies the patch and returns the patched ciliumEndpointSlice.

func (*FakeCiliumEndpointSlices) Update

func (c *FakeCiliumEndpointSlices) Update(ctx context.Context, ciliumEndpointSlice *v2alpha1.CiliumEndpointSlice, opts v1.UpdateOptions) (result *v2alpha1.CiliumEndpointSlice, err error)

Update takes the representation of a ciliumEndpointSlice and updates it. Returns the server's representation of the ciliumEndpointSlice, and an error, if there is any.

func (*FakeCiliumEndpointSlices) Watch

Watch returns a watch.Interface that watches the requested ciliumEndpointSlices.

type FakeCiliumL2AnnouncementPolicies

type FakeCiliumL2AnnouncementPolicies struct {
	Fake *FakeCiliumV2alpha1
}

FakeCiliumL2AnnouncementPolicies implements CiliumL2AnnouncementPolicyInterface

func (*FakeCiliumL2AnnouncementPolicies) Create

Create takes the representation of a ciliumL2AnnouncementPolicy and creates it. Returns the server's representation of the ciliumL2AnnouncementPolicy, and an error, if there is any.

func (*FakeCiliumL2AnnouncementPolicies) Delete

Delete takes name of the ciliumL2AnnouncementPolicy and deletes it. Returns an error if one occurs.

func (*FakeCiliumL2AnnouncementPolicies) DeleteCollection

func (c *FakeCiliumL2AnnouncementPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCiliumL2AnnouncementPolicies) Get

Get takes name of the ciliumL2AnnouncementPolicy, and returns the corresponding ciliumL2AnnouncementPolicy object, and an error if there is any.

func (*FakeCiliumL2AnnouncementPolicies) List

List takes label and field selectors, and returns the list of CiliumL2AnnouncementPolicies that match those selectors.

func (*FakeCiliumL2AnnouncementPolicies) Patch

func (c *FakeCiliumL2AnnouncementPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2alpha1.CiliumL2AnnouncementPolicy, err error)

Patch applies the patch and returns the patched ciliumL2AnnouncementPolicy.

func (*FakeCiliumL2AnnouncementPolicies) Update

Update takes the representation of a ciliumL2AnnouncementPolicy and updates it. Returns the server's representation of the ciliumL2AnnouncementPolicy, and an error, if there is any.

func (*FakeCiliumL2AnnouncementPolicies) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeCiliumL2AnnouncementPolicies) Watch

Watch returns a watch.Interface that watches the requested ciliumL2AnnouncementPolicies.

type FakeCiliumLoadBalancerIPPools

type FakeCiliumLoadBalancerIPPools struct {
	Fake *FakeCiliumV2alpha1
}

FakeCiliumLoadBalancerIPPools implements CiliumLoadBalancerIPPoolInterface

func (*FakeCiliumLoadBalancerIPPools) Create

Create takes the representation of a ciliumLoadBalancerIPPool and creates it. Returns the server's representation of the ciliumLoadBalancerIPPool, and an error, if there is any.

func (*FakeCiliumLoadBalancerIPPools) Delete

Delete takes name of the ciliumLoadBalancerIPPool and deletes it. Returns an error if one occurs.

func (*FakeCiliumLoadBalancerIPPools) DeleteCollection

func (c *FakeCiliumLoadBalancerIPPools) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCiliumLoadBalancerIPPools) Get

Get takes name of the ciliumLoadBalancerIPPool, and returns the corresponding ciliumLoadBalancerIPPool object, and an error if there is any.

func (*FakeCiliumLoadBalancerIPPools) List

List takes label and field selectors, and returns the list of CiliumLoadBalancerIPPools that match those selectors.

func (*FakeCiliumLoadBalancerIPPools) Patch

func (c *FakeCiliumLoadBalancerIPPools) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2alpha1.CiliumLoadBalancerIPPool, err error)

Patch applies the patch and returns the patched ciliumLoadBalancerIPPool.

func (*FakeCiliumLoadBalancerIPPools) Update

Update takes the representation of a ciliumLoadBalancerIPPool and updates it. Returns the server's representation of the ciliumLoadBalancerIPPool, and an error, if there is any.

func (*FakeCiliumLoadBalancerIPPools) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeCiliumLoadBalancerIPPools) Watch

Watch returns a watch.Interface that watches the requested ciliumLoadBalancerIPPools.

type FakeCiliumNodeConfigs

type FakeCiliumNodeConfigs struct {
	Fake *FakeCiliumV2alpha1
	// contains filtered or unexported fields
}

FakeCiliumNodeConfigs implements CiliumNodeConfigInterface

func (*FakeCiliumNodeConfigs) Create

func (c *FakeCiliumNodeConfigs) Create(ctx context.Context, ciliumNodeConfig *v2alpha1.CiliumNodeConfig, opts v1.CreateOptions) (result *v2alpha1.CiliumNodeConfig, err error)

Create takes the representation of a ciliumNodeConfig and creates it. Returns the server's representation of the ciliumNodeConfig, and an error, if there is any.

func (*FakeCiliumNodeConfigs) Delete

func (c *FakeCiliumNodeConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the ciliumNodeConfig and deletes it. Returns an error if one occurs.

func (*FakeCiliumNodeConfigs) DeleteCollection

func (c *FakeCiliumNodeConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCiliumNodeConfigs) Get

func (c *FakeCiliumNodeConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2alpha1.CiliumNodeConfig, err error)

Get takes name of the ciliumNodeConfig, and returns the corresponding ciliumNodeConfig object, and an error if there is any.

func (*FakeCiliumNodeConfigs) List

List takes label and field selectors, and returns the list of CiliumNodeConfigs that match those selectors.

func (*FakeCiliumNodeConfigs) Patch

func (c *FakeCiliumNodeConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2alpha1.CiliumNodeConfig, err error)

Patch applies the patch and returns the patched ciliumNodeConfig.

func (*FakeCiliumNodeConfigs) Update

func (c *FakeCiliumNodeConfigs) Update(ctx context.Context, ciliumNodeConfig *v2alpha1.CiliumNodeConfig, opts v1.UpdateOptions) (result *v2alpha1.CiliumNodeConfig, err error)

Update takes the representation of a ciliumNodeConfig and updates it. Returns the server's representation of the ciliumNodeConfig, and an error, if there is any.

func (*FakeCiliumNodeConfigs) Watch

Watch returns a watch.Interface that watches the requested ciliumNodeConfigs.

type FakeCiliumPodIPPools

type FakeCiliumPodIPPools struct {
	Fake *FakeCiliumV2alpha1
}

FakeCiliumPodIPPools implements CiliumPodIPPoolInterface

func (*FakeCiliumPodIPPools) Create

func (c *FakeCiliumPodIPPools) Create(ctx context.Context, ciliumPodIPPool *v2alpha1.CiliumPodIPPool, opts v1.CreateOptions) (result *v2alpha1.CiliumPodIPPool, err error)

Create takes the representation of a ciliumPodIPPool and creates it. Returns the server's representation of the ciliumPodIPPool, and an error, if there is any.

func (*FakeCiliumPodIPPools) Delete

func (c *FakeCiliumPodIPPools) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the ciliumPodIPPool and deletes it. Returns an error if one occurs.

func (*FakeCiliumPodIPPools) DeleteCollection

func (c *FakeCiliumPodIPPools) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCiliumPodIPPools) Get

func (c *FakeCiliumPodIPPools) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2alpha1.CiliumPodIPPool, err error)

Get takes name of the ciliumPodIPPool, and returns the corresponding ciliumPodIPPool object, and an error if there is any.

func (*FakeCiliumPodIPPools) List

List takes label and field selectors, and returns the list of CiliumPodIPPools that match those selectors.

func (*FakeCiliumPodIPPools) Patch

func (c *FakeCiliumPodIPPools) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2alpha1.CiliumPodIPPool, err error)

Patch applies the patch and returns the patched ciliumPodIPPool.

func (*FakeCiliumPodIPPools) Update

func (c *FakeCiliumPodIPPools) Update(ctx context.Context, ciliumPodIPPool *v2alpha1.CiliumPodIPPool, opts v1.UpdateOptions) (result *v2alpha1.CiliumPodIPPool, err error)

Update takes the representation of a ciliumPodIPPool and updates it. Returns the server's representation of the ciliumPodIPPool, and an error, if there is any.

func (*FakeCiliumPodIPPools) Watch

Watch returns a watch.Interface that watches the requested ciliumPodIPPools.

type FakeCiliumV2alpha1

type FakeCiliumV2alpha1 struct {
	*testing.Fake
}

func (*FakeCiliumV2alpha1) CiliumBGPPeeringPolicies

func (c *FakeCiliumV2alpha1) CiliumBGPPeeringPolicies() v2alpha1.CiliumBGPPeeringPolicyInterface

func (*FakeCiliumV2alpha1) CiliumCIDRGroups

func (*FakeCiliumV2alpha1) CiliumEndpointSlices

func (c *FakeCiliumV2alpha1) CiliumEndpointSlices() v2alpha1.CiliumEndpointSliceInterface

func (*FakeCiliumV2alpha1) CiliumL2AnnouncementPolicies

func (c *FakeCiliumV2alpha1) CiliumL2AnnouncementPolicies() v2alpha1.CiliumL2AnnouncementPolicyInterface

func (*FakeCiliumV2alpha1) CiliumLoadBalancerIPPools

func (c *FakeCiliumV2alpha1) CiliumLoadBalancerIPPools() v2alpha1.CiliumLoadBalancerIPPoolInterface

func (*FakeCiliumV2alpha1) CiliumNodeConfigs

func (c *FakeCiliumV2alpha1) CiliumNodeConfigs(namespace string) v2alpha1.CiliumNodeConfigInterface

func (*FakeCiliumV2alpha1) CiliumPodIPPools

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL