fake

package
v1.71.6 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more 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 FakeBackupBuckets

type FakeBackupBuckets struct {
	Fake *FakeCoreV1alpha1
}

FakeBackupBuckets implements BackupBucketInterface

func (*FakeBackupBuckets) Create

func (c *FakeBackupBuckets) Create(ctx context.Context, backupBucket *v1alpha1.BackupBucket, opts v1.CreateOptions) (result *v1alpha1.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 *v1alpha1.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 *v1alpha1.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 *v1alpha1.BackupBucket, err error)

Patch applies the patch and returns the patched backupBucket.

func (*FakeBackupBuckets) Update

func (c *FakeBackupBuckets) Update(ctx context.Context, backupBucket *v1alpha1.BackupBucket, opts v1.UpdateOptions) (result *v1alpha1.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 *v1alpha1.BackupBucket, opts v1.UpdateOptions) (*v1alpha1.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 *FakeCoreV1alpha1
	// contains filtered or unexported fields
}

FakeBackupEntries implements BackupEntryInterface

func (*FakeBackupEntries) Create

func (c *FakeBackupEntries) Create(ctx context.Context, backupEntry *v1alpha1.BackupEntry, opts v1.CreateOptions) (result *v1alpha1.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 *v1alpha1.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 *v1alpha1.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 *v1alpha1.BackupEntry, err error)

Patch applies the patch and returns the patched backupEntry.

func (*FakeBackupEntries) Update

func (c *FakeBackupEntries) Update(ctx context.Context, backupEntry *v1alpha1.BackupEntry, opts v1.UpdateOptions) (result *v1alpha1.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 *v1alpha1.BackupEntry, opts v1.UpdateOptions) (*v1alpha1.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

type FakeCloudProfiles struct {
	Fake *FakeCoreV1alpha1
}

FakeCloudProfiles implements CloudProfileInterface

func (*FakeCloudProfiles) Create

func (c *FakeCloudProfiles) Create(ctx context.Context, cloudProfile *v1alpha1.CloudProfile, opts v1.CreateOptions) (result *v1alpha1.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

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

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

DeleteCollection deletes a collection of objects.

func (*FakeCloudProfiles) Get

func (c *FakeCloudProfiles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.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

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

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

func (*FakeCloudProfiles) Patch

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

Patch applies the patch and returns the patched cloudProfile.

func (*FakeCloudProfiles) Update

func (c *FakeCloudProfiles) Update(ctx context.Context, cloudProfile *v1alpha1.CloudProfile, opts v1.UpdateOptions) (result *v1alpha1.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

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

type FakeControllerDeployments added in v1.23.0

type FakeControllerDeployments struct {
	Fake *FakeCoreV1alpha1
}

FakeControllerDeployments implements ControllerDeploymentInterface

func (*FakeControllerDeployments) Create added in v1.23.0

func (c *FakeControllerDeployments) Create(ctx context.Context, controllerDeployment *v1alpha1.ControllerDeployment, opts v1.CreateOptions) (result *v1alpha1.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

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 *v1alpha1.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 *v1alpha1.ControllerDeployment, opts v1.UpdateOptions) (result *v1alpha1.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 *FakeCoreV1alpha1
}

FakeControllerInstallations implements ControllerInstallationInterface

func (*FakeControllerInstallations) Create

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 *v1alpha1.ControllerInstallation, err error)

Patch applies the patch and returns the patched controllerInstallation.

func (*FakeControllerInstallations) Update

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 *FakeCoreV1alpha1
}

FakeControllerRegistrations implements ControllerRegistrationInterface

func (*FakeControllerRegistrations) Create

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 *v1alpha1.ControllerRegistration, err error)

Patch applies the patch and returns the patched controllerRegistration.

func (*FakeControllerRegistrations) Update

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 FakeCoreV1alpha1

type FakeCoreV1alpha1 struct {
	*testing.Fake
}

func (*FakeCoreV1alpha1) BackupBuckets

func (c *FakeCoreV1alpha1) BackupBuckets() v1alpha1.BackupBucketInterface

func (*FakeCoreV1alpha1) BackupEntries

func (c *FakeCoreV1alpha1) BackupEntries(namespace string) v1alpha1.BackupEntryInterface

func (*FakeCoreV1alpha1) CloudProfiles

func (c *FakeCoreV1alpha1) CloudProfiles() v1alpha1.CloudProfileInterface

func (*FakeCoreV1alpha1) ControllerDeployments added in v1.23.0

func (c *FakeCoreV1alpha1) ControllerDeployments() v1alpha1.ControllerDeploymentInterface

func (*FakeCoreV1alpha1) ControllerInstallations

func (c *FakeCoreV1alpha1) ControllerInstallations() v1alpha1.ControllerInstallationInterface

func (*FakeCoreV1alpha1) ControllerRegistrations

func (c *FakeCoreV1alpha1) ControllerRegistrations() v1alpha1.ControllerRegistrationInterface

func (*FakeCoreV1alpha1) ExposureClasses added in v1.24.0

func (c *FakeCoreV1alpha1) ExposureClasses() v1alpha1.ExposureClassInterface

func (*FakeCoreV1alpha1) Projects

func (*FakeCoreV1alpha1) Quotas

func (c *FakeCoreV1alpha1) Quotas(namespace string) v1alpha1.QuotaInterface

func (*FakeCoreV1alpha1) RESTClient

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

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

func (*FakeCoreV1alpha1) SecretBindings

func (c *FakeCoreV1alpha1) SecretBindings(namespace string) v1alpha1.SecretBindingInterface

func (*FakeCoreV1alpha1) Seeds

func (*FakeCoreV1alpha1) ShootStates added in v0.33.0

func (c *FakeCoreV1alpha1) ShootStates(namespace string) v1alpha1.ShootStateInterface

func (*FakeCoreV1alpha1) Shoots

func (c *FakeCoreV1alpha1) Shoots(namespace string) v1alpha1.ShootInterface

type FakeExposureClasses added in v1.24.0

type FakeExposureClasses struct {
	Fake *FakeCoreV1alpha1
}

FakeExposureClasses implements ExposureClassInterface

func (*FakeExposureClasses) Create added in v1.24.0

func (c *FakeExposureClasses) Create(ctx context.Context, exposureClass *v1alpha1.ExposureClass, opts v1.CreateOptions) (result *v1alpha1.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 *v1alpha1.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

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 *v1alpha1.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 *v1alpha1.ExposureClass, opts v1.UpdateOptions) (result *v1alpha1.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 FakeProjects

type FakeProjects struct {
	Fake *FakeCoreV1alpha1
}

FakeProjects implements ProjectInterface

func (*FakeProjects) Create

func (c *FakeProjects) Create(ctx context.Context, project *v1alpha1.Project, opts v1.CreateOptions) (result *v1alpha1.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

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

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

DeleteCollection deletes a collection of objects.

func (*FakeProjects) Get

func (c *FakeProjects) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.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

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

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

func (*FakeProjects) Patch

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

Patch applies the patch and returns the patched project.

func (*FakeProjects) Update

func (c *FakeProjects) Update(ctx context.Context, project *v1alpha1.Project, opts v1.UpdateOptions) (result *v1alpha1.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

func (c *FakeProjects) UpdateStatus(ctx context.Context, project *v1alpha1.Project, opts v1.UpdateOptions) (*v1alpha1.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

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

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

FakeQuotas implements QuotaInterface

func (*FakeQuotas) Create

func (c *FakeQuotas) Create(ctx context.Context, quota *v1alpha1.Quota, opts v1.CreateOptions) (result *v1alpha1.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

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

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

DeleteCollection deletes a collection of objects.

func (*FakeQuotas) Get

func (c *FakeQuotas) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.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

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

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

func (*FakeQuotas) Patch

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

Patch applies the patch and returns the patched quota.

func (*FakeQuotas) Update

func (c *FakeQuotas) Update(ctx context.Context, quota *v1alpha1.Quota, opts v1.UpdateOptions) (result *v1alpha1.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

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

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

FakeSecretBindings implements SecretBindingInterface

func (*FakeSecretBindings) Create

func (c *FakeSecretBindings) Create(ctx context.Context, secretBinding *v1alpha1.SecretBinding, opts v1.CreateOptions) (result *v1alpha1.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

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

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

DeleteCollection deletes a collection of objects.

func (*FakeSecretBindings) Get

func (c *FakeSecretBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.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

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

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

func (*FakeSecretBindings) Patch

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

Patch applies the patch and returns the patched secretBinding.

func (*FakeSecretBindings) Update

func (c *FakeSecretBindings) Update(ctx context.Context, secretBinding *v1alpha1.SecretBinding, opts v1.UpdateOptions) (result *v1alpha1.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

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

type FakeSeeds

type FakeSeeds struct {
	Fake *FakeCoreV1alpha1
}

FakeSeeds implements SeedInterface

func (*FakeSeeds) Create

func (c *FakeSeeds) Create(ctx context.Context, seed *v1alpha1.Seed, opts v1.CreateOptions) (result *v1alpha1.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

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

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

DeleteCollection deletes a collection of objects.

func (*FakeSeeds) Get

func (c *FakeSeeds) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.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

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

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

func (*FakeSeeds) Patch

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

Patch applies the patch and returns the patched seed.

func (*FakeSeeds) Update

func (c *FakeSeeds) Update(ctx context.Context, seed *v1alpha1.Seed, opts v1.UpdateOptions) (result *v1alpha1.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

func (c *FakeSeeds) UpdateStatus(ctx context.Context, seed *v1alpha1.Seed, opts v1.UpdateOptions) (*v1alpha1.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

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 *FakeCoreV1alpha1
	// contains filtered or unexported fields
}

FakeShootStates implements ShootStateInterface

func (*FakeShootStates) Create added in v0.33.0

func (c *FakeShootStates) Create(ctx context.Context, shootState *v1alpha1.ShootState, opts v1.CreateOptions) (result *v1alpha1.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 *v1alpha1.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 *v1alpha1.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 *v1alpha1.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 *v1alpha1.ShootState, opts v1.UpdateOptions) (result *v1alpha1.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

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

FakeShoots implements ShootInterface

func (*FakeShoots) Create

func (c *FakeShoots) Create(ctx context.Context, shoot *v1alpha1.Shoot, opts v1.CreateOptions) (result *v1alpha1.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

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

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

DeleteCollection deletes a collection of objects.

func (*FakeShoots) Get

func (c *FakeShoots) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.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

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

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

func (*FakeShoots) Patch

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

Patch applies the patch and returns the patched shoot.

func (*FakeShoots) Update

func (c *FakeShoots) Update(ctx context.Context, shoot *v1alpha1.Shoot, opts v1.UpdateOptions) (result *v1alpha1.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

func (c *FakeShoots) UpdateStatus(ctx context.Context, shoot *v1alpha1.Shoot, opts v1.UpdateOptions) (*v1alpha1.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

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