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

package fake

import "github.com/gardener/gardener/pkg/client/core/clientset/versioned/typed/core/v1alpha1/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 *FakeCoreV1alpha1
}

FakeBackupBuckets implements BackupBucketInterface

func (*FakeBackupBuckets) Create Uses

func (c *FakeBackupBuckets) Create(backupBucket *v1alpha1.BackupBucket) (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 Uses

func (c *FakeBackupBuckets) Delete(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBackupBuckets) Get Uses

func (c *FakeBackupBuckets) Get(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 Uses

func (c *FakeBackupBuckets) List(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 Uses

func (c *FakeBackupBuckets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.BackupBucket, err error)

Patch applies the patch and returns the patched backupBucket.

func (*FakeBackupBuckets) Update Uses

func (c *FakeBackupBuckets) Update(backupBucket *v1alpha1.BackupBucket) (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 Uses

func (c *FakeBackupBuckets) UpdateStatus(backupBucket *v1alpha1.BackupBucket) (*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 Uses

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

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

type FakeBackupEntries Uses

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

FakeBackupEntries implements BackupEntryInterface

func (*FakeBackupEntries) Create Uses

func (c *FakeBackupEntries) Create(backupEntry *v1alpha1.BackupEntry) (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 Uses

func (c *FakeBackupEntries) Delete(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBackupEntries) Get Uses

func (c *FakeBackupEntries) Get(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 Uses

func (c *FakeBackupEntries) List(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 Uses

func (c *FakeBackupEntries) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.BackupEntry, err error)

Patch applies the patch and returns the patched backupEntry.

func (*FakeBackupEntries) Update Uses

func (c *FakeBackupEntries) Update(backupEntry *v1alpha1.BackupEntry) (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 Uses

func (c *FakeBackupEntries) UpdateStatus(backupEntry *v1alpha1.BackupEntry) (*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 Uses

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

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

type FakeCloudProfiles Uses

type FakeCloudProfiles struct {
    Fake *FakeCoreV1alpha1
}

FakeCloudProfiles implements CloudProfileInterface

func (*FakeCloudProfiles) Create Uses

func (c *FakeCloudProfiles) Create(cloudProfile *v1alpha1.CloudProfile) (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 Uses

func (c *FakeCloudProfiles) Delete(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCloudProfiles) Get Uses

func (c *FakeCloudProfiles) Get(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 Uses

func (c *FakeCloudProfiles) List(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 Uses

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

Patch applies the patch and returns the patched cloudProfile.

func (*FakeCloudProfiles) Update Uses

func (c *FakeCloudProfiles) Update(cloudProfile *v1alpha1.CloudProfile) (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 Uses

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

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

type FakeControllerInstallations Uses

type FakeControllerInstallations struct {
    Fake *FakeCoreV1alpha1
}

FakeControllerInstallations implements ControllerInstallationInterface

func (*FakeControllerInstallations) Create Uses

func (c *FakeControllerInstallations) Create(controllerInstallation *v1alpha1.ControllerInstallation) (result *v1alpha1.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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeControllerInstallations) Get Uses

func (c *FakeControllerInstallations) Get(name string, options v1.GetOptions) (result *v1alpha1.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(opts v1.ListOptions) (result *v1alpha1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ControllerInstallation, err error)

Patch applies the patch and returns the patched controllerInstallation.

func (*FakeControllerInstallations) Update Uses

func (c *FakeControllerInstallations) Update(controllerInstallation *v1alpha1.ControllerInstallation) (result *v1alpha1.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(controllerInstallation *v1alpha1.ControllerInstallation) (*v1alpha1.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(opts v1.ListOptions) (watch.Interface, error)

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

type FakeControllerRegistrations Uses

type FakeControllerRegistrations struct {
    Fake *FakeCoreV1alpha1
}

FakeControllerRegistrations implements ControllerRegistrationInterface

func (*FakeControllerRegistrations) Create Uses

func (c *FakeControllerRegistrations) Create(controllerRegistration *v1alpha1.ControllerRegistration) (result *v1alpha1.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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeControllerRegistrations) Get Uses

func (c *FakeControllerRegistrations) Get(name string, options v1.GetOptions) (result *v1alpha1.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(opts v1.ListOptions) (result *v1alpha1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ControllerRegistration, err error)

Patch applies the patch and returns the patched controllerRegistration.

func (*FakeControllerRegistrations) Update Uses

func (c *FakeControllerRegistrations) Update(controllerRegistration *v1alpha1.ControllerRegistration) (result *v1alpha1.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(opts v1.ListOptions) (watch.Interface, error)

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

type FakeCoreV1alpha1 Uses

type FakeCoreV1alpha1 struct {
    *testing.Fake
}

func (*FakeCoreV1alpha1) BackupBuckets Uses

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

func (*FakeCoreV1alpha1) BackupEntries Uses

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

func (*FakeCoreV1alpha1) CloudProfiles Uses

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

func (*FakeCoreV1alpha1) ControllerInstallations Uses

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

func (*FakeCoreV1alpha1) ControllerRegistrations Uses

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

func (*FakeCoreV1alpha1) Plants Uses

func (c *FakeCoreV1alpha1) Plants(namespace string) v1alpha1.PlantInterface

func (*FakeCoreV1alpha1) Projects Uses

func (c *FakeCoreV1alpha1) Projects() v1alpha1.ProjectInterface

func (*FakeCoreV1alpha1) Quotas Uses

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

func (*FakeCoreV1alpha1) RESTClient Uses

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 Uses

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

func (*FakeCoreV1alpha1) Seeds Uses

func (c *FakeCoreV1alpha1) Seeds() v1alpha1.SeedInterface

func (*FakeCoreV1alpha1) ShootStates Uses

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

func (*FakeCoreV1alpha1) Shoots Uses

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

type FakePlants Uses

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

FakePlants implements PlantInterface

func (*FakePlants) Create Uses

func (c *FakePlants) Create(plant *v1alpha1.Plant) (result *v1alpha1.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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePlants) Get Uses

func (c *FakePlants) Get(name string, options v1.GetOptions) (result *v1alpha1.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(opts v1.ListOptions) (result *v1alpha1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Plant, err error)

Patch applies the patch and returns the patched plant.

func (*FakePlants) Update Uses

func (c *FakePlants) Update(plant *v1alpha1.Plant) (result *v1alpha1.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(plant *v1alpha1.Plant) (*v1alpha1.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(opts v1.ListOptions) (watch.Interface, error)

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

type FakeProjects Uses

type FakeProjects struct {
    Fake *FakeCoreV1alpha1
}

FakeProjects implements ProjectInterface

func (*FakeProjects) Create Uses

func (c *FakeProjects) Create(project *v1alpha1.Project) (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 Uses

func (c *FakeProjects) Delete(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeProjects) Get Uses

func (c *FakeProjects) Get(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 Uses

func (c *FakeProjects) List(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 Uses

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

Patch applies the patch and returns the patched project.

func (*FakeProjects) Update Uses

func (c *FakeProjects) Update(project *v1alpha1.Project) (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 Uses

func (c *FakeProjects) UpdateStatus(project *v1alpha1.Project) (*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 Uses

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

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

type FakeQuotas Uses

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

FakeQuotas implements QuotaInterface

func (*FakeQuotas) Create Uses

func (c *FakeQuotas) Create(quota *v1alpha1.Quota) (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 Uses

func (c *FakeQuotas) Delete(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeQuotas) Get Uses

func (c *FakeQuotas) Get(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 Uses

func (c *FakeQuotas) List(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 Uses

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

Patch applies the patch and returns the patched quota.

func (*FakeQuotas) Update Uses

func (c *FakeQuotas) Update(quota *v1alpha1.Quota) (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 Uses

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

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

type FakeSecretBindings Uses

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

FakeSecretBindings implements SecretBindingInterface

func (*FakeSecretBindings) Create Uses

func (c *FakeSecretBindings) Create(secretBinding *v1alpha1.SecretBinding) (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 Uses

func (c *FakeSecretBindings) Delete(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSecretBindings) Get Uses

func (c *FakeSecretBindings) Get(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 Uses

func (c *FakeSecretBindings) List(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 Uses

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

Patch applies the patch and returns the patched secretBinding.

func (*FakeSecretBindings) Update Uses

func (c *FakeSecretBindings) Update(secretBinding *v1alpha1.SecretBinding) (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 Uses

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

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

type FakeSeeds Uses

type FakeSeeds struct {
    Fake *FakeCoreV1alpha1
}

FakeSeeds implements SeedInterface

func (*FakeSeeds) Create Uses

func (c *FakeSeeds) Create(seed *v1alpha1.Seed) (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 Uses

func (c *FakeSeeds) Delete(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSeeds) Get Uses

func (c *FakeSeeds) Get(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 Uses

func (c *FakeSeeds) List(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 Uses

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

Patch applies the patch and returns the patched seed.

func (*FakeSeeds) Update Uses

func (c *FakeSeeds) Update(seed *v1alpha1.Seed) (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 Uses

func (c *FakeSeeds) UpdateStatus(seed *v1alpha1.Seed) (*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 Uses

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

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

type FakeShootStates Uses

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

FakeShootStates implements ShootStateInterface

func (*FakeShootStates) Create Uses

func (c *FakeShootStates) Create(shootState *v1alpha1.ShootState) (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 Uses

func (c *FakeShootStates) Delete(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeShootStates) Get Uses

func (c *FakeShootStates) Get(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 Uses

func (c *FakeShootStates) List(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 Uses

func (c *FakeShootStates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ShootState, err error)

Patch applies the patch and returns the patched shootState.

func (*FakeShootStates) Update Uses

func (c *FakeShootStates) Update(shootState *v1alpha1.ShootState) (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 Uses

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

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

type FakeShoots Uses

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

FakeShoots implements ShootInterface

func (*FakeShoots) Create Uses

func (c *FakeShoots) Create(shoot *v1alpha1.Shoot) (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 Uses

func (c *FakeShoots) Delete(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeShoots) Get Uses

func (c *FakeShoots) Get(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 Uses

func (c *FakeShoots) List(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 Uses

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

Patch applies the patch and returns the patched shoot.

func (*FakeShoots) Update Uses

func (c *FakeShoots) Update(shoot *v1alpha1.Shoot) (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 Uses

func (c *FakeShoots) UpdateStatus(shoot *v1alpha1.Shoot) (*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 Uses

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

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

Package fake imports 9 packages (graph) and is imported by 1 packages. Updated 2020-02-13. Refresh now. Tools for package owners.