fake

package
v1.13.17 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 10 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 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 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 FakeCiliumV2alpha1

type FakeCiliumV2alpha1 struct {
	*testing.Fake
}

func (*FakeCiliumV2alpha1) CiliumBGPPeeringPolicies

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

func (*FakeCiliumV2alpha1) CiliumEndpointSlices

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

func (*FakeCiliumV2alpha1) CiliumLoadBalancerIPPools

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

func (*FakeCiliumV2alpha1) CiliumNodeConfigs

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

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