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 FakeCloudAssetFolderFeeds

type FakeCloudAssetFolderFeeds struct {
	Fake *FakeCloudassetV1alpha1
	// contains filtered or unexported fields
}

FakeCloudAssetFolderFeeds implements CloudAssetFolderFeedInterface

func (*FakeCloudAssetFolderFeeds) Create

func (c *FakeCloudAssetFolderFeeds) Create(ctx context.Context, cloudAssetFolderFeed *v1alpha1.CloudAssetFolderFeed, opts v1.CreateOptions) (result *v1alpha1.CloudAssetFolderFeed, err error)

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

func (*FakeCloudAssetFolderFeeds) Delete

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

func (*FakeCloudAssetFolderFeeds) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCloudAssetFolderFeeds) Get

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

func (*FakeCloudAssetFolderFeeds) List

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

func (*FakeCloudAssetFolderFeeds) Patch

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

Patch applies the patch and returns the patched cloudAssetFolderFeed.

func (*FakeCloudAssetFolderFeeds) Update

func (c *FakeCloudAssetFolderFeeds) Update(ctx context.Context, cloudAssetFolderFeed *v1alpha1.CloudAssetFolderFeed, opts v1.UpdateOptions) (result *v1alpha1.CloudAssetFolderFeed, err error)

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

func (*FakeCloudAssetFolderFeeds) UpdateStatus

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

func (*FakeCloudAssetFolderFeeds) Watch

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

type FakeCloudAssetOrganizationFeeds

type FakeCloudAssetOrganizationFeeds struct {
	Fake *FakeCloudassetV1alpha1
	// contains filtered or unexported fields
}

FakeCloudAssetOrganizationFeeds implements CloudAssetOrganizationFeedInterface

func (*FakeCloudAssetOrganizationFeeds) Create

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

func (*FakeCloudAssetOrganizationFeeds) Delete

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

func (*FakeCloudAssetOrganizationFeeds) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCloudAssetOrganizationFeeds) Get

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

func (*FakeCloudAssetOrganizationFeeds) List

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

func (*FakeCloudAssetOrganizationFeeds) Patch

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

Patch applies the patch and returns the patched cloudAssetOrganizationFeed.

func (*FakeCloudAssetOrganizationFeeds) Update

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

func (*FakeCloudAssetOrganizationFeeds) UpdateStatus

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

func (*FakeCloudAssetOrganizationFeeds) Watch

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

type FakeCloudAssetProjectFeeds

type FakeCloudAssetProjectFeeds struct {
	Fake *FakeCloudassetV1alpha1
	// contains filtered or unexported fields
}

FakeCloudAssetProjectFeeds implements CloudAssetProjectFeedInterface

func (*FakeCloudAssetProjectFeeds) Create

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

func (*FakeCloudAssetProjectFeeds) Delete

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

func (*FakeCloudAssetProjectFeeds) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCloudAssetProjectFeeds) Get

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

func (*FakeCloudAssetProjectFeeds) List

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

func (*FakeCloudAssetProjectFeeds) Patch

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

Patch applies the patch and returns the patched cloudAssetProjectFeed.

func (*FakeCloudAssetProjectFeeds) Update

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

func (*FakeCloudAssetProjectFeeds) UpdateStatus

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

func (*FakeCloudAssetProjectFeeds) Watch

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

type FakeCloudassetV1alpha1

type FakeCloudassetV1alpha1 struct {
	*testing.Fake
}

func (*FakeCloudassetV1alpha1) CloudAssetFolderFeeds

func (c *FakeCloudassetV1alpha1) CloudAssetFolderFeeds(namespace string) v1alpha1.CloudAssetFolderFeedInterface

func (*FakeCloudassetV1alpha1) CloudAssetOrganizationFeeds

func (c *FakeCloudassetV1alpha1) CloudAssetOrganizationFeeds(namespace string) v1alpha1.CloudAssetOrganizationFeedInterface

func (*FakeCloudassetV1alpha1) CloudAssetProjectFeeds

func (c *FakeCloudassetV1alpha1) CloudAssetProjectFeeds(namespace string) v1alpha1.CloudAssetProjectFeedInterface

func (*FakeCloudassetV1alpha1) RESTClient

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