v1

package
v0.0.0-...-87ef7df Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2018 License: Apache-2.0 Imports: 7 Imported by: 6

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 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 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.

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