fake

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 10 Imported by: 4

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 FakeCiliumClusterwideEnvoyConfigs

type FakeCiliumClusterwideEnvoyConfigs struct {
	Fake *FakeCiliumV2
}

FakeCiliumClusterwideEnvoyConfigs implements CiliumClusterwideEnvoyConfigInterface

func (*FakeCiliumClusterwideEnvoyConfigs) Create

func (c *FakeCiliumClusterwideEnvoyConfigs) Create(ctx context.Context, ciliumClusterwideEnvoyConfig *v2.CiliumClusterwideEnvoyConfig, opts v1.CreateOptions) (result *v2.CiliumClusterwideEnvoyConfig, err error)

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 *v2.CiliumClusterwideEnvoyConfig, err error)

Patch applies the patch and returns the patched ciliumClusterwideEnvoyConfig.

func (*FakeCiliumClusterwideEnvoyConfigs) Update

func (c *FakeCiliumClusterwideEnvoyConfigs) Update(ctx context.Context, ciliumClusterwideEnvoyConfig *v2.CiliumClusterwideEnvoyConfig, opts v1.UpdateOptions) (result *v2.CiliumClusterwideEnvoyConfig, err error)

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 FakeCiliumClusterwideNetworkPolicies

type FakeCiliumClusterwideNetworkPolicies struct {
	Fake *FakeCiliumV2
}

FakeCiliumClusterwideNetworkPolicies implements CiliumClusterwideNetworkPolicyInterface

func (*FakeCiliumClusterwideNetworkPolicies) Create

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

func (*FakeCiliumClusterwideNetworkPolicies) Delete

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

func (*FakeCiliumClusterwideNetworkPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCiliumClusterwideNetworkPolicies) Get

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

func (*FakeCiliumClusterwideNetworkPolicies) List

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

func (*FakeCiliumClusterwideNetworkPolicies) Patch

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

Patch applies the patch and returns the patched ciliumClusterwideNetworkPolicy.

func (*FakeCiliumClusterwideNetworkPolicies) Update

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

func (*FakeCiliumClusterwideNetworkPolicies) UpdateStatus

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

func (*FakeCiliumClusterwideNetworkPolicies) Watch

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

type FakeCiliumEgressGatewayPolicies

type FakeCiliumEgressGatewayPolicies struct {
	Fake *FakeCiliumV2
}

FakeCiliumEgressGatewayPolicies implements CiliumEgressGatewayPolicyInterface

func (*FakeCiliumEgressGatewayPolicies) Create

func (c *FakeCiliumEgressGatewayPolicies) Create(ctx context.Context, ciliumEgressGatewayPolicy *v2.CiliumEgressGatewayPolicy, opts v1.CreateOptions) (result *v2.CiliumEgressGatewayPolicy, err error)

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

func (*FakeCiliumEgressGatewayPolicies) Delete

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

func (*FakeCiliumEgressGatewayPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCiliumEgressGatewayPolicies) Get

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

func (*FakeCiliumEgressGatewayPolicies) List

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

func (*FakeCiliumEgressGatewayPolicies) Patch

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

Patch applies the patch and returns the patched ciliumEgressGatewayPolicy.

func (*FakeCiliumEgressGatewayPolicies) Update

func (c *FakeCiliumEgressGatewayPolicies) Update(ctx context.Context, ciliumEgressGatewayPolicy *v2.CiliumEgressGatewayPolicy, opts v1.UpdateOptions) (result *v2.CiliumEgressGatewayPolicy, err error)

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

func (*FakeCiliumEgressGatewayPolicies) Watch

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

type FakeCiliumEndpoints

type FakeCiliumEndpoints struct {
	Fake *FakeCiliumV2
	// contains filtered or unexported fields
}

FakeCiliumEndpoints implements CiliumEndpointInterface

func (*FakeCiliumEndpoints) Create

func (c *FakeCiliumEndpoints) Create(ctx context.Context, ciliumEndpoint *v2.CiliumEndpoint, opts v1.CreateOptions) (result *v2.CiliumEndpoint, err error)

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

func (*FakeCiliumEndpoints) Delete

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

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

func (*FakeCiliumEndpoints) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCiliumEndpoints) Get

func (c *FakeCiliumEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.CiliumEndpoint, err error)

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

func (*FakeCiliumEndpoints) List

func (c *FakeCiliumEndpoints) List(ctx context.Context, opts v1.ListOptions) (result *v2.CiliumEndpointList, err error)

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

func (*FakeCiliumEndpoints) Patch

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

Patch applies the patch and returns the patched ciliumEndpoint.

func (*FakeCiliumEndpoints) Update

func (c *FakeCiliumEndpoints) Update(ctx context.Context, ciliumEndpoint *v2.CiliumEndpoint, opts v1.UpdateOptions) (result *v2.CiliumEndpoint, err error)

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

func (*FakeCiliumEndpoints) UpdateStatus

func (c *FakeCiliumEndpoints) UpdateStatus(ctx context.Context, ciliumEndpoint *v2.CiliumEndpoint, opts v1.UpdateOptions) (*v2.CiliumEndpoint, error)

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

func (*FakeCiliumEndpoints) Watch

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

type FakeCiliumEnvoyConfigs

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

FakeCiliumEnvoyConfigs implements CiliumEnvoyConfigInterface

func (*FakeCiliumEnvoyConfigs) Create

func (c *FakeCiliumEnvoyConfigs) Create(ctx context.Context, ciliumEnvoyConfig *v2.CiliumEnvoyConfig, opts v1.CreateOptions) (result *v2.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 *v2.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 *v2.CiliumEnvoyConfig, err error)

Patch applies the patch and returns the patched ciliumEnvoyConfig.

func (*FakeCiliumEnvoyConfigs) Update

func (c *FakeCiliumEnvoyConfigs) Update(ctx context.Context, ciliumEnvoyConfig *v2.CiliumEnvoyConfig, opts v1.UpdateOptions) (result *v2.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 FakeCiliumExternalWorkloads

type FakeCiliumExternalWorkloads struct {
	Fake *FakeCiliumV2
}

FakeCiliumExternalWorkloads implements CiliumExternalWorkloadInterface

func (*FakeCiliumExternalWorkloads) Create

func (c *FakeCiliumExternalWorkloads) Create(ctx context.Context, ciliumExternalWorkload *v2.CiliumExternalWorkload, opts v1.CreateOptions) (result *v2.CiliumExternalWorkload, err error)

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

func (*FakeCiliumExternalWorkloads) Delete

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

func (*FakeCiliumExternalWorkloads) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCiliumExternalWorkloads) Get

func (c *FakeCiliumExternalWorkloads) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.CiliumExternalWorkload, err error)

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

func (*FakeCiliumExternalWorkloads) List

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

func (*FakeCiliumExternalWorkloads) Patch

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

Patch applies the patch and returns the patched ciliumExternalWorkload.

func (*FakeCiliumExternalWorkloads) Update

func (c *FakeCiliumExternalWorkloads) Update(ctx context.Context, ciliumExternalWorkload *v2.CiliumExternalWorkload, opts v1.UpdateOptions) (result *v2.CiliumExternalWorkload, err error)

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

func (*FakeCiliumExternalWorkloads) UpdateStatus

func (c *FakeCiliumExternalWorkloads) UpdateStatus(ctx context.Context, ciliumExternalWorkload *v2.CiliumExternalWorkload, opts v1.UpdateOptions) (*v2.CiliumExternalWorkload, error)

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

func (*FakeCiliumExternalWorkloads) Watch

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

type FakeCiliumIdentities

type FakeCiliumIdentities struct {
	Fake *FakeCiliumV2
}

FakeCiliumIdentities implements CiliumIdentityInterface

func (*FakeCiliumIdentities) Create

func (c *FakeCiliumIdentities) Create(ctx context.Context, ciliumIdentity *v2.CiliumIdentity, opts v1.CreateOptions) (result *v2.CiliumIdentity, err error)

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

func (*FakeCiliumIdentities) Delete

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

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

func (*FakeCiliumIdentities) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCiliumIdentities) Get

func (c *FakeCiliumIdentities) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.CiliumIdentity, err error)

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

func (*FakeCiliumIdentities) List

func (c *FakeCiliumIdentities) List(ctx context.Context, opts v1.ListOptions) (result *v2.CiliumIdentityList, err error)

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

func (*FakeCiliumIdentities) Patch

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

Patch applies the patch and returns the patched ciliumIdentity.

func (*FakeCiliumIdentities) Update

func (c *FakeCiliumIdentities) Update(ctx context.Context, ciliumIdentity *v2.CiliumIdentity, opts v1.UpdateOptions) (result *v2.CiliumIdentity, err error)

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

func (*FakeCiliumIdentities) Watch

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

type FakeCiliumLocalRedirectPolicies

type FakeCiliumLocalRedirectPolicies struct {
	Fake *FakeCiliumV2
	// contains filtered or unexported fields
}

FakeCiliumLocalRedirectPolicies implements CiliumLocalRedirectPolicyInterface

func (*FakeCiliumLocalRedirectPolicies) Create

func (c *FakeCiliumLocalRedirectPolicies) Create(ctx context.Context, ciliumLocalRedirectPolicy *v2.CiliumLocalRedirectPolicy, opts v1.CreateOptions) (result *v2.CiliumLocalRedirectPolicy, err error)

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

func (*FakeCiliumLocalRedirectPolicies) Delete

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

func (*FakeCiliumLocalRedirectPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCiliumLocalRedirectPolicies) Get

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

func (*FakeCiliumLocalRedirectPolicies) List

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

func (*FakeCiliumLocalRedirectPolicies) Patch

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

Patch applies the patch and returns the patched ciliumLocalRedirectPolicy.

func (*FakeCiliumLocalRedirectPolicies) Update

func (c *FakeCiliumLocalRedirectPolicies) Update(ctx context.Context, ciliumLocalRedirectPolicy *v2.CiliumLocalRedirectPolicy, opts v1.UpdateOptions) (result *v2.CiliumLocalRedirectPolicy, err error)

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

func (*FakeCiliumLocalRedirectPolicies) UpdateStatus

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

func (*FakeCiliumLocalRedirectPolicies) Watch

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

type FakeCiliumNetworkPolicies

type FakeCiliumNetworkPolicies struct {
	Fake *FakeCiliumV2
	// contains filtered or unexported fields
}

FakeCiliumNetworkPolicies implements CiliumNetworkPolicyInterface

func (*FakeCiliumNetworkPolicies) Create

func (c *FakeCiliumNetworkPolicies) Create(ctx context.Context, ciliumNetworkPolicy *v2.CiliumNetworkPolicy, opts v1.CreateOptions) (result *v2.CiliumNetworkPolicy, err error)

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

func (*FakeCiliumNetworkPolicies) Delete

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

func (*FakeCiliumNetworkPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCiliumNetworkPolicies) Get

func (c *FakeCiliumNetworkPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.CiliumNetworkPolicy, err error)

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

func (*FakeCiliumNetworkPolicies) List

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

func (*FakeCiliumNetworkPolicies) Patch

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

Patch applies the patch and returns the patched ciliumNetworkPolicy.

func (*FakeCiliumNetworkPolicies) Update

func (c *FakeCiliumNetworkPolicies) Update(ctx context.Context, ciliumNetworkPolicy *v2.CiliumNetworkPolicy, opts v1.UpdateOptions) (result *v2.CiliumNetworkPolicy, err error)

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

func (*FakeCiliumNetworkPolicies) UpdateStatus

func (c *FakeCiliumNetworkPolicies) UpdateStatus(ctx context.Context, ciliumNetworkPolicy *v2.CiliumNetworkPolicy, opts v1.UpdateOptions) (*v2.CiliumNetworkPolicy, error)

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

func (*FakeCiliumNetworkPolicies) Watch

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

type FakeCiliumNodes

type FakeCiliumNodes struct {
	Fake *FakeCiliumV2
}

FakeCiliumNodes implements CiliumNodeInterface

func (*FakeCiliumNodes) Create

func (c *FakeCiliumNodes) Create(ctx context.Context, ciliumNode *v2.CiliumNode, opts v1.CreateOptions) (result *v2.CiliumNode, err error)

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

func (*FakeCiliumNodes) Delete

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

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

func (*FakeCiliumNodes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCiliumNodes) Get

func (c *FakeCiliumNodes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.CiliumNode, err error)

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

func (*FakeCiliumNodes) List

func (c *FakeCiliumNodes) List(ctx context.Context, opts v1.ListOptions) (result *v2.CiliumNodeList, err error)

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

func (*FakeCiliumNodes) Patch

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

Patch applies the patch and returns the patched ciliumNode.

func (*FakeCiliumNodes) Update

func (c *FakeCiliumNodes) Update(ctx context.Context, ciliumNode *v2.CiliumNode, opts v1.UpdateOptions) (result *v2.CiliumNode, err error)

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

func (*FakeCiliumNodes) UpdateStatus

func (c *FakeCiliumNodes) UpdateStatus(ctx context.Context, ciliumNode *v2.CiliumNode, opts v1.UpdateOptions) (*v2.CiliumNode, error)

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

func (*FakeCiliumNodes) Watch

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

type FakeCiliumV2

type FakeCiliumV2 struct {
	*testing.Fake
}

func (*FakeCiliumV2) CiliumClusterwideEnvoyConfigs

func (c *FakeCiliumV2) CiliumClusterwideEnvoyConfigs() v2.CiliumClusterwideEnvoyConfigInterface

func (*FakeCiliumV2) CiliumClusterwideNetworkPolicies

func (c *FakeCiliumV2) CiliumClusterwideNetworkPolicies() v2.CiliumClusterwideNetworkPolicyInterface

func (*FakeCiliumV2) CiliumEgressGatewayPolicies

func (c *FakeCiliumV2) CiliumEgressGatewayPolicies() v2.CiliumEgressGatewayPolicyInterface

func (*FakeCiliumV2) CiliumEndpoints

func (c *FakeCiliumV2) CiliumEndpoints(namespace string) v2.CiliumEndpointInterface

func (*FakeCiliumV2) CiliumEnvoyConfigs

func (c *FakeCiliumV2) CiliumEnvoyConfigs(namespace string) v2.CiliumEnvoyConfigInterface

func (*FakeCiliumV2) CiliumExternalWorkloads

func (c *FakeCiliumV2) CiliumExternalWorkloads() v2.CiliumExternalWorkloadInterface

func (*FakeCiliumV2) CiliumIdentities

func (c *FakeCiliumV2) CiliumIdentities() v2.CiliumIdentityInterface

func (*FakeCiliumV2) CiliumLocalRedirectPolicies

func (c *FakeCiliumV2) CiliumLocalRedirectPolicies(namespace string) v2.CiliumLocalRedirectPolicyInterface

func (*FakeCiliumV2) CiliumNetworkPolicies

func (c *FakeCiliumV2) CiliumNetworkPolicies(namespace string) v2.CiliumNetworkPolicyInterface

func (*FakeCiliumV2) CiliumNodes

func (c *FakeCiliumV2) CiliumNodes() v2.CiliumNodeInterface

func (*FakeCiliumV2) RESTClient

func (c *FakeCiliumV2) 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