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 FakeCloudIdentityGroups

type FakeCloudIdentityGroups struct {
	Fake *FakeCloudidentityV1beta1
	// contains filtered or unexported fields
}

FakeCloudIdentityGroups implements CloudIdentityGroupInterface

func (*FakeCloudIdentityGroups) Create

func (c *FakeCloudIdentityGroups) Create(ctx context.Context, cloudIdentityGroup *v1beta1.CloudIdentityGroup, opts v1.CreateOptions) (result *v1beta1.CloudIdentityGroup, err error)

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

func (*FakeCloudIdentityGroups) Delete

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

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

func (*FakeCloudIdentityGroups) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCloudIdentityGroups) Get

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

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

func (*FakeCloudIdentityGroups) List

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

func (*FakeCloudIdentityGroups) Patch

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

Patch applies the patch and returns the patched cloudIdentityGroup.

func (*FakeCloudIdentityGroups) Update

func (c *FakeCloudIdentityGroups) Update(ctx context.Context, cloudIdentityGroup *v1beta1.CloudIdentityGroup, opts v1.UpdateOptions) (result *v1beta1.CloudIdentityGroup, err error)

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

func (*FakeCloudIdentityGroups) UpdateStatus

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

func (*FakeCloudIdentityGroups) Watch

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

type FakeCloudIdentityMemberships

type FakeCloudIdentityMemberships struct {
	Fake *FakeCloudidentityV1beta1
	// contains filtered or unexported fields
}

FakeCloudIdentityMemberships implements CloudIdentityMembershipInterface

func (*FakeCloudIdentityMemberships) Create

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

func (*FakeCloudIdentityMemberships) Delete

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

func (*FakeCloudIdentityMemberships) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCloudIdentityMemberships) Get

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

func (*FakeCloudIdentityMemberships) List

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

func (*FakeCloudIdentityMemberships) Patch

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

Patch applies the patch and returns the patched cloudIdentityMembership.

func (*FakeCloudIdentityMemberships) Update

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

func (*FakeCloudIdentityMemberships) UpdateStatus

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

func (*FakeCloudIdentityMemberships) Watch

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

type FakeCloudidentityV1beta1

type FakeCloudidentityV1beta1 struct {
	*testing.Fake
}

func (*FakeCloudidentityV1beta1) CloudIdentityGroups

func (c *FakeCloudidentityV1beta1) CloudIdentityGroups(namespace string) v1beta1.CloudIdentityGroupInterface

func (*FakeCloudidentityV1beta1) CloudIdentityMemberships

func (c *FakeCloudidentityV1beta1) CloudIdentityMemberships(namespace string) v1beta1.CloudIdentityMembershipInterface

func (*FakeCloudidentityV1beta1) RESTClient

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