Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type DormantDatabaseExpansion
- type DormantDatabaseInterface
- type DormantDatabasesGetter
- type ElasticsearchExpansion
- type ElasticsearchInterface
- type ElasticsearchesGetter
- type EtcdExpansion
- type EtcdInterface
- type EtcdsGetter
- type KubedbV1alpha1Client
- func (c *KubedbV1alpha1Client) DormantDatabases(namespace string) DormantDatabaseInterface
- func (c *KubedbV1alpha1Client) Elasticsearches(namespace string) ElasticsearchInterface
- func (c *KubedbV1alpha1Client) Etcds(namespace string) EtcdInterface
- func (c *KubedbV1alpha1Client) MariaDBs(namespace string) MariaDBInterface
- func (c *KubedbV1alpha1Client) Memcacheds(namespace string) MemcachedInterface
- func (c *KubedbV1alpha1Client) MongoDBs(namespace string) MongoDBInterface
- func (c *KubedbV1alpha1Client) MySQLs(namespace string) MySQLInterface
- func (c *KubedbV1alpha1Client) PerconaXtraDBs(namespace string) PerconaXtraDBInterface
- func (c *KubedbV1alpha1Client) Postgreses(namespace string) PostgresInterface
- func (c *KubedbV1alpha1Client) RESTClient() rest.Interface
- func (c *KubedbV1alpha1Client) Redises(namespace string) RedisInterface
- func (c *KubedbV1alpha1Client) Snapshots(namespace string) SnapshotInterface
- type KubedbV1alpha1Interface
- 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 PostgresExpansion
- type PostgresInterface
- type PostgresesGetter
- type RedisExpansion
- type RedisInterface
- type RedisesGetter
- type SnapshotExpansion
- type SnapshotInterface
- type SnapshotsGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DormantDatabaseExpansion ¶
type DormantDatabaseExpansion interface{}
type DormantDatabaseInterface ¶
type DormantDatabaseInterface interface { Create(*v1alpha1.DormantDatabase) (*v1alpha1.DormantDatabase, error) Update(*v1alpha1.DormantDatabase) (*v1alpha1.DormantDatabase, error) UpdateStatus(*v1alpha1.DormantDatabase) (*v1alpha1.DormantDatabase, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.DormantDatabase, error) List(opts v1.ListOptions) (*v1alpha1.DormantDatabaseList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DormantDatabase, err error) DormantDatabaseExpansion }
DormantDatabaseInterface has methods to work with DormantDatabase resources.
type DormantDatabasesGetter ¶
type DormantDatabasesGetter interface {
DormantDatabases(namespace string) DormantDatabaseInterface
}
DormantDatabasesGetter has a method to return a DormantDatabaseInterface. A group's client should implement this interface.
type ElasticsearchExpansion ¶
type ElasticsearchExpansion interface{}
type ElasticsearchInterface ¶
type ElasticsearchInterface interface { Create(*v1alpha1.Elasticsearch) (*v1alpha1.Elasticsearch, error) Update(*v1alpha1.Elasticsearch) (*v1alpha1.Elasticsearch, error) UpdateStatus(*v1alpha1.Elasticsearch) (*v1alpha1.Elasticsearch, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.Elasticsearch, error) List(opts v1.ListOptions) (*v1alpha1.ElasticsearchList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.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(*v1alpha1.Etcd) (*v1alpha1.Etcd, error) Update(*v1alpha1.Etcd) (*v1alpha1.Etcd, error) UpdateStatus(*v1alpha1.Etcd) (*v1alpha1.Etcd, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.Etcd, error) List(opts v1.ListOptions) (*v1alpha1.EtcdList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.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 KubedbV1alpha1Client ¶
type KubedbV1alpha1Client struct {
// contains filtered or unexported fields
}
KubedbV1alpha1Client is used to interact with features provided by the kubedb.com group.
func New ¶
func New(c rest.Interface) *KubedbV1alpha1Client
New creates a new KubedbV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*KubedbV1alpha1Client, error)
NewForConfig creates a new KubedbV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *KubedbV1alpha1Client
NewForConfigOrDie creates a new KubedbV1alpha1Client for the given config and panics if there is an error in the config.
func (*KubedbV1alpha1Client) DormantDatabases ¶
func (c *KubedbV1alpha1Client) DormantDatabases(namespace string) DormantDatabaseInterface
func (*KubedbV1alpha1Client) Elasticsearches ¶
func (c *KubedbV1alpha1Client) Elasticsearches(namespace string) ElasticsearchInterface
func (*KubedbV1alpha1Client) Etcds ¶
func (c *KubedbV1alpha1Client) Etcds(namespace string) EtcdInterface
func (*KubedbV1alpha1Client) MariaDBs ¶
func (c *KubedbV1alpha1Client) MariaDBs(namespace string) MariaDBInterface
func (*KubedbV1alpha1Client) Memcacheds ¶
func (c *KubedbV1alpha1Client) Memcacheds(namespace string) MemcachedInterface
func (*KubedbV1alpha1Client) MongoDBs ¶
func (c *KubedbV1alpha1Client) MongoDBs(namespace string) MongoDBInterface
func (*KubedbV1alpha1Client) MySQLs ¶
func (c *KubedbV1alpha1Client) MySQLs(namespace string) MySQLInterface
func (*KubedbV1alpha1Client) PerconaXtraDBs ¶
func (c *KubedbV1alpha1Client) PerconaXtraDBs(namespace string) PerconaXtraDBInterface
func (*KubedbV1alpha1Client) Postgreses ¶
func (c *KubedbV1alpha1Client) Postgreses(namespace string) PostgresInterface
func (*KubedbV1alpha1Client) RESTClient ¶
func (c *KubedbV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*KubedbV1alpha1Client) Redises ¶
func (c *KubedbV1alpha1Client) Redises(namespace string) RedisInterface
func (*KubedbV1alpha1Client) Snapshots ¶
func (c *KubedbV1alpha1Client) Snapshots(namespace string) SnapshotInterface
type KubedbV1alpha1Interface ¶
type KubedbV1alpha1Interface interface { RESTClient() rest.Interface DormantDatabasesGetter ElasticsearchesGetter EtcdsGetter MariaDBsGetter MemcachedsGetter MongoDBsGetter MySQLsGetter PerconaXtraDBsGetter PostgresesGetter RedisesGetter SnapshotsGetter }
type MariaDBExpansion ¶
type MariaDBExpansion interface{}
type MariaDBInterface ¶
type MariaDBInterface interface { Create(*v1alpha1.MariaDB) (*v1alpha1.MariaDB, error) Update(*v1alpha1.MariaDB) (*v1alpha1.MariaDB, error) UpdateStatus(*v1alpha1.MariaDB) (*v1alpha1.MariaDB, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.MariaDB, error) List(opts v1.ListOptions) (*v1alpha1.MariaDBList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.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(*v1alpha1.Memcached) (*v1alpha1.Memcached, error) Update(*v1alpha1.Memcached) (*v1alpha1.Memcached, error) UpdateStatus(*v1alpha1.Memcached) (*v1alpha1.Memcached, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.Memcached, error) List(opts v1.ListOptions) (*v1alpha1.MemcachedList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.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(*v1alpha1.MongoDB) (*v1alpha1.MongoDB, error) Update(*v1alpha1.MongoDB) (*v1alpha1.MongoDB, error) UpdateStatus(*v1alpha1.MongoDB) (*v1alpha1.MongoDB, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.MongoDB, error) List(opts v1.ListOptions) (*v1alpha1.MongoDBList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.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(*v1alpha1.MySQL) (*v1alpha1.MySQL, error) Update(*v1alpha1.MySQL) (*v1alpha1.MySQL, error) UpdateStatus(*v1alpha1.MySQL) (*v1alpha1.MySQL, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.MySQL, error) List(opts v1.ListOptions) (*v1alpha1.MySQLList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.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(*v1alpha1.PerconaXtraDB) (*v1alpha1.PerconaXtraDB, error) Update(*v1alpha1.PerconaXtraDB) (*v1alpha1.PerconaXtraDB, error) UpdateStatus(*v1alpha1.PerconaXtraDB) (*v1alpha1.PerconaXtraDB, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.PerconaXtraDB, error) List(opts v1.ListOptions) (*v1alpha1.PerconaXtraDBList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.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 PostgresExpansion ¶
type PostgresExpansion interface{}
type PostgresInterface ¶
type PostgresInterface interface { Create(*v1alpha1.Postgres) (*v1alpha1.Postgres, error) Update(*v1alpha1.Postgres) (*v1alpha1.Postgres, error) UpdateStatus(*v1alpha1.Postgres) (*v1alpha1.Postgres, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.Postgres, error) List(opts v1.ListOptions) (*v1alpha1.PostgresList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.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 RedisExpansion ¶
type RedisExpansion interface{}
type RedisInterface ¶
type RedisInterface interface { Create(*v1alpha1.Redis) (*v1alpha1.Redis, error) Update(*v1alpha1.Redis) (*v1alpha1.Redis, error) UpdateStatus(*v1alpha1.Redis) (*v1alpha1.Redis, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.Redis, error) List(opts v1.ListOptions) (*v1alpha1.RedisList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Redis, err error) RedisExpansion }
RedisInterface has methods to work with Redis resources.
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.
type SnapshotExpansion ¶
type SnapshotExpansion interface{}
type SnapshotInterface ¶
type SnapshotInterface interface { Create(*v1alpha1.Snapshot) (*v1alpha1.Snapshot, error) Update(*v1alpha1.Snapshot) (*v1alpha1.Snapshot, error) UpdateStatus(*v1alpha1.Snapshot) (*v1alpha1.Snapshot, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.Snapshot, error) List(opts v1.ListOptions) (*v1alpha1.SnapshotList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Snapshot, err error) SnapshotExpansion }
SnapshotInterface has methods to work with Snapshot resources.
type SnapshotsGetter ¶
type SnapshotsGetter interface {
Snapshots(namespace string) SnapshotInterface
}
SnapshotsGetter has a method to return a SnapshotInterface. A group's client should implement this interface.