fake

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: Apache-2.0 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 FakeIAMIdentityMappings

type FakeIAMIdentityMappings struct {
	Fake *FakeIamauthenticatorV1alpha1
}

FakeIAMIdentityMappings implements IAMIdentityMappingInterface

func (*FakeIAMIdentityMappings) Create

func (c *FakeIAMIdentityMappings) Create(ctx context.Context, iAMIdentityMapping *v1alpha1.IAMIdentityMapping, opts v1.CreateOptions) (result *v1alpha1.IAMIdentityMapping, err error)

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

func (*FakeIAMIdentityMappings) Delete

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

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

func (*FakeIAMIdentityMappings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeIAMIdentityMappings) Get

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

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

func (*FakeIAMIdentityMappings) List

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

func (*FakeIAMIdentityMappings) Patch

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

Patch applies the patch and returns the patched iAMIdentityMapping.

func (*FakeIAMIdentityMappings) Update

func (c *FakeIAMIdentityMappings) Update(ctx context.Context, iAMIdentityMapping *v1alpha1.IAMIdentityMapping, opts v1.UpdateOptions) (result *v1alpha1.IAMIdentityMapping, err error)

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

func (*FakeIAMIdentityMappings) UpdateStatus

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

func (*FakeIAMIdentityMappings) Watch

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

type FakeIamauthenticatorV1alpha1

type FakeIamauthenticatorV1alpha1 struct {
	*testing.Fake
}

func (*FakeIamauthenticatorV1alpha1) IAMIdentityMappings

func (*FakeIamauthenticatorV1alpha1) RESTClient

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