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 FakeClusterResourceProtectionProfiles

type FakeClusterResourceProtectionProfiles struct {
	Fake *FakeResearchV1alpha1
}

FakeClusterResourceProtectionProfiles implements ClusterResourceProtectionProfileInterface

func (*FakeClusterResourceProtectionProfiles) Create

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

func (*FakeClusterResourceProtectionProfiles) Delete

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

func (*FakeClusterResourceProtectionProfiles) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterResourceProtectionProfiles) Get

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

func (*FakeClusterResourceProtectionProfiles) List

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

func (*FakeClusterResourceProtectionProfiles) Patch

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

Patch applies the patch and returns the patched clusterResourceProtectionProfile.

func (*FakeClusterResourceProtectionProfiles) Update

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

func (*FakeClusterResourceProtectionProfiles) Watch

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

type FakeResearchV1alpha1

type FakeResearchV1alpha1 struct {
	*testing.Fake
}

func (*FakeResearchV1alpha1) ClusterResourceProtectionProfiles

func (c *FakeResearchV1alpha1) ClusterResourceProtectionProfiles() v1alpha1.ClusterResourceProtectionProfileInterface

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.

Jump to

Keyboard shortcuts

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