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 FakeCiliumIdentities
- func (c *FakeCiliumIdentities) Create(ciliumIdentity *v2.CiliumIdentity) (result *v2.CiliumIdentity, err error)
- func (c *FakeCiliumIdentities) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCiliumIdentities) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCiliumIdentities) Get(name string, options v1.GetOptions) (result *v2.CiliumIdentity, err error)
- func (c *FakeCiliumIdentities) List(opts v1.ListOptions) (result *v2.CiliumIdentityList, err error)
- func (c *FakeCiliumIdentities) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.CiliumIdentity, err error)
- func (c *FakeCiliumIdentities) Update(ciliumIdentity *v2.CiliumIdentity) (result *v2.CiliumIdentity, err error)
- func (c *FakeCiliumIdentities) UpdateStatus(ciliumIdentity *v2.CiliumIdentity) (*v2.CiliumIdentity, error)
- func (c *FakeCiliumIdentities) 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 FakeCiliumNodes
- func (c *FakeCiliumNodes) Create(ciliumNode *v2.CiliumNode) (result *v2.CiliumNode, err error)
- func (c *FakeCiliumNodes) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCiliumNodes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCiliumNodes) Get(name string, options v1.GetOptions) (result *v2.CiliumNode, err error)
- func (c *FakeCiliumNodes) List(opts v1.ListOptions) (result *v2.CiliumNodeList, err error)
- func (c *FakeCiliumNodes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.CiliumNode, err error)
- func (c *FakeCiliumNodes) Update(ciliumNode *v2.CiliumNode) (result *v2.CiliumNode, err error)
- func (c *FakeCiliumNodes) UpdateStatus(ciliumNode *v2.CiliumNode) (*v2.CiliumNode, error)
- func (c *FakeCiliumNodes) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCiliumV2
- func (c *FakeCiliumV2) CiliumEndpoints(namespace string) v2.CiliumEndpointInterface
- func (c *FakeCiliumV2) CiliumIdentities() v2.CiliumIdentityInterface
- func (c *FakeCiliumV2) CiliumNetworkPolicies(namespace string) v2.CiliumNetworkPolicyInterface
- func (c *FakeCiliumV2) CiliumNodes() v2.CiliumNodeInterface
- func (c *FakeCiliumV2) RESTClient() rest.Interface
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 FakeCiliumIdentities ¶
type FakeCiliumIdentities struct {
Fake *FakeCiliumV2
}
FakeCiliumIdentities implements CiliumIdentityInterface
func (*FakeCiliumIdentities) Create ¶
func (c *FakeCiliumIdentities) Create(ciliumIdentity *v2.CiliumIdentity) (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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCiliumIdentities) Get ¶
func (c *FakeCiliumIdentities) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.CiliumIdentity, err error)
Patch applies the patch and returns the patched ciliumIdentity.
func (*FakeCiliumIdentities) Update ¶
func (c *FakeCiliumIdentities) Update(ciliumIdentity *v2.CiliumIdentity) (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) UpdateStatus ¶
func (c *FakeCiliumIdentities) UpdateStatus(ciliumIdentity *v2.CiliumIdentity) (*v2.CiliumIdentity, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCiliumIdentities) Watch ¶
func (c *FakeCiliumIdentities) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested ciliumIdentities.
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 FakeCiliumNodes ¶
type FakeCiliumNodes struct {
Fake *FakeCiliumV2
}
FakeCiliumNodes implements CiliumNodeInterface
func (*FakeCiliumNodes) Create ¶
func (c *FakeCiliumNodes) Create(ciliumNode *v2.CiliumNode) (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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCiliumNodes) Get ¶
func (c *FakeCiliumNodes) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.CiliumNode, err error)
Patch applies the patch and returns the patched ciliumNode.
func (*FakeCiliumNodes) Update ¶
func (c *FakeCiliumNodes) Update(ciliumNode *v2.CiliumNode) (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(ciliumNode *v2.CiliumNode) (*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 ¶
func (c *FakeCiliumNodes) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested ciliumNodes.
type FakeCiliumV2 ¶
func (*FakeCiliumV2) CiliumEndpoints ¶
func (c *FakeCiliumV2) CiliumEndpoints(namespace string) v2.CiliumEndpointInterface
func (*FakeCiliumV2) CiliumIdentities ¶
func (c *FakeCiliumV2) CiliumIdentities() v2.CiliumIdentityInterface
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.