internalversion

package
v0.35.2 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2020 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 7 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 CloudProfileExpansion

type CloudProfileExpansion interface{}

type CloudProfileInterface

type CloudProfileInterface interface {
	Create(*garden.CloudProfile) (*garden.CloudProfile, error)
	Update(*garden.CloudProfile) (*garden.CloudProfile, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*garden.CloudProfile, error)
	List(opts v1.ListOptions) (*garden.CloudProfileList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *garden.CloudProfile, err error)
	CloudProfileExpansion
}

CloudProfileInterface has methods to work with CloudProfile resources.

type CloudProfilesGetter

type CloudProfilesGetter interface {
	CloudProfiles() CloudProfileInterface
}

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

type GardenClient

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

GardenClient is used to interact with features provided by the garden.sapcloud.io group.

func New

func New(c rest.Interface) *GardenClient

New creates a new GardenClient for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new GardenClient for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *GardenClient

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

func (*GardenClient) CloudProfiles

func (c *GardenClient) CloudProfiles() CloudProfileInterface

func (*GardenClient) Projects

func (c *GardenClient) Projects() ProjectInterface

func (*GardenClient) Quotas

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

func (*GardenClient) RESTClient

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

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

func (*GardenClient) SecretBindings

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

func (*GardenClient) Seeds

func (c *GardenClient) Seeds() SeedInterface

func (*GardenClient) Shoots

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

type ProjectExpansion

type ProjectExpansion interface{}

type ProjectInterface

type ProjectInterface interface {
	Create(*garden.Project) (*garden.Project, error)
	Update(*garden.Project) (*garden.Project, error)
	UpdateStatus(*garden.Project) (*garden.Project, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*garden.Project, error)
	List(opts v1.ListOptions) (*garden.ProjectList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *garden.Project, err error)
	ProjectExpansion
}

ProjectInterface has methods to work with Project resources.

type ProjectsGetter

type ProjectsGetter interface {
	Projects() ProjectInterface
}

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

type QuotaExpansion

type QuotaExpansion interface{}

type QuotaInterface

type QuotaInterface interface {
	Create(*garden.Quota) (*garden.Quota, error)
	Update(*garden.Quota) (*garden.Quota, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*garden.Quota, error)
	List(opts v1.ListOptions) (*garden.QuotaList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *garden.Quota, err error)
	QuotaExpansion
}

QuotaInterface has methods to work with Quota resources.

type QuotasGetter

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

type SecretBindingExpansion interface{}

type SecretBindingInterface

type SecretBindingInterface interface {
	Create(*garden.SecretBinding) (*garden.SecretBinding, error)
	Update(*garden.SecretBinding) (*garden.SecretBinding, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*garden.SecretBinding, error)
	List(opts v1.ListOptions) (*garden.SecretBindingList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *garden.SecretBinding, err error)
	SecretBindingExpansion
}

SecretBindingInterface has methods to work with SecretBinding resources.

type SecretBindingsGetter

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

type SeedExpansion interface{}

type SeedInterface

type SeedInterface interface {
	Create(*garden.Seed) (*garden.Seed, error)
	Update(*garden.Seed) (*garden.Seed, error)
	UpdateStatus(*garden.Seed) (*garden.Seed, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*garden.Seed, error)
	List(opts v1.ListOptions) (*garden.SeedList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *garden.Seed, err error)
	SeedExpansion
}

SeedInterface has methods to work with Seed resources.

type SeedsGetter

type SeedsGetter interface {
	Seeds() SeedInterface
}

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

type ShootExpansion

type ShootExpansion interface{}

type ShootInterface

type ShootInterface interface {
	Create(*garden.Shoot) (*garden.Shoot, error)
	Update(*garden.Shoot) (*garden.Shoot, error)
	UpdateStatus(*garden.Shoot) (*garden.Shoot, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*garden.Shoot, error)
	List(opts v1.ListOptions) (*garden.ShootList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *garden.Shoot, err error)
	ShootExpansion
}

ShootInterface has methods to work with Shoot resources.

type ShootsGetter

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