v1alpha2

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2022 License: Apache-2.0 Imports: 9 Imported by: 5

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 ElasticsearchExpansion

type ElasticsearchExpansion interface{}

type ElasticsearchInterface

type ElasticsearchInterface interface {
	Create(ctx context.Context, elasticsearch *v1alpha2.Elasticsearch, opts v1.CreateOptions) (*v1alpha2.Elasticsearch, error)
	Update(ctx context.Context, elasticsearch *v1alpha2.Elasticsearch, opts v1.UpdateOptions) (*v1alpha2.Elasticsearch, error)
	UpdateStatus(ctx context.Context, elasticsearch *v1alpha2.Elasticsearch, opts v1.UpdateOptions) (*v1alpha2.Elasticsearch, 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) (*v1alpha2.Elasticsearch, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.ElasticsearchList, 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 *v1alpha2.Elasticsearch, err error)
	ElasticsearchExpansion
}

ElasticsearchInterface has methods to work with Elasticsearch resources.

type ElasticsearchesGetter

type ElasticsearchesGetter interface {
	Elasticsearches(namespace string) ElasticsearchInterface
}

ElasticsearchesGetter has a method to return a ElasticsearchInterface. A group's client should implement this interface.

type EtcdExpansion

type EtcdExpansion interface{}

type EtcdInterface

type EtcdInterface interface {
	Create(ctx context.Context, etcd *v1alpha2.Etcd, opts v1.CreateOptions) (*v1alpha2.Etcd, error)
	Update(ctx context.Context, etcd *v1alpha2.Etcd, opts v1.UpdateOptions) (*v1alpha2.Etcd, error)
	UpdateStatus(ctx context.Context, etcd *v1alpha2.Etcd, opts v1.UpdateOptions) (*v1alpha2.Etcd, 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) (*v1alpha2.Etcd, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.EtcdList, 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 *v1alpha2.Etcd, err error)
	EtcdExpansion
}

EtcdInterface has methods to work with Etcd resources.

type EtcdsGetter

type EtcdsGetter interface {
	Etcds(namespace string) EtcdInterface
}

EtcdsGetter has a method to return a EtcdInterface. A group's client should implement this interface.

type KubedbV1alpha2Client

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

KubedbV1alpha2Client is used to interact with features provided by the kubedb.com group.

func New

New creates a new KubedbV1alpha2Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new KubedbV1alpha2Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient added in v0.28.0

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*KubedbV1alpha2Client, error)

NewForConfigAndClient creates a new KubedbV1alpha2Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *KubedbV1alpha2Client

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

func (*KubedbV1alpha2Client) Elasticsearches

func (c *KubedbV1alpha2Client) Elasticsearches(namespace string) ElasticsearchInterface

func (*KubedbV1alpha2Client) Etcds

func (c *KubedbV1alpha2Client) Etcds(namespace string) EtcdInterface

func (*KubedbV1alpha2Client) MariaDBs

func (c *KubedbV1alpha2Client) MariaDBs(namespace string) MariaDBInterface

func (*KubedbV1alpha2Client) Memcacheds

func (c *KubedbV1alpha2Client) Memcacheds(namespace string) MemcachedInterface

func (*KubedbV1alpha2Client) MongoDBs

func (c *KubedbV1alpha2Client) MongoDBs(namespace string) MongoDBInterface

func (*KubedbV1alpha2Client) MySQLs

func (c *KubedbV1alpha2Client) MySQLs(namespace string) MySQLInterface

func (*KubedbV1alpha2Client) PerconaXtraDBs

func (c *KubedbV1alpha2Client) PerconaXtraDBs(namespace string) PerconaXtraDBInterface

func (*KubedbV1alpha2Client) PgBouncers

func (c *KubedbV1alpha2Client) PgBouncers(namespace string) PgBouncerInterface

func (*KubedbV1alpha2Client) Postgreses

func (c *KubedbV1alpha2Client) Postgreses(namespace string) PostgresInterface

func (*KubedbV1alpha2Client) ProxySQLs

func (c *KubedbV1alpha2Client) ProxySQLs(namespace string) ProxySQLInterface

func (*KubedbV1alpha2Client) RESTClient

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

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

func (*KubedbV1alpha2Client) RedisSentinels added in v0.22.0

func (c *KubedbV1alpha2Client) RedisSentinels(namespace string) RedisSentinelInterface

func (*KubedbV1alpha2Client) Redises

func (c *KubedbV1alpha2Client) Redises(namespace string) RedisInterface

type MariaDBExpansion

type MariaDBExpansion interface{}

type MariaDBInterface

type MariaDBInterface interface {
	Create(ctx context.Context, mariaDB *v1alpha2.MariaDB, opts v1.CreateOptions) (*v1alpha2.MariaDB, error)
	Update(ctx context.Context, mariaDB *v1alpha2.MariaDB, opts v1.UpdateOptions) (*v1alpha2.MariaDB, error)
	UpdateStatus(ctx context.Context, mariaDB *v1alpha2.MariaDB, opts v1.UpdateOptions) (*v1alpha2.MariaDB, 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) (*v1alpha2.MariaDB, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.MariaDBList, 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 *v1alpha2.MariaDB, err error)
	MariaDBExpansion
}

MariaDBInterface has methods to work with MariaDB resources.

type MariaDBsGetter

type MariaDBsGetter interface {
	MariaDBs(namespace string) MariaDBInterface
}

MariaDBsGetter has a method to return a MariaDBInterface. A group's client should implement this interface.

type MemcachedExpansion

type MemcachedExpansion interface{}

type MemcachedInterface

type MemcachedInterface interface {
	Create(ctx context.Context, memcached *v1alpha2.Memcached, opts v1.CreateOptions) (*v1alpha2.Memcached, error)
	Update(ctx context.Context, memcached *v1alpha2.Memcached, opts v1.UpdateOptions) (*v1alpha2.Memcached, error)
	UpdateStatus(ctx context.Context, memcached *v1alpha2.Memcached, opts v1.UpdateOptions) (*v1alpha2.Memcached, 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) (*v1alpha2.Memcached, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.MemcachedList, 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 *v1alpha2.Memcached, err error)
	MemcachedExpansion
}

MemcachedInterface has methods to work with Memcached resources.

type MemcachedsGetter

type MemcachedsGetter interface {
	Memcacheds(namespace string) MemcachedInterface
}

MemcachedsGetter has a method to return a MemcachedInterface. A group's client should implement this interface.

type MongoDBExpansion

type MongoDBExpansion interface{}

type MongoDBInterface

type MongoDBInterface interface {
	Create(ctx context.Context, mongoDB *v1alpha2.MongoDB, opts v1.CreateOptions) (*v1alpha2.MongoDB, error)
	Update(ctx context.Context, mongoDB *v1alpha2.MongoDB, opts v1.UpdateOptions) (*v1alpha2.MongoDB, error)
	UpdateStatus(ctx context.Context, mongoDB *v1alpha2.MongoDB, opts v1.UpdateOptions) (*v1alpha2.MongoDB, 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) (*v1alpha2.MongoDB, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.MongoDBList, 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 *v1alpha2.MongoDB, err error)
	MongoDBExpansion
}

MongoDBInterface has methods to work with MongoDB resources.

type MongoDBsGetter

type MongoDBsGetter interface {
	MongoDBs(namespace string) MongoDBInterface
}

MongoDBsGetter has a method to return a MongoDBInterface. A group's client should implement this interface.

type MySQLExpansion

type MySQLExpansion interface{}

type MySQLInterface

type MySQLInterface interface {
	Create(ctx context.Context, mySQL *v1alpha2.MySQL, opts v1.CreateOptions) (*v1alpha2.MySQL, error)
	Update(ctx context.Context, mySQL *v1alpha2.MySQL, opts v1.UpdateOptions) (*v1alpha2.MySQL, error)
	UpdateStatus(ctx context.Context, mySQL *v1alpha2.MySQL, opts v1.UpdateOptions) (*v1alpha2.MySQL, 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) (*v1alpha2.MySQL, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.MySQLList, 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 *v1alpha2.MySQL, err error)
	MySQLExpansion
}

MySQLInterface has methods to work with MySQL resources.

type MySQLsGetter

type MySQLsGetter interface {
	MySQLs(namespace string) MySQLInterface
}

MySQLsGetter has a method to return a MySQLInterface. A group's client should implement this interface.

type PerconaXtraDBExpansion

type PerconaXtraDBExpansion interface{}

type PerconaXtraDBInterface

type PerconaXtraDBInterface interface {
	Create(ctx context.Context, perconaXtraDB *v1alpha2.PerconaXtraDB, opts v1.CreateOptions) (*v1alpha2.PerconaXtraDB, error)
	Update(ctx context.Context, perconaXtraDB *v1alpha2.PerconaXtraDB, opts v1.UpdateOptions) (*v1alpha2.PerconaXtraDB, error)
	UpdateStatus(ctx context.Context, perconaXtraDB *v1alpha2.PerconaXtraDB, opts v1.UpdateOptions) (*v1alpha2.PerconaXtraDB, 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) (*v1alpha2.PerconaXtraDB, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.PerconaXtraDBList, 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 *v1alpha2.PerconaXtraDB, err error)
	PerconaXtraDBExpansion
}

PerconaXtraDBInterface has methods to work with PerconaXtraDB resources.

type PerconaXtraDBsGetter

type PerconaXtraDBsGetter interface {
	PerconaXtraDBs(namespace string) PerconaXtraDBInterface
}

PerconaXtraDBsGetter has a method to return a PerconaXtraDBInterface. A group's client should implement this interface.

type PgBouncerExpansion

type PgBouncerExpansion interface{}

type PgBouncerInterface

type PgBouncerInterface interface {
	Create(ctx context.Context, pgBouncer *v1alpha2.PgBouncer, opts v1.CreateOptions) (*v1alpha2.PgBouncer, error)
	Update(ctx context.Context, pgBouncer *v1alpha2.PgBouncer, opts v1.UpdateOptions) (*v1alpha2.PgBouncer, error)
	UpdateStatus(ctx context.Context, pgBouncer *v1alpha2.PgBouncer, opts v1.UpdateOptions) (*v1alpha2.PgBouncer, 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) (*v1alpha2.PgBouncer, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.PgBouncerList, 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 *v1alpha2.PgBouncer, err error)
	PgBouncerExpansion
}

PgBouncerInterface has methods to work with PgBouncer resources.

type PgBouncersGetter

type PgBouncersGetter interface {
	PgBouncers(namespace string) PgBouncerInterface
}

PgBouncersGetter has a method to return a PgBouncerInterface. A group's client should implement this interface.

type PostgresExpansion

type PostgresExpansion interface{}

type PostgresInterface

type PostgresInterface interface {
	Create(ctx context.Context, postgres *v1alpha2.Postgres, opts v1.CreateOptions) (*v1alpha2.Postgres, error)
	Update(ctx context.Context, postgres *v1alpha2.Postgres, opts v1.UpdateOptions) (*v1alpha2.Postgres, error)
	UpdateStatus(ctx context.Context, postgres *v1alpha2.Postgres, opts v1.UpdateOptions) (*v1alpha2.Postgres, 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) (*v1alpha2.Postgres, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.PostgresList, 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 *v1alpha2.Postgres, err error)
	PostgresExpansion
}

PostgresInterface has methods to work with Postgres resources.

type PostgresesGetter

type PostgresesGetter interface {
	Postgreses(namespace string) PostgresInterface
}

PostgresesGetter has a method to return a PostgresInterface. A group's client should implement this interface.

type ProxySQLExpansion

type ProxySQLExpansion interface{}

type ProxySQLInterface

type ProxySQLInterface interface {
	Create(ctx context.Context, proxySQL *v1alpha2.ProxySQL, opts v1.CreateOptions) (*v1alpha2.ProxySQL, error)
	Update(ctx context.Context, proxySQL *v1alpha2.ProxySQL, opts v1.UpdateOptions) (*v1alpha2.ProxySQL, error)
	UpdateStatus(ctx context.Context, proxySQL *v1alpha2.ProxySQL, opts v1.UpdateOptions) (*v1alpha2.ProxySQL, 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) (*v1alpha2.ProxySQL, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.ProxySQLList, 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 *v1alpha2.ProxySQL, err error)
	ProxySQLExpansion
}

ProxySQLInterface has methods to work with ProxySQL resources.

type ProxySQLsGetter

type ProxySQLsGetter interface {
	ProxySQLs(namespace string) ProxySQLInterface
}

ProxySQLsGetter has a method to return a ProxySQLInterface. A group's client should implement this interface.

type RedisExpansion

type RedisExpansion interface{}

type RedisInterface

type RedisInterface interface {
	Create(ctx context.Context, redis *v1alpha2.Redis, opts v1.CreateOptions) (*v1alpha2.Redis, error)
	Update(ctx context.Context, redis *v1alpha2.Redis, opts v1.UpdateOptions) (*v1alpha2.Redis, error)
	UpdateStatus(ctx context.Context, redis *v1alpha2.Redis, opts v1.UpdateOptions) (*v1alpha2.Redis, 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) (*v1alpha2.Redis, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.RedisList, 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 *v1alpha2.Redis, err error)
	RedisExpansion
}

RedisInterface has methods to work with Redis resources.

type RedisSentinelExpansion added in v0.22.0

type RedisSentinelExpansion interface{}

type RedisSentinelInterface added in v0.22.0

type RedisSentinelInterface interface {
	Create(ctx context.Context, redisSentinel *v1alpha2.RedisSentinel, opts v1.CreateOptions) (*v1alpha2.RedisSentinel, error)
	Update(ctx context.Context, redisSentinel *v1alpha2.RedisSentinel, opts v1.UpdateOptions) (*v1alpha2.RedisSentinel, error)
	UpdateStatus(ctx context.Context, redisSentinel *v1alpha2.RedisSentinel, opts v1.UpdateOptions) (*v1alpha2.RedisSentinel, 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) (*v1alpha2.RedisSentinel, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.RedisSentinelList, 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 *v1alpha2.RedisSentinel, err error)
	RedisSentinelExpansion
}

RedisSentinelInterface has methods to work with RedisSentinel resources.

type RedisSentinelsGetter added in v0.22.0

type RedisSentinelsGetter interface {
	RedisSentinels(namespace string) RedisSentinelInterface
}

RedisSentinelsGetter has a method to return a RedisSentinelInterface. A group's client should implement this interface.

type RedisesGetter

type RedisesGetter interface {
	Redises(namespace string) RedisInterface
}

RedisesGetter has a method to return a RedisInterface. 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