fake

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: Apache-2.0 Imports: 11 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 FakeAdvancedCronJobs

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

FakeAdvancedCronJobs implements AdvancedCronJobInterface

func (*FakeAdvancedCronJobs) Create

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

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

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

DeleteCollection deletes a collection of objects.

func (*FakeAdvancedCronJobs) Get

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

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

func (*FakeAdvancedCronJobs) Patch

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

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

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

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

type FakeAppsV1alpha1

type FakeAppsV1alpha1 struct {
	*testing.Fake
}

func (*FakeAppsV1alpha1) AdvancedCronJobs

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

func (*FakeAppsV1alpha1) BroadcastJobs

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

func (*FakeAppsV1alpha1) CloneSets

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

func (*FakeAppsV1alpha1) ContainerRecreateRequests

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

func (*FakeAppsV1alpha1) DaemonSets

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

func (*FakeAppsV1alpha1) EphemeralJobs

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

func (*FakeAppsV1alpha1) ImagePullJobs

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

func (*FakeAppsV1alpha1) NodeImages

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

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

func (*FakeAppsV1alpha1) SidecarSets

func (*FakeAppsV1alpha1) StatefulSets

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

func (*FakeAppsV1alpha1) UnitedDeployments

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

func (*FakeAppsV1alpha1) WorkloadSpreads

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

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

FakeCloneSets implements CloneSetInterface

func (*FakeCloneSets) Create

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

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

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

DeleteCollection deletes a collection of objects.

func (*FakeCloneSets) Get

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

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

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

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

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

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

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

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

type FakeContainerRecreateRequests

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

FakeContainerRecreateRequests implements ContainerRecreateRequestInterface

func (*FakeContainerRecreateRequests) Create

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

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

func (*FakeContainerRecreateRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeContainerRecreateRequests) Get

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

func (*FakeContainerRecreateRequests) List

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

func (*FakeContainerRecreateRequests) Patch

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

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

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

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

type FakeDaemonSets

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

FakeDaemonSets implements DaemonSetInterface

func (*FakeDaemonSets) Create

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

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

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

DeleteCollection deletes a collection of objects.

func (*FakeDaemonSets) Get

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

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

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

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

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

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

type FakeEphemeralJobs

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

FakeEphemeralJobs implements EphemeralJobInterface

func (*FakeEphemeralJobs) Create

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

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

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

DeleteCollection deletes a collection of objects.

func (*FakeEphemeralJobs) Get

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

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

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

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

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

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

type FakeImagePullJobs

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

FakeImagePullJobs implements ImagePullJobInterface

func (*FakeImagePullJobs) Create

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

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

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

DeleteCollection deletes a collection of objects.

func (*FakeImagePullJobs) Get

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

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

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

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

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

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

type FakeNodeImages

type FakeNodeImages struct {
	Fake *FakeAppsV1alpha1
}

FakeNodeImages implements NodeImageInterface

func (*FakeNodeImages) Create

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

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

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

DeleteCollection deletes a collection of objects.

func (*FakeNodeImages) Get

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

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

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

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

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

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

type FakeResourceDistributions

type FakeResourceDistributions struct {
	Fake *FakeAppsV1alpha1
}

FakeResourceDistributions implements ResourceDistributionInterface

func (*FakeResourceDistributions) Create

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

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

func (*FakeResourceDistributions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeResourceDistributions) Get

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

func (*FakeResourceDistributions) List

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

func (*FakeResourceDistributions) Patch

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

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

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

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

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

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

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

FakeUnitedDeployments implements UnitedDeploymentInterface

func (*FakeUnitedDeployments) Create

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

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

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

DeleteCollection deletes a collection of objects.

func (*FakeUnitedDeployments) Get

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

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

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

func (*FakeUnitedDeployments) Patch

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

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

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

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.

type FakeWorkloadSpreads

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

FakeWorkloadSpreads implements WorkloadSpreadInterface

func (*FakeWorkloadSpreads) Create

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

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

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

DeleteCollection deletes a collection of objects.

func (*FakeWorkloadSpreads) Get

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

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

func (*FakeWorkloadSpreads) Patch

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

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

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

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