Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeRolloutOrchestrators
- func (c *FakeRolloutOrchestrators) Create(ctx context.Context, rolloutOrchestrator *v1.RolloutOrchestrator, ...) (result *v1.RolloutOrchestrator, err error)
- func (c *FakeRolloutOrchestrators) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeRolloutOrchestrators) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeRolloutOrchestrators) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.RolloutOrchestrator, err error)
- func (c *FakeRolloutOrchestrators) List(ctx context.Context, opts metav1.ListOptions) (result *v1.RolloutOrchestratorList, err error)
- func (c *FakeRolloutOrchestrators) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.RolloutOrchestrator, err error)
- func (c *FakeRolloutOrchestrators) Update(ctx context.Context, rolloutOrchestrator *v1.RolloutOrchestrator, ...) (result *v1.RolloutOrchestrator, err error)
- func (c *FakeRolloutOrchestrators) UpdateStatus(ctx context.Context, rolloutOrchestrator *v1.RolloutOrchestrator, ...) (*v1.RolloutOrchestrator, error)
- func (c *FakeRolloutOrchestrators) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeServingV1
- type FakeStagePodAutoscalers
- func (c *FakeStagePodAutoscalers) Create(ctx context.Context, stagePodAutoscaler *v1.StagePodAutoscaler, ...) (result *v1.StagePodAutoscaler, err error)
- func (c *FakeStagePodAutoscalers) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeStagePodAutoscalers) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeStagePodAutoscalers) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.StagePodAutoscaler, err error)
- func (c *FakeStagePodAutoscalers) List(ctx context.Context, opts metav1.ListOptions) (result *v1.StagePodAutoscalerList, err error)
- func (c *FakeStagePodAutoscalers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.StagePodAutoscaler, err error)
- func (c *FakeStagePodAutoscalers) Update(ctx context.Context, stagePodAutoscaler *v1.StagePodAutoscaler, ...) (result *v1.StagePodAutoscaler, err error)
- func (c *FakeStagePodAutoscalers) UpdateStatus(ctx context.Context, stagePodAutoscaler *v1.StagePodAutoscaler, ...) (*v1.StagePodAutoscaler, error)
- func (c *FakeStagePodAutoscalers) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeRolloutOrchestrators ¶
type FakeRolloutOrchestrators struct { Fake *FakeServingV1 // contains filtered or unexported fields }
FakeRolloutOrchestrators implements RolloutOrchestratorInterface
func (*FakeRolloutOrchestrators) Create ¶
func (c *FakeRolloutOrchestrators) Create(ctx context.Context, rolloutOrchestrator *v1.RolloutOrchestrator, opts metav1.CreateOptions) (result *v1.RolloutOrchestrator, err error)
Create takes the representation of a rolloutOrchestrator and creates it. Returns the server's representation of the rolloutOrchestrator, and an error, if there is any.
func (*FakeRolloutOrchestrators) Delete ¶
func (c *FakeRolloutOrchestrators) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the rolloutOrchestrator and deletes it. Returns an error if one occurs.
func (*FakeRolloutOrchestrators) DeleteCollection ¶
func (c *FakeRolloutOrchestrators) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRolloutOrchestrators) Get ¶
func (c *FakeRolloutOrchestrators) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.RolloutOrchestrator, err error)
Get takes name of the rolloutOrchestrator, and returns the corresponding rolloutOrchestrator object, and an error if there is any.
func (*FakeRolloutOrchestrators) List ¶
func (c *FakeRolloutOrchestrators) List(ctx context.Context, opts metav1.ListOptions) (result *v1.RolloutOrchestratorList, err error)
List takes label and field selectors, and returns the list of RolloutOrchestrators that match those selectors.
func (*FakeRolloutOrchestrators) Patch ¶
func (c *FakeRolloutOrchestrators) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.RolloutOrchestrator, err error)
Patch applies the patch and returns the patched rolloutOrchestrator.
func (*FakeRolloutOrchestrators) Update ¶
func (c *FakeRolloutOrchestrators) Update(ctx context.Context, rolloutOrchestrator *v1.RolloutOrchestrator, opts metav1.UpdateOptions) (result *v1.RolloutOrchestrator, err error)
Update takes the representation of a rolloutOrchestrator and updates it. Returns the server's representation of the rolloutOrchestrator, and an error, if there is any.
func (*FakeRolloutOrchestrators) UpdateStatus ¶
func (c *FakeRolloutOrchestrators) UpdateStatus(ctx context.Context, rolloutOrchestrator *v1.RolloutOrchestrator, opts metav1.UpdateOptions) (*v1.RolloutOrchestrator, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRolloutOrchestrators) Watch ¶
func (c *FakeRolloutOrchestrators) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested rolloutOrchestrators.
type FakeServingV1 ¶
func (*FakeServingV1) RESTClient ¶
func (c *FakeServingV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeServingV1) RolloutOrchestrators ¶
func (c *FakeServingV1) RolloutOrchestrators(namespace string) v1.RolloutOrchestratorInterface
func (*FakeServingV1) StagePodAutoscalers ¶
func (c *FakeServingV1) StagePodAutoscalers(namespace string) v1.StagePodAutoscalerInterface
type FakeStagePodAutoscalers ¶
type FakeStagePodAutoscalers struct { Fake *FakeServingV1 // contains filtered or unexported fields }
FakeStagePodAutoscalers implements StagePodAutoscalerInterface
func (*FakeStagePodAutoscalers) Create ¶
func (c *FakeStagePodAutoscalers) Create(ctx context.Context, stagePodAutoscaler *v1.StagePodAutoscaler, opts metav1.CreateOptions) (result *v1.StagePodAutoscaler, err error)
Create takes the representation of a stagePodAutoscaler and creates it. Returns the server's representation of the stagePodAutoscaler, and an error, if there is any.
func (*FakeStagePodAutoscalers) Delete ¶
func (c *FakeStagePodAutoscalers) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the stagePodAutoscaler and deletes it. Returns an error if one occurs.
func (*FakeStagePodAutoscalers) DeleteCollection ¶
func (c *FakeStagePodAutoscalers) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeStagePodAutoscalers) Get ¶
func (c *FakeStagePodAutoscalers) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.StagePodAutoscaler, err error)
Get takes name of the stagePodAutoscaler, and returns the corresponding stagePodAutoscaler object, and an error if there is any.
func (*FakeStagePodAutoscalers) List ¶
func (c *FakeStagePodAutoscalers) List(ctx context.Context, opts metav1.ListOptions) (result *v1.StagePodAutoscalerList, err error)
List takes label and field selectors, and returns the list of StagePodAutoscalers that match those selectors.
func (*FakeStagePodAutoscalers) Patch ¶
func (c *FakeStagePodAutoscalers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.StagePodAutoscaler, err error)
Patch applies the patch and returns the patched stagePodAutoscaler.
func (*FakeStagePodAutoscalers) Update ¶
func (c *FakeStagePodAutoscalers) Update(ctx context.Context, stagePodAutoscaler *v1.StagePodAutoscaler, opts metav1.UpdateOptions) (result *v1.StagePodAutoscaler, err error)
Update takes the representation of a stagePodAutoscaler and updates it. Returns the server's representation of the stagePodAutoscaler, and an error, if there is any.
func (*FakeStagePodAutoscalers) UpdateStatus ¶
func (c *FakeStagePodAutoscalers) UpdateStatus(ctx context.Context, stagePodAutoscaler *v1.StagePodAutoscaler, opts metav1.UpdateOptions) (*v1.StagePodAutoscaler, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeStagePodAutoscalers) Watch ¶
func (c *FakeStagePodAutoscalers) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested stagePodAutoscalers.