fake

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

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 FakeAdvancedCronJobs added in v0.7.0

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

FakeAdvancedCronJobs implements AdvancedCronJobInterface

func (*FakeAdvancedCronJobs) Create added in v0.7.0

func (c *FakeAdvancedCronJobs) Create(ctx context.Context, advancedCronJob *v1alpha1.AdvancedCronJob, opts v1.CreateOptions) (result *v1alpha1.AdvancedCronJob, err error)

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

func (*FakeAdvancedCronJobs) Delete added in v0.7.0

func (c *FakeAdvancedCronJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeAdvancedCronJobs) DeleteCollection added in v0.7.0

func (c *FakeAdvancedCronJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAdvancedCronJobs) Get added in v0.7.0

func (c *FakeAdvancedCronJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AdvancedCronJob, err error)

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

func (*FakeAdvancedCronJobs) List added in v0.7.0

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

func (*FakeAdvancedCronJobs) Patch added in v0.7.0

func (c *FakeAdvancedCronJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AdvancedCronJob, err error)

Patch applies the patch and returns the patched advancedCronJob.

func (*FakeAdvancedCronJobs) Update added in v0.7.0

func (c *FakeAdvancedCronJobs) Update(ctx context.Context, advancedCronJob *v1alpha1.AdvancedCronJob, opts v1.UpdateOptions) (result *v1alpha1.AdvancedCronJob, err error)

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

func (*FakeAdvancedCronJobs) UpdateStatus added in v0.7.0

func (c *FakeAdvancedCronJobs) UpdateStatus(ctx context.Context, advancedCronJob *v1alpha1.AdvancedCronJob, opts v1.UpdateOptions) (*v1alpha1.AdvancedCronJob, error)

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

func (*FakeAdvancedCronJobs) Watch added in v0.7.0

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

type FakeAppsV1alpha1

type FakeAppsV1alpha1 struct {
	*testing.Fake
}

func (*FakeAppsV1alpha1) AdvancedCronJobs added in v0.7.0

func (c *FakeAppsV1alpha1) AdvancedCronJobs(namespace string) v1alpha1.AdvancedCronJobInterface

func (*FakeAppsV1alpha1) BroadcastJobs

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

func (*FakeAppsV1alpha1) CloneSets added in v0.4.1

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

func (*FakeAppsV1alpha1) ContainerRecreateRequests added in v0.9.0

func (c *FakeAppsV1alpha1) ContainerRecreateRequests(namespace string) v1alpha1.ContainerRecreateRequestInterface

func (*FakeAppsV1alpha1) DaemonSets added in v0.6.0

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

func (*FakeAppsV1alpha1) EphemeralJobs added in v1.0.0

func (c *FakeAppsV1alpha1) EphemeralJobs(namespace string) v1alpha1.EphemeralJobInterface

func (*FakeAppsV1alpha1) ImageListPullJobs added in v1.5.0

func (c *FakeAppsV1alpha1) ImageListPullJobs(namespace string) v1alpha1.ImageListPullJobInterface

func (*FakeAppsV1alpha1) ImagePullJobs added in v0.6.0

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

func (*FakeAppsV1alpha1) NodeImages added in v0.6.0

func (*FakeAppsV1alpha1) NodePodProbes added in v1.3.0

func (c *FakeAppsV1alpha1) NodePodProbes() v1alpha1.NodePodProbeInterface

func (*FakeAppsV1alpha1) PersistentPodStates added in v1.2.0

func (c *FakeAppsV1alpha1) PersistentPodStates(namespace string) v1alpha1.PersistentPodStateInterface

func (*FakeAppsV1alpha1) PodProbeMarkers added in v1.3.0

func (c *FakeAppsV1alpha1) PodProbeMarkers(namespace string) v1alpha1.PodProbeMarkerInterface

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) ResourceDistributions added in v0.10.0

func (c *FakeAppsV1alpha1) ResourceDistributions() v1alpha1.ResourceDistributionInterface

func (*FakeAppsV1alpha1) SidecarSets

func (*FakeAppsV1alpha1) StatefulSets

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

func (*FakeAppsV1alpha1) UnitedDeployments added in v0.4.1

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

func (*FakeAppsV1alpha1) WorkloadSpreads added in v0.10.0

func (c *FakeAppsV1alpha1) WorkloadSpreads(namespace string) v1alpha1.WorkloadSpreadInterface

type FakeBroadcastJobs

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

FakeBroadcastJobs implements BroadcastJobInterface

func (*FakeBroadcastJobs) Create

func (c *FakeBroadcastJobs) Create(ctx context.Context, broadcastJob *v1alpha1.BroadcastJob, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBroadcastJobs) Get

func (c *FakeBroadcastJobs) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.BroadcastJob, err error)

Patch applies the patch and returns the patched broadcastJob.

func (*FakeBroadcastJobs) Update

func (c *FakeBroadcastJobs) Update(ctx context.Context, broadcastJob *v1alpha1.BroadcastJob, opts v1.UpdateOptions) (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(ctx context.Context, broadcastJob *v1alpha1.BroadcastJob, opts v1.UpdateOptions) (*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 added in v0.4.1

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

FakeCloneSets implements CloneSetInterface

func (*FakeCloneSets) Create added in v0.4.1

func (c *FakeCloneSets) Create(ctx context.Context, cloneSet *v1alpha1.CloneSet, opts v1.CreateOptions) (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 added in v0.4.1

func (c *FakeCloneSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeCloneSets) DeleteCollection added in v0.4.1

func (c *FakeCloneSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCloneSets) Get added in v0.4.1

func (c *FakeCloneSets) Get(ctx context.Context, 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) GetScale added in v0.8.0

func (c *FakeCloneSets) GetScale(ctx context.Context, cloneSetName string, options v1.GetOptions) (result *autoscalingv1.Scale, err error)

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

func (*FakeCloneSets) List added in v0.4.1

func (c *FakeCloneSets) List(ctx context.Context, 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 added in v0.4.1

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

Patch applies the patch and returns the patched cloneSet.

func (*FakeCloneSets) Update added in v0.4.1

func (c *FakeCloneSets) Update(ctx context.Context, cloneSet *v1alpha1.CloneSet, opts v1.UpdateOptions) (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) UpdateScale added in v0.8.0

func (c *FakeCloneSets) UpdateScale(ctx context.Context, cloneSetName string, scale *autoscalingv1.Scale, opts v1.UpdateOptions) (result *autoscalingv1.Scale, err error)

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

func (*FakeCloneSets) UpdateStatus added in v0.4.1

func (c *FakeCloneSets) UpdateStatus(ctx context.Context, cloneSet *v1alpha1.CloneSet, opts v1.UpdateOptions) (*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 added in v0.4.1

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

type FakeContainerRecreateRequests added in v0.9.0

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

FakeContainerRecreateRequests implements ContainerRecreateRequestInterface

func (*FakeContainerRecreateRequests) Create added in v0.9.0

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

func (*FakeContainerRecreateRequests) Delete added in v0.9.0

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

func (*FakeContainerRecreateRequests) DeleteCollection added in v0.9.0

func (c *FakeContainerRecreateRequests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeContainerRecreateRequests) Get added in v0.9.0

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

func (*FakeContainerRecreateRequests) List added in v0.9.0

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

func (*FakeContainerRecreateRequests) Patch added in v0.9.0

func (c *FakeContainerRecreateRequests) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ContainerRecreateRequest, err error)

Patch applies the patch and returns the patched containerRecreateRequest.

func (*FakeContainerRecreateRequests) Update added in v0.9.0

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

func (*FakeContainerRecreateRequests) UpdateStatus added in v0.9.0

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

func (*FakeContainerRecreateRequests) Watch added in v0.9.0

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

type FakeDaemonSets added in v0.6.0

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

FakeDaemonSets implements DaemonSetInterface

func (*FakeDaemonSets) Create added in v0.6.0

func (c *FakeDaemonSets) Create(ctx context.Context, daemonSet *v1alpha1.DaemonSet, opts v1.CreateOptions) (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 added in v0.6.0

func (c *FakeDaemonSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeDaemonSets) DeleteCollection added in v0.6.0

func (c *FakeDaemonSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDaemonSets) Get added in v0.6.0

func (c *FakeDaemonSets) Get(ctx context.Context, 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 added in v0.6.0

func (c *FakeDaemonSets) List(ctx context.Context, 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 added in v0.6.0

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

Patch applies the patch and returns the patched daemonSet.

func (*FakeDaemonSets) Update added in v0.6.0

func (c *FakeDaemonSets) Update(ctx context.Context, daemonSet *v1alpha1.DaemonSet, opts v1.UpdateOptions) (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 added in v0.6.0

func (c *FakeDaemonSets) UpdateStatus(ctx context.Context, daemonSet *v1alpha1.DaemonSet, opts v1.UpdateOptions) (*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 added in v0.6.0

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

type FakeEphemeralJobs added in v1.0.0

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

FakeEphemeralJobs implements EphemeralJobInterface

func (*FakeEphemeralJobs) Create added in v1.0.0

func (c *FakeEphemeralJobs) Create(ctx context.Context, ephemeralJob *v1alpha1.EphemeralJob, opts v1.CreateOptions) (result *v1alpha1.EphemeralJob, err error)

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

func (*FakeEphemeralJobs) Delete added in v1.0.0

func (c *FakeEphemeralJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeEphemeralJobs) DeleteCollection added in v1.0.0

func (c *FakeEphemeralJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeEphemeralJobs) Get added in v1.0.0

func (c *FakeEphemeralJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EphemeralJob, err error)

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

func (*FakeEphemeralJobs) List added in v1.0.0

func (c *FakeEphemeralJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EphemeralJobList, err error)

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

func (*FakeEphemeralJobs) Patch added in v1.0.0

func (c *FakeEphemeralJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EphemeralJob, err error)

Patch applies the patch and returns the patched ephemeralJob.

func (*FakeEphemeralJobs) Update added in v1.0.0

func (c *FakeEphemeralJobs) Update(ctx context.Context, ephemeralJob *v1alpha1.EphemeralJob, opts v1.UpdateOptions) (result *v1alpha1.EphemeralJob, err error)

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

func (*FakeEphemeralJobs) UpdateStatus added in v1.0.0

func (c *FakeEphemeralJobs) UpdateStatus(ctx context.Context, ephemeralJob *v1alpha1.EphemeralJob, opts v1.UpdateOptions) (*v1alpha1.EphemeralJob, error)

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

func (*FakeEphemeralJobs) Watch added in v1.0.0

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

type FakeImageListPullJobs added in v1.5.0

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

FakeImageListPullJobs implements ImageListPullJobInterface

func (*FakeImageListPullJobs) Create added in v1.5.0

func (c *FakeImageListPullJobs) Create(ctx context.Context, imageListPullJob *v1alpha1.ImageListPullJob, opts v1.CreateOptions) (result *v1alpha1.ImageListPullJob, err error)

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

func (*FakeImageListPullJobs) Delete added in v1.5.0

func (c *FakeImageListPullJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeImageListPullJobs) DeleteCollection added in v1.5.0

func (c *FakeImageListPullJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeImageListPullJobs) Get added in v1.5.0

func (c *FakeImageListPullJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ImageListPullJob, err error)

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

func (*FakeImageListPullJobs) List added in v1.5.0

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

func (*FakeImageListPullJobs) Patch added in v1.5.0

func (c *FakeImageListPullJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ImageListPullJob, err error)

Patch applies the patch and returns the patched imageListPullJob.

func (*FakeImageListPullJobs) Update added in v1.5.0

func (c *FakeImageListPullJobs) Update(ctx context.Context, imageListPullJob *v1alpha1.ImageListPullJob, opts v1.UpdateOptions) (result *v1alpha1.ImageListPullJob, err error)

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

func (*FakeImageListPullJobs) UpdateStatus added in v1.5.0

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

func (*FakeImageListPullJobs) Watch added in v1.5.0

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

type FakeImagePullJobs added in v0.6.0

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

FakeImagePullJobs implements ImagePullJobInterface

func (*FakeImagePullJobs) Create added in v0.6.0

func (c *FakeImagePullJobs) Create(ctx context.Context, imagePullJob *v1alpha1.ImagePullJob, opts v1.CreateOptions) (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 added in v0.6.0

func (c *FakeImagePullJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeImagePullJobs) DeleteCollection added in v0.6.0

func (c *FakeImagePullJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeImagePullJobs) Get added in v0.6.0

func (c *FakeImagePullJobs) Get(ctx context.Context, 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 added in v0.6.0

func (c *FakeImagePullJobs) List(ctx context.Context, 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 added in v0.6.0

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

Patch applies the patch and returns the patched imagePullJob.

func (*FakeImagePullJobs) Update added in v0.6.0

func (c *FakeImagePullJobs) Update(ctx context.Context, imagePullJob *v1alpha1.ImagePullJob, opts v1.UpdateOptions) (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 added in v0.6.0

func (c *FakeImagePullJobs) UpdateStatus(ctx context.Context, imagePullJob *v1alpha1.ImagePullJob, opts v1.UpdateOptions) (*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 added in v0.6.0

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

type FakeNodeImages added in v0.6.0

type FakeNodeImages struct {
	Fake *FakeAppsV1alpha1
}

FakeNodeImages implements NodeImageInterface

func (*FakeNodeImages) Create added in v0.6.0

func (c *FakeNodeImages) Create(ctx context.Context, nodeImage *v1alpha1.NodeImage, opts v1.CreateOptions) (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 added in v0.6.0

func (c *FakeNodeImages) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeNodeImages) DeleteCollection added in v0.6.0

func (c *FakeNodeImages) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeNodeImages) Get added in v0.6.0

func (c *FakeNodeImages) Get(ctx context.Context, 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 added in v0.6.0

func (c *FakeNodeImages) List(ctx context.Context, 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 added in v0.6.0

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

Patch applies the patch and returns the patched nodeImage.

func (*FakeNodeImages) Update added in v0.6.0

func (c *FakeNodeImages) Update(ctx context.Context, nodeImage *v1alpha1.NodeImage, opts v1.UpdateOptions) (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 added in v0.6.0

func (c *FakeNodeImages) UpdateStatus(ctx context.Context, nodeImage *v1alpha1.NodeImage, opts v1.UpdateOptions) (*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 added in v0.6.0

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

type FakeNodePodProbes added in v1.3.0

type FakeNodePodProbes struct {
	Fake *FakeAppsV1alpha1
}

FakeNodePodProbes implements NodePodProbeInterface

func (*FakeNodePodProbes) Create added in v1.3.0

func (c *FakeNodePodProbes) Create(ctx context.Context, nodePodProbe *v1alpha1.NodePodProbe, opts v1.CreateOptions) (result *v1alpha1.NodePodProbe, err error)

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

func (*FakeNodePodProbes) Delete added in v1.3.0

func (c *FakeNodePodProbes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeNodePodProbes) DeleteCollection added in v1.3.0

func (c *FakeNodePodProbes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeNodePodProbes) Get added in v1.3.0

func (c *FakeNodePodProbes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodePodProbe, err error)

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

func (*FakeNodePodProbes) List added in v1.3.0

func (c *FakeNodePodProbes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodePodProbeList, err error)

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

func (*FakeNodePodProbes) Patch added in v1.3.0

func (c *FakeNodePodProbes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NodePodProbe, err error)

Patch applies the patch and returns the patched nodePodProbe.

func (*FakeNodePodProbes) Update added in v1.3.0

func (c *FakeNodePodProbes) Update(ctx context.Context, nodePodProbe *v1alpha1.NodePodProbe, opts v1.UpdateOptions) (result *v1alpha1.NodePodProbe, err error)

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

func (*FakeNodePodProbes) UpdateStatus added in v1.3.0

func (c *FakeNodePodProbes) UpdateStatus(ctx context.Context, nodePodProbe *v1alpha1.NodePodProbe, opts v1.UpdateOptions) (*v1alpha1.NodePodProbe, error)

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

func (*FakeNodePodProbes) Watch added in v1.3.0

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

type FakePersistentPodStates added in v1.2.0

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

FakePersistentPodStates implements PersistentPodStateInterface

func (*FakePersistentPodStates) Create added in v1.2.0

func (c *FakePersistentPodStates) Create(ctx context.Context, persistentPodState *v1alpha1.PersistentPodState, opts v1.CreateOptions) (result *v1alpha1.PersistentPodState, err error)

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

func (*FakePersistentPodStates) Delete added in v1.2.0

func (c *FakePersistentPodStates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakePersistentPodStates) DeleteCollection added in v1.2.0

func (c *FakePersistentPodStates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePersistentPodStates) Get added in v1.2.0

func (c *FakePersistentPodStates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PersistentPodState, err error)

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

func (*FakePersistentPodStates) List added in v1.2.0

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

func (*FakePersistentPodStates) Patch added in v1.2.0

func (c *FakePersistentPodStates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PersistentPodState, err error)

Patch applies the patch and returns the patched persistentPodState.

func (*FakePersistentPodStates) Update added in v1.2.0

func (c *FakePersistentPodStates) Update(ctx context.Context, persistentPodState *v1alpha1.PersistentPodState, opts v1.UpdateOptions) (result *v1alpha1.PersistentPodState, err error)

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

func (*FakePersistentPodStates) UpdateStatus added in v1.2.0

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

func (*FakePersistentPodStates) Watch added in v1.2.0

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

type FakePodProbeMarkers added in v1.3.0

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

FakePodProbeMarkers implements PodProbeMarkerInterface

func (*FakePodProbeMarkers) Create added in v1.3.0

func (c *FakePodProbeMarkers) Create(ctx context.Context, podProbeMarker *v1alpha1.PodProbeMarker, opts v1.CreateOptions) (result *v1alpha1.PodProbeMarker, err error)

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

func (*FakePodProbeMarkers) Delete added in v1.3.0

func (c *FakePodProbeMarkers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakePodProbeMarkers) DeleteCollection added in v1.3.0

func (c *FakePodProbeMarkers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePodProbeMarkers) Get added in v1.3.0

func (c *FakePodProbeMarkers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PodProbeMarker, err error)

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

func (*FakePodProbeMarkers) List added in v1.3.0

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

func (*FakePodProbeMarkers) Patch added in v1.3.0

func (c *FakePodProbeMarkers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PodProbeMarker, err error)

Patch applies the patch and returns the patched podProbeMarker.

func (*FakePodProbeMarkers) Update added in v1.3.0

func (c *FakePodProbeMarkers) Update(ctx context.Context, podProbeMarker *v1alpha1.PodProbeMarker, opts v1.UpdateOptions) (result *v1alpha1.PodProbeMarker, err error)

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

func (*FakePodProbeMarkers) UpdateStatus added in v1.3.0

func (c *FakePodProbeMarkers) UpdateStatus(ctx context.Context, podProbeMarker *v1alpha1.PodProbeMarker, opts v1.UpdateOptions) (*v1alpha1.PodProbeMarker, error)

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

func (*FakePodProbeMarkers) Watch added in v1.3.0

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

type FakeResourceDistributions added in v0.10.0

type FakeResourceDistributions struct {
	Fake *FakeAppsV1alpha1
}

FakeResourceDistributions implements ResourceDistributionInterface

func (*FakeResourceDistributions) Create added in v0.10.0

func (c *FakeResourceDistributions) Create(ctx context.Context, resourceDistribution *v1alpha1.ResourceDistribution, opts v1.CreateOptions) (result *v1alpha1.ResourceDistribution, err error)

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

func (*FakeResourceDistributions) Delete added in v0.10.0

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

func (*FakeResourceDistributions) DeleteCollection added in v0.10.0

func (c *FakeResourceDistributions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeResourceDistributions) Get added in v0.10.0

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

func (*FakeResourceDistributions) List added in v0.10.0

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

func (*FakeResourceDistributions) Patch added in v0.10.0

func (c *FakeResourceDistributions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ResourceDistribution, err error)

Patch applies the patch and returns the patched resourceDistribution.

func (*FakeResourceDistributions) Update added in v0.10.0

func (c *FakeResourceDistributions) Update(ctx context.Context, resourceDistribution *v1alpha1.ResourceDistribution, opts v1.UpdateOptions) (result *v1alpha1.ResourceDistribution, err error)

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

func (*FakeResourceDistributions) UpdateStatus added in v0.10.0

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

func (*FakeResourceDistributions) Watch added in v0.10.0

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

type FakeSidecarSets

type FakeSidecarSets struct {
	Fake *FakeAppsV1alpha1
}

FakeSidecarSets implements SidecarSetInterface

func (*FakeSidecarSets) Create

func (c *FakeSidecarSets) Create(ctx context.Context, sidecarSet *v1alpha1.SidecarSet, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSidecarSets) Get

func (c *FakeSidecarSets) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.SidecarSet, err error)

Patch applies the patch and returns the patched sidecarSet.

func (*FakeSidecarSets) Update

func (c *FakeSidecarSets) Update(ctx context.Context, sidecarSet *v1alpha1.SidecarSet, opts v1.UpdateOptions) (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(ctx context.Context, sidecarSet *v1alpha1.SidecarSet, opts v1.UpdateOptions) (*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

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(ctx context.Context, statefulSet *v1alpha1.StatefulSet, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeStatefulSets) Get

func (c *FakeStatefulSets) Get(ctx context.Context, 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) GetScale added in v0.8.0

func (c *FakeStatefulSets) GetScale(ctx context.Context, statefulSetName string, options v1.GetOptions) (result *autoscalingv1.Scale, err error)

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

func (*FakeStatefulSets) List

func (c *FakeStatefulSets) List(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.StatefulSet, err error)

Patch applies the patch and returns the patched statefulSet.

func (*FakeStatefulSets) Update

func (c *FakeStatefulSets) Update(ctx context.Context, statefulSet *v1alpha1.StatefulSet, opts v1.UpdateOptions) (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) UpdateScale added in v0.8.0

func (c *FakeStatefulSets) UpdateScale(ctx context.Context, statefulSetName string, scale *autoscalingv1.Scale, opts v1.UpdateOptions) (result *autoscalingv1.Scale, err error)

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

func (*FakeStatefulSets) UpdateStatus

func (c *FakeStatefulSets) UpdateStatus(ctx context.Context, statefulSet *v1alpha1.StatefulSet, opts v1.UpdateOptions) (*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

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

type FakeUnitedDeployments added in v0.4.1

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

FakeUnitedDeployments implements UnitedDeploymentInterface

func (*FakeUnitedDeployments) Create added in v0.4.1

func (c *FakeUnitedDeployments) Create(ctx context.Context, unitedDeployment *v1alpha1.UnitedDeployment, opts v1.CreateOptions) (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 added in v0.4.1

func (c *FakeUnitedDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeUnitedDeployments) DeleteCollection added in v0.4.1

func (c *FakeUnitedDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeUnitedDeployments) Get added in v0.4.1

func (c *FakeUnitedDeployments) Get(ctx context.Context, 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) GetScale added in v0.8.0

func (c *FakeUnitedDeployments) GetScale(ctx context.Context, unitedDeploymentName string, options v1.GetOptions) (result *autoscalingv1.Scale, err error)

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

func (*FakeUnitedDeployments) List added in v0.4.1

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

func (*FakeUnitedDeployments) Patch added in v0.4.1

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

Patch applies the patch and returns the patched unitedDeployment.

func (*FakeUnitedDeployments) Update added in v0.4.1

func (c *FakeUnitedDeployments) Update(ctx context.Context, unitedDeployment *v1alpha1.UnitedDeployment, opts v1.UpdateOptions) (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) UpdateScale added in v0.8.0

func (c *FakeUnitedDeployments) UpdateScale(ctx context.Context, unitedDeploymentName string, scale *autoscalingv1.Scale, opts v1.UpdateOptions) (result *autoscalingv1.Scale, err error)

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

func (*FakeUnitedDeployments) UpdateStatus added in v0.4.1

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 added in v0.4.1

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

type FakeWorkloadSpreads added in v0.10.0

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

FakeWorkloadSpreads implements WorkloadSpreadInterface

func (*FakeWorkloadSpreads) Create added in v0.10.0

func (c *FakeWorkloadSpreads) Create(ctx context.Context, workloadSpread *v1alpha1.WorkloadSpread, opts v1.CreateOptions) (result *v1alpha1.WorkloadSpread, err error)

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

func (*FakeWorkloadSpreads) Delete added in v0.10.0

func (c *FakeWorkloadSpreads) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeWorkloadSpreads) DeleteCollection added in v0.10.0

func (c *FakeWorkloadSpreads) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeWorkloadSpreads) Get added in v0.10.0

func (c *FakeWorkloadSpreads) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.WorkloadSpread, err error)

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

func (*FakeWorkloadSpreads) List added in v0.10.0

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

func (*FakeWorkloadSpreads) Patch added in v0.10.0

func (c *FakeWorkloadSpreads) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.WorkloadSpread, err error)

Patch applies the patch and returns the patched workloadSpread.

func (*FakeWorkloadSpreads) Update added in v0.10.0

func (c *FakeWorkloadSpreads) Update(ctx context.Context, workloadSpread *v1alpha1.WorkloadSpread, opts v1.UpdateOptions) (result *v1alpha1.WorkloadSpread, err error)

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

func (*FakeWorkloadSpreads) UpdateStatus added in v0.10.0

func (c *FakeWorkloadSpreads) UpdateStatus(ctx context.Context, workloadSpread *v1alpha1.WorkloadSpread, opts v1.UpdateOptions) (*v1alpha1.WorkloadSpread, error)

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

func (*FakeWorkloadSpreads) Watch added in v0.10.0

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

Jump to

Keyboard shortcuts

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