fake

package
v1.12.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 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 FakeCiliumBGPLoadBalancerIPPools added in v1.12.0

type FakeCiliumBGPLoadBalancerIPPools struct {
	Fake *FakeCiliumV2alpha1
}

FakeCiliumBGPLoadBalancerIPPools implements CiliumBGPLoadBalancerIPPoolInterface

func (*FakeCiliumBGPLoadBalancerIPPools) Create added in v1.12.0

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

func (*FakeCiliumBGPLoadBalancerIPPools) Delete added in v1.12.0

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

func (*FakeCiliumBGPLoadBalancerIPPools) DeleteCollection added in v1.12.0

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

DeleteCollection deletes a collection of objects.

func (*FakeCiliumBGPLoadBalancerIPPools) Get added in v1.12.0

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

func (*FakeCiliumBGPLoadBalancerIPPools) List added in v1.12.0

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

func (*FakeCiliumBGPLoadBalancerIPPools) Patch added in v1.12.0

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

Patch applies the patch and returns the patched ciliumBGPLoadBalancerIPPool.

func (*FakeCiliumBGPLoadBalancerIPPools) Update added in v1.12.0

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

func (*FakeCiliumBGPLoadBalancerIPPools) Watch added in v1.12.0

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

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 FakeCiliumClusterwideEnvoyConfigs

type FakeCiliumClusterwideEnvoyConfigs struct {
	Fake *FakeCiliumV2alpha1
}

FakeCiliumClusterwideEnvoyConfigs implements CiliumClusterwideEnvoyConfigInterface

func (*FakeCiliumClusterwideEnvoyConfigs) Create

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

func (*FakeCiliumClusterwideEnvoyConfigs) Delete

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

func (*FakeCiliumClusterwideEnvoyConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCiliumClusterwideEnvoyConfigs) Get

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

func (*FakeCiliumClusterwideEnvoyConfigs) List

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

func (*FakeCiliumClusterwideEnvoyConfigs) Patch

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

Patch applies the patch and returns the patched ciliumClusterwideEnvoyConfig.

func (*FakeCiliumClusterwideEnvoyConfigs) Update

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

func (*FakeCiliumClusterwideEnvoyConfigs) Watch

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

type FakeCiliumEgressNATPolicies added in v1.10.0

type FakeCiliumEgressNATPolicies struct {
	Fake *FakeCiliumV2alpha1
}

FakeCiliumEgressNATPolicies implements CiliumEgressNATPolicyInterface

func (*FakeCiliumEgressNATPolicies) Create added in v1.10.0

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

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

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

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

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

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

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 FakeCiliumEnvoyConfigs

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

FakeCiliumEnvoyConfigs implements CiliumEnvoyConfigInterface

func (*FakeCiliumEnvoyConfigs) Create

func (c *FakeCiliumEnvoyConfigs) Create(ctx context.Context, ciliumEnvoyConfig *v2alpha1.CiliumEnvoyConfig, opts v1.CreateOptions) (result *v2alpha1.CiliumEnvoyConfig, err error)

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

func (*FakeCiliumEnvoyConfigs) Delete

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

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

func (*FakeCiliumEnvoyConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCiliumEnvoyConfigs) Get

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

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

func (*FakeCiliumEnvoyConfigs) List

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

func (*FakeCiliumEnvoyConfigs) Patch

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

Patch applies the patch and returns the patched ciliumEnvoyConfig.

func (*FakeCiliumEnvoyConfigs) Update

func (c *FakeCiliumEnvoyConfigs) Update(ctx context.Context, ciliumEnvoyConfig *v2alpha1.CiliumEnvoyConfig, opts v1.UpdateOptions) (result *v2alpha1.CiliumEnvoyConfig, err error)

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

func (*FakeCiliumEnvoyConfigs) Watch

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

type FakeCiliumV2alpha1

type FakeCiliumV2alpha1 struct {
	*testing.Fake
}

func (*FakeCiliumV2alpha1) CiliumBGPLoadBalancerIPPools added in v1.12.0

func (c *FakeCiliumV2alpha1) CiliumBGPLoadBalancerIPPools() v2alpha1.CiliumBGPLoadBalancerIPPoolInterface

func (*FakeCiliumV2alpha1) CiliumBGPPeeringPolicies

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

func (*FakeCiliumV2alpha1) CiliumClusterwideEnvoyConfigs

func (c *FakeCiliumV2alpha1) CiliumClusterwideEnvoyConfigs() v2alpha1.CiliumClusterwideEnvoyConfigInterface

func (*FakeCiliumV2alpha1) CiliumEgressNATPolicies added in v1.10.0

func (c *FakeCiliumV2alpha1) CiliumEgressNATPolicies() v2alpha1.CiliumEgressNATPolicyInterface

func (*FakeCiliumV2alpha1) CiliumEndpointSlices

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

func (*FakeCiliumV2alpha1) CiliumEnvoyConfigs

func (c *FakeCiliumV2alpha1) CiliumEnvoyConfigs(namespace string) v2alpha1.CiliumEnvoyConfigInterface

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