v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 8 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 AccountExpansion

type AccountExpansion interface{}

type AccountInterface

type AccountInterface interface {
	Create(ctx context.Context, account *v1alpha1.Account, opts v1.CreateOptions) (*v1alpha1.Account, error)
	Update(ctx context.Context, account *v1alpha1.Account, opts v1.UpdateOptions) (*v1alpha1.Account, error)
	UpdateStatus(ctx context.Context, account *v1alpha1.Account, opts v1.UpdateOptions) (*v1alpha1.Account, 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.Account, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.AccountList, 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.Account, err error)
	AccountExpansion
}

AccountInterface has methods to work with Account resources.

type AccountPrivilegeExpansion

type AccountPrivilegeExpansion interface{}

type AccountPrivilegeInterface

type AccountPrivilegeInterface interface {
	Create(ctx context.Context, accountPrivilege *v1alpha1.AccountPrivilege, opts v1.CreateOptions) (*v1alpha1.AccountPrivilege, error)
	Update(ctx context.Context, accountPrivilege *v1alpha1.AccountPrivilege, opts v1.UpdateOptions) (*v1alpha1.AccountPrivilege, error)
	UpdateStatus(ctx context.Context, accountPrivilege *v1alpha1.AccountPrivilege, opts v1.UpdateOptions) (*v1alpha1.AccountPrivilege, 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.AccountPrivilege, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.AccountPrivilegeList, 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.AccountPrivilege, err error)
	AccountPrivilegeExpansion
}

AccountPrivilegeInterface has methods to work with AccountPrivilege resources.

type AccountPrivilegesGetter

type AccountPrivilegesGetter interface {
	AccountPrivileges(namespace string) AccountPrivilegeInterface
}

AccountPrivilegesGetter has a method to return a AccountPrivilegeInterface. A group's client should implement this interface.

type AccountsGetter

type AccountsGetter interface {
	Accounts(namespace string) AccountInterface
}

AccountsGetter has a method to return a AccountInterface. A group's client should implement this interface.

type BackupPoliciesGetter

type BackupPoliciesGetter interface {
	BackupPolicies(namespace string) BackupPolicyInterface
}

BackupPoliciesGetter has a method to return a BackupPolicyInterface. A group's client should implement this interface.

type BackupPolicyExpansion

type BackupPolicyExpansion interface{}

type BackupPolicyInterface

type BackupPolicyInterface interface {
	Create(ctx context.Context, backupPolicy *v1alpha1.BackupPolicy, opts v1.CreateOptions) (*v1alpha1.BackupPolicy, error)
	Update(ctx context.Context, backupPolicy *v1alpha1.BackupPolicy, opts v1.UpdateOptions) (*v1alpha1.BackupPolicy, error)
	UpdateStatus(ctx context.Context, backupPolicy *v1alpha1.BackupPolicy, opts v1.UpdateOptions) (*v1alpha1.BackupPolicy, 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.BackupPolicy, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.BackupPolicyList, 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.BackupPolicy, err error)
	BackupPolicyExpansion
}

BackupPolicyInterface has methods to work with BackupPolicy resources.

type ClusterExpansion

type ClusterExpansion interface{}

type ClusterInterface

type ClusterInterface interface {
	Create(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.CreateOptions) (*v1alpha1.Cluster, error)
	Update(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.UpdateOptions) (*v1alpha1.Cluster, error)
	UpdateStatus(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.UpdateOptions) (*v1alpha1.Cluster, 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.Cluster, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterList, 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.Cluster, err error)
	ClusterExpansion
}

ClusterInterface has methods to work with Cluster resources.

type ClustersGetter

type ClustersGetter interface {
	Clusters(namespace string) ClusterInterface
}

ClustersGetter has a method to return a ClusterInterface. A group's client should implement this interface.

type DatabaseExpansion

type DatabaseExpansion interface{}

type DatabaseInterface

type DatabaseInterface interface {
	Create(ctx context.Context, database *v1alpha1.Database, opts v1.CreateOptions) (*v1alpha1.Database, error)
	Update(ctx context.Context, database *v1alpha1.Database, opts v1.UpdateOptions) (*v1alpha1.Database, error)
	UpdateStatus(ctx context.Context, database *v1alpha1.Database, opts v1.UpdateOptions) (*v1alpha1.Database, 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.Database, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.DatabaseList, 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.Database, err error)
	DatabaseExpansion
}

DatabaseInterface has methods to work with Database resources.

type DatabasesGetter

type DatabasesGetter interface {
	Databases(namespace string) DatabaseInterface
}

DatabasesGetter has a method to return a DatabaseInterface. A group's client should implement this interface.

type EndpointAddressExpansion

type EndpointAddressExpansion interface{}

type EndpointAddressInterface

type EndpointAddressInterface interface {
	Create(ctx context.Context, endpointAddress *v1alpha1.EndpointAddress, opts v1.CreateOptions) (*v1alpha1.EndpointAddress, error)
	Update(ctx context.Context, endpointAddress *v1alpha1.EndpointAddress, opts v1.UpdateOptions) (*v1alpha1.EndpointAddress, error)
	UpdateStatus(ctx context.Context, endpointAddress *v1alpha1.EndpointAddress, opts v1.UpdateOptions) (*v1alpha1.EndpointAddress, 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.EndpointAddress, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.EndpointAddressList, 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.EndpointAddress, err error)
	EndpointAddressExpansion
}

EndpointAddressInterface has methods to work with EndpointAddress resources.

type EndpointAddressesGetter

type EndpointAddressesGetter interface {
	EndpointAddresses(namespace string) EndpointAddressInterface
}

EndpointAddressesGetter has a method to return a EndpointAddressInterface. A group's client should implement this interface.

type EndpointExpansion

type EndpointExpansion interface{}

type EndpointInterface

type EndpointInterface interface {
	Create(ctx context.Context, endpoint *v1alpha1.Endpoint, opts v1.CreateOptions) (*v1alpha1.Endpoint, error)
	Update(ctx context.Context, endpoint *v1alpha1.Endpoint, opts v1.UpdateOptions) (*v1alpha1.Endpoint, error)
	UpdateStatus(ctx context.Context, endpoint *v1alpha1.Endpoint, opts v1.UpdateOptions) (*v1alpha1.Endpoint, 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.Endpoint, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.EndpointList, 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.Endpoint, err error)
	EndpointExpansion
}

EndpointInterface has methods to work with Endpoint resources.

type EndpointsGetter

type EndpointsGetter interface {
	Endpoints(namespace string) EndpointInterface
}

EndpointsGetter has a method to return a EndpointInterface. A group's client should implement this interface.

type PolardbV1alpha1Client

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

PolardbV1alpha1Client is used to interact with features provided by the polardb.alicloud.kubeform.com group.

func New

New creates a new PolardbV1alpha1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new PolardbV1alpha1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *PolardbV1alpha1Client

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

func (*PolardbV1alpha1Client) AccountPrivileges

func (c *PolardbV1alpha1Client) AccountPrivileges(namespace string) AccountPrivilegeInterface

func (*PolardbV1alpha1Client) Accounts

func (c *PolardbV1alpha1Client) Accounts(namespace string) AccountInterface

func (*PolardbV1alpha1Client) BackupPolicies

func (c *PolardbV1alpha1Client) BackupPolicies(namespace string) BackupPolicyInterface

func (*PolardbV1alpha1Client) Clusters

func (c *PolardbV1alpha1Client) Clusters(namespace string) ClusterInterface

func (*PolardbV1alpha1Client) Databases

func (c *PolardbV1alpha1Client) Databases(namespace string) DatabaseInterface

func (*PolardbV1alpha1Client) EndpointAddresses

func (c *PolardbV1alpha1Client) EndpointAddresses(namespace string) EndpointAddressInterface

func (*PolardbV1alpha1Client) Endpoints

func (c *PolardbV1alpha1Client) Endpoints(namespace string) EndpointInterface

func (*PolardbV1alpha1Client) RESTClient

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

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

type PolardbV1alpha1Interface

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