fake

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: Apache-2.0 Imports: 12 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 FakeCAPApplicationVersions

type FakeCAPApplicationVersions struct {
	Fake *FakeSmeV1alpha1
	// contains filtered or unexported fields
}

FakeCAPApplicationVersions implements CAPApplicationVersionInterface

func (*FakeCAPApplicationVersions) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied cAPApplicationVersion.

func (*FakeCAPApplicationVersions) ApplyStatus

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

func (*FakeCAPApplicationVersions) Create

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

func (*FakeCAPApplicationVersions) Delete

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

func (*FakeCAPApplicationVersions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCAPApplicationVersions) Get

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

func (*FakeCAPApplicationVersions) List

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

func (*FakeCAPApplicationVersions) Patch

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

Patch applies the patch and returns the patched cAPApplicationVersion.

func (*FakeCAPApplicationVersions) Update

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

func (*FakeCAPApplicationVersions) UpdateStatus

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

func (*FakeCAPApplicationVersions) Watch

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

type FakeCAPApplications

type FakeCAPApplications struct {
	Fake *FakeSmeV1alpha1
	// contains filtered or unexported fields
}

FakeCAPApplications implements CAPApplicationInterface

func (*FakeCAPApplications) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied cAPApplication.

func (*FakeCAPApplications) ApplyStatus

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

func (*FakeCAPApplications) Create

func (c *FakeCAPApplications) Create(ctx context.Context, cAPApplication *v1alpha1.CAPApplication, opts v1.CreateOptions) (result *v1alpha1.CAPApplication, err error)

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

func (*FakeCAPApplications) Delete

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

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

func (*FakeCAPApplications) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCAPApplications) Get

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

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

func (*FakeCAPApplications) List

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

func (*FakeCAPApplications) Patch

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

Patch applies the patch and returns the patched cAPApplication.

func (*FakeCAPApplications) Update

func (c *FakeCAPApplications) Update(ctx context.Context, cAPApplication *v1alpha1.CAPApplication, opts v1.UpdateOptions) (result *v1alpha1.CAPApplication, err error)

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

func (*FakeCAPApplications) UpdateStatus

func (c *FakeCAPApplications) UpdateStatus(ctx context.Context, cAPApplication *v1alpha1.CAPApplication, opts v1.UpdateOptions) (*v1alpha1.CAPApplication, error)

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

func (*FakeCAPApplications) Watch

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

type FakeCAPTenantOperations

type FakeCAPTenantOperations struct {
	Fake *FakeSmeV1alpha1
	// contains filtered or unexported fields
}

FakeCAPTenantOperations implements CAPTenantOperationInterface

func (*FakeCAPTenantOperations) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied cAPTenantOperation.

func (*FakeCAPTenantOperations) ApplyStatus

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

func (*FakeCAPTenantOperations) Create

func (c *FakeCAPTenantOperations) Create(ctx context.Context, cAPTenantOperation *v1alpha1.CAPTenantOperation, opts v1.CreateOptions) (result *v1alpha1.CAPTenantOperation, err error)

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

func (*FakeCAPTenantOperations) Delete

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

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

func (*FakeCAPTenantOperations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCAPTenantOperations) Get

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

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

func (*FakeCAPTenantOperations) List

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

func (*FakeCAPTenantOperations) Patch

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

Patch applies the patch and returns the patched cAPTenantOperation.

func (*FakeCAPTenantOperations) Update

func (c *FakeCAPTenantOperations) Update(ctx context.Context, cAPTenantOperation *v1alpha1.CAPTenantOperation, opts v1.UpdateOptions) (result *v1alpha1.CAPTenantOperation, err error)

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

func (*FakeCAPTenantOperations) UpdateStatus

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

func (*FakeCAPTenantOperations) Watch

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

type FakeCAPTenants

type FakeCAPTenants struct {
	Fake *FakeSmeV1alpha1
	// contains filtered or unexported fields
}

FakeCAPTenants implements CAPTenantInterface

func (*FakeCAPTenants) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied cAPTenant.

func (*FakeCAPTenants) ApplyStatus

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

func (*FakeCAPTenants) Create

func (c *FakeCAPTenants) Create(ctx context.Context, cAPTenant *v1alpha1.CAPTenant, opts v1.CreateOptions) (result *v1alpha1.CAPTenant, err error)

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

func (*FakeCAPTenants) Delete

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

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

func (*FakeCAPTenants) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCAPTenants) Get

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

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

func (*FakeCAPTenants) List

func (c *FakeCAPTenants) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CAPTenantList, err error)

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

func (*FakeCAPTenants) Patch

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

Patch applies the patch and returns the patched cAPTenant.

func (*FakeCAPTenants) Update

func (c *FakeCAPTenants) Update(ctx context.Context, cAPTenant *v1alpha1.CAPTenant, opts v1.UpdateOptions) (result *v1alpha1.CAPTenant, err error)

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

func (*FakeCAPTenants) UpdateStatus

func (c *FakeCAPTenants) UpdateStatus(ctx context.Context, cAPTenant *v1alpha1.CAPTenant, opts v1.UpdateOptions) (*v1alpha1.CAPTenant, error)

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

func (*FakeCAPTenants) Watch

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

type FakeSmeV1alpha1

type FakeSmeV1alpha1 struct {
	*testing.Fake
}

func (*FakeSmeV1alpha1) CAPApplicationVersions

func (c *FakeSmeV1alpha1) CAPApplicationVersions(namespace string) v1alpha1.CAPApplicationVersionInterface

func (*FakeSmeV1alpha1) CAPApplications

func (c *FakeSmeV1alpha1) CAPApplications(namespace string) v1alpha1.CAPApplicationInterface

func (*FakeSmeV1alpha1) CAPTenantOperations

func (c *FakeSmeV1alpha1) CAPTenantOperations(namespace string) v1alpha1.CAPTenantOperationInterface

func (*FakeSmeV1alpha1) CAPTenants

func (c *FakeSmeV1alpha1) CAPTenants(namespace string) v1alpha1.CAPTenantInterface

func (*FakeSmeV1alpha1) RESTClient

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