internalversion

package
v1.17.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 8 Imported by: 0

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupBucketExpansion

type BackupBucketExpansion interface{}

type BackupBucketInterface

type BackupBucketInterface interface {
	Create(ctx context.Context, backupBucket *core.BackupBucket, opts v1.CreateOptions) (*core.BackupBucket, error)
	Update(ctx context.Context, backupBucket *core.BackupBucket, opts v1.UpdateOptions) (*core.BackupBucket, error)
	UpdateStatus(ctx context.Context, backupBucket *core.BackupBucket, opts v1.UpdateOptions) (*core.BackupBucket, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*core.BackupBucket, error)
	List(ctx context.Context, opts v1.ListOptions) (*core.BackupBucketList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.BackupBucket, err error)
	BackupBucketExpansion
}

BackupBucketInterface has methods to work with BackupBucket resources.

type BackupBucketsGetter

type BackupBucketsGetter interface {
	BackupBuckets() BackupBucketInterface
}

BackupBucketsGetter has a method to return a BackupBucketInterface. A group's client should implement this interface.

type BackupEntriesGetter

type BackupEntriesGetter interface {
	BackupEntries(namespace string) BackupEntryInterface
}

BackupEntriesGetter has a method to return a BackupEntryInterface. A group's client should implement this interface.

type BackupEntryExpansion

type BackupEntryExpansion interface{}

type BackupEntryInterface

type BackupEntryInterface interface {
	Create(ctx context.Context, backupEntry *core.BackupEntry, opts v1.CreateOptions) (*core.BackupEntry, error)
	Update(ctx context.Context, backupEntry *core.BackupEntry, opts v1.UpdateOptions) (*core.BackupEntry, error)
	UpdateStatus(ctx context.Context, backupEntry *core.BackupEntry, opts v1.UpdateOptions) (*core.BackupEntry, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*core.BackupEntry, error)
	List(ctx context.Context, opts v1.ListOptions) (*core.BackupEntryList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.BackupEntry, err error)
	BackupEntryExpansion
}

BackupEntryInterface has methods to work with BackupEntry resources.

type CloudProfileExpansion added in v1.0.0

type CloudProfileExpansion interface{}

type CloudProfileInterface added in v1.0.0

type CloudProfileInterface interface {
	Create(ctx context.Context, cloudProfile *core.CloudProfile, opts v1.CreateOptions) (*core.CloudProfile, error)
	Update(ctx context.Context, cloudProfile *core.CloudProfile, opts v1.UpdateOptions) (*core.CloudProfile, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*core.CloudProfile, error)
	List(ctx context.Context, opts v1.ListOptions) (*core.CloudProfileList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.CloudProfile, err error)
	CloudProfileExpansion
}

CloudProfileInterface has methods to work with CloudProfile resources.

type CloudProfilesGetter added in v1.0.0

type CloudProfilesGetter interface {
	CloudProfiles() CloudProfileInterface
}

CloudProfilesGetter has a method to return a CloudProfileInterface. A group's client should implement this interface.

type ControllerInstallationExpansion

type ControllerInstallationExpansion interface{}

type ControllerInstallationInterface

type ControllerInstallationInterface interface {
	Create(ctx context.Context, controllerInstallation *core.ControllerInstallation, opts v1.CreateOptions) (*core.ControllerInstallation, error)
	Update(ctx context.Context, controllerInstallation *core.ControllerInstallation, opts v1.UpdateOptions) (*core.ControllerInstallation, error)
	UpdateStatus(ctx context.Context, controllerInstallation *core.ControllerInstallation, opts v1.UpdateOptions) (*core.ControllerInstallation, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*core.ControllerInstallation, error)
	List(ctx context.Context, opts v1.ListOptions) (*core.ControllerInstallationList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.ControllerInstallation, err error)
	ControllerInstallationExpansion
}

ControllerInstallationInterface has methods to work with ControllerInstallation resources.

type ControllerInstallationsGetter

type ControllerInstallationsGetter interface {
	ControllerInstallations() ControllerInstallationInterface
}

ControllerInstallationsGetter has a method to return a ControllerInstallationInterface. A group's client should implement this interface.

type ControllerRegistrationExpansion

type ControllerRegistrationExpansion interface{}

type ControllerRegistrationInterface

type ControllerRegistrationInterface interface {
	Create(ctx context.Context, controllerRegistration *core.ControllerRegistration, opts v1.CreateOptions) (*core.ControllerRegistration, error)
	Update(ctx context.Context, controllerRegistration *core.ControllerRegistration, opts v1.UpdateOptions) (*core.ControllerRegistration, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*core.ControllerRegistration, error)
	List(ctx context.Context, opts v1.ListOptions) (*core.ControllerRegistrationList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.ControllerRegistration, err error)
	ControllerRegistrationExpansion
}

ControllerRegistrationInterface has methods to work with ControllerRegistration resources.

type ControllerRegistrationsGetter

type ControllerRegistrationsGetter interface {
	ControllerRegistrations() ControllerRegistrationInterface
}

ControllerRegistrationsGetter has a method to return a ControllerRegistrationInterface. A group's client should implement this interface.

type CoreClient

type CoreClient struct {
	// contains filtered or unexported fields
}

CoreClient is used to interact with features provided by the core.gardener.cloud group.

func New

func New(c rest.Interface) *CoreClient

New creates a new CoreClient for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*CoreClient, error)

NewForConfig creates a new CoreClient for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *CoreClient

NewForConfigOrDie creates a new CoreClient for the given config and panics if there is an error in the config.

func (*CoreClient) BackupBuckets

func (c *CoreClient) BackupBuckets() BackupBucketInterface

func (*CoreClient) BackupEntries

func (c *CoreClient) BackupEntries(namespace string) BackupEntryInterface

func (*CoreClient) CloudProfiles added in v1.0.0

func (c *CoreClient) CloudProfiles() CloudProfileInterface

func (*CoreClient) ControllerInstallations

func (c *CoreClient) ControllerInstallations() ControllerInstallationInterface

func (*CoreClient) ControllerRegistrations

func (c *CoreClient) ControllerRegistrations() ControllerRegistrationInterface

func (*CoreClient) Plants

func (c *CoreClient) Plants(namespace string) PlantInterface

func (*CoreClient) Projects added in v1.0.0

func (c *CoreClient) Projects() ProjectInterface

func (*CoreClient) Quotas added in v1.0.0

func (c *CoreClient) Quotas(namespace string) QuotaInterface

func (*CoreClient) RESTClient

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

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

func (*CoreClient) SecretBindings added in v1.0.0

func (c *CoreClient) SecretBindings(namespace string) SecretBindingInterface

func (*CoreClient) Seeds added in v1.0.0

func (c *CoreClient) Seeds() SeedInterface

func (*CoreClient) ShootStates added in v0.33.0

func (c *CoreClient) ShootStates(namespace string) ShootStateInterface

func (*CoreClient) Shoots added in v1.0.0

func (c *CoreClient) Shoots(namespace string) ShootInterface

type PlantExpansion

type PlantExpansion interface{}

type PlantInterface

type PlantInterface interface {
	Create(ctx context.Context, plant *core.Plant, opts v1.CreateOptions) (*core.Plant, error)
	Update(ctx context.Context, plant *core.Plant, opts v1.UpdateOptions) (*core.Plant, error)
	UpdateStatus(ctx context.Context, plant *core.Plant, opts v1.UpdateOptions) (*core.Plant, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*core.Plant, error)
	List(ctx context.Context, opts v1.ListOptions) (*core.PlantList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.Plant, err error)
	PlantExpansion
}

PlantInterface has methods to work with Plant resources.

type PlantsGetter

type PlantsGetter interface {
	Plants(namespace string) PlantInterface
}

PlantsGetter has a method to return a PlantInterface. A group's client should implement this interface.

type ProjectExpansion added in v1.0.0

type ProjectExpansion interface{}

type ProjectInterface added in v1.0.0

type ProjectInterface interface {
	Create(ctx context.Context, project *core.Project, opts v1.CreateOptions) (*core.Project, error)
	Update(ctx context.Context, project *core.Project, opts v1.UpdateOptions) (*core.Project, error)
	UpdateStatus(ctx context.Context, project *core.Project, opts v1.UpdateOptions) (*core.Project, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*core.Project, error)
	List(ctx context.Context, opts v1.ListOptions) (*core.ProjectList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.Project, err error)
	ProjectExpansion
}

ProjectInterface has methods to work with Project resources.

type ProjectsGetter added in v1.0.0

type ProjectsGetter interface {
	Projects() ProjectInterface
}

ProjectsGetter has a method to return a ProjectInterface. A group's client should implement this interface.

type QuotaExpansion added in v1.0.0

type QuotaExpansion interface{}

type QuotaInterface added in v1.0.0

type QuotaInterface interface {
	Create(ctx context.Context, quota *core.Quota, opts v1.CreateOptions) (*core.Quota, error)
	Update(ctx context.Context, quota *core.Quota, opts v1.UpdateOptions) (*core.Quota, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*core.Quota, error)
	List(ctx context.Context, opts v1.ListOptions) (*core.QuotaList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.Quota, err error)
	QuotaExpansion
}

QuotaInterface has methods to work with Quota resources.

type QuotasGetter added in v1.0.0

type QuotasGetter interface {
	Quotas(namespace string) QuotaInterface
}

QuotasGetter has a method to return a QuotaInterface. A group's client should implement this interface.

type SecretBindingExpansion added in v1.0.0

type SecretBindingExpansion interface{}

type SecretBindingInterface added in v1.0.0

type SecretBindingInterface interface {
	Create(ctx context.Context, secretBinding *core.SecretBinding, opts v1.CreateOptions) (*core.SecretBinding, error)
	Update(ctx context.Context, secretBinding *core.SecretBinding, opts v1.UpdateOptions) (*core.SecretBinding, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*core.SecretBinding, error)
	List(ctx context.Context, opts v1.ListOptions) (*core.SecretBindingList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.SecretBinding, err error)
	SecretBindingExpansion
}

SecretBindingInterface has methods to work with SecretBinding resources.

type SecretBindingsGetter added in v1.0.0

type SecretBindingsGetter interface {
	SecretBindings(namespace string) SecretBindingInterface
}

SecretBindingsGetter has a method to return a SecretBindingInterface. A group's client should implement this interface.

type SeedExpansion added in v1.0.0

type SeedExpansion interface{}

type SeedInterface added in v1.0.0

type SeedInterface interface {
	Create(ctx context.Context, seed *core.Seed, opts v1.CreateOptions) (*core.Seed, error)
	Update(ctx context.Context, seed *core.Seed, opts v1.UpdateOptions) (*core.Seed, error)
	UpdateStatus(ctx context.Context, seed *core.Seed, opts v1.UpdateOptions) (*core.Seed, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*core.Seed, error)
	List(ctx context.Context, opts v1.ListOptions) (*core.SeedList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.Seed, err error)
	SeedExpansion
}

SeedInterface has methods to work with Seed resources.

type SeedsGetter added in v1.0.0

type SeedsGetter interface {
	Seeds() SeedInterface
}

SeedsGetter has a method to return a SeedInterface. A group's client should implement this interface.

type ShootExpansion added in v1.0.0

type ShootExpansion interface{}

type ShootInterface added in v1.0.0

type ShootInterface interface {
	Create(ctx context.Context, shoot *core.Shoot, opts v1.CreateOptions) (*core.Shoot, error)
	Update(ctx context.Context, shoot *core.Shoot, opts v1.UpdateOptions) (*core.Shoot, error)
	UpdateStatus(ctx context.Context, shoot *core.Shoot, opts v1.UpdateOptions) (*core.Shoot, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*core.Shoot, error)
	List(ctx context.Context, opts v1.ListOptions) (*core.ShootList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.Shoot, err error)
	ShootExpansion
}

ShootInterface has methods to work with Shoot resources.

type ShootStateExpansion added in v0.33.0

type ShootStateExpansion interface{}

type ShootStateInterface added in v0.33.0

type ShootStateInterface interface {
	Create(ctx context.Context, shootState *core.ShootState, opts v1.CreateOptions) (*core.ShootState, error)
	Update(ctx context.Context, shootState *core.ShootState, opts v1.UpdateOptions) (*core.ShootState, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*core.ShootState, error)
	List(ctx context.Context, opts v1.ListOptions) (*core.ShootStateList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *core.ShootState, err error)
	ShootStateExpansion
}

ShootStateInterface has methods to work with ShootState resources.

type ShootStatesGetter added in v0.33.0

type ShootStatesGetter interface {
	ShootStates(namespace string) ShootStateInterface
}

ShootStatesGetter has a method to return a ShootStateInterface. A group's client should implement this interface.

type ShootsGetter added in v1.0.0

type ShootsGetter interface {
	Shoots(namespace string) ShootInterface
}

ShootsGetter has a method to return a ShootInterface. A group's client should implement this interface.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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