Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type DormantDatabaseExpansion
- type DormantDatabaseInterface
- type DormantDatabasesGetter
- type ElasticsearchExpansion
- type ElasticsearchInterface
- type ElasticsearchsGetter
- type KubedbV1alpha1Client
- func (c *KubedbV1alpha1Client) DormantDatabases(namespace string) DormantDatabaseInterface
- func (c *KubedbV1alpha1Client) Elasticsearchs(namespace string) ElasticsearchInterface
- func (c *KubedbV1alpha1Client) Memcacheds(namespace string) MemcachedInterface
- func (c *KubedbV1alpha1Client) MongoDBs(namespace string) MongoDBInterface
- func (c *KubedbV1alpha1Client) MySQLs(namespace string) MySQLInterface
- 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 MemcachedExpansion
- type MemcachedInterface
- type MemcachedsGetter
- type MongoDBExpansion
- type MongoDBInterface
- type MongoDBsGetter
- type MySQLExpansion
- type MySQLInterface
- type MySQLsGetter
- 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 ElasticsearchsGetter ¶
type ElasticsearchsGetter interface {
Elasticsearchs(namespace string) ElasticsearchInterface
}
ElasticsearchsGetter has a method to return a ElasticsearchInterface. 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) Elasticsearchs ¶
func (c *KubedbV1alpha1Client) Elasticsearchs(namespace string) ElasticsearchInterface
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) 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 ElasticsearchsGetter MemcachedsGetter MongoDBsGetter MySQLsGetter PostgresesGetter RedisesGetter SnapshotsGetter }
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 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.