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