v1alpha1

package
v0.0.0-...-fc21188 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: Apache-2.0 Imports: 7 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 ExampleV1alpha1Client

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

ExampleV1alpha1Client is used to interact with features provided by the example.com group.

func New

New creates a new ExampleV1alpha1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new ExampleV1alpha1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *ExampleV1alpha1Client

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

func (*ExampleV1alpha1Client) Mariadbs

func (c *ExampleV1alpha1Client) Mariadbs(namespace string) MariadbInterface

func (*ExampleV1alpha1Client) Mysqls

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

func (*ExampleV1alpha1Client) RESTClient

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

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

type ExampleV1alpha1Interface

type ExampleV1alpha1Interface interface {
	RESTClient() rest.Interface
	MariadbsGetter
	MysqlsGetter
}

type MariadbExpansion

type MariadbExpansion interface{}

type MariadbInterface

type MariadbInterface interface {
	Create(*v1alpha1.Mariadb) (*v1alpha1.Mariadb, error)
	Update(*v1alpha1.Mariadb) (*v1alpha1.Mariadb, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha1.Mariadb, error)
	List(opts v1.ListOptions) (*v1alpha1.MariadbList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Mariadb, err error)
	MariadbExpansion
}

MariadbInterface has methods to work with Mariadb resources.

type MariadbsGetter

type MariadbsGetter interface {
	Mariadbs(namespace string) MariadbInterface
}

MariadbsGetter has a method to return a MariadbInterface. 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL