Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCarbonJobs
- func (c *FakeCarbonJobs) Create(ctx context.Context, carbonJob *carbonv1.CarbonJob, opts v1.CreateOptions) (result *carbonv1.CarbonJob, err error)
- func (c *FakeCarbonJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCarbonJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCarbonJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *carbonv1.CarbonJob, err error)
- func (c *FakeCarbonJobs) List(ctx context.Context, opts v1.ListOptions) (result *carbonv1.CarbonJobList, err error)
- func (c *FakeCarbonJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *carbonv1.CarbonJob, err error)
- func (c *FakeCarbonJobs) Update(ctx context.Context, carbonJob *carbonv1.CarbonJob, opts v1.UpdateOptions) (result *carbonv1.CarbonJob, err error)
- func (c *FakeCarbonJobs) UpdateStatus(ctx context.Context, carbonJob *carbonv1.CarbonJob, opts v1.UpdateOptions) (*carbonv1.CarbonJob, error)
- func (c *FakeCarbonJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCarbonV1
- func (c *FakeCarbonV1) CarbonJobs(namespace string) v1.CarbonJobInterface
- func (c *FakeCarbonV1) RESTClient() rest.Interface
- func (c *FakeCarbonV1) RollingSets(namespace string) v1.RollingSetInterface
- func (c *FakeCarbonV1) ServicePublishers(namespace string) v1.ServicePublisherInterface
- func (c *FakeCarbonV1) ShardGroups(namespace string) v1.ShardGroupInterface
- func (c *FakeCarbonV1) TemporaryConstraints(namespace string) v1.TemporaryConstraintInterface
- func (c *FakeCarbonV1) WorkerNodeEvictions(namespace string) v1.WorkerNodeEvictionInterface
- func (c *FakeCarbonV1) WorkerNodes(namespace string) v1.WorkerNodeInterface
- type FakeRollingSets
- func (c *FakeRollingSets) Create(ctx context.Context, rollingSet *carbonv1.RollingSet, opts v1.CreateOptions) (result *carbonv1.RollingSet, err error)
- func (c *FakeRollingSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRollingSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRollingSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *carbonv1.RollingSet, err error)
- func (c *FakeRollingSets) List(ctx context.Context, opts v1.ListOptions) (result *carbonv1.RollingSetList, err error)
- func (c *FakeRollingSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *carbonv1.RollingSet, err error)
- func (c *FakeRollingSets) Update(ctx context.Context, rollingSet *carbonv1.RollingSet, opts v1.UpdateOptions) (result *carbonv1.RollingSet, err error)
- func (c *FakeRollingSets) UpdateStatus(ctx context.Context, rollingSet *carbonv1.RollingSet, opts v1.UpdateOptions) (*carbonv1.RollingSet, error)
- func (c *FakeRollingSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeServicePublishers
- func (c *FakeServicePublishers) Create(ctx context.Context, servicePublisher *carbonv1.ServicePublisher, ...) (result *carbonv1.ServicePublisher, err error)
- func (c *FakeServicePublishers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeServicePublishers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeServicePublishers) Get(ctx context.Context, name string, options v1.GetOptions) (result *carbonv1.ServicePublisher, err error)
- func (c *FakeServicePublishers) List(ctx context.Context, opts v1.ListOptions) (result *carbonv1.ServicePublisherList, err error)
- func (c *FakeServicePublishers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *carbonv1.ServicePublisher, err error)
- func (c *FakeServicePublishers) Update(ctx context.Context, servicePublisher *carbonv1.ServicePublisher, ...) (result *carbonv1.ServicePublisher, err error)
- func (c *FakeServicePublishers) UpdateStatus(ctx context.Context, servicePublisher *carbonv1.ServicePublisher, ...) (*carbonv1.ServicePublisher, error)
- func (c *FakeServicePublishers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeShardGroups
- func (c *FakeShardGroups) Create(ctx context.Context, shardGroup *carbonv1.ShardGroup, opts v1.CreateOptions) (result *carbonv1.ShardGroup, err error)
- func (c *FakeShardGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeShardGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeShardGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *carbonv1.ShardGroup, err error)
- func (c *FakeShardGroups) List(ctx context.Context, opts v1.ListOptions) (result *carbonv1.ShardGroupList, err error)
- func (c *FakeShardGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *carbonv1.ShardGroup, err error)
- func (c *FakeShardGroups) Update(ctx context.Context, shardGroup *carbonv1.ShardGroup, opts v1.UpdateOptions) (result *carbonv1.ShardGroup, err error)
- func (c *FakeShardGroups) UpdateStatus(ctx context.Context, shardGroup *carbonv1.ShardGroup, opts v1.UpdateOptions) (*carbonv1.ShardGroup, error)
- func (c *FakeShardGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTemporaryConstraints
- func (c *FakeTemporaryConstraints) Create(ctx context.Context, temporaryConstraint *carbonv1.TemporaryConstraint, ...) (result *carbonv1.TemporaryConstraint, err error)
- func (c *FakeTemporaryConstraints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTemporaryConstraints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTemporaryConstraints) Get(ctx context.Context, name string, options v1.GetOptions) (result *carbonv1.TemporaryConstraint, err error)
- func (c *FakeTemporaryConstraints) List(ctx context.Context, opts v1.ListOptions) (result *carbonv1.TemporaryConstraintList, err error)
- func (c *FakeTemporaryConstraints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *carbonv1.TemporaryConstraint, err error)
- func (c *FakeTemporaryConstraints) Update(ctx context.Context, temporaryConstraint *carbonv1.TemporaryConstraint, ...) (result *carbonv1.TemporaryConstraint, err error)
- func (c *FakeTemporaryConstraints) UpdateStatus(ctx context.Context, temporaryConstraint *carbonv1.TemporaryConstraint, ...) (*carbonv1.TemporaryConstraint, error)
- func (c *FakeTemporaryConstraints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeWorkerNodeEvictions
- func (c *FakeWorkerNodeEvictions) Create(ctx context.Context, workerNodeEviction *carbonv1.WorkerNodeEviction, ...) (result *carbonv1.WorkerNodeEviction, err error)
- func (c *FakeWorkerNodeEvictions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeWorkerNodeEvictions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeWorkerNodeEvictions) Get(ctx context.Context, name string, options v1.GetOptions) (result *carbonv1.WorkerNodeEviction, err error)
- func (c *FakeWorkerNodeEvictions) List(ctx context.Context, opts v1.ListOptions) (result *carbonv1.WorkerNodeEvictionList, err error)
- func (c *FakeWorkerNodeEvictions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *carbonv1.WorkerNodeEviction, err error)
- func (c *FakeWorkerNodeEvictions) Update(ctx context.Context, workerNodeEviction *carbonv1.WorkerNodeEviction, ...) (result *carbonv1.WorkerNodeEviction, err error)
- func (c *FakeWorkerNodeEvictions) UpdateStatus(ctx context.Context, workerNodeEviction *carbonv1.WorkerNodeEviction, ...) (*carbonv1.WorkerNodeEviction, error)
- func (c *FakeWorkerNodeEvictions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeWorkerNodes
- func (c *FakeWorkerNodes) Create(ctx context.Context, workerNode *carbonv1.WorkerNode, opts v1.CreateOptions) (result *carbonv1.WorkerNode, err error)
- func (c *FakeWorkerNodes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeWorkerNodes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeWorkerNodes) Get(ctx context.Context, name string, options v1.GetOptions) (result *carbonv1.WorkerNode, err error)
- func (c *FakeWorkerNodes) List(ctx context.Context, opts v1.ListOptions) (result *carbonv1.WorkerNodeList, err error)
- func (c *FakeWorkerNodes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *carbonv1.WorkerNode, err error)
- func (c *FakeWorkerNodes) Update(ctx context.Context, workerNode *carbonv1.WorkerNode, opts v1.UpdateOptions) (result *carbonv1.WorkerNode, err error)
- func (c *FakeWorkerNodes) UpdateStatus(ctx context.Context, workerNode *carbonv1.WorkerNode, opts v1.UpdateOptions) (*carbonv1.WorkerNode, error)
- func (c *FakeWorkerNodes) 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 FakeCarbonJobs ¶
type FakeCarbonJobs struct { Fake *FakeCarbonV1 // contains filtered or unexported fields }
FakeCarbonJobs implements CarbonJobInterface
func (*FakeCarbonJobs) Create ¶
func (c *FakeCarbonJobs) Create(ctx context.Context, carbonJob *carbonv1.CarbonJob, opts v1.CreateOptions) (result *carbonv1.CarbonJob, err error)
Create takes the representation of a carbonJob and creates it. Returns the server's representation of the carbonJob, and an error, if there is any.
func (*FakeCarbonJobs) Delete ¶
func (c *FakeCarbonJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the carbonJob and deletes it. Returns an error if one occurs.
func (*FakeCarbonJobs) DeleteCollection ¶
func (c *FakeCarbonJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCarbonJobs) Get ¶
func (c *FakeCarbonJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *carbonv1.CarbonJob, err error)
Get takes name of the carbonJob, and returns the corresponding carbonJob object, and an error if there is any.
func (*FakeCarbonJobs) List ¶
func (c *FakeCarbonJobs) List(ctx context.Context, opts v1.ListOptions) (result *carbonv1.CarbonJobList, err error)
List takes label and field selectors, and returns the list of CarbonJobs that match those selectors.
func (*FakeCarbonJobs) Patch ¶
func (c *FakeCarbonJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *carbonv1.CarbonJob, err error)
Patch applies the patch and returns the patched carbonJob.
func (*FakeCarbonJobs) Update ¶
func (c *FakeCarbonJobs) Update(ctx context.Context, carbonJob *carbonv1.CarbonJob, opts v1.UpdateOptions) (result *carbonv1.CarbonJob, err error)
Update takes the representation of a carbonJob and updates it. Returns the server's representation of the carbonJob, and an error, if there is any.
func (*FakeCarbonJobs) UpdateStatus ¶
func (c *FakeCarbonJobs) UpdateStatus(ctx context.Context, carbonJob *carbonv1.CarbonJob, opts v1.UpdateOptions) (*carbonv1.CarbonJob, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCarbonJobs) Watch ¶
func (c *FakeCarbonJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested carbonJobs.
type FakeCarbonV1 ¶
func (*FakeCarbonV1) CarbonJobs ¶
func (c *FakeCarbonV1) CarbonJobs(namespace string) v1.CarbonJobInterface
func (*FakeCarbonV1) RESTClient ¶
func (c *FakeCarbonV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeCarbonV1) RollingSets ¶
func (c *FakeCarbonV1) RollingSets(namespace string) v1.RollingSetInterface
func (*FakeCarbonV1) ServicePublishers ¶
func (c *FakeCarbonV1) ServicePublishers(namespace string) v1.ServicePublisherInterface
func (*FakeCarbonV1) ShardGroups ¶
func (c *FakeCarbonV1) ShardGroups(namespace string) v1.ShardGroupInterface
func (*FakeCarbonV1) TemporaryConstraints ¶
func (c *FakeCarbonV1) TemporaryConstraints(namespace string) v1.TemporaryConstraintInterface
func (*FakeCarbonV1) WorkerNodeEvictions ¶
func (c *FakeCarbonV1) WorkerNodeEvictions(namespace string) v1.WorkerNodeEvictionInterface
func (*FakeCarbonV1) WorkerNodes ¶
func (c *FakeCarbonV1) WorkerNodes(namespace string) v1.WorkerNodeInterface
type FakeRollingSets ¶
type FakeRollingSets struct { Fake *FakeCarbonV1 // contains filtered or unexported fields }
FakeRollingSets implements RollingSetInterface
func (*FakeRollingSets) Create ¶
func (c *FakeRollingSets) Create(ctx context.Context, rollingSet *carbonv1.RollingSet, opts v1.CreateOptions) (result *carbonv1.RollingSet, err error)
Create takes the representation of a rollingSet and creates it. Returns the server's representation of the rollingSet, and an error, if there is any.
func (*FakeRollingSets) Delete ¶
func (c *FakeRollingSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the rollingSet and deletes it. Returns an error if one occurs.
func (*FakeRollingSets) DeleteCollection ¶
func (c *FakeRollingSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRollingSets) Get ¶
func (c *FakeRollingSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *carbonv1.RollingSet, err error)
Get takes name of the rollingSet, and returns the corresponding rollingSet object, and an error if there is any.
func (*FakeRollingSets) List ¶
func (c *FakeRollingSets) List(ctx context.Context, opts v1.ListOptions) (result *carbonv1.RollingSetList, err error)
List takes label and field selectors, and returns the list of RollingSets that match those selectors.
func (*FakeRollingSets) Patch ¶
func (c *FakeRollingSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *carbonv1.RollingSet, err error)
Patch applies the patch and returns the patched rollingSet.
func (*FakeRollingSets) Update ¶
func (c *FakeRollingSets) Update(ctx context.Context, rollingSet *carbonv1.RollingSet, opts v1.UpdateOptions) (result *carbonv1.RollingSet, err error)
Update takes the representation of a rollingSet and updates it. Returns the server's representation of the rollingSet, and an error, if there is any.
func (*FakeRollingSets) UpdateStatus ¶
func (c *FakeRollingSets) UpdateStatus(ctx context.Context, rollingSet *carbonv1.RollingSet, opts v1.UpdateOptions) (*carbonv1.RollingSet, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRollingSets) Watch ¶
func (c *FakeRollingSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested rollingSets.
type FakeServicePublishers ¶
type FakeServicePublishers struct { Fake *FakeCarbonV1 // contains filtered or unexported fields }
FakeServicePublishers implements ServicePublisherInterface
func (*FakeServicePublishers) Create ¶
func (c *FakeServicePublishers) Create(ctx context.Context, servicePublisher *carbonv1.ServicePublisher, opts v1.CreateOptions) (result *carbonv1.ServicePublisher, err error)
Create takes the representation of a servicePublisher and creates it. Returns the server's representation of the servicePublisher, and an error, if there is any.
func (*FakeServicePublishers) Delete ¶
func (c *FakeServicePublishers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the servicePublisher and deletes it. Returns an error if one occurs.
func (*FakeServicePublishers) DeleteCollection ¶
func (c *FakeServicePublishers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServicePublishers) Get ¶
func (c *FakeServicePublishers) Get(ctx context.Context, name string, options v1.GetOptions) (result *carbonv1.ServicePublisher, err error)
Get takes name of the servicePublisher, and returns the corresponding servicePublisher object, and an error if there is any.
func (*FakeServicePublishers) List ¶
func (c *FakeServicePublishers) List(ctx context.Context, opts v1.ListOptions) (result *carbonv1.ServicePublisherList, err error)
List takes label and field selectors, and returns the list of ServicePublishers that match those selectors.
func (*FakeServicePublishers) Patch ¶
func (c *FakeServicePublishers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *carbonv1.ServicePublisher, err error)
Patch applies the patch and returns the patched servicePublisher.
func (*FakeServicePublishers) Update ¶
func (c *FakeServicePublishers) Update(ctx context.Context, servicePublisher *carbonv1.ServicePublisher, opts v1.UpdateOptions) (result *carbonv1.ServicePublisher, err error)
Update takes the representation of a servicePublisher and updates it. Returns the server's representation of the servicePublisher, and an error, if there is any.
func (*FakeServicePublishers) UpdateStatus ¶
func (c *FakeServicePublishers) UpdateStatus(ctx context.Context, servicePublisher *carbonv1.ServicePublisher, opts v1.UpdateOptions) (*carbonv1.ServicePublisher, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeServicePublishers) Watch ¶
func (c *FakeServicePublishers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested servicePublishers.
type FakeShardGroups ¶
type FakeShardGroups struct { Fake *FakeCarbonV1 // contains filtered or unexported fields }
FakeShardGroups implements ShardGroupInterface
func (*FakeShardGroups) Create ¶
func (c *FakeShardGroups) Create(ctx context.Context, shardGroup *carbonv1.ShardGroup, opts v1.CreateOptions) (result *carbonv1.ShardGroup, err error)
Create takes the representation of a shardGroup and creates it. Returns the server's representation of the shardGroup, and an error, if there is any.
func (*FakeShardGroups) Delete ¶
func (c *FakeShardGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the shardGroup and deletes it. Returns an error if one occurs.
func (*FakeShardGroups) DeleteCollection ¶
func (c *FakeShardGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeShardGroups) Get ¶
func (c *FakeShardGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *carbonv1.ShardGroup, err error)
Get takes name of the shardGroup, and returns the corresponding shardGroup object, and an error if there is any.
func (*FakeShardGroups) List ¶
func (c *FakeShardGroups) List(ctx context.Context, opts v1.ListOptions) (result *carbonv1.ShardGroupList, err error)
List takes label and field selectors, and returns the list of ShardGroups that match those selectors.
func (*FakeShardGroups) Patch ¶
func (c *FakeShardGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *carbonv1.ShardGroup, err error)
Patch applies the patch and returns the patched shardGroup.
func (*FakeShardGroups) Update ¶
func (c *FakeShardGroups) Update(ctx context.Context, shardGroup *carbonv1.ShardGroup, opts v1.UpdateOptions) (result *carbonv1.ShardGroup, err error)
Update takes the representation of a shardGroup and updates it. Returns the server's representation of the shardGroup, and an error, if there is any.
func (*FakeShardGroups) UpdateStatus ¶
func (c *FakeShardGroups) UpdateStatus(ctx context.Context, shardGroup *carbonv1.ShardGroup, opts v1.UpdateOptions) (*carbonv1.ShardGroup, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeShardGroups) Watch ¶
func (c *FakeShardGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested shardGroups.
type FakeTemporaryConstraints ¶
type FakeTemporaryConstraints struct { Fake *FakeCarbonV1 // contains filtered or unexported fields }
FakeTemporaryConstraints implements TemporaryConstraintInterface
func (*FakeTemporaryConstraints) Create ¶
func (c *FakeTemporaryConstraints) Create(ctx context.Context, temporaryConstraint *carbonv1.TemporaryConstraint, opts v1.CreateOptions) (result *carbonv1.TemporaryConstraint, err error)
Create takes the representation of a temporaryConstraint and creates it. Returns the server's representation of the temporaryConstraint, and an error, if there is any.
func (*FakeTemporaryConstraints) Delete ¶
func (c *FakeTemporaryConstraints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the temporaryConstraint and deletes it. Returns an error if one occurs.
func (*FakeTemporaryConstraints) DeleteCollection ¶
func (c *FakeTemporaryConstraints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTemporaryConstraints) Get ¶
func (c *FakeTemporaryConstraints) Get(ctx context.Context, name string, options v1.GetOptions) (result *carbonv1.TemporaryConstraint, err error)
Get takes name of the temporaryConstraint, and returns the corresponding temporaryConstraint object, and an error if there is any.
func (*FakeTemporaryConstraints) List ¶
func (c *FakeTemporaryConstraints) List(ctx context.Context, opts v1.ListOptions) (result *carbonv1.TemporaryConstraintList, err error)
List takes label and field selectors, and returns the list of TemporaryConstraints that match those selectors.
func (*FakeTemporaryConstraints) Patch ¶
func (c *FakeTemporaryConstraints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *carbonv1.TemporaryConstraint, err error)
Patch applies the patch and returns the patched temporaryConstraint.
func (*FakeTemporaryConstraints) Update ¶
func (c *FakeTemporaryConstraints) Update(ctx context.Context, temporaryConstraint *carbonv1.TemporaryConstraint, opts v1.UpdateOptions) (result *carbonv1.TemporaryConstraint, err error)
Update takes the representation of a temporaryConstraint and updates it. Returns the server's representation of the temporaryConstraint, and an error, if there is any.
func (*FakeTemporaryConstraints) UpdateStatus ¶
func (c *FakeTemporaryConstraints) UpdateStatus(ctx context.Context, temporaryConstraint *carbonv1.TemporaryConstraint, opts v1.UpdateOptions) (*carbonv1.TemporaryConstraint, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTemporaryConstraints) Watch ¶
func (c *FakeTemporaryConstraints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested temporaryConstraints.
type FakeWorkerNodeEvictions ¶
type FakeWorkerNodeEvictions struct { Fake *FakeCarbonV1 // contains filtered or unexported fields }
FakeWorkerNodeEvictions implements WorkerNodeEvictionInterface
func (*FakeWorkerNodeEvictions) Create ¶
func (c *FakeWorkerNodeEvictions) Create(ctx context.Context, workerNodeEviction *carbonv1.WorkerNodeEviction, opts v1.CreateOptions) (result *carbonv1.WorkerNodeEviction, err error)
Create takes the representation of a workerNodeEviction and creates it. Returns the server's representation of the workerNodeEviction, and an error, if there is any.
func (*FakeWorkerNodeEvictions) Delete ¶
func (c *FakeWorkerNodeEvictions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the workerNodeEviction and deletes it. Returns an error if one occurs.
func (*FakeWorkerNodeEvictions) DeleteCollection ¶
func (c *FakeWorkerNodeEvictions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeWorkerNodeEvictions) Get ¶
func (c *FakeWorkerNodeEvictions) Get(ctx context.Context, name string, options v1.GetOptions) (result *carbonv1.WorkerNodeEviction, err error)
Get takes name of the workerNodeEviction, and returns the corresponding workerNodeEviction object, and an error if there is any.
func (*FakeWorkerNodeEvictions) List ¶
func (c *FakeWorkerNodeEvictions) List(ctx context.Context, opts v1.ListOptions) (result *carbonv1.WorkerNodeEvictionList, err error)
List takes label and field selectors, and returns the list of WorkerNodeEvictions that match those selectors.
func (*FakeWorkerNodeEvictions) Patch ¶
func (c *FakeWorkerNodeEvictions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *carbonv1.WorkerNodeEviction, err error)
Patch applies the patch and returns the patched workerNodeEviction.
func (*FakeWorkerNodeEvictions) Update ¶
func (c *FakeWorkerNodeEvictions) Update(ctx context.Context, workerNodeEviction *carbonv1.WorkerNodeEviction, opts v1.UpdateOptions) (result *carbonv1.WorkerNodeEviction, err error)
Update takes the representation of a workerNodeEviction and updates it. Returns the server's representation of the workerNodeEviction, and an error, if there is any.
func (*FakeWorkerNodeEvictions) UpdateStatus ¶
func (c *FakeWorkerNodeEvictions) UpdateStatus(ctx context.Context, workerNodeEviction *carbonv1.WorkerNodeEviction, opts v1.UpdateOptions) (*carbonv1.WorkerNodeEviction, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeWorkerNodeEvictions) Watch ¶
func (c *FakeWorkerNodeEvictions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested workerNodeEvictions.
type FakeWorkerNodes ¶
type FakeWorkerNodes struct { Fake *FakeCarbonV1 // contains filtered or unexported fields }
FakeWorkerNodes implements WorkerNodeInterface
func (*FakeWorkerNodes) Create ¶
func (c *FakeWorkerNodes) Create(ctx context.Context, workerNode *carbonv1.WorkerNode, opts v1.CreateOptions) (result *carbonv1.WorkerNode, err error)
Create takes the representation of a workerNode and creates it. Returns the server's representation of the workerNode, and an error, if there is any.
func (*FakeWorkerNodes) Delete ¶
func (c *FakeWorkerNodes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the workerNode and deletes it. Returns an error if one occurs.
func (*FakeWorkerNodes) DeleteCollection ¶
func (c *FakeWorkerNodes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeWorkerNodes) Get ¶
func (c *FakeWorkerNodes) Get(ctx context.Context, name string, options v1.GetOptions) (result *carbonv1.WorkerNode, err error)
Get takes name of the workerNode, and returns the corresponding workerNode object, and an error if there is any.
func (*FakeWorkerNodes) List ¶
func (c *FakeWorkerNodes) List(ctx context.Context, opts v1.ListOptions) (result *carbonv1.WorkerNodeList, err error)
List takes label and field selectors, and returns the list of WorkerNodes that match those selectors.
func (*FakeWorkerNodes) Patch ¶
func (c *FakeWorkerNodes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *carbonv1.WorkerNode, err error)
Patch applies the patch and returns the patched workerNode.
func (*FakeWorkerNodes) Update ¶
func (c *FakeWorkerNodes) Update(ctx context.Context, workerNode *carbonv1.WorkerNode, opts v1.UpdateOptions) (result *carbonv1.WorkerNode, err error)
Update takes the representation of a workerNode and updates it. Returns the server's representation of the workerNode, and an error, if there is any.
func (*FakeWorkerNodes) UpdateStatus ¶
func (c *FakeWorkerNodes) UpdateStatus(ctx context.Context, workerNode *carbonv1.WorkerNode, opts v1.UpdateOptions) (*carbonv1.WorkerNode, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeWorkerNodes) Watch ¶
func (c *FakeWorkerNodes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested workerNodes.