v1beta1

package
v1.116.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 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 SQLDatabaseExpansion

type SQLDatabaseExpansion interface{}

type SQLDatabaseInterface

type SQLDatabaseInterface interface {
	Create(ctx context.Context, sQLDatabase *v1beta1.SQLDatabase, opts v1.CreateOptions) (*v1beta1.SQLDatabase, error)
	Update(ctx context.Context, sQLDatabase *v1beta1.SQLDatabase, opts v1.UpdateOptions) (*v1beta1.SQLDatabase, error)
	UpdateStatus(ctx context.Context, sQLDatabase *v1beta1.SQLDatabase, opts v1.UpdateOptions) (*v1beta1.SQLDatabase, 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) (*v1beta1.SQLDatabase, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.SQLDatabaseList, 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 *v1beta1.SQLDatabase, err error)
	SQLDatabaseExpansion
}

SQLDatabaseInterface has methods to work with SQLDatabase resources.

type SQLDatabasesGetter

type SQLDatabasesGetter interface {
	SQLDatabases(namespace string) SQLDatabaseInterface
}

SQLDatabasesGetter has a method to return a SQLDatabaseInterface. A group's client should implement this interface.

type SQLInstanceExpansion

type SQLInstanceExpansion interface{}

type SQLInstanceInterface

type SQLInstanceInterface interface {
	Create(ctx context.Context, sQLInstance *v1beta1.SQLInstance, opts v1.CreateOptions) (*v1beta1.SQLInstance, error)
	Update(ctx context.Context, sQLInstance *v1beta1.SQLInstance, opts v1.UpdateOptions) (*v1beta1.SQLInstance, error)
	UpdateStatus(ctx context.Context, sQLInstance *v1beta1.SQLInstance, opts v1.UpdateOptions) (*v1beta1.SQLInstance, 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) (*v1beta1.SQLInstance, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.SQLInstanceList, 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 *v1beta1.SQLInstance, err error)
	SQLInstanceExpansion
}

SQLInstanceInterface has methods to work with SQLInstance resources.

type SQLInstancesGetter

type SQLInstancesGetter interface {
	SQLInstances(namespace string) SQLInstanceInterface
}

SQLInstancesGetter has a method to return a SQLInstanceInterface. A group's client should implement this interface.

type SQLSSLCertExpansion

type SQLSSLCertExpansion interface{}

type SQLSSLCertInterface

type SQLSSLCertInterface interface {
	Create(ctx context.Context, sQLSSLCert *v1beta1.SQLSSLCert, opts v1.CreateOptions) (*v1beta1.SQLSSLCert, error)
	Update(ctx context.Context, sQLSSLCert *v1beta1.SQLSSLCert, opts v1.UpdateOptions) (*v1beta1.SQLSSLCert, error)
	UpdateStatus(ctx context.Context, sQLSSLCert *v1beta1.SQLSSLCert, opts v1.UpdateOptions) (*v1beta1.SQLSSLCert, 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) (*v1beta1.SQLSSLCert, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.SQLSSLCertList, 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 *v1beta1.SQLSSLCert, err error)
	SQLSSLCertExpansion
}

SQLSSLCertInterface has methods to work with SQLSSLCert resources.

type SQLSSLCertsGetter

type SQLSSLCertsGetter interface {
	SQLSSLCerts(namespace string) SQLSSLCertInterface
}

SQLSSLCertsGetter has a method to return a SQLSSLCertInterface. A group's client should implement this interface.

type SQLUserExpansion

type SQLUserExpansion interface{}

type SQLUserInterface

type SQLUserInterface interface {
	Create(ctx context.Context, sQLUser *v1beta1.SQLUser, opts v1.CreateOptions) (*v1beta1.SQLUser, error)
	Update(ctx context.Context, sQLUser *v1beta1.SQLUser, opts v1.UpdateOptions) (*v1beta1.SQLUser, error)
	UpdateStatus(ctx context.Context, sQLUser *v1beta1.SQLUser, opts v1.UpdateOptions) (*v1beta1.SQLUser, 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) (*v1beta1.SQLUser, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.SQLUserList, 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 *v1beta1.SQLUser, err error)
	SQLUserExpansion
}

SQLUserInterface has methods to work with SQLUser resources.

type SQLUsersGetter

type SQLUsersGetter interface {
	SQLUsers(namespace string) SQLUserInterface
}

SQLUsersGetter has a method to return a SQLUserInterface. A group's client should implement this interface.

type SqlV1beta1Client

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

SqlV1beta1Client is used to interact with features provided by the sql.cnrm.cloud.google.com group.

func New

New creates a new SqlV1beta1Client for the given RESTClient.

func NewForConfig

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

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

func NewForConfigAndClient added in v1.75.0

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

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

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

func (*SqlV1beta1Client) RESTClient

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

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

func (*SqlV1beta1Client) SQLDatabases

func (c *SqlV1beta1Client) SQLDatabases(namespace string) SQLDatabaseInterface

func (*SqlV1beta1Client) SQLInstances

func (c *SqlV1beta1Client) SQLInstances(namespace string) SQLInstanceInterface

func (*SqlV1beta1Client) SQLSSLCerts

func (c *SqlV1beta1Client) SQLSSLCerts(namespace string) SQLSSLCertInterface

func (*SqlV1beta1Client) SQLUsers

func (c *SqlV1beta1Client) SQLUsers(namespace string) SQLUserInterface

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