Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCceENIs
- func (c *FakeCceENIs) Create(ctx context.Context, cceENI *v2.CceENI, opts v1.CreateOptions) (result *v2.CceENI, err error)
- func (c *FakeCceENIs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCceENIs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCceENIs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.CceENI, err error)
- func (c *FakeCceENIs) List(ctx context.Context, opts v1.ListOptions) (result *v2.CceENIList, err error)
- func (c *FakeCceENIs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v2.CceENI, err error)
- func (c *FakeCceENIs) Update(ctx context.Context, cceENI *v2.CceENI, opts v1.UpdateOptions) (result *v2.CceENI, err error)
- func (c *FakeCceENIs) UpdateStatus(ctx context.Context, cceENI *v2.CceENI, opts v1.UpdateOptions) (*v2.CceENI, error)
- func (c *FakeCceENIs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCceV2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCceENIs ¶
type FakeCceENIs struct { Fake *FakeCceV2 // contains filtered or unexported fields }
FakeCceENIs implements CceENIInterface
func (*FakeCceENIs) Create ¶
func (c *FakeCceENIs) Create(ctx context.Context, cceENI *v2.CceENI, opts v1.CreateOptions) (result *v2.CceENI, err error)
Create takes the representation of a cceENI and creates it. Returns the server's representation of the cceENI, and an error, if there is any.
func (*FakeCceENIs) Delete ¶
func (c *FakeCceENIs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the cceENI and deletes it. Returns an error if one occurs.
func (*FakeCceENIs) DeleteCollection ¶
func (c *FakeCceENIs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCceENIs) Get ¶
func (c *FakeCceENIs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.CceENI, err error)
Get takes name of the cceENI, and returns the corresponding cceENI object, and an error if there is any.
func (*FakeCceENIs) List ¶
func (c *FakeCceENIs) List(ctx context.Context, opts v1.ListOptions) (result *v2.CceENIList, err error)
List takes label and field selectors, and returns the list of CceENIs that match those selectors.
func (*FakeCceENIs) Patch ¶
func (c *FakeCceENIs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2.CceENI, err error)
Patch applies the patch and returns the patched cceENI.
func (*FakeCceENIs) Update ¶
func (c *FakeCceENIs) Update(ctx context.Context, cceENI *v2.CceENI, opts v1.UpdateOptions) (result *v2.CceENI, err error)
Update takes the representation of a cceENI and updates it. Returns the server's representation of the cceENI, and an error, if there is any.
func (*FakeCceENIs) UpdateStatus ¶
func (c *FakeCceENIs) UpdateStatus(ctx context.Context, cceENI *v2.CceENI, opts v1.UpdateOptions) (*v2.CceENI, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCceENIs) Watch ¶
func (c *FakeCceENIs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cceENIs.
type FakeCceV2 ¶
func (*FakeCceV2) RESTClient ¶
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.