fake

package
v0.1.8-ubi.6 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2022 License: MIT 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 FakeProxyProfiles

type FakeProxyProfiles struct {
	Fake *FakeProxyprofileV1alpha1
}

FakeProxyProfiles implements ProxyProfileInterface

func (*FakeProxyProfiles) Create

func (c *FakeProxyProfiles) Create(ctx context.Context, proxyProfile *v1alpha1.ProxyProfile, opts v1.CreateOptions) (result *v1alpha1.ProxyProfile, err error)

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

func (*FakeProxyProfiles) Delete

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

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

func (*FakeProxyProfiles) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeProxyProfiles) Get

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

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

func (*FakeProxyProfiles) List

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

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

func (*FakeProxyProfiles) Patch

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

Patch applies the patch and returns the patched proxyProfile.

func (*FakeProxyProfiles) Update

func (c *FakeProxyProfiles) Update(ctx context.Context, proxyProfile *v1alpha1.ProxyProfile, opts v1.UpdateOptions) (result *v1alpha1.ProxyProfile, err error)

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

func (*FakeProxyProfiles) UpdateStatus

func (c *FakeProxyProfiles) UpdateStatus(ctx context.Context, proxyProfile *v1alpha1.ProxyProfile, opts v1.UpdateOptions) (*v1alpha1.ProxyProfile, error)

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

func (*FakeProxyProfiles) Watch

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

type FakeProxyprofileV1alpha1

type FakeProxyprofileV1alpha1 struct {
	*testing.Fake
}

func (*FakeProxyprofileV1alpha1) ProxyProfiles

func (*FakeProxyprofileV1alpha1) RESTClient

func (c *FakeProxyprofileV1alpha1) 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