Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ElasticsearchExpansion
- type ElasticsearchInterface
- type ElasticsearchesGetter
- type KafkaExpansion
- type KafkaInterface
- type KafkasGetter
- type KubedbV1Client
- func (c *KubedbV1Client) Elasticsearches(namespace string) ElasticsearchInterface
- func (c *KubedbV1Client) Kafkas(namespace string) KafkaInterface
- func (c *KubedbV1Client) MariaDBs(namespace string) MariaDBInterface
- func (c *KubedbV1Client) Memcacheds(namespace string) MemcachedInterface
- func (c *KubedbV1Client) MongoDBs(namespace string) MongoDBInterface
- func (c *KubedbV1Client) MySQLs(namespace string) MySQLInterface
- func (c *KubedbV1Client) PerconaXtraDBs(namespace string) PerconaXtraDBInterface
- func (c *KubedbV1Client) PgBouncers(namespace string) PgBouncerInterface
- func (c *KubedbV1Client) Postgreses(namespace string) PostgresInterface
- func (c *KubedbV1Client) ProxySQLs(namespace string) ProxySQLInterface
- func (c *KubedbV1Client) RESTClient() rest.Interface
- func (c *KubedbV1Client) RedisSentinels(namespace string) RedisSentinelInterface
- func (c *KubedbV1Client) Redises(namespace string) RedisInterface
- type KubedbV1Interface
- type MariaDBExpansion
- type MariaDBInterface
- type MariaDBsGetter
- type MemcachedExpansion
- type MemcachedInterface
- type MemcachedsGetter
- type MongoDBExpansion
- type MongoDBInterface
- type MongoDBsGetter
- type MySQLExpansion
- type MySQLInterface
- type MySQLsGetter
- type PerconaXtraDBExpansion
- type PerconaXtraDBInterface
- type PerconaXtraDBsGetter
- type PgBouncerExpansion
- type PgBouncerInterface
- type PgBouncersGetter
- type PostgresExpansion
- type PostgresInterface
- type PostgresesGetter
- type ProxySQLExpansion
- type ProxySQLInterface
- type ProxySQLsGetter
- type RedisExpansion
- type RedisInterface
- type RedisSentinelExpansion
- type RedisSentinelInterface
- type RedisSentinelsGetter
- type RedisesGetter
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 *v1.Elasticsearch, opts metav1.CreateOptions) (*v1.Elasticsearch, error) Update(ctx context.Context, elasticsearch *v1.Elasticsearch, opts metav1.UpdateOptions) (*v1.Elasticsearch, error) UpdateStatus(ctx context.Context, elasticsearch *v1.Elasticsearch, opts metav1.UpdateOptions) (*v1.Elasticsearch, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Elasticsearch, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ElasticsearchList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.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 KafkaExpansion ¶
type KafkaExpansion interface{}
type KafkaInterface ¶
type KafkaInterface interface { Create(ctx context.Context, kafka *v1.Kafka, opts metav1.CreateOptions) (*v1.Kafka, error) Update(ctx context.Context, kafka *v1.Kafka, opts metav1.UpdateOptions) (*v1.Kafka, error) UpdateStatus(ctx context.Context, kafka *v1.Kafka, opts metav1.UpdateOptions) (*v1.Kafka, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Kafka, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.KafkaList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Kafka, err error) KafkaExpansion }
KafkaInterface has methods to work with Kafka resources.
type KafkasGetter ¶
type KafkasGetter interface {
Kafkas(namespace string) KafkaInterface
}
KafkasGetter has a method to return a KafkaInterface. A group's client should implement this interface.
type KubedbV1Client ¶
type KubedbV1Client struct {
// contains filtered or unexported fields
}
KubedbV1Client is used to interact with features provided by the kubedb.com group.
func New ¶
func New(c rest.Interface) *KubedbV1Client
New creates a new KubedbV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*KubedbV1Client, error)
NewForConfig creates a new KubedbV1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new KubedbV1Client 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) *KubedbV1Client
NewForConfigOrDie creates a new KubedbV1Client for the given config and panics if there is an error in the config.
func (*KubedbV1Client) Elasticsearches ¶
func (c *KubedbV1Client) Elasticsearches(namespace string) ElasticsearchInterface
func (*KubedbV1Client) Kafkas ¶
func (c *KubedbV1Client) Kafkas(namespace string) KafkaInterface
func (*KubedbV1Client) MariaDBs ¶
func (c *KubedbV1Client) MariaDBs(namespace string) MariaDBInterface
func (*KubedbV1Client) Memcacheds ¶
func (c *KubedbV1Client) Memcacheds(namespace string) MemcachedInterface
func (*KubedbV1Client) MongoDBs ¶
func (c *KubedbV1Client) MongoDBs(namespace string) MongoDBInterface
func (*KubedbV1Client) MySQLs ¶
func (c *KubedbV1Client) MySQLs(namespace string) MySQLInterface
func (*KubedbV1Client) PerconaXtraDBs ¶
func (c *KubedbV1Client) PerconaXtraDBs(namespace string) PerconaXtraDBInterface
func (*KubedbV1Client) PgBouncers ¶
func (c *KubedbV1Client) PgBouncers(namespace string) PgBouncerInterface
func (*KubedbV1Client) Postgreses ¶
func (c *KubedbV1Client) Postgreses(namespace string) PostgresInterface
func (*KubedbV1Client) ProxySQLs ¶
func (c *KubedbV1Client) ProxySQLs(namespace string) ProxySQLInterface
func (*KubedbV1Client) RESTClient ¶
func (c *KubedbV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*KubedbV1Client) RedisSentinels ¶
func (c *KubedbV1Client) RedisSentinels(namespace string) RedisSentinelInterface
func (*KubedbV1Client) Redises ¶
func (c *KubedbV1Client) Redises(namespace string) RedisInterface
type KubedbV1Interface ¶
type KubedbV1Interface interface { RESTClient() rest.Interface ElasticsearchesGetter KafkasGetter MariaDBsGetter MemcachedsGetter MongoDBsGetter MySQLsGetter PerconaXtraDBsGetter PgBouncersGetter PostgresesGetter ProxySQLsGetter RedisesGetter RedisSentinelsGetter }
type MariaDBExpansion ¶
type MariaDBExpansion interface{}
type MariaDBInterface ¶
type MariaDBInterface interface { Create(ctx context.Context, mariaDB *v1.MariaDB, opts metav1.CreateOptions) (*v1.MariaDB, error) Update(ctx context.Context, mariaDB *v1.MariaDB, opts metav1.UpdateOptions) (*v1.MariaDB, error) UpdateStatus(ctx context.Context, mariaDB *v1.MariaDB, opts metav1.UpdateOptions) (*v1.MariaDB, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.MariaDB, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.MariaDBList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.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 *v1.Memcached, opts metav1.CreateOptions) (*v1.Memcached, error) Update(ctx context.Context, memcached *v1.Memcached, opts metav1.UpdateOptions) (*v1.Memcached, error) UpdateStatus(ctx context.Context, memcached *v1.Memcached, opts metav1.UpdateOptions) (*v1.Memcached, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Memcached, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.MemcachedList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.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 *v1.MongoDB, opts metav1.CreateOptions) (*v1.MongoDB, error) Update(ctx context.Context, mongoDB *v1.MongoDB, opts metav1.UpdateOptions) (*v1.MongoDB, error) UpdateStatus(ctx context.Context, mongoDB *v1.MongoDB, opts metav1.UpdateOptions) (*v1.MongoDB, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.MongoDB, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.MongoDBList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.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 *v1.MySQL, opts metav1.CreateOptions) (*v1.MySQL, error) Update(ctx context.Context, mySQL *v1.MySQL, opts metav1.UpdateOptions) (*v1.MySQL, error) UpdateStatus(ctx context.Context, mySQL *v1.MySQL, opts metav1.UpdateOptions) (*v1.MySQL, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.MySQL, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.MySQLList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.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 *v1.PerconaXtraDB, opts metav1.CreateOptions) (*v1.PerconaXtraDB, error) Update(ctx context.Context, perconaXtraDB *v1.PerconaXtraDB, opts metav1.UpdateOptions) (*v1.PerconaXtraDB, error) UpdateStatus(ctx context.Context, perconaXtraDB *v1.PerconaXtraDB, opts metav1.UpdateOptions) (*v1.PerconaXtraDB, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.PerconaXtraDB, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.PerconaXtraDBList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.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 *v1.PgBouncer, opts metav1.CreateOptions) (*v1.PgBouncer, error) Update(ctx context.Context, pgBouncer *v1.PgBouncer, opts metav1.UpdateOptions) (*v1.PgBouncer, error) UpdateStatus(ctx context.Context, pgBouncer *v1.PgBouncer, opts metav1.UpdateOptions) (*v1.PgBouncer, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.PgBouncer, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.PgBouncerList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.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 *v1.Postgres, opts metav1.CreateOptions) (*v1.Postgres, error) Update(ctx context.Context, postgres *v1.Postgres, opts metav1.UpdateOptions) (*v1.Postgres, error) UpdateStatus(ctx context.Context, postgres *v1.Postgres, opts metav1.UpdateOptions) (*v1.Postgres, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Postgres, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.PostgresList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.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 *v1.ProxySQL, opts metav1.CreateOptions) (*v1.ProxySQL, error) Update(ctx context.Context, proxySQL *v1.ProxySQL, opts metav1.UpdateOptions) (*v1.ProxySQL, error) UpdateStatus(ctx context.Context, proxySQL *v1.ProxySQL, opts metav1.UpdateOptions) (*v1.ProxySQL, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ProxySQL, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ProxySQLList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.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 *v1.Redis, opts metav1.CreateOptions) (*v1.Redis, error) Update(ctx context.Context, redis *v1.Redis, opts metav1.UpdateOptions) (*v1.Redis, error) UpdateStatus(ctx context.Context, redis *v1.Redis, opts metav1.UpdateOptions) (*v1.Redis, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Redis, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.RedisList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Redis, err error) RedisExpansion }
RedisInterface has methods to work with Redis resources.
type RedisSentinelExpansion ¶
type RedisSentinelExpansion interface{}
type RedisSentinelInterface ¶
type RedisSentinelInterface interface { Create(ctx context.Context, redisSentinel *v1.RedisSentinel, opts metav1.CreateOptions) (*v1.RedisSentinel, error) Update(ctx context.Context, redisSentinel *v1.RedisSentinel, opts metav1.UpdateOptions) (*v1.RedisSentinel, error) UpdateStatus(ctx context.Context, redisSentinel *v1.RedisSentinel, opts metav1.UpdateOptions) (*v1.RedisSentinel, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.RedisSentinel, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.RedisSentinelList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.RedisSentinel, err error) RedisSentinelExpansion }
RedisSentinelInterface has methods to work with RedisSentinel resources.
type RedisSentinelsGetter ¶
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.