Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type CrV1Client
- func (c *CrV1Client) MySQLBackupInstances(namespace string) MySQLBackupInstanceInterface
- func (c *CrV1Client) MySQLBackupSchedules(namespace string) MySQLBackupScheduleInterface
- func (c *CrV1Client) MySQLClusters(namespace string) MySQLClusterInterface
- func (c *CrV1Client) RESTClient() rest.Interface
- type CrV1Interface
- type MySQLBackupInstanceExpansion
- type MySQLBackupInstanceInterface
- type MySQLBackupInstancesGetter
- type MySQLBackupScheduleExpansion
- type MySQLBackupScheduleInterface
- type MySQLBackupSchedulesGetter
- type MySQLClusterExpansion
- type MySQLClusterInterface
- type MySQLClustersGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CrV1Client ¶
type CrV1Client struct {
// contains filtered or unexported fields
}
CrV1Client is used to interact with features provided by the cr.mysqloperator.grtl.github.com group.
func New ¶
func New(c rest.Interface) *CrV1Client
New creates a new CrV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*CrV1Client, error)
NewForConfig creates a new CrV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *CrV1Client
NewForConfigOrDie creates a new CrV1Client for the given config and panics if there is an error in the config.
func (*CrV1Client) MySQLBackupInstances ¶
func (c *CrV1Client) MySQLBackupInstances(namespace string) MySQLBackupInstanceInterface
func (*CrV1Client) MySQLBackupSchedules ¶
func (c *CrV1Client) MySQLBackupSchedules(namespace string) MySQLBackupScheduleInterface
func (*CrV1Client) MySQLClusters ¶
func (c *CrV1Client) MySQLClusters(namespace string) MySQLClusterInterface
func (*CrV1Client) RESTClient ¶
func (c *CrV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type CrV1Interface ¶
type CrV1Interface interface { RESTClient() rest.Interface MySQLBackupInstancesGetter MySQLBackupSchedulesGetter MySQLClustersGetter }
type MySQLBackupInstanceExpansion ¶
type MySQLBackupInstanceExpansion interface{}
type MySQLBackupInstanceInterface ¶
type MySQLBackupInstanceInterface interface { Create(*v1.MySQLBackupInstance) (*v1.MySQLBackupInstance, error) Update(*v1.MySQLBackupInstance) (*v1.MySQLBackupInstance, error) UpdateStatus(*v1.MySQLBackupInstance) (*v1.MySQLBackupInstance, error) Delete(name string, options *meta_v1.DeleteOptions) error DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error Get(name string, options meta_v1.GetOptions) (*v1.MySQLBackupInstance, error) List(opts meta_v1.ListOptions) (*v1.MySQLBackupInstanceList, error) Watch(opts meta_v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.MySQLBackupInstance, err error) MySQLBackupInstanceExpansion }
MySQLBackupInstanceInterface has methods to work with MySQLBackupInstance resources.
type MySQLBackupInstancesGetter ¶
type MySQLBackupInstancesGetter interface {
MySQLBackupInstances(namespace string) MySQLBackupInstanceInterface
}
MySQLBackupInstancesGetter has a method to return a MySQLBackupInstanceInterface. A group's client should implement this interface.
type MySQLBackupScheduleExpansion ¶
type MySQLBackupScheduleExpansion interface{}
type MySQLBackupScheduleInterface ¶
type MySQLBackupScheduleInterface interface { Create(*v1.MySQLBackupSchedule) (*v1.MySQLBackupSchedule, error) Update(*v1.MySQLBackupSchedule) (*v1.MySQLBackupSchedule, error) Delete(name string, options *meta_v1.DeleteOptions) error DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error Get(name string, options meta_v1.GetOptions) (*v1.MySQLBackupSchedule, error) List(opts meta_v1.ListOptions) (*v1.MySQLBackupScheduleList, error) Watch(opts meta_v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.MySQLBackupSchedule, err error) MySQLBackupScheduleExpansion }
MySQLBackupScheduleInterface has methods to work with MySQLBackupSchedule resources.
type MySQLBackupSchedulesGetter ¶
type MySQLBackupSchedulesGetter interface {
MySQLBackupSchedules(namespace string) MySQLBackupScheduleInterface
}
MySQLBackupSchedulesGetter has a method to return a MySQLBackupScheduleInterface. A group's client should implement this interface.
type MySQLClusterExpansion ¶
type MySQLClusterExpansion interface{}
type MySQLClusterInterface ¶
type MySQLClusterInterface interface { Create(*v1.MySQLCluster) (*v1.MySQLCluster, error) Update(*v1.MySQLCluster) (*v1.MySQLCluster, error) Delete(name string, options *meta_v1.DeleteOptions) error DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error Get(name string, options meta_v1.GetOptions) (*v1.MySQLCluster, error) List(opts meta_v1.ListOptions) (*v1.MySQLClusterList, error) Watch(opts meta_v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.MySQLCluster, err error) MySQLClusterExpansion }
MySQLClusterInterface has methods to work with MySQLCluster resources.
type MySQLClustersGetter ¶
type MySQLClustersGetter interface {
MySQLClusters(namespace string) MySQLClusterInterface
}
MySQLClustersGetter has a method to return a MySQLClusterInterface. A group's client should implement this interface.