fake

package
v1.89.4 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 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 FakeBackupBuckets

type FakeBackupBuckets struct {
	Fake *FakeCore
}

FakeBackupBuckets implements BackupBucketInterface

func (*FakeBackupBuckets) Create

func (c *FakeBackupBuckets) Create(ctx context.Context, backupBucket *core.BackupBucket, opts v1.CreateOptions) (result *core.BackupBucket, err error)

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

func (*FakeBackupBuckets) Delete

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

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

func (*FakeBackupBuckets) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBackupBuckets) Get

func (c *FakeBackupBuckets) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.BackupBucket, err error)

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

func (*FakeBackupBuckets) List

func (c *FakeBackupBuckets) List(ctx context.Context, opts v1.ListOptions) (result *core.BackupBucketList, err error)

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

func (*FakeBackupBuckets) Patch

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

Patch applies the patch and returns the patched backupBucket.

func (*FakeBackupBuckets) Update

func (c *FakeBackupBuckets) Update(ctx context.Context, backupBucket *core.BackupBucket, opts v1.UpdateOptions) (result *core.BackupBucket, err error)

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

func (*FakeBackupBuckets) UpdateStatus

func (c *FakeBackupBuckets) UpdateStatus(ctx context.Context, backupBucket *core.BackupBucket, opts v1.UpdateOptions) (*core.BackupBucket, error)

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

func (*FakeBackupBuckets) Watch

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

type FakeBackupEntries

type FakeBackupEntries struct {
	Fake *FakeCore
	// contains filtered or unexported fields
}

FakeBackupEntries implements BackupEntryInterface

func (*FakeBackupEntries) Create

func (c *FakeBackupEntries) Create(ctx context.Context, backupEntry *core.BackupEntry, opts v1.CreateOptions) (result *core.BackupEntry, err error)

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

func (*FakeBackupEntries) Delete

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

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

func (*FakeBackupEntries) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBackupEntries) Get

func (c *FakeBackupEntries) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.BackupEntry, err error)

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

func (*FakeBackupEntries) List

func (c *FakeBackupEntries) List(ctx context.Context, opts v1.ListOptions) (result *core.BackupEntryList, err error)

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

func (*FakeBackupEntries) Patch

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

Patch applies the patch and returns the patched backupEntry.

func (*FakeBackupEntries) Update

func (c *FakeBackupEntries) Update(ctx context.Context, backupEntry *core.BackupEntry, opts v1.UpdateOptions) (result *core.BackupEntry, err error)

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

func (*FakeBackupEntries) UpdateStatus

func (c *FakeBackupEntries) UpdateStatus(ctx context.Context, backupEntry *core.BackupEntry, opts v1.UpdateOptions) (*core.BackupEntry, error)

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

func (*FakeBackupEntries) Watch

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

type FakeCloudProfiles added in v1.0.0

type FakeCloudProfiles struct {
	Fake *FakeCore
}

FakeCloudProfiles implements CloudProfileInterface

func (*FakeCloudProfiles) Create added in v1.0.0

func (c *FakeCloudProfiles) Create(ctx context.Context, cloudProfile *core.CloudProfile, opts v1.CreateOptions) (result *core.CloudProfile, err error)

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

func (*FakeCloudProfiles) Delete added in v1.0.0

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

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

func (*FakeCloudProfiles) DeleteCollection added in v1.0.0

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

DeleteCollection deletes a collection of objects.

func (*FakeCloudProfiles) Get added in v1.0.0

func (c *FakeCloudProfiles) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.CloudProfile, err error)

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

func (*FakeCloudProfiles) List added in v1.0.0

func (c *FakeCloudProfiles) List(ctx context.Context, opts v1.ListOptions) (result *core.CloudProfileList, err error)

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

func (*FakeCloudProfiles) Patch added in v1.0.0

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

Patch applies the patch and returns the patched cloudProfile.

func (*FakeCloudProfiles) Update added in v1.0.0

func (c *FakeCloudProfiles) Update(ctx context.Context, cloudProfile *core.CloudProfile, opts v1.UpdateOptions) (result *core.CloudProfile, err error)

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

func (*FakeCloudProfiles) Watch added in v1.0.0

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

type FakeControllerDeployments added in v1.23.0

type FakeControllerDeployments struct {
	Fake *FakeCore
}

FakeControllerDeployments implements ControllerDeploymentInterface

func (*FakeControllerDeployments) Create added in v1.23.0

func (c *FakeControllerDeployments) Create(ctx context.Context, controllerDeployment *core.ControllerDeployment, opts v1.CreateOptions) (result *core.ControllerDeployment, err error)

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

func (*FakeControllerDeployments) Delete added in v1.23.0

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

func (*FakeControllerDeployments) DeleteCollection added in v1.23.0

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

DeleteCollection deletes a collection of objects.

func (*FakeControllerDeployments) Get added in v1.23.0

func (c *FakeControllerDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.ControllerDeployment, err error)

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

func (*FakeControllerDeployments) List added in v1.23.0

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

func (*FakeControllerDeployments) Patch added in v1.23.0

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

Patch applies the patch and returns the patched controllerDeployment.

func (*FakeControllerDeployments) Update added in v1.23.0

func (c *FakeControllerDeployments) Update(ctx context.Context, controllerDeployment *core.ControllerDeployment, opts v1.UpdateOptions) (result *core.ControllerDeployment, err error)

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

func (*FakeControllerDeployments) Watch added in v1.23.0

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

type FakeControllerInstallations

type FakeControllerInstallations struct {
	Fake *FakeCore
}

FakeControllerInstallations implements ControllerInstallationInterface

func (*FakeControllerInstallations) Create

func (c *FakeControllerInstallations) Create(ctx context.Context, controllerInstallation *core.ControllerInstallation, opts v1.CreateOptions) (result *core.ControllerInstallation, err error)

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

func (*FakeControllerInstallations) Delete

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

func (*FakeControllerInstallations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeControllerInstallations) Get

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

func (*FakeControllerInstallations) List

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

func (*FakeControllerInstallations) Patch

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

Patch applies the patch and returns the patched controllerInstallation.

func (*FakeControllerInstallations) Update

func (c *FakeControllerInstallations) Update(ctx context.Context, controllerInstallation *core.ControllerInstallation, opts v1.UpdateOptions) (result *core.ControllerInstallation, err error)

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

func (*FakeControllerInstallations) UpdateStatus

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

func (*FakeControllerInstallations) Watch

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

type FakeControllerRegistrations

type FakeControllerRegistrations struct {
	Fake *FakeCore
}

FakeControllerRegistrations implements ControllerRegistrationInterface

func (*FakeControllerRegistrations) Create

func (c *FakeControllerRegistrations) Create(ctx context.Context, controllerRegistration *core.ControllerRegistration, opts v1.CreateOptions) (result *core.ControllerRegistration, err error)

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

func (*FakeControllerRegistrations) Delete

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

func (*FakeControllerRegistrations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeControllerRegistrations) Get

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

func (*FakeControllerRegistrations) List

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

func (*FakeControllerRegistrations) Patch

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

Patch applies the patch and returns the patched controllerRegistration.

func (*FakeControllerRegistrations) Update

func (c *FakeControllerRegistrations) Update(ctx context.Context, controllerRegistration *core.ControllerRegistration, opts v1.UpdateOptions) (result *core.ControllerRegistration, err error)

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

func (*FakeControllerRegistrations) Watch

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

type FakeCore

type FakeCore struct {
	*testing.Fake
}

func (*FakeCore) BackupBuckets

func (c *FakeCore) BackupBuckets() internalversion.BackupBucketInterface

func (*FakeCore) BackupEntries

func (c *FakeCore) BackupEntries(namespace string) internalversion.BackupEntryInterface

func (*FakeCore) CloudProfiles added in v1.0.0

func (c *FakeCore) CloudProfiles() internalversion.CloudProfileInterface

func (*FakeCore) ControllerDeployments added in v1.23.0

func (c *FakeCore) ControllerDeployments() internalversion.ControllerDeploymentInterface

func (*FakeCore) ControllerInstallations

func (c *FakeCore) ControllerInstallations() internalversion.ControllerInstallationInterface

func (*FakeCore) ControllerRegistrations

func (c *FakeCore) ControllerRegistrations() internalversion.ControllerRegistrationInterface

func (*FakeCore) ExposureClasses added in v1.24.0

func (c *FakeCore) ExposureClasses() internalversion.ExposureClassInterface

func (*FakeCore) InternalSecrets added in v1.73.0

func (c *FakeCore) InternalSecrets(namespace string) internalversion.InternalSecretInterface

func (*FakeCore) Projects added in v1.0.0

func (*FakeCore) Quotas added in v1.0.0

func (c *FakeCore) Quotas(namespace string) internalversion.QuotaInterface

func (*FakeCore) RESTClient

func (c *FakeCore) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeCore) SecretBindings added in v1.0.0

func (c *FakeCore) SecretBindings(namespace string) internalversion.SecretBindingInterface

func (*FakeCore) Seeds added in v1.0.0

func (*FakeCore) ShootStates added in v0.33.0

func (c *FakeCore) ShootStates(namespace string) internalversion.ShootStateInterface

func (*FakeCore) Shoots added in v1.0.0

func (c *FakeCore) Shoots(namespace string) internalversion.ShootInterface

type FakeExposureClasses added in v1.24.0

type FakeExposureClasses struct {
	Fake *FakeCore
}

FakeExposureClasses implements ExposureClassInterface

func (*FakeExposureClasses) Create added in v1.24.0

func (c *FakeExposureClasses) Create(ctx context.Context, exposureClass *core.ExposureClass, opts v1.CreateOptions) (result *core.ExposureClass, err error)

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

func (*FakeExposureClasses) Delete added in v1.24.0

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

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

func (*FakeExposureClasses) DeleteCollection added in v1.24.0

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

DeleteCollection deletes a collection of objects.

func (*FakeExposureClasses) Get added in v1.24.0

func (c *FakeExposureClasses) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.ExposureClass, err error)

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

func (*FakeExposureClasses) List added in v1.24.0

func (c *FakeExposureClasses) List(ctx context.Context, opts v1.ListOptions) (result *core.ExposureClassList, err error)

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

func (*FakeExposureClasses) Patch added in v1.24.0

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

Patch applies the patch and returns the patched exposureClass.

func (*FakeExposureClasses) Update added in v1.24.0

func (c *FakeExposureClasses) Update(ctx context.Context, exposureClass *core.ExposureClass, opts v1.UpdateOptions) (result *core.ExposureClass, err error)

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

func (*FakeExposureClasses) Watch added in v1.24.0

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

type FakeInternalSecrets added in v1.73.0

type FakeInternalSecrets struct {
	Fake *FakeCore
	// contains filtered or unexported fields
}

FakeInternalSecrets implements InternalSecretInterface

func (*FakeInternalSecrets) Create added in v1.73.0

func (c *FakeInternalSecrets) Create(ctx context.Context, internalSecret *core.InternalSecret, opts v1.CreateOptions) (result *core.InternalSecret, err error)

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

func (*FakeInternalSecrets) Delete added in v1.73.0

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

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

func (*FakeInternalSecrets) DeleteCollection added in v1.73.0

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

DeleteCollection deletes a collection of objects.

func (*FakeInternalSecrets) Get added in v1.73.0

func (c *FakeInternalSecrets) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.InternalSecret, err error)

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

func (*FakeInternalSecrets) List added in v1.73.0

func (c *FakeInternalSecrets) List(ctx context.Context, opts v1.ListOptions) (result *core.InternalSecretList, err error)

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

func (*FakeInternalSecrets) Patch added in v1.73.0

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

Patch applies the patch and returns the patched internalSecret.

func (*FakeInternalSecrets) Update added in v1.73.0

func (c *FakeInternalSecrets) Update(ctx context.Context, internalSecret *core.InternalSecret, opts v1.UpdateOptions) (result *core.InternalSecret, err error)

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

func (*FakeInternalSecrets) Watch added in v1.73.0

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

type FakeProjects added in v1.0.0

type FakeProjects struct {
	Fake *FakeCore
}

FakeProjects implements ProjectInterface

func (*FakeProjects) Create added in v1.0.0

func (c *FakeProjects) Create(ctx context.Context, project *core.Project, opts v1.CreateOptions) (result *core.Project, err error)

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

func (*FakeProjects) Delete added in v1.0.0

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

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

func (*FakeProjects) DeleteCollection added in v1.0.0

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

DeleteCollection deletes a collection of objects.

func (*FakeProjects) Get added in v1.0.0

func (c *FakeProjects) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.Project, err error)

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

func (*FakeProjects) List added in v1.0.0

func (c *FakeProjects) List(ctx context.Context, opts v1.ListOptions) (result *core.ProjectList, err error)

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

func (*FakeProjects) Patch added in v1.0.0

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

Patch applies the patch and returns the patched project.

func (*FakeProjects) Update added in v1.0.0

func (c *FakeProjects) Update(ctx context.Context, project *core.Project, opts v1.UpdateOptions) (result *core.Project, err error)

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

func (*FakeProjects) UpdateStatus added in v1.0.0

func (c *FakeProjects) UpdateStatus(ctx context.Context, project *core.Project, opts v1.UpdateOptions) (*core.Project, error)

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

func (*FakeProjects) Watch added in v1.0.0

func (c *FakeProjects) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

type FakeQuotas added in v1.0.0

type FakeQuotas struct {
	Fake *FakeCore
	// contains filtered or unexported fields
}

FakeQuotas implements QuotaInterface

func (*FakeQuotas) Create added in v1.0.0

func (c *FakeQuotas) Create(ctx context.Context, quota *core.Quota, opts v1.CreateOptions) (result *core.Quota, err error)

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

func (*FakeQuotas) Delete added in v1.0.0

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

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

func (*FakeQuotas) DeleteCollection added in v1.0.0

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

DeleteCollection deletes a collection of objects.

func (*FakeQuotas) Get added in v1.0.0

func (c *FakeQuotas) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.Quota, err error)

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

func (*FakeQuotas) List added in v1.0.0

func (c *FakeQuotas) List(ctx context.Context, opts v1.ListOptions) (result *core.QuotaList, err error)

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

func (*FakeQuotas) Patch added in v1.0.0

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

Patch applies the patch and returns the patched quota.

func (*FakeQuotas) Update added in v1.0.0

func (c *FakeQuotas) Update(ctx context.Context, quota *core.Quota, opts v1.UpdateOptions) (result *core.Quota, err error)

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

func (*FakeQuotas) Watch added in v1.0.0

func (c *FakeQuotas) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

type FakeSecretBindings added in v1.0.0

type FakeSecretBindings struct {
	Fake *FakeCore
	// contains filtered or unexported fields
}

FakeSecretBindings implements SecretBindingInterface

func (*FakeSecretBindings) Create added in v1.0.0

func (c *FakeSecretBindings) Create(ctx context.Context, secretBinding *core.SecretBinding, opts v1.CreateOptions) (result *core.SecretBinding, err error)

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

func (*FakeSecretBindings) Delete added in v1.0.0

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

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

func (*FakeSecretBindings) DeleteCollection added in v1.0.0

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

DeleteCollection deletes a collection of objects.

func (*FakeSecretBindings) Get added in v1.0.0

func (c *FakeSecretBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.SecretBinding, err error)

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

func (*FakeSecretBindings) List added in v1.0.0

func (c *FakeSecretBindings) List(ctx context.Context, opts v1.ListOptions) (result *core.SecretBindingList, err error)

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

func (*FakeSecretBindings) Patch added in v1.0.0

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

Patch applies the patch and returns the patched secretBinding.

func (*FakeSecretBindings) Update added in v1.0.0

func (c *FakeSecretBindings) Update(ctx context.Context, secretBinding *core.SecretBinding, opts v1.UpdateOptions) (result *core.SecretBinding, err error)

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

func (*FakeSecretBindings) Watch added in v1.0.0

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

type FakeSeeds added in v1.0.0

type FakeSeeds struct {
	Fake *FakeCore
}

FakeSeeds implements SeedInterface

func (*FakeSeeds) Create added in v1.0.0

func (c *FakeSeeds) Create(ctx context.Context, seed *core.Seed, opts v1.CreateOptions) (result *core.Seed, err error)

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

func (*FakeSeeds) Delete added in v1.0.0

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

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

func (*FakeSeeds) DeleteCollection added in v1.0.0

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

DeleteCollection deletes a collection of objects.

func (*FakeSeeds) Get added in v1.0.0

func (c *FakeSeeds) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.Seed, err error)

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

func (*FakeSeeds) List added in v1.0.0

func (c *FakeSeeds) List(ctx context.Context, opts v1.ListOptions) (result *core.SeedList, err error)

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

func (*FakeSeeds) Patch added in v1.0.0

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

Patch applies the patch and returns the patched seed.

func (*FakeSeeds) Update added in v1.0.0

func (c *FakeSeeds) Update(ctx context.Context, seed *core.Seed, opts v1.UpdateOptions) (result *core.Seed, err error)

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

func (*FakeSeeds) UpdateStatus added in v1.0.0

func (c *FakeSeeds) UpdateStatus(ctx context.Context, seed *core.Seed, opts v1.UpdateOptions) (*core.Seed, error)

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

func (*FakeSeeds) Watch added in v1.0.0

func (c *FakeSeeds) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

type FakeShootStates added in v0.33.0

type FakeShootStates struct {
	Fake *FakeCore
	// contains filtered or unexported fields
}

FakeShootStates implements ShootStateInterface

func (*FakeShootStates) Create added in v0.33.0

func (c *FakeShootStates) Create(ctx context.Context, shootState *core.ShootState, opts v1.CreateOptions) (result *core.ShootState, err error)

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

func (*FakeShootStates) Delete added in v0.33.0

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

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

func (*FakeShootStates) DeleteCollection added in v0.33.0

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

DeleteCollection deletes a collection of objects.

func (*FakeShootStates) Get added in v0.33.0

func (c *FakeShootStates) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.ShootState, err error)

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

func (*FakeShootStates) List added in v0.33.0

func (c *FakeShootStates) List(ctx context.Context, opts v1.ListOptions) (result *core.ShootStateList, err error)

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

func (*FakeShootStates) Patch added in v0.33.0

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

Patch applies the patch and returns the patched shootState.

func (*FakeShootStates) Update added in v0.33.0

func (c *FakeShootStates) Update(ctx context.Context, shootState *core.ShootState, opts v1.UpdateOptions) (result *core.ShootState, err error)

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

func (*FakeShootStates) Watch added in v0.33.0

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

type FakeShoots added in v1.0.0

type FakeShoots struct {
	Fake *FakeCore
	// contains filtered or unexported fields
}

FakeShoots implements ShootInterface

func (*FakeShoots) Create added in v1.0.0

func (c *FakeShoots) Create(ctx context.Context, shoot *core.Shoot, opts v1.CreateOptions) (result *core.Shoot, err error)

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

func (*FakeShoots) Delete added in v1.0.0

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

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

func (*FakeShoots) DeleteCollection added in v1.0.0

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

DeleteCollection deletes a collection of objects.

func (*FakeShoots) Get added in v1.0.0

func (c *FakeShoots) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.Shoot, err error)

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

func (*FakeShoots) List added in v1.0.0

func (c *FakeShoots) List(ctx context.Context, opts v1.ListOptions) (result *core.ShootList, err error)

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

func (*FakeShoots) Patch added in v1.0.0

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

Patch applies the patch and returns the patched shoot.

func (*FakeShoots) Update added in v1.0.0

func (c *FakeShoots) Update(ctx context.Context, shoot *core.Shoot, opts v1.UpdateOptions) (result *core.Shoot, err error)

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

func (*FakeShoots) UpdateStatus added in v1.0.0

func (c *FakeShoots) UpdateStatus(ctx context.Context, shoot *core.Shoot, opts v1.UpdateOptions) (*core.Shoot, error)

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

func (*FakeShoots) Watch added in v1.0.0

func (c *FakeShoots) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL