Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type AccountExpansion
- type AccountInterface
- type AccountPrivilegeExpansion
- type AccountPrivilegeInterface
- type AccountPrivilegesGetter
- type AccountsGetter
- type BackupPoliciesGetter
- type BackupPolicyExpansion
- type BackupPolicyInterface
- type ConnectionExpansion
- type ConnectionInterface
- type ConnectionsGetter
- type DatabaseExpansion
- type DatabaseInterface
- type DatabasesGetter
- type DbV1alpha1Client
- func (c *DbV1alpha1Client) AccountPrivileges(namespace string) AccountPrivilegeInterface
- func (c *DbV1alpha1Client) Accounts(namespace string) AccountInterface
- func (c *DbV1alpha1Client) BackupPolicies(namespace string) BackupPolicyInterface
- func (c *DbV1alpha1Client) Connections(namespace string) ConnectionInterface
- func (c *DbV1alpha1Client) Databases(namespace string) DatabaseInterface
- func (c *DbV1alpha1Client) Instances(namespace string) InstanceInterface
- func (c *DbV1alpha1Client) RESTClient() rest.Interface
- func (c *DbV1alpha1Client) ReadWriteSplittingConnections(namespace string) ReadWriteSplittingConnectionInterface
- func (c *DbV1alpha1Client) ReadonlyInstances(namespace string) ReadonlyInstanceInterface
- type DbV1alpha1Interface
- type InstanceExpansion
- type InstanceInterface
- type InstancesGetter
- type ReadWriteSplittingConnectionExpansion
- type ReadWriteSplittingConnectionInterface
- type ReadWriteSplittingConnectionsGetter
- type ReadonlyInstanceExpansion
- type ReadonlyInstanceInterface
- type ReadonlyInstancesGetter
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 ConnectionExpansion ¶
type ConnectionExpansion interface{}
type ConnectionInterface ¶
type ConnectionInterface interface { Create(ctx context.Context, connection *v1alpha1.Connection, opts v1.CreateOptions) (*v1alpha1.Connection, error) Update(ctx context.Context, connection *v1alpha1.Connection, opts v1.UpdateOptions) (*v1alpha1.Connection, error) UpdateStatus(ctx context.Context, connection *v1alpha1.Connection, opts v1.UpdateOptions) (*v1alpha1.Connection, 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.Connection, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ConnectionList, 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.Connection, err error) ConnectionExpansion }
ConnectionInterface has methods to work with Connection resources.
type ConnectionsGetter ¶
type ConnectionsGetter interface {
Connections(namespace string) ConnectionInterface
}
ConnectionsGetter has a method to return a ConnectionInterface. 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 DbV1alpha1Client ¶
type DbV1alpha1Client struct {
// contains filtered or unexported fields
}
DbV1alpha1Client is used to interact with features provided by the db.alicloud.kubeform.com group.
func New ¶
func New(c rest.Interface) *DbV1alpha1Client
New creates a new DbV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*DbV1alpha1Client, error)
NewForConfig creates a new DbV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *DbV1alpha1Client
NewForConfigOrDie creates a new DbV1alpha1Client for the given config and panics if there is an error in the config.
func (*DbV1alpha1Client) AccountPrivileges ¶
func (c *DbV1alpha1Client) AccountPrivileges(namespace string) AccountPrivilegeInterface
func (*DbV1alpha1Client) Accounts ¶
func (c *DbV1alpha1Client) Accounts(namespace string) AccountInterface
func (*DbV1alpha1Client) BackupPolicies ¶
func (c *DbV1alpha1Client) BackupPolicies(namespace string) BackupPolicyInterface
func (*DbV1alpha1Client) Connections ¶
func (c *DbV1alpha1Client) Connections(namespace string) ConnectionInterface
func (*DbV1alpha1Client) Databases ¶
func (c *DbV1alpha1Client) Databases(namespace string) DatabaseInterface
func (*DbV1alpha1Client) Instances ¶
func (c *DbV1alpha1Client) Instances(namespace string) InstanceInterface
func (*DbV1alpha1Client) RESTClient ¶
func (c *DbV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*DbV1alpha1Client) ReadWriteSplittingConnections ¶
func (c *DbV1alpha1Client) ReadWriteSplittingConnections(namespace string) ReadWriteSplittingConnectionInterface
func (*DbV1alpha1Client) ReadonlyInstances ¶
func (c *DbV1alpha1Client) ReadonlyInstances(namespace string) ReadonlyInstanceInterface
type DbV1alpha1Interface ¶
type DbV1alpha1Interface interface { RESTClient() rest.Interface AccountsGetter AccountPrivilegesGetter BackupPoliciesGetter ConnectionsGetter DatabasesGetter InstancesGetter ReadWriteSplittingConnectionsGetter ReadonlyInstancesGetter }
type InstanceExpansion ¶
type InstanceExpansion interface{}
type InstanceInterface ¶
type InstanceInterface interface { Create(ctx context.Context, instance *v1alpha1.Instance, opts v1.CreateOptions) (*v1alpha1.Instance, error) Update(ctx context.Context, instance *v1alpha1.Instance, opts v1.UpdateOptions) (*v1alpha1.Instance, error) UpdateStatus(ctx context.Context, instance *v1alpha1.Instance, opts v1.UpdateOptions) (*v1alpha1.Instance, 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.Instance, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.InstanceList, 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.Instance, err error) InstanceExpansion }
InstanceInterface has methods to work with Instance resources.
type InstancesGetter ¶
type InstancesGetter interface {
Instances(namespace string) InstanceInterface
}
InstancesGetter has a method to return a InstanceInterface. A group's client should implement this interface.
type ReadWriteSplittingConnectionExpansion ¶
type ReadWriteSplittingConnectionExpansion interface{}
type ReadWriteSplittingConnectionInterface ¶
type ReadWriteSplittingConnectionInterface interface { Create(ctx context.Context, readWriteSplittingConnection *v1alpha1.ReadWriteSplittingConnection, opts v1.CreateOptions) (*v1alpha1.ReadWriteSplittingConnection, error) Update(ctx context.Context, readWriteSplittingConnection *v1alpha1.ReadWriteSplittingConnection, opts v1.UpdateOptions) (*v1alpha1.ReadWriteSplittingConnection, error) UpdateStatus(ctx context.Context, readWriteSplittingConnection *v1alpha1.ReadWriteSplittingConnection, opts v1.UpdateOptions) (*v1alpha1.ReadWriteSplittingConnection, 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.ReadWriteSplittingConnection, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ReadWriteSplittingConnectionList, 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.ReadWriteSplittingConnection, err error) ReadWriteSplittingConnectionExpansion }
ReadWriteSplittingConnectionInterface has methods to work with ReadWriteSplittingConnection resources.
type ReadWriteSplittingConnectionsGetter ¶
type ReadWriteSplittingConnectionsGetter interface {
ReadWriteSplittingConnections(namespace string) ReadWriteSplittingConnectionInterface
}
ReadWriteSplittingConnectionsGetter has a method to return a ReadWriteSplittingConnectionInterface. A group's client should implement this interface.
type ReadonlyInstanceExpansion ¶
type ReadonlyInstanceExpansion interface{}
type ReadonlyInstanceInterface ¶
type ReadonlyInstanceInterface interface { Create(ctx context.Context, readonlyInstance *v1alpha1.ReadonlyInstance, opts v1.CreateOptions) (*v1alpha1.ReadonlyInstance, error) Update(ctx context.Context, readonlyInstance *v1alpha1.ReadonlyInstance, opts v1.UpdateOptions) (*v1alpha1.ReadonlyInstance, error) UpdateStatus(ctx context.Context, readonlyInstance *v1alpha1.ReadonlyInstance, opts v1.UpdateOptions) (*v1alpha1.ReadonlyInstance, 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.ReadonlyInstance, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ReadonlyInstanceList, 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.ReadonlyInstance, err error) ReadonlyInstanceExpansion }
ReadonlyInstanceInterface has methods to work with ReadonlyInstance resources.
type ReadonlyInstancesGetter ¶
type ReadonlyInstancesGetter interface {
ReadonlyInstances(namespace string) ReadonlyInstanceInterface
}
ReadonlyInstancesGetter has a method to return a ReadonlyInstanceInterface. A group's client should implement this interface.