gardener: github.com/gardener/gardener/pkg/client/core/clientset/internalversion/typed/core/internalversion/fake Index | Files

package fake

import "github.com/gardener/gardener/pkg/client/core/clientset/internalversion/typed/core/internalversion/fake"

Package fake has the automatically generated clients.

Index

Package Files

doc.go fake_backupbucket.go fake_backupentry.go fake_cloudprofile.go fake_controllerinstallation.go fake_controllerregistration.go fake_core_client.go fake_plant.go fake_project.go fake_quota.go fake_secretbinding.go fake_seed.go fake_shoot.go fake_shootstate.go

type FakeBackupBuckets Uses

type FakeBackupBuckets struct {
    Fake *FakeCore
}

FakeBackupBuckets implements BackupBucketInterface

func (*FakeBackupBuckets) Create Uses

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 Uses

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 Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeBackupBuckets) Get Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

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

type FakeBackupEntries Uses

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

FakeBackupEntries implements BackupEntryInterface

func (*FakeBackupEntries) Create Uses

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 Uses

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 Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeBackupEntries) Get Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

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

type FakeCloudProfiles Uses

type FakeCloudProfiles struct {
    Fake *FakeCore
}

FakeCloudProfiles implements CloudProfileInterface

func (*FakeCloudProfiles) Create Uses

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 Uses

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 Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeCloudProfiles) Get Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

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

type FakeControllerInstallations Uses

type FakeControllerInstallations struct {
    Fake *FakeCore
}

FakeControllerInstallations implements ControllerInstallationInterface

func (*FakeControllerInstallations) Create Uses

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 Uses

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

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

func (*FakeControllerInstallations) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeControllerInstallations) Get Uses

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

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

func (*FakeControllerInstallations) List Uses

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

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

func (*FakeControllerInstallations) Patch Uses

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 Uses

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 Uses

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

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 Uses

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

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

type FakeControllerRegistrations Uses

type FakeControllerRegistrations struct {
    Fake *FakeCore
}

FakeControllerRegistrations implements ControllerRegistrationInterface

func (*FakeControllerRegistrations) Create Uses

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 Uses

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

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

func (*FakeControllerRegistrations) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeControllerRegistrations) Get Uses

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

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

func (*FakeControllerRegistrations) List Uses

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

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

func (*FakeControllerRegistrations) Patch Uses

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 Uses

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 Uses

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

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

type FakeCore Uses

type FakeCore struct {
    *testing.Fake
}

func (*FakeCore) BackupBuckets Uses

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

func (*FakeCore) BackupEntries Uses

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

func (*FakeCore) CloudProfiles Uses

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

func (*FakeCore) ControllerInstallations Uses

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

func (*FakeCore) ControllerRegistrations Uses

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

func (*FakeCore) Plants Uses

func (c *FakeCore) Plants(namespace string) internalversion.PlantInterface

func (*FakeCore) Projects Uses

func (c *FakeCore) Projects() internalversion.ProjectInterface

func (*FakeCore) Quotas Uses

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

func (*FakeCore) RESTClient Uses

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 Uses

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

func (*FakeCore) Seeds Uses

func (c *FakeCore) Seeds() internalversion.SeedInterface

func (*FakeCore) ShootStates Uses

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

func (*FakeCore) Shoots Uses

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

type FakePlants Uses

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

FakePlants implements PlantInterface

func (*FakePlants) Create Uses

func (c *FakePlants) Create(ctx context.Context, plant *core.Plant, opts v1.CreateOptions) (result *core.Plant, err error)

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

func (*FakePlants) Delete Uses

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

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

func (*FakePlants) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakePlants) Get Uses

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

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

func (*FakePlants) List Uses

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

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

func (*FakePlants) Patch Uses

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

Patch applies the patch and returns the patched plant.

func (*FakePlants) Update Uses

func (c *FakePlants) Update(ctx context.Context, plant *core.Plant, opts v1.UpdateOptions) (result *core.Plant, err error)

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

func (*FakePlants) UpdateStatus Uses

func (c *FakePlants) UpdateStatus(ctx context.Context, plant *core.Plant, opts v1.UpdateOptions) (*core.Plant, error)

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

func (*FakePlants) Watch Uses

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

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

type FakeProjects Uses

type FakeProjects struct {
    Fake *FakeCore
}

FakeProjects implements ProjectInterface

func (*FakeProjects) Create Uses

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 Uses

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 Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeProjects) Get Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

FakeQuotas implements QuotaInterface

func (*FakeQuotas) Create Uses

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 Uses

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 Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeQuotas) Get Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

FakeSecretBindings implements SecretBindingInterface

func (*FakeSecretBindings) Create Uses

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 Uses

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 Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeSecretBindings) Get Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

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

type FakeSeeds Uses

type FakeSeeds struct {
    Fake *FakeCore
}

FakeSeeds implements SeedInterface

func (*FakeSeeds) Create Uses

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 Uses

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 Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeSeeds) Get Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

FakeShootStates implements ShootStateInterface

func (*FakeShootStates) Create Uses

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 Uses

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 Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeShootStates) Get Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

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

type FakeShoots Uses

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

FakeShoots implements ShootInterface

func (*FakeShoots) Create Uses

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 Uses

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 Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeShoots) Get Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

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

Package fake imports 10 packages (graph) and is imported by 1 packages. Updated 2020-09-25. Refresh now. Tools for package owners.