v1alpha1

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: MIT Imports: 9 Imported by: 0

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 ApisV1alpha1Client

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

ApisV1alpha1Client is used to interact with features provided by the apis group.

func New

New creates a new ApisV1alpha1Client for the given RESTClient.

func NewForConfig

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

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

func NewForConfigAndClient added in v0.0.3

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

NewForConfigAndClient creates a new ApisV1alpha1Client 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) *ApisV1alpha1Client

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

func (*ApisV1alpha1Client) MysqlBackups

func (c *ApisV1alpha1Client) MysqlBackups(namespace string) MysqlBackupInterface

func (*ApisV1alpha1Client) Mysqls

func (c *ApisV1alpha1Client) Mysqls(namespace string) MysqlInterface

func (*ApisV1alpha1Client) ProxySQLs

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

func (*ApisV1alpha1Client) RESTClient

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

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

func (*ApisV1alpha1Client) Redises

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

type ApisV1alpha1Interface

type ApisV1alpha1Interface interface {
	RESTClient() rest.Interface
	MysqlsGetter
	MysqlBackupsGetter
	ProxySQLsGetter
	RedisesGetter
}

type MysqlBackupExpansion

type MysqlBackupExpansion interface{}

type MysqlBackupInterface

type MysqlBackupInterface interface {
	Create(ctx context.Context, mysqlBackup *v1alpha1.MysqlBackup, opts v1.CreateOptions) (*v1alpha1.MysqlBackup, error)
	Update(ctx context.Context, mysqlBackup *v1alpha1.MysqlBackup, opts v1.UpdateOptions) (*v1alpha1.MysqlBackup, error)
	UpdateStatus(ctx context.Context, mysqlBackup *v1alpha1.MysqlBackup, opts v1.UpdateOptions) (*v1alpha1.MysqlBackup, 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.MysqlBackup, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.MysqlBackupList, 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.MysqlBackup, err error)
	MysqlBackupExpansion
}

MysqlBackupInterface has methods to work with MysqlBackup resources.

type MysqlBackupsGetter

type MysqlBackupsGetter interface {
	MysqlBackups(namespace string) MysqlBackupInterface
}

MysqlBackupsGetter has a method to return a MysqlBackupInterface. A group's client should implement this interface.

type MysqlExpansion

type MysqlExpansion interface{}

type MysqlInterface

type MysqlInterface interface {
	Create(ctx context.Context, mysql *v1alpha1.Mysql, opts v1.CreateOptions) (*v1alpha1.Mysql, error)
	Update(ctx context.Context, mysql *v1alpha1.Mysql, opts v1.UpdateOptions) (*v1alpha1.Mysql, error)
	UpdateStatus(ctx context.Context, mysql *v1alpha1.Mysql, opts v1.UpdateOptions) (*v1alpha1.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) (*v1alpha1.Mysql, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.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 *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 ProxySQLExpansion

type ProxySQLExpansion interface{}

type ProxySQLInterface

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

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