fake

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2023 License: Apache-2.0 Imports: 10 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 FakeAutoscalingV1alpha1

type FakeAutoscalingV1alpha1 struct {
	*testing.Fake
}

func (*FakeAutoscalingV1alpha1) EffectiveHorizontalPodAutoscalers

func (c *FakeAutoscalingV1alpha1) EffectiveHorizontalPodAutoscalers(namespace string) v1alpha1.EffectiveHorizontalPodAutoscalerInterface

func (*FakeAutoscalingV1alpha1) EffectiveVerticalPodAutoscalers

func (c *FakeAutoscalingV1alpha1) EffectiveVerticalPodAutoscalers(namespace string) v1alpha1.EffectiveVerticalPodAutoscalerInterface

func (*FakeAutoscalingV1alpha1) RESTClient

func (c *FakeAutoscalingV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeAutoscalingV1alpha1) Substitutes

func (c *FakeAutoscalingV1alpha1) Substitutes(namespace string) v1alpha1.SubstituteInterface

type FakeEffectiveHorizontalPodAutoscalers

type FakeEffectiveHorizontalPodAutoscalers struct {
	Fake *FakeAutoscalingV1alpha1
	// contains filtered or unexported fields
}

FakeEffectiveHorizontalPodAutoscalers implements EffectiveHorizontalPodAutoscalerInterface

func (*FakeEffectiveHorizontalPodAutoscalers) Create

Create takes the representation of a effectiveHorizontalPodAutoscaler and creates it. Returns the server's representation of the effectiveHorizontalPodAutoscaler, and an error, if there is any.

func (*FakeEffectiveHorizontalPodAutoscalers) Delete

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

func (*FakeEffectiveHorizontalPodAutoscalers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEffectiveHorizontalPodAutoscalers) Get

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

func (*FakeEffectiveHorizontalPodAutoscalers) List

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

func (*FakeEffectiveHorizontalPodAutoscalers) Patch

Patch applies the patch and returns the patched effectiveHorizontalPodAutoscaler.

func (*FakeEffectiveHorizontalPodAutoscalers) Update

Update takes the representation of a effectiveHorizontalPodAutoscaler and updates it. Returns the server's representation of the effectiveHorizontalPodAutoscaler, and an error, if there is any.

func (*FakeEffectiveHorizontalPodAutoscalers) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeEffectiveHorizontalPodAutoscalers) Watch

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

type FakeEffectiveVerticalPodAutoscalers

type FakeEffectiveVerticalPodAutoscalers struct {
	Fake *FakeAutoscalingV1alpha1
	// contains filtered or unexported fields
}

FakeEffectiveVerticalPodAutoscalers implements EffectiveVerticalPodAutoscalerInterface

func (*FakeEffectiveVerticalPodAutoscalers) Create

Create takes the representation of a effectiveVerticalPodAutoscaler and creates it. Returns the server's representation of the effectiveVerticalPodAutoscaler, and an error, if there is any.

func (*FakeEffectiveVerticalPodAutoscalers) Delete

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

func (*FakeEffectiveVerticalPodAutoscalers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEffectiveVerticalPodAutoscalers) Get

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

func (*FakeEffectiveVerticalPodAutoscalers) List

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

func (*FakeEffectiveVerticalPodAutoscalers) Patch

func (c *FakeEffectiveVerticalPodAutoscalers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EffectiveVerticalPodAutoscaler, err error)

Patch applies the patch and returns the patched effectiveVerticalPodAutoscaler.

func (*FakeEffectiveVerticalPodAutoscalers) Update

Update takes the representation of a effectiveVerticalPodAutoscaler and updates it. Returns the server's representation of the effectiveVerticalPodAutoscaler, and an error, if there is any.

func (*FakeEffectiveVerticalPodAutoscalers) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeEffectiveVerticalPodAutoscalers) Watch

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

type FakeSubstitutes

type FakeSubstitutes struct {
	Fake *FakeAutoscalingV1alpha1
	// contains filtered or unexported fields
}

FakeSubstitutes implements SubstituteInterface

func (*FakeSubstitutes) Create

func (c *FakeSubstitutes) Create(ctx context.Context, substitute *v1alpha1.Substitute, opts v1.CreateOptions) (result *v1alpha1.Substitute, err error)

Create takes the representation of a substitute and creates it. Returns the server's representation of the substitute, and an error, if there is any.

func (*FakeSubstitutes) Delete

func (c *FakeSubstitutes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeSubstitutes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSubstitutes) Get

func (c *FakeSubstitutes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Substitute, err error)

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

func (*FakeSubstitutes) List

func (c *FakeSubstitutes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SubstituteList, err error)

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

func (*FakeSubstitutes) Patch

func (c *FakeSubstitutes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Substitute, err error)

Patch applies the patch and returns the patched substitute.

func (*FakeSubstitutes) Update

func (c *FakeSubstitutes) Update(ctx context.Context, substitute *v1alpha1.Substitute, opts v1.UpdateOptions) (result *v1alpha1.Substitute, err error)

Update takes the representation of a substitute and updates it. Returns the server's representation of the substitute, and an error, if there is any.

func (*FakeSubstitutes) UpdateStatus

func (c *FakeSubstitutes) UpdateStatus(ctx context.Context, substitute *v1alpha1.Substitute, opts v1.UpdateOptions) (*v1alpha1.Substitute, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeSubstitutes) Watch

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL