fake

package
v0.0.0-...-320551d Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: Apache-2.0 Imports: 9 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 FakeResearchV1alpha1

type FakeResearchV1alpha1 struct {
	*testing.Fake
}

func (*FakeResearchV1alpha1) RESTClient

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

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

func (*FakeResearchV1alpha1) ResourceProtectionProfiles

func (c *FakeResearchV1alpha1) ResourceProtectionProfiles(namespace string) v1alpha1.ResourceProtectionProfileInterface

type FakeResourceProtectionProfiles

type FakeResourceProtectionProfiles struct {
	Fake *FakeResearchV1alpha1
	// contains filtered or unexported fields
}

FakeResourceProtectionProfiles implements ResourceProtectionProfileInterface

func (*FakeResourceProtectionProfiles) Create

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

func (*FakeResourceProtectionProfiles) Delete

func (c *FakeResourceProtectionProfiles) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeResourceProtectionProfiles) DeleteCollection

func (c *FakeResourceProtectionProfiles) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeResourceProtectionProfiles) Get

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

func (*FakeResourceProtectionProfiles) List

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

func (*FakeResourceProtectionProfiles) Patch

func (c *FakeResourceProtectionProfiles) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ResourceProtectionProfile, err error)

Patch applies the patch and returns the patched resourceProtectionProfile.

func (*FakeResourceProtectionProfiles) Update

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

func (*FakeResourceProtectionProfiles) Watch

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

Jump to

Keyboard shortcuts

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