Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCells
- func (c *FakeCells) Create(ctx context.Context, cell *v1beta1.Cell, opts v1.CreateOptions) (result *v1beta1.Cell, err error)
- func (c *FakeCells) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCells) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCells) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Cell, err error)
- func (c *FakeCells) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.CellList, err error)
- func (c *FakeCells) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.Cell, err error)
- func (c *FakeCells) Update(ctx context.Context, cell *v1beta1.Cell, opts v1.UpdateOptions) (result *v1beta1.Cell, err error)
- func (c *FakeCells) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKiyotV1beta1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCells ¶
type FakeCells struct {
Fake *FakeKiyotV1beta1
}
FakeCells implements CellInterface
func (*FakeCells) Create ¶
func (c *FakeCells) Create(ctx context.Context, cell *v1beta1.Cell, opts v1.CreateOptions) (result *v1beta1.Cell, err error)
Create takes the representation of a cell and creates it. Returns the server's representation of the cell, and an error, if there is any.
func (*FakeCells) Delete ¶
Delete takes name of the cell and deletes it. Returns an error if one occurs.
func (*FakeCells) DeleteCollection ¶
func (c *FakeCells) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCells) Get ¶
func (c *FakeCells) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Cell, err error)
Get takes name of the cell, and returns the corresponding cell object, and an error if there is any.
func (*FakeCells) List ¶
func (c *FakeCells) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.CellList, err error)
List takes label and field selectors, and returns the list of Cells that match those selectors.
func (*FakeCells) Patch ¶
func (c *FakeCells) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Cell, err error)
Patch applies the patch and returns the patched cell.
type FakeKiyotV1beta1 ¶
func (*FakeKiyotV1beta1) Cells ¶
func (c *FakeKiyotV1beta1) Cells() v1beta1.CellInterface
func (*FakeKiyotV1beta1) RESTClient ¶
func (c *FakeKiyotV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.