fake

package
v1.15.4 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 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 FakeCiliumBGPAdvertisements added in v1.15.0

type FakeCiliumBGPAdvertisements struct {
	Fake *FakeCiliumV2alpha1
}

FakeCiliumBGPAdvertisements implements CiliumBGPAdvertisementInterface

func (*FakeCiliumBGPAdvertisements) Create added in v1.15.0

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

func (*FakeCiliumBGPAdvertisements) Delete added in v1.15.0

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

func (*FakeCiliumBGPAdvertisements) DeleteCollection added in v1.15.0

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

DeleteCollection deletes a collection of objects.

func (*FakeCiliumBGPAdvertisements) Get added in v1.15.0

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

func (*FakeCiliumBGPAdvertisements) List added in v1.15.0

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

func (*FakeCiliumBGPAdvertisements) Patch added in v1.15.0

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

Patch applies the patch and returns the patched ciliumBGPAdvertisement.

func (*FakeCiliumBGPAdvertisements) Update added in v1.15.0

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

func (*FakeCiliumBGPAdvertisements) Watch added in v1.15.0

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

type FakeCiliumBGPClusterConfigs added in v1.15.0

type FakeCiliumBGPClusterConfigs struct {
	Fake *FakeCiliumV2alpha1
}

FakeCiliumBGPClusterConfigs implements CiliumBGPClusterConfigInterface

func (*FakeCiliumBGPClusterConfigs) Create added in v1.15.0

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

func (*FakeCiliumBGPClusterConfigs) Delete added in v1.15.0

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

func (*FakeCiliumBGPClusterConfigs) DeleteCollection added in v1.15.0

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

DeleteCollection deletes a collection of objects.

func (*FakeCiliumBGPClusterConfigs) Get added in v1.15.0

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

func (*FakeCiliumBGPClusterConfigs) List added in v1.15.0

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

func (*FakeCiliumBGPClusterConfigs) Patch added in v1.15.0

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

Patch applies the patch and returns the patched ciliumBGPClusterConfig.

func (*FakeCiliumBGPClusterConfigs) Update added in v1.15.0

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

func (*FakeCiliumBGPClusterConfigs) Watch added in v1.15.0

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

type FakeCiliumBGPNodeConfigOverrides added in v1.15.0

type FakeCiliumBGPNodeConfigOverrides struct {
	Fake *FakeCiliumV2alpha1
}

FakeCiliumBGPNodeConfigOverrides implements CiliumBGPNodeConfigOverrideInterface

func (*FakeCiliumBGPNodeConfigOverrides) Create added in v1.15.0

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

func (*FakeCiliumBGPNodeConfigOverrides) Delete added in v1.15.0

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

func (*FakeCiliumBGPNodeConfigOverrides) DeleteCollection added in v1.15.0

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

DeleteCollection deletes a collection of objects.

func (*FakeCiliumBGPNodeConfigOverrides) Get added in v1.15.0

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

func (*FakeCiliumBGPNodeConfigOverrides) List added in v1.15.0

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

func (*FakeCiliumBGPNodeConfigOverrides) Patch added in v1.15.0

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

Patch applies the patch and returns the patched ciliumBGPNodeConfigOverride.

func (*FakeCiliumBGPNodeConfigOverrides) Update added in v1.15.0

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

func (*FakeCiliumBGPNodeConfigOverrides) Watch added in v1.15.0

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

type FakeCiliumBGPNodeConfigs added in v1.15.0

type FakeCiliumBGPNodeConfigs struct {
	Fake *FakeCiliumV2alpha1
}

FakeCiliumBGPNodeConfigs implements CiliumBGPNodeConfigInterface

func (*FakeCiliumBGPNodeConfigs) Create added in v1.15.0

func (c *FakeCiliumBGPNodeConfigs) Create(ctx context.Context, ciliumBGPNodeConfig *v2alpha1.CiliumBGPNodeConfig, opts v1.CreateOptions) (result *v2alpha1.CiliumBGPNodeConfig, err error)

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

func (*FakeCiliumBGPNodeConfigs) Delete added in v1.15.0

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

func (*FakeCiliumBGPNodeConfigs) DeleteCollection added in v1.15.0

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

DeleteCollection deletes a collection of objects.

func (*FakeCiliumBGPNodeConfigs) Get added in v1.15.0

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

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

func (*FakeCiliumBGPNodeConfigs) List added in v1.15.0

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

func (*FakeCiliumBGPNodeConfigs) Patch added in v1.15.0

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

Patch applies the patch and returns the patched ciliumBGPNodeConfig.

func (*FakeCiliumBGPNodeConfigs) Update added in v1.15.0

func (c *FakeCiliumBGPNodeConfigs) Update(ctx context.Context, ciliumBGPNodeConfig *v2alpha1.CiliumBGPNodeConfig, opts v1.UpdateOptions) (result *v2alpha1.CiliumBGPNodeConfig, err error)

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

func (*FakeCiliumBGPNodeConfigs) UpdateStatus added in v1.15.0

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

func (*FakeCiliumBGPNodeConfigs) Watch added in v1.15.0

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

type FakeCiliumBGPPeerConfigs added in v1.15.0

type FakeCiliumBGPPeerConfigs struct {
	Fake *FakeCiliumV2alpha1
}

FakeCiliumBGPPeerConfigs implements CiliumBGPPeerConfigInterface

func (*FakeCiliumBGPPeerConfigs) Create added in v1.15.0

func (c *FakeCiliumBGPPeerConfigs) Create(ctx context.Context, ciliumBGPPeerConfig *v2alpha1.CiliumBGPPeerConfig, opts v1.CreateOptions) (result *v2alpha1.CiliumBGPPeerConfig, err error)

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

func (*FakeCiliumBGPPeerConfigs) Delete added in v1.15.0

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

func (*FakeCiliumBGPPeerConfigs) DeleteCollection added in v1.15.0

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

DeleteCollection deletes a collection of objects.

func (*FakeCiliumBGPPeerConfigs) Get added in v1.15.0

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

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

func (*FakeCiliumBGPPeerConfigs) List added in v1.15.0

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

func (*FakeCiliumBGPPeerConfigs) Patch added in v1.15.0

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

Patch applies the patch and returns the patched ciliumBGPPeerConfig.

func (*FakeCiliumBGPPeerConfigs) Update added in v1.15.0

func (c *FakeCiliumBGPPeerConfigs) Update(ctx context.Context, ciliumBGPPeerConfig *v2alpha1.CiliumBGPPeerConfig, opts v1.UpdateOptions) (result *v2alpha1.CiliumBGPPeerConfig, err error)

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

func (*FakeCiliumBGPPeerConfigs) Watch added in v1.15.0

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

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) CiliumBGPAdvertisements added in v1.15.0

func (c *FakeCiliumV2alpha1) CiliumBGPAdvertisements() v2alpha1.CiliumBGPAdvertisementInterface

func (*FakeCiliumV2alpha1) CiliumBGPClusterConfigs added in v1.15.0

func (c *FakeCiliumV2alpha1) CiliumBGPClusterConfigs() v2alpha1.CiliumBGPClusterConfigInterface

func (*FakeCiliumV2alpha1) CiliumBGPNodeConfigOverrides added in v1.15.0

func (c *FakeCiliumV2alpha1) CiliumBGPNodeConfigOverrides() v2alpha1.CiliumBGPNodeConfigOverrideInterface

func (*FakeCiliumV2alpha1) CiliumBGPNodeConfigs added in v1.15.0

func (c *FakeCiliumV2alpha1) CiliumBGPNodeConfigs() v2alpha1.CiliumBGPNodeConfigInterface

func (*FakeCiliumV2alpha1) CiliumBGPPeerConfigs added in v1.15.0

func (c *FakeCiliumV2alpha1) CiliumBGPPeerConfigs() v2alpha1.CiliumBGPPeerConfigInterface

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