Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBackupBuckets
- func (c *FakeBackupBuckets) Create(ctx context.Context, backupBucket *core.BackupBucket, opts v1.CreateOptions) (result *core.BackupBucket, err error)
- func (c *FakeBackupBuckets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBackupBuckets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBackupBuckets) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.BackupBucket, err error)
- func (c *FakeBackupBuckets) List(ctx context.Context, opts v1.ListOptions) (result *core.BackupBucketList, err error)
- func (c *FakeBackupBuckets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *core.BackupBucket, err error)
- func (c *FakeBackupBuckets) Update(ctx context.Context, backupBucket *core.BackupBucket, opts v1.UpdateOptions) (result *core.BackupBucket, err error)
- func (c *FakeBackupBuckets) UpdateStatus(ctx context.Context, backupBucket *core.BackupBucket, opts v1.UpdateOptions) (*core.BackupBucket, error)
- func (c *FakeBackupBuckets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBackupEntries
- func (c *FakeBackupEntries) Create(ctx context.Context, backupEntry *core.BackupEntry, opts v1.CreateOptions) (result *core.BackupEntry, err error)
- func (c *FakeBackupEntries) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBackupEntries) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBackupEntries) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.BackupEntry, err error)
- func (c *FakeBackupEntries) List(ctx context.Context, opts v1.ListOptions) (result *core.BackupEntryList, err error)
- func (c *FakeBackupEntries) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *core.BackupEntry, err error)
- func (c *FakeBackupEntries) Update(ctx context.Context, backupEntry *core.BackupEntry, opts v1.UpdateOptions) (result *core.BackupEntry, err error)
- func (c *FakeBackupEntries) UpdateStatus(ctx context.Context, backupEntry *core.BackupEntry, opts v1.UpdateOptions) (*core.BackupEntry, error)
- func (c *FakeBackupEntries) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCloudProfiles
- func (c *FakeCloudProfiles) Create(ctx context.Context, cloudProfile *core.CloudProfile, opts v1.CreateOptions) (result *core.CloudProfile, err error)
- func (c *FakeCloudProfiles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCloudProfiles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCloudProfiles) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.CloudProfile, err error)
- func (c *FakeCloudProfiles) List(ctx context.Context, opts v1.ListOptions) (result *core.CloudProfileList, err error)
- func (c *FakeCloudProfiles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *core.CloudProfile, err error)
- func (c *FakeCloudProfiles) Update(ctx context.Context, cloudProfile *core.CloudProfile, opts v1.UpdateOptions) (result *core.CloudProfile, err error)
- func (c *FakeCloudProfiles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeControllerDeployments
- func (c *FakeControllerDeployments) Create(ctx context.Context, controllerDeployment *core.ControllerDeployment, ...) (result *core.ControllerDeployment, err error)
- func (c *FakeControllerDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeControllerDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeControllerDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.ControllerDeployment, err error)
- func (c *FakeControllerDeployments) List(ctx context.Context, opts v1.ListOptions) (result *core.ControllerDeploymentList, err error)
- func (c *FakeControllerDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *core.ControllerDeployment, err error)
- func (c *FakeControllerDeployments) Update(ctx context.Context, controllerDeployment *core.ControllerDeployment, ...) (result *core.ControllerDeployment, err error)
- func (c *FakeControllerDeployments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeControllerInstallations
- func (c *FakeControllerInstallations) Create(ctx context.Context, controllerInstallation *core.ControllerInstallation, ...) (result *core.ControllerInstallation, err error)
- func (c *FakeControllerInstallations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeControllerInstallations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeControllerInstallations) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.ControllerInstallation, err error)
- func (c *FakeControllerInstallations) List(ctx context.Context, opts v1.ListOptions) (result *core.ControllerInstallationList, err error)
- func (c *FakeControllerInstallations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *core.ControllerInstallation, err error)
- func (c *FakeControllerInstallations) Update(ctx context.Context, controllerInstallation *core.ControllerInstallation, ...) (result *core.ControllerInstallation, err error)
- func (c *FakeControllerInstallations) UpdateStatus(ctx context.Context, controllerInstallation *core.ControllerInstallation, ...) (*core.ControllerInstallation, error)
- func (c *FakeControllerInstallations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeControllerRegistrations
- func (c *FakeControllerRegistrations) Create(ctx context.Context, controllerRegistration *core.ControllerRegistration, ...) (result *core.ControllerRegistration, err error)
- func (c *FakeControllerRegistrations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeControllerRegistrations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeControllerRegistrations) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.ControllerRegistration, err error)
- func (c *FakeControllerRegistrations) List(ctx context.Context, opts v1.ListOptions) (result *core.ControllerRegistrationList, err error)
- func (c *FakeControllerRegistrations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *core.ControllerRegistration, err error)
- func (c *FakeControllerRegistrations) Update(ctx context.Context, controllerRegistration *core.ControllerRegistration, ...) (result *core.ControllerRegistration, err error)
- func (c *FakeControllerRegistrations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCore
- func (c *FakeCore) BackupBuckets() internalversion.BackupBucketInterface
- func (c *FakeCore) BackupEntries(namespace string) internalversion.BackupEntryInterface
- func (c *FakeCore) CloudProfiles() internalversion.CloudProfileInterface
- func (c *FakeCore) ControllerDeployments() internalversion.ControllerDeploymentInterface
- func (c *FakeCore) ControllerInstallations() internalversion.ControllerInstallationInterface
- func (c *FakeCore) ControllerRegistrations() internalversion.ControllerRegistrationInterface
- func (c *FakeCore) ExposureClasses() internalversion.ExposureClassInterface
- func (c *FakeCore) Plants(namespace string) internalversion.PlantInterface
- func (c *FakeCore) Projects() internalversion.ProjectInterface
- func (c *FakeCore) Quotas(namespace string) internalversion.QuotaInterface
- func (c *FakeCore) RESTClient() rest.Interface
- func (c *FakeCore) SecretBindings(namespace string) internalversion.SecretBindingInterface
- func (c *FakeCore) Seeds() internalversion.SeedInterface
- func (c *FakeCore) ShootExtensionStatuses(namespace string) internalversion.ShootExtensionStatusInterface
- func (c *FakeCore) ShootStates(namespace string) internalversion.ShootStateInterface
- func (c *FakeCore) Shoots(namespace string) internalversion.ShootInterface
- type FakeExposureClasses
- func (c *FakeExposureClasses) Create(ctx context.Context, exposureClass *core.ExposureClass, opts v1.CreateOptions) (result *core.ExposureClass, err error)
- func (c *FakeExposureClasses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeExposureClasses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeExposureClasses) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.ExposureClass, err error)
- func (c *FakeExposureClasses) List(ctx context.Context, opts v1.ListOptions) (result *core.ExposureClassList, err error)
- func (c *FakeExposureClasses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *core.ExposureClass, err error)
- func (c *FakeExposureClasses) Update(ctx context.Context, exposureClass *core.ExposureClass, opts v1.UpdateOptions) (result *core.ExposureClass, err error)
- func (c *FakeExposureClasses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePlants
- func (c *FakePlants) Create(ctx context.Context, plant *core.Plant, opts v1.CreateOptions) (result *core.Plant, err error)
- func (c *FakePlants) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePlants) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePlants) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.Plant, err error)
- func (c *FakePlants) List(ctx context.Context, opts v1.ListOptions) (result *core.PlantList, err error)
- func (c *FakePlants) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *core.Plant, err error)
- func (c *FakePlants) Update(ctx context.Context, plant *core.Plant, opts v1.UpdateOptions) (result *core.Plant, err error)
- func (c *FakePlants) UpdateStatus(ctx context.Context, plant *core.Plant, opts v1.UpdateOptions) (*core.Plant, error)
- func (c *FakePlants) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeProjects
- func (c *FakeProjects) Create(ctx context.Context, project *core.Project, opts v1.CreateOptions) (result *core.Project, err error)
- func (c *FakeProjects) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeProjects) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeProjects) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.Project, err error)
- func (c *FakeProjects) List(ctx context.Context, opts v1.ListOptions) (result *core.ProjectList, err error)
- func (c *FakeProjects) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *core.Project, err error)
- func (c *FakeProjects) Update(ctx context.Context, project *core.Project, opts v1.UpdateOptions) (result *core.Project, err error)
- func (c *FakeProjects) UpdateStatus(ctx context.Context, project *core.Project, opts v1.UpdateOptions) (*core.Project, error)
- func (c *FakeProjects) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeQuotas
- func (c *FakeQuotas) Create(ctx context.Context, quota *core.Quota, opts v1.CreateOptions) (result *core.Quota, err error)
- func (c *FakeQuotas) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeQuotas) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeQuotas) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.Quota, err error)
- func (c *FakeQuotas) List(ctx context.Context, opts v1.ListOptions) (result *core.QuotaList, err error)
- func (c *FakeQuotas) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *core.Quota, err error)
- func (c *FakeQuotas) Update(ctx context.Context, quota *core.Quota, opts v1.UpdateOptions) (result *core.Quota, err error)
- func (c *FakeQuotas) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSecretBindings
- func (c *FakeSecretBindings) Create(ctx context.Context, secretBinding *core.SecretBinding, opts v1.CreateOptions) (result *core.SecretBinding, err error)
- func (c *FakeSecretBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSecretBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSecretBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.SecretBinding, err error)
- func (c *FakeSecretBindings) List(ctx context.Context, opts v1.ListOptions) (result *core.SecretBindingList, err error)
- func (c *FakeSecretBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *core.SecretBinding, err error)
- func (c *FakeSecretBindings) Update(ctx context.Context, secretBinding *core.SecretBinding, opts v1.UpdateOptions) (result *core.SecretBinding, err error)
- func (c *FakeSecretBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSeeds
- func (c *FakeSeeds) Create(ctx context.Context, seed *core.Seed, opts v1.CreateOptions) (result *core.Seed, err error)
- func (c *FakeSeeds) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSeeds) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSeeds) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.Seed, err error)
- func (c *FakeSeeds) List(ctx context.Context, opts v1.ListOptions) (result *core.SeedList, err error)
- func (c *FakeSeeds) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *core.Seed, err error)
- func (c *FakeSeeds) Update(ctx context.Context, seed *core.Seed, opts v1.UpdateOptions) (result *core.Seed, err error)
- func (c *FakeSeeds) UpdateStatus(ctx context.Context, seed *core.Seed, opts v1.UpdateOptions) (*core.Seed, error)
- func (c *FakeSeeds) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeShootExtensionStatuses
- func (c *FakeShootExtensionStatuses) Create(ctx context.Context, shootExtensionStatus *core.ShootExtensionStatus, ...) (result *core.ShootExtensionStatus, err error)
- func (c *FakeShootExtensionStatuses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeShootExtensionStatuses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeShootExtensionStatuses) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.ShootExtensionStatus, err error)
- func (c *FakeShootExtensionStatuses) List(ctx context.Context, opts v1.ListOptions) (result *core.ShootExtensionStatusList, err error)
- func (c *FakeShootExtensionStatuses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *core.ShootExtensionStatus, err error)
- func (c *FakeShootExtensionStatuses) Update(ctx context.Context, shootExtensionStatus *core.ShootExtensionStatus, ...) (result *core.ShootExtensionStatus, err error)
- func (c *FakeShootExtensionStatuses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeShootStates
- func (c *FakeShootStates) Create(ctx context.Context, shootState *core.ShootState, opts v1.CreateOptions) (result *core.ShootState, err error)
- func (c *FakeShootStates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeShootStates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeShootStates) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.ShootState, err error)
- func (c *FakeShootStates) List(ctx context.Context, opts v1.ListOptions) (result *core.ShootStateList, err error)
- func (c *FakeShootStates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *core.ShootState, err error)
- func (c *FakeShootStates) Update(ctx context.Context, shootState *core.ShootState, opts v1.UpdateOptions) (result *core.ShootState, err error)
- func (c *FakeShootStates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeShoots
- func (c *FakeShoots) Create(ctx context.Context, shoot *core.Shoot, opts v1.CreateOptions) (result *core.Shoot, err error)
- func (c *FakeShoots) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeShoots) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeShoots) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.Shoot, err error)
- func (c *FakeShoots) List(ctx context.Context, opts v1.ListOptions) (result *core.ShootList, err error)
- func (c *FakeShoots) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *core.Shoot, err error)
- func (c *FakeShoots) Update(ctx context.Context, shoot *core.Shoot, opts v1.UpdateOptions) (result *core.Shoot, err error)
- func (c *FakeShoots) UpdateStatus(ctx context.Context, shoot *core.Shoot, opts v1.UpdateOptions) (*core.Shoot, error)
- func (c *FakeShoots) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBackupBuckets ¶
type FakeBackupBuckets struct {
Fake *FakeCore
}
FakeBackupBuckets implements BackupBucketInterface
func (*FakeBackupBuckets) Create ¶
func (c *FakeBackupBuckets) Create(ctx context.Context, backupBucket *core.BackupBucket, opts v1.CreateOptions) (result *core.BackupBucket, err error)
Create takes the representation of a backupBucket and creates it. Returns the server's representation of the backupBucket, and an error, if there is any.
func (*FakeBackupBuckets) Delete ¶
func (c *FakeBackupBuckets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the backupBucket and deletes it. Returns an error if one occurs.
func (*FakeBackupBuckets) DeleteCollection ¶
func (c *FakeBackupBuckets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBackupBuckets) Get ¶
func (c *FakeBackupBuckets) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.BackupBucket, err error)
Get takes name of the backupBucket, and returns the corresponding backupBucket object, and an error if there is any.
func (*FakeBackupBuckets) List ¶
func (c *FakeBackupBuckets) List(ctx context.Context, opts v1.ListOptions) (result *core.BackupBucketList, err error)
List takes label and field selectors, and returns the list of BackupBuckets that match those selectors.
func (*FakeBackupBuckets) Patch ¶
func (c *FakeBackupBuckets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.BackupBucket, err error)
Patch applies the patch and returns the patched backupBucket.
func (*FakeBackupBuckets) Update ¶
func (c *FakeBackupBuckets) Update(ctx context.Context, backupBucket *core.BackupBucket, opts v1.UpdateOptions) (result *core.BackupBucket, err error)
Update takes the representation of a backupBucket and updates it. Returns the server's representation of the backupBucket, and an error, if there is any.
func (*FakeBackupBuckets) UpdateStatus ¶
func (c *FakeBackupBuckets) UpdateStatus(ctx context.Context, backupBucket *core.BackupBucket, opts v1.UpdateOptions) (*core.BackupBucket, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBackupBuckets) Watch ¶
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 ¶
type FakeBackupEntries struct { Fake *FakeCore // contains filtered or unexported fields }
FakeBackupEntries implements BackupEntryInterface
func (*FakeBackupEntries) Create ¶
func (c *FakeBackupEntries) Create(ctx context.Context, backupEntry *core.BackupEntry, opts v1.CreateOptions) (result *core.BackupEntry, err error)
Create takes the representation of a backupEntry and creates it. Returns the server's representation of the backupEntry, and an error, if there is any.
func (*FakeBackupEntries) Delete ¶
func (c *FakeBackupEntries) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the backupEntry and deletes it. Returns an error if one occurs.
func (*FakeBackupEntries) DeleteCollection ¶
func (c *FakeBackupEntries) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBackupEntries) Get ¶
func (c *FakeBackupEntries) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.BackupEntry, err error)
Get takes name of the backupEntry, and returns the corresponding backupEntry object, and an error if there is any.
func (*FakeBackupEntries) List ¶
func (c *FakeBackupEntries) List(ctx context.Context, opts v1.ListOptions) (result *core.BackupEntryList, err error)
List takes label and field selectors, and returns the list of BackupEntries that match those selectors.
func (*FakeBackupEntries) Patch ¶
func (c *FakeBackupEntries) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.BackupEntry, err error)
Patch applies the patch and returns the patched backupEntry.
func (*FakeBackupEntries) Update ¶
func (c *FakeBackupEntries) Update(ctx context.Context, backupEntry *core.BackupEntry, opts v1.UpdateOptions) (result *core.BackupEntry, err error)
Update takes the representation of a backupEntry and updates it. Returns the server's representation of the backupEntry, and an error, if there is any.
func (*FakeBackupEntries) UpdateStatus ¶
func (c *FakeBackupEntries) UpdateStatus(ctx context.Context, backupEntry *core.BackupEntry, opts v1.UpdateOptions) (*core.BackupEntry, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBackupEntries) Watch ¶
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 ¶ added in v1.0.0
type FakeCloudProfiles struct {
Fake *FakeCore
}
FakeCloudProfiles implements CloudProfileInterface
func (*FakeCloudProfiles) Create ¶ added in v1.0.0
func (c *FakeCloudProfiles) Create(ctx context.Context, cloudProfile *core.CloudProfile, opts v1.CreateOptions) (result *core.CloudProfile, err error)
Create takes the representation of a cloudProfile and creates it. Returns the server's representation of the cloudProfile, and an error, if there is any.
func (*FakeCloudProfiles) Delete ¶ added in v1.0.0
func (c *FakeCloudProfiles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the cloudProfile and deletes it. Returns an error if one occurs.
func (*FakeCloudProfiles) DeleteCollection ¶ added in v1.0.0
func (c *FakeCloudProfiles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCloudProfiles) Get ¶ added in v1.0.0
func (c *FakeCloudProfiles) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.CloudProfile, err error)
Get takes name of the cloudProfile, and returns the corresponding cloudProfile object, and an error if there is any.
func (*FakeCloudProfiles) List ¶ added in v1.0.0
func (c *FakeCloudProfiles) List(ctx context.Context, opts v1.ListOptions) (result *core.CloudProfileList, err error)
List takes label and field selectors, and returns the list of CloudProfiles that match those selectors.
func (*FakeCloudProfiles) Patch ¶ added in v1.0.0
func (c *FakeCloudProfiles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.CloudProfile, err error)
Patch applies the patch and returns the patched cloudProfile.
func (*FakeCloudProfiles) Update ¶ added in v1.0.0
func (c *FakeCloudProfiles) Update(ctx context.Context, cloudProfile *core.CloudProfile, opts v1.UpdateOptions) (result *core.CloudProfile, err error)
Update takes the representation of a cloudProfile and updates it. Returns the server's representation of the cloudProfile, and an error, if there is any.
func (*FakeCloudProfiles) Watch ¶ added in v1.0.0
func (c *FakeCloudProfiles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cloudProfiles.
type FakeControllerDeployments ¶ added in v1.23.0
type FakeControllerDeployments struct {
Fake *FakeCore
}
FakeControllerDeployments implements ControllerDeploymentInterface
func (*FakeControllerDeployments) Create ¶ added in v1.23.0
func (c *FakeControllerDeployments) Create(ctx context.Context, controllerDeployment *core.ControllerDeployment, opts v1.CreateOptions) (result *core.ControllerDeployment, err error)
Create takes the representation of a controllerDeployment and creates it. Returns the server's representation of the controllerDeployment, and an error, if there is any.
func (*FakeControllerDeployments) Delete ¶ added in v1.23.0
func (c *FakeControllerDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the controllerDeployment and deletes it. Returns an error if one occurs.
func (*FakeControllerDeployments) DeleteCollection ¶ added in v1.23.0
func (c *FakeControllerDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeControllerDeployments) Get ¶ added in v1.23.0
func (c *FakeControllerDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.ControllerDeployment, err error)
Get takes name of the controllerDeployment, and returns the corresponding controllerDeployment object, and an error if there is any.
func (*FakeControllerDeployments) List ¶ added in v1.23.0
func (c *FakeControllerDeployments) List(ctx context.Context, opts v1.ListOptions) (result *core.ControllerDeploymentList, err error)
List takes label and field selectors, and returns the list of ControllerDeployments that match those selectors.
func (*FakeControllerDeployments) Patch ¶ added in v1.23.0
func (c *FakeControllerDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.ControllerDeployment, err error)
Patch applies the patch and returns the patched controllerDeployment.
func (*FakeControllerDeployments) Update ¶ added in v1.23.0
func (c *FakeControllerDeployments) Update(ctx context.Context, controllerDeployment *core.ControllerDeployment, opts v1.UpdateOptions) (result *core.ControllerDeployment, err error)
Update takes the representation of a controllerDeployment and updates it. Returns the server's representation of the controllerDeployment, and an error, if there is any.
func (*FakeControllerDeployments) Watch ¶ added in v1.23.0
func (c *FakeControllerDeployments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested controllerDeployments.
type FakeControllerInstallations ¶
type FakeControllerInstallations struct {
Fake *FakeCore
}
FakeControllerInstallations implements ControllerInstallationInterface
func (*FakeControllerInstallations) Create ¶
func (c *FakeControllerInstallations) Create(ctx context.Context, controllerInstallation *core.ControllerInstallation, opts v1.CreateOptions) (result *core.ControllerInstallation, err error)
Create takes the representation of a controllerInstallation and creates it. Returns the server's representation of the controllerInstallation, and an error, if there is any.
func (*FakeControllerInstallations) Delete ¶
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 ¶
func (c *FakeControllerInstallations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeControllerInstallations) Get ¶
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 ¶
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 ¶
func (c *FakeControllerInstallations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.ControllerInstallation, err error)
Patch applies the patch and returns the patched controllerInstallation.
func (*FakeControllerInstallations) Update ¶
func (c *FakeControllerInstallations) Update(ctx context.Context, controllerInstallation *core.ControllerInstallation, opts v1.UpdateOptions) (result *core.ControllerInstallation, err error)
Update takes the representation of a controllerInstallation and updates it. Returns the server's representation of the controllerInstallation, and an error, if there is any.
func (*FakeControllerInstallations) UpdateStatus ¶
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 ¶
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 ¶
type FakeControllerRegistrations struct {
Fake *FakeCore
}
FakeControllerRegistrations implements ControllerRegistrationInterface
func (*FakeControllerRegistrations) Create ¶
func (c *FakeControllerRegistrations) Create(ctx context.Context, controllerRegistration *core.ControllerRegistration, opts v1.CreateOptions) (result *core.ControllerRegistration, err error)
Create takes the representation of a controllerRegistration and creates it. Returns the server's representation of the controllerRegistration, and an error, if there is any.
func (*FakeControllerRegistrations) Delete ¶
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 ¶
func (c *FakeControllerRegistrations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeControllerRegistrations) Get ¶
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 ¶
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 ¶
func (c *FakeControllerRegistrations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.ControllerRegistration, err error)
Patch applies the patch and returns the patched controllerRegistration.
func (*FakeControllerRegistrations) Update ¶
func (c *FakeControllerRegistrations) Update(ctx context.Context, controllerRegistration *core.ControllerRegistration, opts v1.UpdateOptions) (result *core.ControllerRegistration, err error)
Update takes the representation of a controllerRegistration and updates it. Returns the server's representation of the controllerRegistration, and an error, if there is any.
func (*FakeControllerRegistrations) Watch ¶
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 ¶
func (*FakeCore) BackupBuckets ¶
func (c *FakeCore) BackupBuckets() internalversion.BackupBucketInterface
func (*FakeCore) BackupEntries ¶
func (c *FakeCore) BackupEntries(namespace string) internalversion.BackupEntryInterface
func (*FakeCore) CloudProfiles ¶ added in v1.0.0
func (c *FakeCore) CloudProfiles() internalversion.CloudProfileInterface
func (*FakeCore) ControllerDeployments ¶ added in v1.23.0
func (c *FakeCore) ControllerDeployments() internalversion.ControllerDeploymentInterface
func (*FakeCore) ControllerInstallations ¶
func (c *FakeCore) ControllerInstallations() internalversion.ControllerInstallationInterface
func (*FakeCore) ControllerRegistrations ¶
func (c *FakeCore) ControllerRegistrations() internalversion.ControllerRegistrationInterface
func (*FakeCore) ExposureClasses ¶ added in v1.24.0
func (c *FakeCore) ExposureClasses() internalversion.ExposureClassInterface
func (*FakeCore) Plants ¶
func (c *FakeCore) Plants(namespace string) internalversion.PlantInterface
func (*FakeCore) Projects ¶ added in v1.0.0
func (c *FakeCore) Projects() internalversion.ProjectInterface
func (*FakeCore) Quotas ¶ added in v1.0.0
func (c *FakeCore) Quotas(namespace string) internalversion.QuotaInterface
func (*FakeCore) RESTClient ¶
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeCore) SecretBindings ¶ added in v1.0.0
func (c *FakeCore) SecretBindings(namespace string) internalversion.SecretBindingInterface
func (*FakeCore) Seeds ¶ added in v1.0.0
func (c *FakeCore) Seeds() internalversion.SeedInterface
func (*FakeCore) ShootExtensionStatuses ¶ added in v1.23.0
func (c *FakeCore) ShootExtensionStatuses(namespace string) internalversion.ShootExtensionStatusInterface
func (*FakeCore) ShootStates ¶ added in v0.33.0
func (c *FakeCore) ShootStates(namespace string) internalversion.ShootStateInterface
func (*FakeCore) Shoots ¶ added in v1.0.0
func (c *FakeCore) Shoots(namespace string) internalversion.ShootInterface
type FakeExposureClasses ¶ added in v1.24.0
type FakeExposureClasses struct {
Fake *FakeCore
}
FakeExposureClasses implements ExposureClassInterface
func (*FakeExposureClasses) Create ¶ added in v1.24.0
func (c *FakeExposureClasses) Create(ctx context.Context, exposureClass *core.ExposureClass, opts v1.CreateOptions) (result *core.ExposureClass, err error)
Create takes the representation of a exposureClass and creates it. Returns the server's representation of the exposureClass, and an error, if there is any.
func (*FakeExposureClasses) Delete ¶ added in v1.24.0
func (c *FakeExposureClasses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the exposureClass and deletes it. Returns an error if one occurs.
func (*FakeExposureClasses) DeleteCollection ¶ added in v1.24.0
func (c *FakeExposureClasses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeExposureClasses) Get ¶ added in v1.24.0
func (c *FakeExposureClasses) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.ExposureClass, err error)
Get takes name of the exposureClass, and returns the corresponding exposureClass object, and an error if there is any.
func (*FakeExposureClasses) List ¶ added in v1.24.0
func (c *FakeExposureClasses) List(ctx context.Context, opts v1.ListOptions) (result *core.ExposureClassList, err error)
List takes label and field selectors, and returns the list of ExposureClasses that match those selectors.
func (*FakeExposureClasses) Patch ¶ added in v1.24.0
func (c *FakeExposureClasses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.ExposureClass, err error)
Patch applies the patch and returns the patched exposureClass.
func (*FakeExposureClasses) Update ¶ added in v1.24.0
func (c *FakeExposureClasses) Update(ctx context.Context, exposureClass *core.ExposureClass, opts v1.UpdateOptions) (result *core.ExposureClass, err error)
Update takes the representation of a exposureClass and updates it. Returns the server's representation of the exposureClass, and an error, if there is any.
func (*FakeExposureClasses) Watch ¶ added in v1.24.0
func (c *FakeExposureClasses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested exposureClasses.
type FakePlants ¶
type FakePlants struct { Fake *FakeCore // contains filtered or unexported fields }
FakePlants implements PlantInterface
func (*FakePlants) Create ¶
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 ¶
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 ¶
func (c *FakePlants) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePlants) Get ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶ added in v1.0.0
type FakeProjects struct {
Fake *FakeCore
}
FakeProjects implements ProjectInterface
func (*FakeProjects) Create ¶ added in v1.0.0
func (c *FakeProjects) Create(ctx context.Context, project *core.Project, opts v1.CreateOptions) (result *core.Project, err error)
Create takes the representation of a project and creates it. Returns the server's representation of the project, and an error, if there is any.
func (*FakeProjects) Delete ¶ added in v1.0.0
func (c *FakeProjects) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the project and deletes it. Returns an error if one occurs.
func (*FakeProjects) DeleteCollection ¶ added in v1.0.0
func (c *FakeProjects) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeProjects) Get ¶ added in v1.0.0
func (c *FakeProjects) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.Project, err error)
Get takes name of the project, and returns the corresponding project object, and an error if there is any.
func (*FakeProjects) List ¶ added in v1.0.0
func (c *FakeProjects) List(ctx context.Context, opts v1.ListOptions) (result *core.ProjectList, err error)
List takes label and field selectors, and returns the list of Projects that match those selectors.
func (*FakeProjects) Patch ¶ added in v1.0.0
func (c *FakeProjects) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.Project, err error)
Patch applies the patch and returns the patched project.
func (*FakeProjects) Update ¶ added in v1.0.0
func (c *FakeProjects) Update(ctx context.Context, project *core.Project, opts v1.UpdateOptions) (result *core.Project, err error)
Update takes the representation of a project and updates it. Returns the server's representation of the project, and an error, if there is any.
func (*FakeProjects) UpdateStatus ¶ added in v1.0.0
func (c *FakeProjects) UpdateStatus(ctx context.Context, project *core.Project, opts v1.UpdateOptions) (*core.Project, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeProjects) Watch ¶ added in v1.0.0
func (c *FakeProjects) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested projects.
type FakeQuotas ¶ added in v1.0.0
type FakeQuotas struct { Fake *FakeCore // contains filtered or unexported fields }
FakeQuotas implements QuotaInterface
func (*FakeQuotas) Create ¶ added in v1.0.0
func (c *FakeQuotas) Create(ctx context.Context, quota *core.Quota, opts v1.CreateOptions) (result *core.Quota, err error)
Create takes the representation of a quota and creates it. Returns the server's representation of the quota, and an error, if there is any.
func (*FakeQuotas) Delete ¶ added in v1.0.0
func (c *FakeQuotas) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the quota and deletes it. Returns an error if one occurs.
func (*FakeQuotas) DeleteCollection ¶ added in v1.0.0
func (c *FakeQuotas) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeQuotas) Get ¶ added in v1.0.0
func (c *FakeQuotas) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.Quota, err error)
Get takes name of the quota, and returns the corresponding quota object, and an error if there is any.
func (*FakeQuotas) List ¶ added in v1.0.0
func (c *FakeQuotas) List(ctx context.Context, opts v1.ListOptions) (result *core.QuotaList, err error)
List takes label and field selectors, and returns the list of Quotas that match those selectors.
func (*FakeQuotas) Patch ¶ added in v1.0.0
func (c *FakeQuotas) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.Quota, err error)
Patch applies the patch and returns the patched quota.
func (*FakeQuotas) Update ¶ added in v1.0.0
func (c *FakeQuotas) Update(ctx context.Context, quota *core.Quota, opts v1.UpdateOptions) (result *core.Quota, err error)
Update takes the representation of a quota and updates it. Returns the server's representation of the quota, and an error, if there is any.
func (*FakeQuotas) Watch ¶ added in v1.0.0
func (c *FakeQuotas) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested quotas.
type FakeSecretBindings ¶ added in v1.0.0
type FakeSecretBindings struct { Fake *FakeCore // contains filtered or unexported fields }
FakeSecretBindings implements SecretBindingInterface
func (*FakeSecretBindings) Create ¶ added in v1.0.0
func (c *FakeSecretBindings) Create(ctx context.Context, secretBinding *core.SecretBinding, opts v1.CreateOptions) (result *core.SecretBinding, err error)
Create takes the representation of a secretBinding and creates it. Returns the server's representation of the secretBinding, and an error, if there is any.
func (*FakeSecretBindings) Delete ¶ added in v1.0.0
func (c *FakeSecretBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the secretBinding and deletes it. Returns an error if one occurs.
func (*FakeSecretBindings) DeleteCollection ¶ added in v1.0.0
func (c *FakeSecretBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSecretBindings) Get ¶ added in v1.0.0
func (c *FakeSecretBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.SecretBinding, err error)
Get takes name of the secretBinding, and returns the corresponding secretBinding object, and an error if there is any.
func (*FakeSecretBindings) List ¶ added in v1.0.0
func (c *FakeSecretBindings) List(ctx context.Context, opts v1.ListOptions) (result *core.SecretBindingList, err error)
List takes label and field selectors, and returns the list of SecretBindings that match those selectors.
func (*FakeSecretBindings) Patch ¶ added in v1.0.0
func (c *FakeSecretBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.SecretBinding, err error)
Patch applies the patch and returns the patched secretBinding.
func (*FakeSecretBindings) Update ¶ added in v1.0.0
func (c *FakeSecretBindings) Update(ctx context.Context, secretBinding *core.SecretBinding, opts v1.UpdateOptions) (result *core.SecretBinding, err error)
Update takes the representation of a secretBinding and updates it. Returns the server's representation of the secretBinding, and an error, if there is any.
func (*FakeSecretBindings) Watch ¶ added in v1.0.0
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 ¶ added in v1.0.0
type FakeSeeds struct {
Fake *FakeCore
}
FakeSeeds implements SeedInterface
func (*FakeSeeds) Create ¶ added in v1.0.0
func (c *FakeSeeds) Create(ctx context.Context, seed *core.Seed, opts v1.CreateOptions) (result *core.Seed, err error)
Create takes the representation of a seed and creates it. Returns the server's representation of the seed, and an error, if there is any.
func (*FakeSeeds) Delete ¶ added in v1.0.0
Delete takes name of the seed and deletes it. Returns an error if one occurs.
func (*FakeSeeds) DeleteCollection ¶ added in v1.0.0
func (c *FakeSeeds) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSeeds) Get ¶ added in v1.0.0
func (c *FakeSeeds) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.Seed, err error)
Get takes name of the seed, and returns the corresponding seed object, and an error if there is any.
func (*FakeSeeds) List ¶ added in v1.0.0
func (c *FakeSeeds) List(ctx context.Context, opts v1.ListOptions) (result *core.SeedList, err error)
List takes label and field selectors, and returns the list of Seeds that match those selectors.
func (*FakeSeeds) Patch ¶ added in v1.0.0
func (c *FakeSeeds) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.Seed, err error)
Patch applies the patch and returns the patched seed.
func (*FakeSeeds) Update ¶ added in v1.0.0
func (c *FakeSeeds) Update(ctx context.Context, seed *core.Seed, opts v1.UpdateOptions) (result *core.Seed, err error)
Update takes the representation of a seed and updates it. Returns the server's representation of the seed, and an error, if there is any.
func (*FakeSeeds) UpdateStatus ¶ added in v1.0.0
func (c *FakeSeeds) UpdateStatus(ctx context.Context, seed *core.Seed, opts v1.UpdateOptions) (*core.Seed, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeShootExtensionStatuses ¶ added in v1.23.0
type FakeShootExtensionStatuses struct { Fake *FakeCore // contains filtered or unexported fields }
FakeShootExtensionStatuses implements ShootExtensionStatusInterface
func (*FakeShootExtensionStatuses) Create ¶ added in v1.23.0
func (c *FakeShootExtensionStatuses) Create(ctx context.Context, shootExtensionStatus *core.ShootExtensionStatus, opts v1.CreateOptions) (result *core.ShootExtensionStatus, err error)
Create takes the representation of a shootExtensionStatus and creates it. Returns the server's representation of the shootExtensionStatus, and an error, if there is any.
func (*FakeShootExtensionStatuses) Delete ¶ added in v1.23.0
func (c *FakeShootExtensionStatuses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the shootExtensionStatus and deletes it. Returns an error if one occurs.
func (*FakeShootExtensionStatuses) DeleteCollection ¶ added in v1.23.0
func (c *FakeShootExtensionStatuses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeShootExtensionStatuses) Get ¶ added in v1.23.0
func (c *FakeShootExtensionStatuses) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.ShootExtensionStatus, err error)
Get takes name of the shootExtensionStatus, and returns the corresponding shootExtensionStatus object, and an error if there is any.
func (*FakeShootExtensionStatuses) List ¶ added in v1.23.0
func (c *FakeShootExtensionStatuses) List(ctx context.Context, opts v1.ListOptions) (result *core.ShootExtensionStatusList, err error)
List takes label and field selectors, and returns the list of ShootExtensionStatuses that match those selectors.
func (*FakeShootExtensionStatuses) Patch ¶ added in v1.23.0
func (c *FakeShootExtensionStatuses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.ShootExtensionStatus, err error)
Patch applies the patch and returns the patched shootExtensionStatus.
func (*FakeShootExtensionStatuses) Update ¶ added in v1.23.0
func (c *FakeShootExtensionStatuses) Update(ctx context.Context, shootExtensionStatus *core.ShootExtensionStatus, opts v1.UpdateOptions) (result *core.ShootExtensionStatus, err error)
Update takes the representation of a shootExtensionStatus and updates it. Returns the server's representation of the shootExtensionStatus, and an error, if there is any.
func (*FakeShootExtensionStatuses) Watch ¶ added in v1.23.0
func (c *FakeShootExtensionStatuses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested shootExtensionStatuses.
type FakeShootStates ¶ added in v0.33.0
type FakeShootStates struct { Fake *FakeCore // contains filtered or unexported fields }
FakeShootStates implements ShootStateInterface
func (*FakeShootStates) Create ¶ added in v0.33.0
func (c *FakeShootStates) Create(ctx context.Context, shootState *core.ShootState, opts v1.CreateOptions) (result *core.ShootState, err error)
Create takes the representation of a shootState and creates it. Returns the server's representation of the shootState, and an error, if there is any.
func (*FakeShootStates) Delete ¶ added in v0.33.0
func (c *FakeShootStates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the shootState and deletes it. Returns an error if one occurs.
func (*FakeShootStates) DeleteCollection ¶ added in v0.33.0
func (c *FakeShootStates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeShootStates) Get ¶ added in v0.33.0
func (c *FakeShootStates) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.ShootState, err error)
Get takes name of the shootState, and returns the corresponding shootState object, and an error if there is any.
func (*FakeShootStates) List ¶ added in v0.33.0
func (c *FakeShootStates) List(ctx context.Context, opts v1.ListOptions) (result *core.ShootStateList, err error)
List takes label and field selectors, and returns the list of ShootStates that match those selectors.
func (*FakeShootStates) Patch ¶ added in v0.33.0
func (c *FakeShootStates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.ShootState, err error)
Patch applies the patch and returns the patched shootState.
func (*FakeShootStates) Update ¶ added in v0.33.0
func (c *FakeShootStates) Update(ctx context.Context, shootState *core.ShootState, opts v1.UpdateOptions) (result *core.ShootState, err error)
Update takes the representation of a shootState and updates it. Returns the server's representation of the shootState, and an error, if there is any.
func (*FakeShootStates) Watch ¶ added in v0.33.0
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 ¶ added in v1.0.0
type FakeShoots struct { Fake *FakeCore // contains filtered or unexported fields }
FakeShoots implements ShootInterface
func (*FakeShoots) Create ¶ added in v1.0.0
func (c *FakeShoots) Create(ctx context.Context, shoot *core.Shoot, opts v1.CreateOptions) (result *core.Shoot, err error)
Create takes the representation of a shoot and creates it. Returns the server's representation of the shoot, and an error, if there is any.
func (*FakeShoots) Delete ¶ added in v1.0.0
func (c *FakeShoots) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the shoot and deletes it. Returns an error if one occurs.
func (*FakeShoots) DeleteCollection ¶ added in v1.0.0
func (c *FakeShoots) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeShoots) Get ¶ added in v1.0.0
func (c *FakeShoots) Get(ctx context.Context, name string, options v1.GetOptions) (result *core.Shoot, err error)
Get takes name of the shoot, and returns the corresponding shoot object, and an error if there is any.
func (*FakeShoots) List ¶ added in v1.0.0
func (c *FakeShoots) List(ctx context.Context, opts v1.ListOptions) (result *core.ShootList, err error)
List takes label and field selectors, and returns the list of Shoots that match those selectors.
func (*FakeShoots) Patch ¶ added in v1.0.0
func (c *FakeShoots) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.Shoot, err error)
Patch applies the patch and returns the patched shoot.
func (*FakeShoots) Update ¶ added in v1.0.0
func (c *FakeShoots) Update(ctx context.Context, shoot *core.Shoot, opts v1.UpdateOptions) (result *core.Shoot, err error)
Update takes the representation of a shoot and updates it. Returns the server's representation of the shoot, and an error, if there is any.
func (*FakeShoots) UpdateStatus ¶ added in v1.0.0
func (c *FakeShoots) UpdateStatus(ctx context.Context, shoot *core.Shoot, opts v1.UpdateOptions) (*core.Shoot, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeShoots) Watch ¶ added in v1.0.0
func (c *FakeShoots) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested shoots.
Source Files ¶
- doc.go
- fake_backupbucket.go
- fake_backupentry.go
- fake_cloudprofile.go
- fake_controllerdeployment.go
- fake_controllerinstallation.go
- fake_controllerregistration.go
- fake_core_client.go
- fake_exposureclass.go
- fake_plant.go
- fake_project.go
- fake_quota.go
- fake_secretbinding.go
- fake_seed.go
- fake_shoot.go
- fake_shootextensionstatus.go
- fake_shootstate.go