fake

package
v1.116.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 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 FakeIAPBrands

type FakeIAPBrands struct {
	Fake *FakeIapV1beta1
	// contains filtered or unexported fields
}

FakeIAPBrands implements IAPBrandInterface

func (*FakeIAPBrands) Create

func (c *FakeIAPBrands) Create(ctx context.Context, iAPBrand *v1beta1.IAPBrand, opts v1.CreateOptions) (result *v1beta1.IAPBrand, err error)

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

func (*FakeIAPBrands) Delete

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

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

func (*FakeIAPBrands) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeIAPBrands) Get

func (c *FakeIAPBrands) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.IAPBrand, err error)

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

func (*FakeIAPBrands) List

func (c *FakeIAPBrands) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.IAPBrandList, err error)

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

func (*FakeIAPBrands) Patch

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

Patch applies the patch and returns the patched iAPBrand.

func (*FakeIAPBrands) Update

func (c *FakeIAPBrands) Update(ctx context.Context, iAPBrand *v1beta1.IAPBrand, opts v1.UpdateOptions) (result *v1beta1.IAPBrand, err error)

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

func (*FakeIAPBrands) UpdateStatus

func (c *FakeIAPBrands) UpdateStatus(ctx context.Context, iAPBrand *v1beta1.IAPBrand, opts v1.UpdateOptions) (*v1beta1.IAPBrand, error)

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

func (*FakeIAPBrands) Watch

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

type FakeIAPIdentityAwareProxyClients

type FakeIAPIdentityAwareProxyClients struct {
	Fake *FakeIapV1beta1
	// contains filtered or unexported fields
}

FakeIAPIdentityAwareProxyClients implements IAPIdentityAwareProxyClientInterface

func (*FakeIAPIdentityAwareProxyClients) Create

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

func (*FakeIAPIdentityAwareProxyClients) Delete

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

func (*FakeIAPIdentityAwareProxyClients) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeIAPIdentityAwareProxyClients) Get

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

func (*FakeIAPIdentityAwareProxyClients) List

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

func (*FakeIAPIdentityAwareProxyClients) Patch

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

Patch applies the patch and returns the patched iAPIdentityAwareProxyClient.

func (*FakeIAPIdentityAwareProxyClients) Update

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

func (*FakeIAPIdentityAwareProxyClients) UpdateStatus

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

func (*FakeIAPIdentityAwareProxyClients) Watch

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

type FakeIapV1beta1

type FakeIapV1beta1 struct {
	*testing.Fake
}

func (*FakeIapV1beta1) IAPBrands

func (c *FakeIapV1beta1) IAPBrands(namespace string) v1beta1.IAPBrandInterface

func (*FakeIapV1beta1) IAPIdentityAwareProxyClients

func (c *FakeIapV1beta1) IAPIdentityAwareProxyClients(namespace string) v1beta1.IAPIdentityAwareProxyClientInterface

func (*FakeIapV1beta1) RESTClient

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