fake

package
v0.0.0-...-7f68784 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 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 FakeAppsV1alpha1

type FakeAppsV1alpha1 struct {
	*testing.Fake
}

func (*FakeAppsV1alpha1) BroadcastJobs

func (c *FakeAppsV1alpha1) BroadcastJobs(namespace string) v1alpha1.BroadcastJobInterface

func (*FakeAppsV1alpha1) CloneSets

func (c *FakeAppsV1alpha1) CloneSets(namespace string) v1alpha1.CloneSetInterface

func (*FakeAppsV1alpha1) DaemonSets

func (c *FakeAppsV1alpha1) DaemonSets(namespace string) v1alpha1.DaemonSetInterface

func (*FakeAppsV1alpha1) ImagePullJobs

func (c *FakeAppsV1alpha1) ImagePullJobs(namespace string) v1alpha1.ImagePullJobInterface

func (*FakeAppsV1alpha1) NodeImages

func (c *FakeAppsV1alpha1) NodeImages(namespace string) v1alpha1.NodeImageInterface

func (*FakeAppsV1alpha1) RESTClient

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

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

func (*FakeAppsV1alpha1) SidecarSets

func (c *FakeAppsV1alpha1) SidecarSets(namespace string) v1alpha1.SidecarSetInterface

func (*FakeAppsV1alpha1) StatefulSets

func (c *FakeAppsV1alpha1) StatefulSets(namespace string) v1alpha1.StatefulSetInterface

func (*FakeAppsV1alpha1) UnitedDeployments

func (c *FakeAppsV1alpha1) UnitedDeployments(namespace string) v1alpha1.UnitedDeploymentInterface

type FakeBroadcastJobs

type FakeBroadcastJobs struct {
	Fake *FakeAppsV1alpha1
	// contains filtered or unexported fields
}

FakeBroadcastJobs implements BroadcastJobInterface

func (*FakeBroadcastJobs) Create

func (c *FakeBroadcastJobs) Create(broadcastJob *v1alpha1.BroadcastJob) (result *v1alpha1.BroadcastJob, err error)

Create takes the representation of a broadcastJob and creates it. Returns the server's representation of the broadcastJob, and an error, if there is any.

func (*FakeBroadcastJobs) Delete

func (c *FakeBroadcastJobs) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the broadcastJob and deletes it. Returns an error if one occurs.

func (*FakeBroadcastJobs) DeleteCollection

func (c *FakeBroadcastJobs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBroadcastJobs) Get

func (c *FakeBroadcastJobs) Get(name string, options v1.GetOptions) (result *v1alpha1.BroadcastJob, err error)

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

func (*FakeBroadcastJobs) List

func (c *FakeBroadcastJobs) List(opts v1.ListOptions) (result *v1alpha1.BroadcastJobList, err error)

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

func (*FakeBroadcastJobs) Patch

func (c *FakeBroadcastJobs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.BroadcastJob, err error)

Patch applies the patch and returns the patched broadcastJob.

func (*FakeBroadcastJobs) Update

func (c *FakeBroadcastJobs) Update(broadcastJob *v1alpha1.BroadcastJob) (result *v1alpha1.BroadcastJob, err error)

Update takes the representation of a broadcastJob and updates it. Returns the server's representation of the broadcastJob, and an error, if there is any.

func (*FakeBroadcastJobs) UpdateStatus

func (c *FakeBroadcastJobs) UpdateStatus(broadcastJob *v1alpha1.BroadcastJob) (*v1alpha1.BroadcastJob, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeBroadcastJobs) Watch

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

type FakeCloneSets

type FakeCloneSets struct {
	Fake *FakeAppsV1alpha1
	// contains filtered or unexported fields
}

FakeCloneSets implements CloneSetInterface

func (*FakeCloneSets) Create

func (c *FakeCloneSets) Create(cloneSet *v1alpha1.CloneSet) (result *v1alpha1.CloneSet, err error)

Create takes the representation of a cloneSet and creates it. Returns the server's representation of the cloneSet, and an error, if there is any.

func (*FakeCloneSets) Delete

func (c *FakeCloneSets) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the cloneSet and deletes it. Returns an error if one occurs.

func (*FakeCloneSets) DeleteCollection

func (c *FakeCloneSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCloneSets) Get

func (c *FakeCloneSets) Get(name string, options v1.GetOptions) (result *v1alpha1.CloneSet, err error)

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

func (*FakeCloneSets) List

func (c *FakeCloneSets) List(opts v1.ListOptions) (result *v1alpha1.CloneSetList, err error)

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

func (*FakeCloneSets) Patch

func (c *FakeCloneSets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CloneSet, err error)

Patch applies the patch and returns the patched cloneSet.

func (*FakeCloneSets) Update

func (c *FakeCloneSets) Update(cloneSet *v1alpha1.CloneSet) (result *v1alpha1.CloneSet, err error)

Update takes the representation of a cloneSet and updates it. Returns the server's representation of the cloneSet, and an error, if there is any.

func (*FakeCloneSets) UpdateStatus

func (c *FakeCloneSets) UpdateStatus(cloneSet *v1alpha1.CloneSet) (*v1alpha1.CloneSet, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeCloneSets) Watch

func (c *FakeCloneSets) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeDaemonSets

type FakeDaemonSets struct {
	Fake *FakeAppsV1alpha1
	// contains filtered or unexported fields
}

FakeDaemonSets implements DaemonSetInterface

func (*FakeDaemonSets) Create

func (c *FakeDaemonSets) Create(daemonSet *v1alpha1.DaemonSet) (result *v1alpha1.DaemonSet, err error)

Create takes the representation of a daemonSet and creates it. Returns the server's representation of the daemonSet, and an error, if there is any.

func (*FakeDaemonSets) Delete

func (c *FakeDaemonSets) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the daemonSet and deletes it. Returns an error if one occurs.

func (*FakeDaemonSets) DeleteCollection

func (c *FakeDaemonSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDaemonSets) Get

func (c *FakeDaemonSets) Get(name string, options v1.GetOptions) (result *v1alpha1.DaemonSet, err error)

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

func (*FakeDaemonSets) List

func (c *FakeDaemonSets) List(opts v1.ListOptions) (result *v1alpha1.DaemonSetList, err error)

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

func (*FakeDaemonSets) Patch

func (c *FakeDaemonSets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DaemonSet, err error)

Patch applies the patch and returns the patched daemonSet.

func (*FakeDaemonSets) Update

func (c *FakeDaemonSets) Update(daemonSet *v1alpha1.DaemonSet) (result *v1alpha1.DaemonSet, err error)

Update takes the representation of a daemonSet and updates it. Returns the server's representation of the daemonSet, and an error, if there is any.

func (*FakeDaemonSets) UpdateStatus

func (c *FakeDaemonSets) UpdateStatus(daemonSet *v1alpha1.DaemonSet) (*v1alpha1.DaemonSet, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeDaemonSets) Watch

func (c *FakeDaemonSets) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeImagePullJobs

type FakeImagePullJobs struct {
	Fake *FakeAppsV1alpha1
	// contains filtered or unexported fields
}

FakeImagePullJobs implements ImagePullJobInterface

func (*FakeImagePullJobs) Create

func (c *FakeImagePullJobs) Create(imagePullJob *v1alpha1.ImagePullJob) (result *v1alpha1.ImagePullJob, err error)

Create takes the representation of a imagePullJob and creates it. Returns the server's representation of the imagePullJob, and an error, if there is any.

func (*FakeImagePullJobs) Delete

func (c *FakeImagePullJobs) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the imagePullJob and deletes it. Returns an error if one occurs.

func (*FakeImagePullJobs) DeleteCollection

func (c *FakeImagePullJobs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeImagePullJobs) Get

func (c *FakeImagePullJobs) Get(name string, options v1.GetOptions) (result *v1alpha1.ImagePullJob, err error)

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

func (*FakeImagePullJobs) List

func (c *FakeImagePullJobs) List(opts v1.ListOptions) (result *v1alpha1.ImagePullJobList, err error)

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

func (*FakeImagePullJobs) Patch

func (c *FakeImagePullJobs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ImagePullJob, err error)

Patch applies the patch and returns the patched imagePullJob.

func (*FakeImagePullJobs) Update

func (c *FakeImagePullJobs) Update(imagePullJob *v1alpha1.ImagePullJob) (result *v1alpha1.ImagePullJob, err error)

Update takes the representation of a imagePullJob and updates it. Returns the server's representation of the imagePullJob, and an error, if there is any.

func (*FakeImagePullJobs) UpdateStatus

func (c *FakeImagePullJobs) UpdateStatus(imagePullJob *v1alpha1.ImagePullJob) (*v1alpha1.ImagePullJob, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeImagePullJobs) Watch

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

type FakeNodeImages

type FakeNodeImages struct {
	Fake *FakeAppsV1alpha1
	// contains filtered or unexported fields
}

FakeNodeImages implements NodeImageInterface

func (*FakeNodeImages) Create

func (c *FakeNodeImages) Create(nodeImage *v1alpha1.NodeImage) (result *v1alpha1.NodeImage, err error)

Create takes the representation of a nodeImage and creates it. Returns the server's representation of the nodeImage, and an error, if there is any.

func (*FakeNodeImages) Delete

func (c *FakeNodeImages) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the nodeImage and deletes it. Returns an error if one occurs.

func (*FakeNodeImages) DeleteCollection

func (c *FakeNodeImages) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeNodeImages) Get

func (c *FakeNodeImages) Get(name string, options v1.GetOptions) (result *v1alpha1.NodeImage, err error)

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

func (*FakeNodeImages) List

func (c *FakeNodeImages) List(opts v1.ListOptions) (result *v1alpha1.NodeImageList, err error)

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

func (*FakeNodeImages) Patch

func (c *FakeNodeImages) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.NodeImage, err error)

Patch applies the patch and returns the patched nodeImage.

func (*FakeNodeImages) Update

func (c *FakeNodeImages) Update(nodeImage *v1alpha1.NodeImage) (result *v1alpha1.NodeImage, err error)

Update takes the representation of a nodeImage and updates it. Returns the server's representation of the nodeImage, and an error, if there is any.

func (*FakeNodeImages) UpdateStatus

func (c *FakeNodeImages) UpdateStatus(nodeImage *v1alpha1.NodeImage) (*v1alpha1.NodeImage, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeNodeImages) Watch

func (c *FakeNodeImages) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeSidecarSets

type FakeSidecarSets struct {
	Fake *FakeAppsV1alpha1
	// contains filtered or unexported fields
}

FakeSidecarSets implements SidecarSetInterface

func (*FakeSidecarSets) Create

func (c *FakeSidecarSets) Create(sidecarSet *v1alpha1.SidecarSet) (result *v1alpha1.SidecarSet, err error)

Create takes the representation of a sidecarSet and creates it. Returns the server's representation of the sidecarSet, and an error, if there is any.

func (*FakeSidecarSets) Delete

func (c *FakeSidecarSets) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the sidecarSet and deletes it. Returns an error if one occurs.

func (*FakeSidecarSets) DeleteCollection

func (c *FakeSidecarSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSidecarSets) Get

func (c *FakeSidecarSets) Get(name string, options v1.GetOptions) (result *v1alpha1.SidecarSet, err error)

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

func (*FakeSidecarSets) List

func (c *FakeSidecarSets) List(opts v1.ListOptions) (result *v1alpha1.SidecarSetList, err error)

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

func (*FakeSidecarSets) Patch

func (c *FakeSidecarSets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.SidecarSet, err error)

Patch applies the patch and returns the patched sidecarSet.

func (*FakeSidecarSets) Update

func (c *FakeSidecarSets) Update(sidecarSet *v1alpha1.SidecarSet) (result *v1alpha1.SidecarSet, err error)

Update takes the representation of a sidecarSet and updates it. Returns the server's representation of the sidecarSet, and an error, if there is any.

func (*FakeSidecarSets) UpdateStatus

func (c *FakeSidecarSets) UpdateStatus(sidecarSet *v1alpha1.SidecarSet) (*v1alpha1.SidecarSet, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeSidecarSets) Watch

func (c *FakeSidecarSets) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeStatefulSets

type FakeStatefulSets struct {
	Fake *FakeAppsV1alpha1
	// contains filtered or unexported fields
}

FakeStatefulSets implements StatefulSetInterface

func (*FakeStatefulSets) Create

func (c *FakeStatefulSets) Create(statefulSet *v1alpha1.StatefulSet) (result *v1alpha1.StatefulSet, err error)

Create takes the representation of a statefulSet and creates it. Returns the server's representation of the statefulSet, and an error, if there is any.

func (*FakeStatefulSets) Delete

func (c *FakeStatefulSets) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the statefulSet and deletes it. Returns an error if one occurs.

func (*FakeStatefulSets) DeleteCollection

func (c *FakeStatefulSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeStatefulSets) Get

func (c *FakeStatefulSets) Get(name string, options v1.GetOptions) (result *v1alpha1.StatefulSet, err error)

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

func (*FakeStatefulSets) List

func (c *FakeStatefulSets) List(opts v1.ListOptions) (result *v1alpha1.StatefulSetList, err error)

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

func (*FakeStatefulSets) Patch

func (c *FakeStatefulSets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.StatefulSet, err error)

Patch applies the patch and returns the patched statefulSet.

func (*FakeStatefulSets) Update

func (c *FakeStatefulSets) Update(statefulSet *v1alpha1.StatefulSet) (result *v1alpha1.StatefulSet, err error)

Update takes the representation of a statefulSet and updates it. Returns the server's representation of the statefulSet, and an error, if there is any.

func (*FakeStatefulSets) UpdateStatus

func (c *FakeStatefulSets) UpdateStatus(statefulSet *v1alpha1.StatefulSet) (*v1alpha1.StatefulSet, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeStatefulSets) Watch

func (c *FakeStatefulSets) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeUnitedDeployments

type FakeUnitedDeployments struct {
	Fake *FakeAppsV1alpha1
	// contains filtered or unexported fields
}

FakeUnitedDeployments implements UnitedDeploymentInterface

func (*FakeUnitedDeployments) Create

func (c *FakeUnitedDeployments) Create(unitedDeployment *v1alpha1.UnitedDeployment) (result *v1alpha1.UnitedDeployment, err error)

Create takes the representation of a unitedDeployment and creates it. Returns the server's representation of the unitedDeployment, and an error, if there is any.

func (*FakeUnitedDeployments) Delete

func (c *FakeUnitedDeployments) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the unitedDeployment and deletes it. Returns an error if one occurs.

func (*FakeUnitedDeployments) DeleteCollection

func (c *FakeUnitedDeployments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeUnitedDeployments) Get

func (c *FakeUnitedDeployments) Get(name string, options v1.GetOptions) (result *v1alpha1.UnitedDeployment, err error)

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

func (*FakeUnitedDeployments) List

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

func (*FakeUnitedDeployments) Patch

func (c *FakeUnitedDeployments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.UnitedDeployment, err error)

Patch applies the patch and returns the patched unitedDeployment.

func (*FakeUnitedDeployments) Update

func (c *FakeUnitedDeployments) Update(unitedDeployment *v1alpha1.UnitedDeployment) (result *v1alpha1.UnitedDeployment, err error)

Update takes the representation of a unitedDeployment and updates it. Returns the server's representation of the unitedDeployment, and an error, if there is any.

func (*FakeUnitedDeployments) UpdateStatus

func (c *FakeUnitedDeployments) UpdateStatus(unitedDeployment *v1alpha1.UnitedDeployment) (*v1alpha1.UnitedDeployment, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeUnitedDeployments) Watch

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

Jump to

Keyboard shortcuts

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