Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakePolycubeNetworkPolicies
- func (c *FakePolycubeNetworkPolicies) Create(polycubeNetworkPolicy *v1beta.PolycubeNetworkPolicy) (result *v1beta.PolycubeNetworkPolicy, err error)
- func (c *FakePolycubeNetworkPolicies) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePolycubeNetworkPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePolycubeNetworkPolicies) Get(name string, options v1.GetOptions) (result *v1beta.PolycubeNetworkPolicy, err error)
- func (c *FakePolycubeNetworkPolicies) List(opts v1.ListOptions) (result *v1beta.PolycubeNetworkPolicyList, err error)
- func (c *FakePolycubeNetworkPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta.PolycubeNetworkPolicy, err error)
- func (c *FakePolycubeNetworkPolicies) Update(polycubeNetworkPolicy *v1beta.PolycubeNetworkPolicy) (result *v1beta.PolycubeNetworkPolicy, err error)
- func (c *FakePolycubeNetworkPolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakePolycubeV1beta
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakePolycubeNetworkPolicies ¶
type FakePolycubeNetworkPolicies struct { Fake *FakePolycubeV1beta // contains filtered or unexported fields }
FakePolycubeNetworkPolicies implements PolycubeNetworkPolicyInterface
func (*FakePolycubeNetworkPolicies) Create ¶
func (c *FakePolycubeNetworkPolicies) Create(polycubeNetworkPolicy *v1beta.PolycubeNetworkPolicy) (result *v1beta.PolycubeNetworkPolicy, err error)
Create takes the representation of a polycubeNetworkPolicy and creates it. Returns the server's representation of the polycubeNetworkPolicy, and an error, if there is any.
func (*FakePolycubeNetworkPolicies) Delete ¶
func (c *FakePolycubeNetworkPolicies) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the polycubeNetworkPolicy and deletes it. Returns an error if one occurs.
func (*FakePolycubeNetworkPolicies) DeleteCollection ¶
func (c *FakePolycubeNetworkPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePolycubeNetworkPolicies) Get ¶
func (c *FakePolycubeNetworkPolicies) Get(name string, options v1.GetOptions) (result *v1beta.PolycubeNetworkPolicy, err error)
Get takes name of the polycubeNetworkPolicy, and returns the corresponding polycubeNetworkPolicy object, and an error if there is any.
func (*FakePolycubeNetworkPolicies) List ¶
func (c *FakePolycubeNetworkPolicies) List(opts v1.ListOptions) (result *v1beta.PolycubeNetworkPolicyList, err error)
List takes label and field selectors, and returns the list of PolycubeNetworkPolicies that match those selectors.
func (*FakePolycubeNetworkPolicies) Patch ¶
func (c *FakePolycubeNetworkPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta.PolycubeNetworkPolicy, err error)
Patch applies the patch and returns the patched polycubeNetworkPolicy.
func (*FakePolycubeNetworkPolicies) Update ¶
func (c *FakePolycubeNetworkPolicies) Update(polycubeNetworkPolicy *v1beta.PolycubeNetworkPolicy) (result *v1beta.PolycubeNetworkPolicy, err error)
Update takes the representation of a polycubeNetworkPolicy and updates it. Returns the server's representation of the polycubeNetworkPolicy, and an error, if there is any.
func (*FakePolycubeNetworkPolicies) Watch ¶
func (c *FakePolycubeNetworkPolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested polycubeNetworkPolicies.
type FakePolycubeV1beta ¶
func (*FakePolycubeV1beta) PolycubeNetworkPolicies ¶
func (c *FakePolycubeV1beta) PolycubeNetworkPolicies(namespace string) v1beta.PolycubeNetworkPolicyInterface
func (*FakePolycubeV1beta) RESTClient ¶
func (c *FakePolycubeV1beta) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.