fake

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 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 FakeEnsuranceV1alpha1

type FakeEnsuranceV1alpha1 struct {
	*testing.Fake
}

func (*FakeEnsuranceV1alpha1) NodeQOSEnsurancePolicies

func (c *FakeEnsuranceV1alpha1) NodeQOSEnsurancePolicies(namespace string) v1alpha1.NodeQOSEnsurancePolicyInterface

func (*FakeEnsuranceV1alpha1) PodQOSEnsurancePolicies

func (c *FakeEnsuranceV1alpha1) PodQOSEnsurancePolicies(namespace string) v1alpha1.PodQOSEnsurancePolicyInterface

func (*FakeEnsuranceV1alpha1) RESTClient

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

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

type FakeNodeQOSEnsurancePolicies

type FakeNodeQOSEnsurancePolicies struct {
	Fake *FakeEnsuranceV1alpha1
	// contains filtered or unexported fields
}

FakeNodeQOSEnsurancePolicies implements NodeQOSEnsurancePolicyInterface

func (*FakeNodeQOSEnsurancePolicies) Create

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

func (*FakeNodeQOSEnsurancePolicies) Delete

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

func (*FakeNodeQOSEnsurancePolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNodeQOSEnsurancePolicies) Get

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

func (*FakeNodeQOSEnsurancePolicies) List

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

func (*FakeNodeQOSEnsurancePolicies) Patch

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

Patch applies the patch and returns the patched nodeQOSEnsurancePolicy.

func (*FakeNodeQOSEnsurancePolicies) Update

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

func (*FakeNodeQOSEnsurancePolicies) UpdateStatus

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

func (*FakeNodeQOSEnsurancePolicies) Watch

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

type FakePodQOSEnsurancePolicies

type FakePodQOSEnsurancePolicies struct {
	Fake *FakeEnsuranceV1alpha1
	// contains filtered or unexported fields
}

FakePodQOSEnsurancePolicies implements PodQOSEnsurancePolicyInterface

func (*FakePodQOSEnsurancePolicies) Create

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

func (*FakePodQOSEnsurancePolicies) Delete

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

func (*FakePodQOSEnsurancePolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePodQOSEnsurancePolicies) Get

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

func (*FakePodQOSEnsurancePolicies) List

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

func (*FakePodQOSEnsurancePolicies) Patch

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

Patch applies the patch and returns the patched podQOSEnsurancePolicy.

func (*FakePodQOSEnsurancePolicies) Update

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

func (*FakePodQOSEnsurancePolicies) UpdateStatus

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

func (*FakePodQOSEnsurancePolicies) Watch

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

Jump to

Keyboard shortcuts

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