Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeArbiterV1alpha1
- func (c *FakeArbiterV1alpha1) ObservabilityActionPolicies(namespace string) v1alpha1.ObservabilityActionPolicyInterface
- func (c *FakeArbiterV1alpha1) ObservabilityIndicants(namespace string) v1alpha1.ObservabilityIndicantInterface
- func (c *FakeArbiterV1alpha1) RESTClient() rest.Interface
- func (c *FakeArbiterV1alpha1) Schedulers(namespace string) v1alpha1.SchedulerInterface
- func (c *FakeArbiterV1alpha1) Scores(namespace string) v1alpha1.ScoreInterface
- type FakeObservabilityActionPolicies
- func (c *FakeObservabilityActionPolicies) Create(ctx context.Context, ...) (result *v1alpha1.ObservabilityActionPolicy, err error)
- func (c *FakeObservabilityActionPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeObservabilityActionPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeObservabilityActionPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ObservabilityActionPolicy, err error)
- func (c *FakeObservabilityActionPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ObservabilityActionPolicyList, err error)
- func (c *FakeObservabilityActionPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ObservabilityActionPolicy, err error)
- func (c *FakeObservabilityActionPolicies) Update(ctx context.Context, ...) (result *v1alpha1.ObservabilityActionPolicy, err error)
- func (c *FakeObservabilityActionPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeObservabilityIndicants
- func (c *FakeObservabilityIndicants) Create(ctx context.Context, observabilityIndicant *v1alpha1.ObservabilityIndicant, ...) (result *v1alpha1.ObservabilityIndicant, err error)
- func (c *FakeObservabilityIndicants) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeObservabilityIndicants) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeObservabilityIndicants) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ObservabilityIndicant, err error)
- func (c *FakeObservabilityIndicants) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ObservabilityIndicantList, err error)
- func (c *FakeObservabilityIndicants) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ObservabilityIndicant, err error)
- func (c *FakeObservabilityIndicants) Update(ctx context.Context, observabilityIndicant *v1alpha1.ObservabilityIndicant, ...) (result *v1alpha1.ObservabilityIndicant, err error)
- func (c *FakeObservabilityIndicants) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSchedulers
- func (c *FakeSchedulers) Create(ctx context.Context, scheduler *v1alpha1.Scheduler, opts v1.CreateOptions) (result *v1alpha1.Scheduler, err error)
- func (c *FakeSchedulers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSchedulers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSchedulers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Scheduler, err error)
- func (c *FakeSchedulers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SchedulerList, err error)
- func (c *FakeSchedulers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Scheduler, err error)
- func (c *FakeSchedulers) Update(ctx context.Context, scheduler *v1alpha1.Scheduler, opts v1.UpdateOptions) (result *v1alpha1.Scheduler, err error)
- func (c *FakeSchedulers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeScores
- func (c *FakeScores) Create(ctx context.Context, score *v1alpha1.Score, opts v1.CreateOptions) (result *v1alpha1.Score, err error)
- func (c *FakeScores) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeScores) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeScores) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Score, err error)
- func (c *FakeScores) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ScoreList, err error)
- func (c *FakeScores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Score, err error)
- func (c *FakeScores) Update(ctx context.Context, score *v1alpha1.Score, opts v1.UpdateOptions) (result *v1alpha1.Score, err error)
- func (c *FakeScores) UpdateStatus(ctx context.Context, score *v1alpha1.Score, opts v1.UpdateOptions) (*v1alpha1.Score, error)
- func (c *FakeScores) 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 FakeArbiterV1alpha1 ¶
func (*FakeArbiterV1alpha1) ObservabilityActionPolicies ¶
func (c *FakeArbiterV1alpha1) ObservabilityActionPolicies(namespace string) v1alpha1.ObservabilityActionPolicyInterface
func (*FakeArbiterV1alpha1) ObservabilityIndicants ¶
func (c *FakeArbiterV1alpha1) ObservabilityIndicants(namespace string) v1alpha1.ObservabilityIndicantInterface
func (*FakeArbiterV1alpha1) RESTClient ¶
func (c *FakeArbiterV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeArbiterV1alpha1) Schedulers ¶
func (c *FakeArbiterV1alpha1) Schedulers(namespace string) v1alpha1.SchedulerInterface
func (*FakeArbiterV1alpha1) Scores ¶
func (c *FakeArbiterV1alpha1) Scores(namespace string) v1alpha1.ScoreInterface
type FakeObservabilityActionPolicies ¶
type FakeObservabilityActionPolicies struct { Fake *FakeArbiterV1alpha1 // contains filtered or unexported fields }
FakeObservabilityActionPolicies implements ObservabilityActionPolicyInterface
func (*FakeObservabilityActionPolicies) Create ¶
func (c *FakeObservabilityActionPolicies) Create(ctx context.Context, observabilityActionPolicy *v1alpha1.ObservabilityActionPolicy, opts v1.CreateOptions) (result *v1alpha1.ObservabilityActionPolicy, err error)
Create takes the representation of a observabilityActionPolicy and creates it. Returns the server's representation of the observabilityActionPolicy, and an error, if there is any.
func (*FakeObservabilityActionPolicies) Delete ¶
func (c *FakeObservabilityActionPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the observabilityActionPolicy and deletes it. Returns an error if one occurs.
func (*FakeObservabilityActionPolicies) DeleteCollection ¶
func (c *FakeObservabilityActionPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeObservabilityActionPolicies) Get ¶
func (c *FakeObservabilityActionPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ObservabilityActionPolicy, err error)
Get takes name of the observabilityActionPolicy, and returns the corresponding observabilityActionPolicy object, and an error if there is any.
func (*FakeObservabilityActionPolicies) List ¶
func (c *FakeObservabilityActionPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ObservabilityActionPolicyList, err error)
List takes label and field selectors, and returns the list of ObservabilityActionPolicies that match those selectors.
func (*FakeObservabilityActionPolicies) Patch ¶
func (c *FakeObservabilityActionPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ObservabilityActionPolicy, err error)
Patch applies the patch and returns the patched observabilityActionPolicy.
func (*FakeObservabilityActionPolicies) Update ¶
func (c *FakeObservabilityActionPolicies) Update(ctx context.Context, observabilityActionPolicy *v1alpha1.ObservabilityActionPolicy, opts v1.UpdateOptions) (result *v1alpha1.ObservabilityActionPolicy, err error)
Update takes the representation of a observabilityActionPolicy and updates it. Returns the server's representation of the observabilityActionPolicy, and an error, if there is any.
func (*FakeObservabilityActionPolicies) Watch ¶
func (c *FakeObservabilityActionPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested observabilityActionPolicies.
type FakeObservabilityIndicants ¶
type FakeObservabilityIndicants struct { Fake *FakeArbiterV1alpha1 // contains filtered or unexported fields }
FakeObservabilityIndicants implements ObservabilityIndicantInterface
func (*FakeObservabilityIndicants) Create ¶
func (c *FakeObservabilityIndicants) Create(ctx context.Context, observabilityIndicant *v1alpha1.ObservabilityIndicant, opts v1.CreateOptions) (result *v1alpha1.ObservabilityIndicant, err error)
Create takes the representation of a observabilityIndicant and creates it. Returns the server's representation of the observabilityIndicant, and an error, if there is any.
func (*FakeObservabilityIndicants) Delete ¶
func (c *FakeObservabilityIndicants) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the observabilityIndicant and deletes it. Returns an error if one occurs.
func (*FakeObservabilityIndicants) DeleteCollection ¶
func (c *FakeObservabilityIndicants) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeObservabilityIndicants) Get ¶
func (c *FakeObservabilityIndicants) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ObservabilityIndicant, err error)
Get takes name of the observabilityIndicant, and returns the corresponding observabilityIndicant object, and an error if there is any.
func (*FakeObservabilityIndicants) List ¶
func (c *FakeObservabilityIndicants) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ObservabilityIndicantList, err error)
List takes label and field selectors, and returns the list of ObservabilityIndicants that match those selectors.
func (*FakeObservabilityIndicants) Patch ¶
func (c *FakeObservabilityIndicants) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ObservabilityIndicant, err error)
Patch applies the patch and returns the patched observabilityIndicant.
func (*FakeObservabilityIndicants) Update ¶
func (c *FakeObservabilityIndicants) Update(ctx context.Context, observabilityIndicant *v1alpha1.ObservabilityIndicant, opts v1.UpdateOptions) (result *v1alpha1.ObservabilityIndicant, err error)
Update takes the representation of a observabilityIndicant and updates it. Returns the server's representation of the observabilityIndicant, and an error, if there is any.
func (*FakeObservabilityIndicants) Watch ¶
func (c *FakeObservabilityIndicants) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested observabilityIndicants.
type FakeSchedulers ¶
type FakeSchedulers struct { Fake *FakeArbiterV1alpha1 // contains filtered or unexported fields }
FakeSchedulers implements SchedulerInterface
func (*FakeSchedulers) Create ¶
func (c *FakeSchedulers) Create(ctx context.Context, scheduler *v1alpha1.Scheduler, opts v1.CreateOptions) (result *v1alpha1.Scheduler, err error)
Create takes the representation of a scheduler and creates it. Returns the server's representation of the scheduler, and an error, if there is any.
func (*FakeSchedulers) Delete ¶
func (c *FakeSchedulers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the scheduler and deletes it. Returns an error if one occurs.
func (*FakeSchedulers) DeleteCollection ¶
func (c *FakeSchedulers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSchedulers) Get ¶
func (c *FakeSchedulers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Scheduler, err error)
Get takes name of the scheduler, and returns the corresponding scheduler object, and an error if there is any.
func (*FakeSchedulers) List ¶
func (c *FakeSchedulers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SchedulerList, err error)
List takes label and field selectors, and returns the list of Schedulers that match those selectors.
func (*FakeSchedulers) Patch ¶
func (c *FakeSchedulers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Scheduler, err error)
Patch applies the patch and returns the patched scheduler.
func (*FakeSchedulers) Update ¶
func (c *FakeSchedulers) Update(ctx context.Context, scheduler *v1alpha1.Scheduler, opts v1.UpdateOptions) (result *v1alpha1.Scheduler, err error)
Update takes the representation of a scheduler and updates it. Returns the server's representation of the scheduler, and an error, if there is any.
func (*FakeSchedulers) Watch ¶
func (c *FakeSchedulers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested schedulers.
type FakeScores ¶
type FakeScores struct { Fake *FakeArbiterV1alpha1 // contains filtered or unexported fields }
FakeScores implements ScoreInterface
func (*FakeScores) Create ¶
func (c *FakeScores) Create(ctx context.Context, score *v1alpha1.Score, opts v1.CreateOptions) (result *v1alpha1.Score, err error)
Create takes the representation of a score and creates it. Returns the server's representation of the score, and an error, if there is any.
func (*FakeScores) Delete ¶
func (c *FakeScores) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the score and deletes it. Returns an error if one occurs.
func (*FakeScores) DeleteCollection ¶
func (c *FakeScores) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeScores) Get ¶
func (c *FakeScores) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Score, err error)
Get takes name of the score, and returns the corresponding score object, and an error if there is any.
func (*FakeScores) List ¶
func (c *FakeScores) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ScoreList, err error)
List takes label and field selectors, and returns the list of Scores that match those selectors.
func (*FakeScores) Patch ¶
func (c *FakeScores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Score, err error)
Patch applies the patch and returns the patched score.
func (*FakeScores) Update ¶
func (c *FakeScores) Update(ctx context.Context, score *v1alpha1.Score, opts v1.UpdateOptions) (result *v1alpha1.Score, err error)
Update takes the representation of a score and updates it. Returns the server's representation of the score, and an error, if there is any.
func (*FakeScores) UpdateStatus ¶
func (c *FakeScores) UpdateStatus(ctx context.Context, score *v1alpha1.Score, opts v1.UpdateOptions) (*v1alpha1.Score, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeScores) Watch ¶
func (c *FakeScores) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested scores.