Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAppsV1beta2
- func (c *FakeAppsV1beta2) ControllerRevisions(namespace string) v1beta2.ControllerRevisionInterface
- func (c *FakeAppsV1beta2) DaemonSets(namespace string) v1beta2.DaemonSetInterface
- func (c *FakeAppsV1beta2) Deployments(namespace string) v1beta2.DeploymentInterface
- func (c *FakeAppsV1beta2) RESTClient() rest.Interface
- func (c *FakeAppsV1beta2) ReplicaSets(namespace string) v1beta2.ReplicaSetInterface
- func (c *FakeAppsV1beta2) StatefulSets(namespace string) v1beta2.StatefulSetInterface
- type FakeControllerRevisions
- func (c *FakeControllerRevisions) Apply(ctx context.Context, ...) (result *v1beta2.ControllerRevision, err error)
- func (c *FakeControllerRevisions) Create(ctx context.Context, controllerRevision *v1beta2.ControllerRevision, ...) (result *v1beta2.ControllerRevision, err error)
- func (c *FakeControllerRevisions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeControllerRevisions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeControllerRevisions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.ControllerRevision, err error)
- func (c *FakeControllerRevisions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.ControllerRevisionList, err error)
- func (c *FakeControllerRevisions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.ControllerRevision, err error)
- func (c *FakeControllerRevisions) Update(ctx context.Context, controllerRevision *v1beta2.ControllerRevision, ...) (result *v1beta2.ControllerRevision, err error)
- func (c *FakeControllerRevisions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDaemonSets
- func (c *FakeDaemonSets) Apply(ctx context.Context, daemonSet *appsv1beta2.DaemonSetApplyConfiguration, ...) (result *v1beta2.DaemonSet, err error)
- func (c *FakeDaemonSets) ApplyStatus(ctx context.Context, daemonSet *appsv1beta2.DaemonSetApplyConfiguration, ...) (result *v1beta2.DaemonSet, err error)
- func (c *FakeDaemonSets) Create(ctx context.Context, daemonSet *v1beta2.DaemonSet, opts v1.CreateOptions) (result *v1beta2.DaemonSet, err error)
- func (c *FakeDaemonSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDaemonSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDaemonSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.DaemonSet, err error)
- func (c *FakeDaemonSets) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.DaemonSetList, err error)
- func (c *FakeDaemonSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.DaemonSet, err error)
- func (c *FakeDaemonSets) Update(ctx context.Context, daemonSet *v1beta2.DaemonSet, opts v1.UpdateOptions) (result *v1beta2.DaemonSet, err error)
- func (c *FakeDaemonSets) UpdateStatus(ctx context.Context, daemonSet *v1beta2.DaemonSet, opts v1.UpdateOptions) (result *v1beta2.DaemonSet, err error)
- func (c *FakeDaemonSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDeployments
- func (c *FakeDeployments) Apply(ctx context.Context, deployment *appsv1beta2.DeploymentApplyConfiguration, ...) (result *v1beta2.Deployment, err error)
- func (c *FakeDeployments) ApplyStatus(ctx context.Context, deployment *appsv1beta2.DeploymentApplyConfiguration, ...) (result *v1beta2.Deployment, err error)
- func (c *FakeDeployments) Create(ctx context.Context, deployment *v1beta2.Deployment, opts v1.CreateOptions) (result *v1beta2.Deployment, err error)
- func (c *FakeDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Deployment, err error)
- func (c *FakeDeployments) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.DeploymentList, err error)
- func (c *FakeDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.Deployment, err error)
- func (c *FakeDeployments) Update(ctx context.Context, deployment *v1beta2.Deployment, opts v1.UpdateOptions) (result *v1beta2.Deployment, err error)
- func (c *FakeDeployments) UpdateStatus(ctx context.Context, deployment *v1beta2.Deployment, opts v1.UpdateOptions) (result *v1beta2.Deployment, err error)
- func (c *FakeDeployments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeReplicaSets
- func (c *FakeReplicaSets) Apply(ctx context.Context, replicaSet *appsv1beta2.ReplicaSetApplyConfiguration, ...) (result *v1beta2.ReplicaSet, err error)
- func (c *FakeReplicaSets) ApplyStatus(ctx context.Context, replicaSet *appsv1beta2.ReplicaSetApplyConfiguration, ...) (result *v1beta2.ReplicaSet, err error)
- func (c *FakeReplicaSets) Create(ctx context.Context, replicaSet *v1beta2.ReplicaSet, opts v1.CreateOptions) (result *v1beta2.ReplicaSet, err error)
- func (c *FakeReplicaSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeReplicaSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeReplicaSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.ReplicaSet, err error)
- func (c *FakeReplicaSets) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.ReplicaSetList, err error)
- func (c *FakeReplicaSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.ReplicaSet, err error)
- func (c *FakeReplicaSets) Update(ctx context.Context, replicaSet *v1beta2.ReplicaSet, opts v1.UpdateOptions) (result *v1beta2.ReplicaSet, err error)
- func (c *FakeReplicaSets) UpdateStatus(ctx context.Context, replicaSet *v1beta2.ReplicaSet, opts v1.UpdateOptions) (result *v1beta2.ReplicaSet, err error)
- func (c *FakeReplicaSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeStatefulSets
- func (c *FakeStatefulSets) Apply(ctx context.Context, statefulSet *appsv1beta2.StatefulSetApplyConfiguration, ...) (result *v1beta2.StatefulSet, err error)
- func (c *FakeStatefulSets) ApplyScale(ctx context.Context, statefulSetName string, ...) (result *v1beta2.Scale, err error)
- func (c *FakeStatefulSets) ApplyStatus(ctx context.Context, statefulSet *appsv1beta2.StatefulSetApplyConfiguration, ...) (result *v1beta2.StatefulSet, err error)
- func (c *FakeStatefulSets) Create(ctx context.Context, statefulSet *v1beta2.StatefulSet, opts v1.CreateOptions) (result *v1beta2.StatefulSet, err error)
- func (c *FakeStatefulSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeStatefulSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeStatefulSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.StatefulSet, err error)
- func (c *FakeStatefulSets) GetScale(ctx context.Context, statefulSetName string, options v1.GetOptions) (result *v1beta2.Scale, err error)
- func (c *FakeStatefulSets) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.StatefulSetList, err error)
- func (c *FakeStatefulSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.StatefulSet, err error)
- func (c *FakeStatefulSets) Update(ctx context.Context, statefulSet *v1beta2.StatefulSet, opts v1.UpdateOptions) (result *v1beta2.StatefulSet, err error)
- func (c *FakeStatefulSets) UpdateScale(ctx context.Context, statefulSetName string, scale *v1beta2.Scale, ...) (result *v1beta2.Scale, err error)
- func (c *FakeStatefulSets) UpdateStatus(ctx context.Context, statefulSet *v1beta2.StatefulSet, opts v1.UpdateOptions) (result *v1beta2.StatefulSet, err error)
- func (c *FakeStatefulSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAppsV1beta2 ¶
func (*FakeAppsV1beta2) ControllerRevisions ¶
func (c *FakeAppsV1beta2) ControllerRevisions(namespace string) v1beta2.ControllerRevisionInterface
func (*FakeAppsV1beta2) DaemonSets ¶
func (c *FakeAppsV1beta2) DaemonSets(namespace string) v1beta2.DaemonSetInterface
func (*FakeAppsV1beta2) Deployments ¶
func (c *FakeAppsV1beta2) Deployments(namespace string) v1beta2.DeploymentInterface
func (*FakeAppsV1beta2) RESTClient ¶
func (c *FakeAppsV1beta2) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAppsV1beta2) ReplicaSets ¶
func (c *FakeAppsV1beta2) ReplicaSets(namespace string) v1beta2.ReplicaSetInterface
func (*FakeAppsV1beta2) StatefulSets ¶
func (c *FakeAppsV1beta2) StatefulSets(namespace string) v1beta2.StatefulSetInterface
type FakeControllerRevisions ¶
type FakeControllerRevisions struct { Fake *FakeAppsV1beta2 // contains filtered or unexported fields }
FakeControllerRevisions implements ControllerRevisionInterface
func (*FakeControllerRevisions) Apply ¶ added in v0.21.0
func (c *FakeControllerRevisions) Apply(ctx context.Context, controllerRevision *appsv1beta2.ControllerRevisionApplyConfiguration, opts v1.ApplyOptions) (result *v1beta2.ControllerRevision, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied controllerRevision.
func (*FakeControllerRevisions) Create ¶
func (c *FakeControllerRevisions) Create(ctx context.Context, controllerRevision *v1beta2.ControllerRevision, opts v1.CreateOptions) (result *v1beta2.ControllerRevision, err error)
Create takes the representation of a controllerRevision and creates it. Returns the server's representation of the controllerRevision, and an error, if there is any.
func (*FakeControllerRevisions) Delete ¶
func (c *FakeControllerRevisions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the controllerRevision and deletes it. Returns an error if one occurs.
func (*FakeControllerRevisions) DeleteCollection ¶
func (c *FakeControllerRevisions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeControllerRevisions) Get ¶
func (c *FakeControllerRevisions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.ControllerRevision, err error)
Get takes name of the controllerRevision, and returns the corresponding controllerRevision object, and an error if there is any.
func (*FakeControllerRevisions) List ¶
func (c *FakeControllerRevisions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.ControllerRevisionList, err error)
List takes label and field selectors, and returns the list of ControllerRevisions that match those selectors.
func (*FakeControllerRevisions) Patch ¶
func (c *FakeControllerRevisions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.ControllerRevision, err error)
Patch applies the patch and returns the patched controllerRevision.
func (*FakeControllerRevisions) Update ¶
func (c *FakeControllerRevisions) Update(ctx context.Context, controllerRevision *v1beta2.ControllerRevision, opts v1.UpdateOptions) (result *v1beta2.ControllerRevision, err error)
Update takes the representation of a controllerRevision and updates it. Returns the server's representation of the controllerRevision, and an error, if there is any.
func (*FakeControllerRevisions) Watch ¶
func (c *FakeControllerRevisions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested controllerRevisions.
type FakeDaemonSets ¶
type FakeDaemonSets struct { Fake *FakeAppsV1beta2 // contains filtered or unexported fields }
FakeDaemonSets implements DaemonSetInterface
func (*FakeDaemonSets) Apply ¶ added in v0.21.0
func (c *FakeDaemonSets) Apply(ctx context.Context, daemonSet *appsv1beta2.DaemonSetApplyConfiguration, opts v1.ApplyOptions) (result *v1beta2.DaemonSet, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied daemonSet.
func (*FakeDaemonSets) ApplyStatus ¶ added in v0.21.0
func (c *FakeDaemonSets) ApplyStatus(ctx context.Context, daemonSet *appsv1beta2.DaemonSetApplyConfiguration, opts v1.ApplyOptions) (result *v1beta2.DaemonSet, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeDaemonSets) Create ¶
func (c *FakeDaemonSets) Create(ctx context.Context, daemonSet *v1beta2.DaemonSet, opts v1.CreateOptions) (result *v1beta2.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 *v1beta2.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 *v1beta2.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 *v1beta2.DaemonSet, err error)
Patch applies the patch and returns the patched daemonSet.
func (*FakeDaemonSets) Update ¶
func (c *FakeDaemonSets) Update(ctx context.Context, daemonSet *v1beta2.DaemonSet, opts v1.UpdateOptions) (result *v1beta2.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 *v1beta2.DaemonSet, opts v1.UpdateOptions) (result *v1beta2.DaemonSet, err 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(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested daemonSets.
type FakeDeployments ¶
type FakeDeployments struct { Fake *FakeAppsV1beta2 // contains filtered or unexported fields }
FakeDeployments implements DeploymentInterface
func (*FakeDeployments) Apply ¶ added in v0.21.0
func (c *FakeDeployments) Apply(ctx context.Context, deployment *appsv1beta2.DeploymentApplyConfiguration, opts v1.ApplyOptions) (result *v1beta2.Deployment, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied deployment.
func (*FakeDeployments) ApplyStatus ¶ added in v0.21.0
func (c *FakeDeployments) ApplyStatus(ctx context.Context, deployment *appsv1beta2.DeploymentApplyConfiguration, opts v1.ApplyOptions) (result *v1beta2.Deployment, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeDeployments) Create ¶
func (c *FakeDeployments) Create(ctx context.Context, deployment *v1beta2.Deployment, opts v1.CreateOptions) (result *v1beta2.Deployment, err error)
Create takes the representation of a deployment and creates it. Returns the server's representation of the deployment, and an error, if there is any.
func (*FakeDeployments) Delete ¶
func (c *FakeDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the deployment and deletes it. Returns an error if one occurs.
func (*FakeDeployments) DeleteCollection ¶
func (c *FakeDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDeployments) Get ¶
func (c *FakeDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Deployment, err error)
Get takes name of the deployment, and returns the corresponding deployment object, and an error if there is any.
func (*FakeDeployments) List ¶
func (c *FakeDeployments) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.DeploymentList, err error)
List takes label and field selectors, and returns the list of Deployments that match those selectors.
func (*FakeDeployments) Patch ¶
func (c *FakeDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.Deployment, err error)
Patch applies the patch and returns the patched deployment.
func (*FakeDeployments) Update ¶
func (c *FakeDeployments) Update(ctx context.Context, deployment *v1beta2.Deployment, opts v1.UpdateOptions) (result *v1beta2.Deployment, err error)
Update takes the representation of a deployment and updates it. Returns the server's representation of the deployment, and an error, if there is any.
func (*FakeDeployments) UpdateStatus ¶
func (c *FakeDeployments) UpdateStatus(ctx context.Context, deployment *v1beta2.Deployment, opts v1.UpdateOptions) (result *v1beta2.Deployment, err error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDeployments) Watch ¶
func (c *FakeDeployments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested deployments.
type FakeReplicaSets ¶
type FakeReplicaSets struct { Fake *FakeAppsV1beta2 // contains filtered or unexported fields }
FakeReplicaSets implements ReplicaSetInterface
func (*FakeReplicaSets) Apply ¶ added in v0.21.0
func (c *FakeReplicaSets) Apply(ctx context.Context, replicaSet *appsv1beta2.ReplicaSetApplyConfiguration, opts v1.ApplyOptions) (result *v1beta2.ReplicaSet, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied replicaSet.
func (*FakeReplicaSets) ApplyStatus ¶ added in v0.21.0
func (c *FakeReplicaSets) ApplyStatus(ctx context.Context, replicaSet *appsv1beta2.ReplicaSetApplyConfiguration, opts v1.ApplyOptions) (result *v1beta2.ReplicaSet, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeReplicaSets) Create ¶
func (c *FakeReplicaSets) Create(ctx context.Context, replicaSet *v1beta2.ReplicaSet, opts v1.CreateOptions) (result *v1beta2.ReplicaSet, err error)
Create takes the representation of a replicaSet and creates it. Returns the server's representation of the replicaSet, and an error, if there is any.
func (*FakeReplicaSets) Delete ¶
func (c *FakeReplicaSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the replicaSet and deletes it. Returns an error if one occurs.
func (*FakeReplicaSets) DeleteCollection ¶
func (c *FakeReplicaSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeReplicaSets) Get ¶
func (c *FakeReplicaSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.ReplicaSet, err error)
Get takes name of the replicaSet, and returns the corresponding replicaSet object, and an error if there is any.
func (*FakeReplicaSets) List ¶
func (c *FakeReplicaSets) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.ReplicaSetList, err error)
List takes label and field selectors, and returns the list of ReplicaSets that match those selectors.
func (*FakeReplicaSets) Patch ¶
func (c *FakeReplicaSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.ReplicaSet, err error)
Patch applies the patch and returns the patched replicaSet.
func (*FakeReplicaSets) Update ¶
func (c *FakeReplicaSets) Update(ctx context.Context, replicaSet *v1beta2.ReplicaSet, opts v1.UpdateOptions) (result *v1beta2.ReplicaSet, err error)
Update takes the representation of a replicaSet and updates it. Returns the server's representation of the replicaSet, and an error, if there is any.
func (*FakeReplicaSets) UpdateStatus ¶
func (c *FakeReplicaSets) UpdateStatus(ctx context.Context, replicaSet *v1beta2.ReplicaSet, opts v1.UpdateOptions) (result *v1beta2.ReplicaSet, err error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeReplicaSets) Watch ¶
func (c *FakeReplicaSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested replicaSets.
type FakeStatefulSets ¶
type FakeStatefulSets struct { Fake *FakeAppsV1beta2 // contains filtered or unexported fields }
FakeStatefulSets implements StatefulSetInterface
func (*FakeStatefulSets) Apply ¶ added in v0.21.0
func (c *FakeStatefulSets) Apply(ctx context.Context, statefulSet *appsv1beta2.StatefulSetApplyConfiguration, opts v1.ApplyOptions) (result *v1beta2.StatefulSet, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied statefulSet.
func (*FakeStatefulSets) ApplyScale ¶ added in v0.22.0
func (c *FakeStatefulSets) ApplyScale(ctx context.Context, statefulSetName string, scale *appsv1beta2.ScaleApplyConfiguration, opts v1.ApplyOptions) (result *v1beta2.Scale, err error)
ApplyScale takes top resource name and the apply declarative configuration for scale, applies it and returns the applied scale, and an error, if there is any.
func (*FakeStatefulSets) ApplyStatus ¶ added in v0.21.0
func (c *FakeStatefulSets) ApplyStatus(ctx context.Context, statefulSet *appsv1beta2.StatefulSetApplyConfiguration, opts v1.ApplyOptions) (result *v1beta2.StatefulSet, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeStatefulSets) Create ¶
func (c *FakeStatefulSets) Create(ctx context.Context, statefulSet *v1beta2.StatefulSet, opts v1.CreateOptions) (result *v1beta2.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 *v1beta2.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 *v1beta2.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 *v1beta2.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 *v1beta2.StatefulSet, err error)
Patch applies the patch and returns the patched statefulSet.
func (*FakeStatefulSets) Update ¶
func (c *FakeStatefulSets) Update(ctx context.Context, statefulSet *v1beta2.StatefulSet, opts v1.UpdateOptions) (result *v1beta2.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 *v1beta2.Scale, opts v1.UpdateOptions) (result *v1beta2.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 *v1beta2.StatefulSet, opts v1.UpdateOptions) (result *v1beta2.StatefulSet, err 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(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested statefulSets.