Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type MariaDBDatabaseExpansion
- type MariaDBDatabaseInterface
- type MariaDBDatabasesGetter
- type MongoDBDatabaseExpansion
- type MongoDBDatabaseInterface
- type MongoDBDatabasesGetter
- type MySQLDatabaseExpansion
- type MySQLDatabaseInterface
- type MySQLDatabasesGetter
- type PostgresDatabaseExpansion
- type PostgresDatabaseInterface
- type PostgresDatabasesGetter
- type SchemaV1alpha1Client
- func (c *SchemaV1alpha1Client) MariaDBDatabases(namespace string) MariaDBDatabaseInterface
- func (c *SchemaV1alpha1Client) MongoDBDatabases(namespace string) MongoDBDatabaseInterface
- func (c *SchemaV1alpha1Client) MySQLDatabases(namespace string) MySQLDatabaseInterface
- func (c *SchemaV1alpha1Client) PostgresDatabases(namespace string) PostgresDatabaseInterface
- func (c *SchemaV1alpha1Client) RESTClient() rest.Interface
- type SchemaV1alpha1Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MariaDBDatabaseExpansion ¶
type MariaDBDatabaseExpansion interface{}
type MariaDBDatabaseInterface ¶
type MariaDBDatabaseInterface interface { Create(ctx context.Context, mariaDBDatabase *v1alpha1.MariaDBDatabase, opts v1.CreateOptions) (*v1alpha1.MariaDBDatabase, error) Update(ctx context.Context, mariaDBDatabase *v1alpha1.MariaDBDatabase, opts v1.UpdateOptions) (*v1alpha1.MariaDBDatabase, error) UpdateStatus(ctx context.Context, mariaDBDatabase *v1alpha1.MariaDBDatabase, opts v1.UpdateOptions) (*v1alpha1.MariaDBDatabase, 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) (*v1alpha1.MariaDBDatabase, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.MariaDBDatabaseList, 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 *v1alpha1.MariaDBDatabase, err error) MariaDBDatabaseExpansion }
MariaDBDatabaseInterface has methods to work with MariaDBDatabase resources.
type MariaDBDatabasesGetter ¶
type MariaDBDatabasesGetter interface {
MariaDBDatabases(namespace string) MariaDBDatabaseInterface
}
MariaDBDatabasesGetter has a method to return a MariaDBDatabaseInterface. A group's client should implement this interface.
type MongoDBDatabaseExpansion ¶
type MongoDBDatabaseExpansion interface{}
type MongoDBDatabaseInterface ¶
type MongoDBDatabaseInterface interface { Create(ctx context.Context, mongoDBDatabase *v1alpha1.MongoDBDatabase, opts v1.CreateOptions) (*v1alpha1.MongoDBDatabase, error) Update(ctx context.Context, mongoDBDatabase *v1alpha1.MongoDBDatabase, opts v1.UpdateOptions) (*v1alpha1.MongoDBDatabase, error) UpdateStatus(ctx context.Context, mongoDBDatabase *v1alpha1.MongoDBDatabase, opts v1.UpdateOptions) (*v1alpha1.MongoDBDatabase, 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) (*v1alpha1.MongoDBDatabase, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.MongoDBDatabaseList, 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 *v1alpha1.MongoDBDatabase, err error) MongoDBDatabaseExpansion }
MongoDBDatabaseInterface has methods to work with MongoDBDatabase resources.
type MongoDBDatabasesGetter ¶
type MongoDBDatabasesGetter interface {
MongoDBDatabases(namespace string) MongoDBDatabaseInterface
}
MongoDBDatabasesGetter has a method to return a MongoDBDatabaseInterface. A group's client should implement this interface.
type MySQLDatabaseExpansion ¶
type MySQLDatabaseExpansion interface{}
type MySQLDatabaseInterface ¶
type MySQLDatabaseInterface interface { Create(ctx context.Context, mySQLDatabase *v1alpha1.MySQLDatabase, opts v1.CreateOptions) (*v1alpha1.MySQLDatabase, error) Update(ctx context.Context, mySQLDatabase *v1alpha1.MySQLDatabase, opts v1.UpdateOptions) (*v1alpha1.MySQLDatabase, error) UpdateStatus(ctx context.Context, mySQLDatabase *v1alpha1.MySQLDatabase, opts v1.UpdateOptions) (*v1alpha1.MySQLDatabase, 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) (*v1alpha1.MySQLDatabase, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.MySQLDatabaseList, 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 *v1alpha1.MySQLDatabase, err error) MySQLDatabaseExpansion }
MySQLDatabaseInterface has methods to work with MySQLDatabase resources.
type MySQLDatabasesGetter ¶
type MySQLDatabasesGetter interface {
MySQLDatabases(namespace string) MySQLDatabaseInterface
}
MySQLDatabasesGetter has a method to return a MySQLDatabaseInterface. A group's client should implement this interface.
type PostgresDatabaseExpansion ¶
type PostgresDatabaseExpansion interface{}
type PostgresDatabaseInterface ¶
type PostgresDatabaseInterface interface { Create(ctx context.Context, postgresDatabase *v1alpha1.PostgresDatabase, opts v1.CreateOptions) (*v1alpha1.PostgresDatabase, error) Update(ctx context.Context, postgresDatabase *v1alpha1.PostgresDatabase, opts v1.UpdateOptions) (*v1alpha1.PostgresDatabase, error) UpdateStatus(ctx context.Context, postgresDatabase *v1alpha1.PostgresDatabase, opts v1.UpdateOptions) (*v1alpha1.PostgresDatabase, 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) (*v1alpha1.PostgresDatabase, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.PostgresDatabaseList, 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 *v1alpha1.PostgresDatabase, err error) PostgresDatabaseExpansion }
PostgresDatabaseInterface has methods to work with PostgresDatabase resources.
type PostgresDatabasesGetter ¶
type PostgresDatabasesGetter interface {
PostgresDatabases(namespace string) PostgresDatabaseInterface
}
PostgresDatabasesGetter has a method to return a PostgresDatabaseInterface. A group's client should implement this interface.
type SchemaV1alpha1Client ¶
type SchemaV1alpha1Client struct {
// contains filtered or unexported fields
}
SchemaV1alpha1Client is used to interact with features provided by the schema.kubedb.com group.
func New ¶
func New(c rest.Interface) *SchemaV1alpha1Client
New creates a new SchemaV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*SchemaV1alpha1Client, error)
NewForConfig creates a new SchemaV1alpha1Client 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
NewForConfigAndClient creates a new SchemaV1alpha1Client 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) *SchemaV1alpha1Client
NewForConfigOrDie creates a new SchemaV1alpha1Client for the given config and panics if there is an error in the config.
func (*SchemaV1alpha1Client) MariaDBDatabases ¶
func (c *SchemaV1alpha1Client) MariaDBDatabases(namespace string) MariaDBDatabaseInterface
func (*SchemaV1alpha1Client) MongoDBDatabases ¶
func (c *SchemaV1alpha1Client) MongoDBDatabases(namespace string) MongoDBDatabaseInterface
func (*SchemaV1alpha1Client) MySQLDatabases ¶
func (c *SchemaV1alpha1Client) MySQLDatabases(namespace string) MySQLDatabaseInterface
func (*SchemaV1alpha1Client) PostgresDatabases ¶
func (c *SchemaV1alpha1Client) PostgresDatabases(namespace string) PostgresDatabaseInterface
func (*SchemaV1alpha1Client) RESTClient ¶
func (c *SchemaV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type SchemaV1alpha1Interface ¶
type SchemaV1alpha1Interface interface { RESTClient() rest.Interface MariaDBDatabasesGetter MongoDBDatabasesGetter MySQLDatabasesGetter PostgresDatabasesGetter }