Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCiliumEndpoints
- func (c *FakeCiliumEndpoints) Create(ciliumEndpoint *v2.CiliumEndpoint) (result *v2.CiliumEndpoint, err error)
- func (c *FakeCiliumEndpoints) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCiliumEndpoints) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCiliumEndpoints) Get(name string, options v1.GetOptions) (result *v2.CiliumEndpoint, err error)
- func (c *FakeCiliumEndpoints) List(opts v1.ListOptions) (result *v2.CiliumEndpointList, err error)
- func (c *FakeCiliumEndpoints) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.CiliumEndpoint, err error)
- func (c *FakeCiliumEndpoints) Update(ciliumEndpoint *v2.CiliumEndpoint) (result *v2.CiliumEndpoint, err error)
- func (c *FakeCiliumEndpoints) UpdateStatus(ciliumEndpoint *v2.CiliumEndpoint) (*v2.CiliumEndpoint, error)
- func (c *FakeCiliumEndpoints) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCiliumNetworkPolicies
- func (c *FakeCiliumNetworkPolicies) Create(ciliumNetworkPolicy *v2.CiliumNetworkPolicy) (result *v2.CiliumNetworkPolicy, err error)
- func (c *FakeCiliumNetworkPolicies) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCiliumNetworkPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCiliumNetworkPolicies) Get(name string, options v1.GetOptions) (result *v2.CiliumNetworkPolicy, err error)
- func (c *FakeCiliumNetworkPolicies) List(opts v1.ListOptions) (result *v2.CiliumNetworkPolicyList, err error)
- func (c *FakeCiliumNetworkPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.CiliumNetworkPolicy, err error)
- func (c *FakeCiliumNetworkPolicies) Update(ciliumNetworkPolicy *v2.CiliumNetworkPolicy) (result *v2.CiliumNetworkPolicy, err error)
- func (c *FakeCiliumNetworkPolicies) UpdateStatus(ciliumNetworkPolicy *v2.CiliumNetworkPolicy) (*v2.CiliumNetworkPolicy, error)
- func (c *FakeCiliumNetworkPolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCiliumV2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCiliumEndpoints ¶
type FakeCiliumEndpoints struct { Fake *FakeCiliumV2 // contains filtered or unexported fields }
FakeCiliumEndpoints implements CiliumEndpointInterface
func (*FakeCiliumEndpoints) Create ¶
func (c *FakeCiliumEndpoints) Create(ciliumEndpoint *v2.CiliumEndpoint) (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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCiliumEndpoints) Get ¶
func (c *FakeCiliumEndpoints) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.CiliumEndpoint, err error)
Patch applies the patch and returns the patched ciliumEndpoint.
func (*FakeCiliumEndpoints) Update ¶
func (c *FakeCiliumEndpoints) Update(ciliumEndpoint *v2.CiliumEndpoint) (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(ciliumEndpoint *v2.CiliumEndpoint) (*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 ¶
func (c *FakeCiliumEndpoints) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested ciliumEndpoints.
type FakeCiliumNetworkPolicies ¶
type FakeCiliumNetworkPolicies struct { Fake *FakeCiliumV2 // contains filtered or unexported fields }
FakeCiliumNetworkPolicies implements CiliumNetworkPolicyInterface
func (*FakeCiliumNetworkPolicies) Create ¶
func (c *FakeCiliumNetworkPolicies) Create(ciliumNetworkPolicy *v2.CiliumNetworkPolicy) (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 ¶
func (c *FakeCiliumNetworkPolicies) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the ciliumNetworkPolicy and deletes it. Returns an error if one occurs.
func (*FakeCiliumNetworkPolicies) DeleteCollection ¶
func (c *FakeCiliumNetworkPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCiliumNetworkPolicies) Get ¶
func (c *FakeCiliumNetworkPolicies) Get(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 ¶
func (c *FakeCiliumNetworkPolicies) List(opts v1.ListOptions) (result *v2.CiliumNetworkPolicyList, err error)
List takes label and field selectors, and returns the list of CiliumNetworkPolicies that match those selectors.
func (*FakeCiliumNetworkPolicies) Patch ¶
func (c *FakeCiliumNetworkPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.CiliumNetworkPolicy, err error)
Patch applies the patch and returns the patched ciliumNetworkPolicy.
func (*FakeCiliumNetworkPolicies) Update ¶
func (c *FakeCiliumNetworkPolicies) Update(ciliumNetworkPolicy *v2.CiliumNetworkPolicy) (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(ciliumNetworkPolicy *v2.CiliumNetworkPolicy) (*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 ¶
func (c *FakeCiliumNetworkPolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested ciliumNetworkPolicies.
type FakeCiliumV2 ¶
func (*FakeCiliumV2) CiliumEndpoints ¶
func (c *FakeCiliumV2) CiliumEndpoints(namespace string) v2.CiliumEndpointInterface
func (*FakeCiliumV2) CiliumNetworkPolicies ¶
func (c *FakeCiliumV2) CiliumNetworkPolicies(namespace string) v2.CiliumNetworkPolicyInterface
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.