fake

package
v1.93.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more 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 FakeClusterOpenIDConnectPresets

type FakeClusterOpenIDConnectPresets struct {
	Fake *FakeSettingsV1alpha1
}

FakeClusterOpenIDConnectPresets implements ClusterOpenIDConnectPresetInterface

func (*FakeClusterOpenIDConnectPresets) Create

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

func (*FakeClusterOpenIDConnectPresets) Delete

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

func (*FakeClusterOpenIDConnectPresets) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterOpenIDConnectPresets) Get

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

func (*FakeClusterOpenIDConnectPresets) List

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

func (*FakeClusterOpenIDConnectPresets) Patch

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

Patch applies the patch and returns the patched clusterOpenIDConnectPreset.

func (*FakeClusterOpenIDConnectPresets) Update

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

func (*FakeClusterOpenIDConnectPresets) Watch

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

type FakeOpenIDConnectPresets

type FakeOpenIDConnectPresets struct {
	Fake *FakeSettingsV1alpha1
	// contains filtered or unexported fields
}

FakeOpenIDConnectPresets implements OpenIDConnectPresetInterface

func (*FakeOpenIDConnectPresets) Create

func (c *FakeOpenIDConnectPresets) Create(ctx context.Context, openIDConnectPreset *v1alpha1.OpenIDConnectPreset, opts v1.CreateOptions) (result *v1alpha1.OpenIDConnectPreset, err error)

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

func (*FakeOpenIDConnectPresets) Delete

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

func (*FakeOpenIDConnectPresets) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeOpenIDConnectPresets) Get

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

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

func (*FakeOpenIDConnectPresets) List

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

func (*FakeOpenIDConnectPresets) Patch

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

Patch applies the patch and returns the patched openIDConnectPreset.

func (*FakeOpenIDConnectPresets) Update

func (c *FakeOpenIDConnectPresets) Update(ctx context.Context, openIDConnectPreset *v1alpha1.OpenIDConnectPreset, opts v1.UpdateOptions) (result *v1alpha1.OpenIDConnectPreset, err error)

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

func (*FakeOpenIDConnectPresets) Watch

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

type FakeSettingsV1alpha1

type FakeSettingsV1alpha1 struct {
	*testing.Fake
}

func (*FakeSettingsV1alpha1) ClusterOpenIDConnectPresets

func (c *FakeSettingsV1alpha1) ClusterOpenIDConnectPresets() v1alpha1.ClusterOpenIDConnectPresetInterface

func (*FakeSettingsV1alpha1) OpenIDConnectPresets

func (c *FakeSettingsV1alpha1) OpenIDConnectPresets(namespace string) v1alpha1.OpenIDConnectPresetInterface

func (*FakeSettingsV1alpha1) RESTClient

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