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