fake

package
v0.0.0-...-3df7030 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeScheduledSparkApplications

type FakeScheduledSparkApplications struct {
	Fake *FakeSparkoperatorV1beta1
	// contains filtered or unexported fields
}

FakeScheduledSparkApplications implements ScheduledSparkApplicationInterface

func (*FakeScheduledSparkApplications) Create

func (c *FakeScheduledSparkApplications) Create(scheduledSparkApplication *v1beta1.ScheduledSparkApplication) (result *v1beta1.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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeScheduledSparkApplications) Get

Get takes name of the scheduledSparkApplication, and returns the corresponding scheduledSparkApplication object, and an error if there is any.

func (*FakeScheduledSparkApplications) List

List takes label and field selectors, and returns the list of ScheduledSparkApplications that match those selectors.

func (*FakeScheduledSparkApplications) Patch

func (c *FakeScheduledSparkApplications) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.ScheduledSparkApplication, err error)

Patch applies the patch and returns the patched scheduledSparkApplication.

func (*FakeScheduledSparkApplications) Update

func (c *FakeScheduledSparkApplications) Update(scheduledSparkApplication *v1beta1.ScheduledSparkApplication) (result *v1beta1.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) Watch

Watch returns a watch.Interface that watches the requested scheduledSparkApplications.

type FakeSparkApplications

type FakeSparkApplications struct {
	Fake *FakeSparkoperatorV1beta1
	// contains filtered or unexported fields
}

FakeSparkApplications implements SparkApplicationInterface

func (*FakeSparkApplications) Create

func (c *FakeSparkApplications) Create(sparkApplication *v1beta1.SparkApplication) (result *v1beta1.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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSparkApplications) Get

func (c *FakeSparkApplications) Get(name string, options v1.GetOptions) (result *v1beta1.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

List takes label and field selectors, and returns the list of SparkApplications that match those selectors.

func (*FakeSparkApplications) Patch

func (c *FakeSparkApplications) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.SparkApplication, err error)

Patch applies the patch and returns the patched sparkApplication.

func (*FakeSparkApplications) Update

func (c *FakeSparkApplications) Update(sparkApplication *v1beta1.SparkApplication) (result *v1beta1.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) Watch

Watch returns a watch.Interface that watches the requested sparkApplications.

type FakeSparkoperatorV1beta1

type FakeSparkoperatorV1beta1 struct {
	*testing.Fake
}

func (*FakeSparkoperatorV1beta1) RESTClient

func (c *FakeSparkoperatorV1beta1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeSparkoperatorV1beta1) ScheduledSparkApplications

func (c *FakeSparkoperatorV1beta1) ScheduledSparkApplications(namespace string) v1beta1.ScheduledSparkApplicationInterface

func (*FakeSparkoperatorV1beta1) SparkApplications

func (c *FakeSparkoperatorV1beta1) SparkApplications(namespace string) v1beta1.SparkApplicationInterface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL