Documentation ¶
Overview ¶
nolint
nolint
nolint
nolint
nolint
Index ¶
- type BackupIterator
- type BackupServiceClient
- func (c *BackupServiceClient) BackupIterator(ctx context.Context, req *mysql.ListBackupsRequest, opts ...grpc.CallOption) *BackupIterator
- func (c *BackupServiceClient) Delete(ctx context.Context, in *mysql.DeleteBackupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *BackupServiceClient) Get(ctx context.Context, in *mysql.GetBackupRequest, opts ...grpc.CallOption) (*mysql.Backup, error)
- func (c *BackupServiceClient) List(ctx context.Context, in *mysql.ListBackupsRequest, opts ...grpc.CallOption) (*mysql.ListBackupsResponse, error)
- type ClusterBackupsIterator
- type ClusterHostsIterator
- type ClusterIterator
- type ClusterLogsIterator
- type ClusterOperationsIterator
- func (it *ClusterOperationsIterator) Error() error
- func (it *ClusterOperationsIterator) Next() bool
- func (it *ClusterOperationsIterator) Take(size int64) ([]*operation.Operation, error)
- func (it *ClusterOperationsIterator) TakeAll() ([]*operation.Operation, error)
- func (it *ClusterOperationsIterator) Value() *operation.Operation
- type ClusterServiceClient
- func (c *ClusterServiceClient) AddHosts(ctx context.Context, in *mysql.AddClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) Backup(ctx context.Context, in *mysql.BackupClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) ClusterBackupsIterator(ctx context.Context, req *mysql.ListClusterBackupsRequest, ...) *ClusterBackupsIterator
- func (c *ClusterServiceClient) ClusterHostsIterator(ctx context.Context, req *mysql.ListClusterHostsRequest, ...) *ClusterHostsIterator
- func (c *ClusterServiceClient) ClusterIterator(ctx context.Context, req *mysql.ListClustersRequest, opts ...grpc.CallOption) *ClusterIterator
- func (c *ClusterServiceClient) ClusterLogsIterator(ctx context.Context, req *mysql.ListClusterLogsRequest, ...) *ClusterLogsIterator
- func (c *ClusterServiceClient) ClusterOperationsIterator(ctx context.Context, req *mysql.ListClusterOperationsRequest, ...) *ClusterOperationsIterator
- func (c *ClusterServiceClient) Create(ctx context.Context, in *mysql.CreateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) Delete(ctx context.Context, in *mysql.DeleteClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) DeleteHosts(ctx context.Context, in *mysql.DeleteClusterHostsRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) Get(ctx context.Context, in *mysql.GetClusterRequest, opts ...grpc.CallOption) (*mysql.Cluster, error)
- func (c *ClusterServiceClient) List(ctx context.Context, in *mysql.ListClustersRequest, opts ...grpc.CallOption) (*mysql.ListClustersResponse, error)
- func (c *ClusterServiceClient) ListBackups(ctx context.Context, in *mysql.ListClusterBackupsRequest, ...) (*mysql.ListClusterBackupsResponse, error)
- func (c *ClusterServiceClient) ListHosts(ctx context.Context, in *mysql.ListClusterHostsRequest, ...) (*mysql.ListClusterHostsResponse, error)
- func (c *ClusterServiceClient) ListLogs(ctx context.Context, in *mysql.ListClusterLogsRequest, opts ...grpc.CallOption) (*mysql.ListClusterLogsResponse, error)
- func (c *ClusterServiceClient) ListOperations(ctx context.Context, in *mysql.ListClusterOperationsRequest, ...) (*mysql.ListClusterOperationsResponse, error)
- func (c *ClusterServiceClient) Move(ctx context.Context, in *mysql.MoveClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) RescheduleMaintenance(ctx context.Context, in *mysql.RescheduleMaintenanceRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) Restore(ctx context.Context, in *mysql.RestoreClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) Start(ctx context.Context, in *mysql.StartClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) StartFailover(ctx context.Context, in *mysql.StartClusterFailoverRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) Stop(ctx context.Context, in *mysql.StopClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) StreamLogs(ctx context.Context, in *mysql.StreamClusterLogsRequest, ...) (mysql.ClusterService_StreamLogsClient, error)
- func (c *ClusterServiceClient) Update(ctx context.Context, in *mysql.UpdateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) UpdateHosts(ctx context.Context, in *mysql.UpdateClusterHostsRequest, ...) (*operation.Operation, error)
- type DatabaseIterator
- type DatabaseServiceClient
- func (c *DatabaseServiceClient) Create(ctx context.Context, in *mysql.CreateDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *DatabaseServiceClient) DatabaseIterator(ctx context.Context, req *mysql.ListDatabasesRequest, opts ...grpc.CallOption) *DatabaseIterator
- func (c *DatabaseServiceClient) Delete(ctx context.Context, in *mysql.DeleteDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *DatabaseServiceClient) Get(ctx context.Context, in *mysql.GetDatabaseRequest, opts ...grpc.CallOption) (*mysql.Database, error)
- func (c *DatabaseServiceClient) List(ctx context.Context, in *mysql.ListDatabasesRequest, opts ...grpc.CallOption) (*mysql.ListDatabasesResponse, error)
- type MySQL
- type ResourcePresetIterator
- func (it *ResourcePresetIterator) Error() error
- func (it *ResourcePresetIterator) Next() bool
- func (it *ResourcePresetIterator) Take(size int64) ([]*mysql.ResourcePreset, error)
- func (it *ResourcePresetIterator) TakeAll() ([]*mysql.ResourcePreset, error)
- func (it *ResourcePresetIterator) Value() *mysql.ResourcePreset
- type ResourcePresetServiceClient
- func (c *ResourcePresetServiceClient) Get(ctx context.Context, in *mysql.GetResourcePresetRequest, ...) (*mysql.ResourcePreset, error)
- func (c *ResourcePresetServiceClient) List(ctx context.Context, in *mysql.ListResourcePresetsRequest, ...) (*mysql.ListResourcePresetsResponse, error)
- func (c *ResourcePresetServiceClient) ResourcePresetIterator(ctx context.Context, req *mysql.ListResourcePresetsRequest, ...) *ResourcePresetIterator
- type UserIterator
- type UserServiceClient
- func (c *UserServiceClient) Create(ctx context.Context, in *mysql.CreateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *UserServiceClient) Delete(ctx context.Context, in *mysql.DeleteUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *UserServiceClient) Get(ctx context.Context, in *mysql.GetUserRequest, opts ...grpc.CallOption) (*mysql.User, error)
- func (c *UserServiceClient) GrantPermission(ctx context.Context, in *mysql.GrantUserPermissionRequest, ...) (*operation.Operation, error)
- func (c *UserServiceClient) List(ctx context.Context, in *mysql.ListUsersRequest, opts ...grpc.CallOption) (*mysql.ListUsersResponse, error)
- func (c *UserServiceClient) RevokePermission(ctx context.Context, in *mysql.RevokeUserPermissionRequest, ...) (*operation.Operation, error)
- func (c *UserServiceClient) Update(ctx context.Context, in *mysql.UpdateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *UserServiceClient) UserIterator(ctx context.Context, req *mysql.ListUsersRequest, opts ...grpc.CallOption) *UserIterator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupIterator ¶
type BackupIterator struct {
// contains filtered or unexported fields
}
func (*BackupIterator) Error ¶
func (it *BackupIterator) Error() error
func (*BackupIterator) Next ¶
func (it *BackupIterator) Next() bool
func (*BackupIterator) Value ¶
func (it *BackupIterator) Value() *mysql.Backup
type BackupServiceClient ¶
type BackupServiceClient struct {
// contains filtered or unexported fields
}
BackupServiceClient is a mysql.BackupServiceClient with lazy GRPC connection initialization.
func (*BackupServiceClient) BackupIterator ¶
func (c *BackupServiceClient) BackupIterator(ctx context.Context, req *mysql.ListBackupsRequest, opts ...grpc.CallOption) *BackupIterator
func (*BackupServiceClient) Delete ¶
func (c *BackupServiceClient) Delete(ctx context.Context, in *mysql.DeleteBackupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements mysql.BackupServiceClient
func (*BackupServiceClient) Get ¶
func (c *BackupServiceClient) Get(ctx context.Context, in *mysql.GetBackupRequest, opts ...grpc.CallOption) (*mysql.Backup, error)
Get implements mysql.BackupServiceClient
func (*BackupServiceClient) List ¶
func (c *BackupServiceClient) List(ctx context.Context, in *mysql.ListBackupsRequest, opts ...grpc.CallOption) (*mysql.ListBackupsResponse, error)
List implements mysql.BackupServiceClient
type ClusterBackupsIterator ¶
type ClusterBackupsIterator struct {
// contains filtered or unexported fields
}
func (*ClusterBackupsIterator) Error ¶
func (it *ClusterBackupsIterator) Error() error
func (*ClusterBackupsIterator) Next ¶
func (it *ClusterBackupsIterator) Next() bool
func (*ClusterBackupsIterator) Take ¶
func (it *ClusterBackupsIterator) Take(size int64) ([]*mysql.Backup, error)
func (*ClusterBackupsIterator) TakeAll ¶
func (it *ClusterBackupsIterator) TakeAll() ([]*mysql.Backup, error)
func (*ClusterBackupsIterator) Value ¶
func (it *ClusterBackupsIterator) Value() *mysql.Backup
type ClusterHostsIterator ¶
type ClusterHostsIterator struct {
// contains filtered or unexported fields
}
func (*ClusterHostsIterator) Error ¶
func (it *ClusterHostsIterator) Error() error
func (*ClusterHostsIterator) Next ¶
func (it *ClusterHostsIterator) Next() bool
func (*ClusterHostsIterator) Take ¶
func (it *ClusterHostsIterator) Take(size int64) ([]*mysql.Host, error)
func (*ClusterHostsIterator) TakeAll ¶
func (it *ClusterHostsIterator) TakeAll() ([]*mysql.Host, error)
func (*ClusterHostsIterator) Value ¶
func (it *ClusterHostsIterator) Value() *mysql.Host
type ClusterIterator ¶
type ClusterIterator struct {
// contains filtered or unexported fields
}
func (*ClusterIterator) Error ¶
func (it *ClusterIterator) Error() error
func (*ClusterIterator) Next ¶
func (it *ClusterIterator) Next() bool
func (*ClusterIterator) Take ¶
func (it *ClusterIterator) Take(size int64) ([]*mysql.Cluster, error)
func (*ClusterIterator) Value ¶
func (it *ClusterIterator) Value() *mysql.Cluster
type ClusterLogsIterator ¶
type ClusterLogsIterator struct {
// contains filtered or unexported fields
}
func (*ClusterLogsIterator) Error ¶
func (it *ClusterLogsIterator) Error() error
func (*ClusterLogsIterator) Next ¶
func (it *ClusterLogsIterator) Next() bool
func (*ClusterLogsIterator) Take ¶
func (it *ClusterLogsIterator) Take(size int64) ([]*mysql.LogRecord, error)
func (*ClusterLogsIterator) TakeAll ¶
func (it *ClusterLogsIterator) TakeAll() ([]*mysql.LogRecord, error)
func (*ClusterLogsIterator) Value ¶
func (it *ClusterLogsIterator) Value() *mysql.LogRecord
type ClusterOperationsIterator ¶
type ClusterOperationsIterator struct {
// contains filtered or unexported fields
}
func (*ClusterOperationsIterator) Error ¶
func (it *ClusterOperationsIterator) Error() error
func (*ClusterOperationsIterator) Next ¶
func (it *ClusterOperationsIterator) Next() bool
func (*ClusterOperationsIterator) Take ¶
func (it *ClusterOperationsIterator) Take(size int64) ([]*operation.Operation, error)
func (*ClusterOperationsIterator) TakeAll ¶
func (it *ClusterOperationsIterator) TakeAll() ([]*operation.Operation, error)
func (*ClusterOperationsIterator) Value ¶
func (it *ClusterOperationsIterator) Value() *operation.Operation
type ClusterServiceClient ¶
type ClusterServiceClient struct {
// contains filtered or unexported fields
}
ClusterServiceClient is a mysql.ClusterServiceClient with lazy GRPC connection initialization.
func (*ClusterServiceClient) AddHosts ¶
func (c *ClusterServiceClient) AddHosts(ctx context.Context, in *mysql.AddClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
AddHosts implements mysql.ClusterServiceClient
func (*ClusterServiceClient) Backup ¶
func (c *ClusterServiceClient) Backup(ctx context.Context, in *mysql.BackupClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Backup implements mysql.ClusterServiceClient
func (*ClusterServiceClient) ClusterBackupsIterator ¶
func (c *ClusterServiceClient) ClusterBackupsIterator(ctx context.Context, req *mysql.ListClusterBackupsRequest, opts ...grpc.CallOption) *ClusterBackupsIterator
func (*ClusterServiceClient) ClusterHostsIterator ¶
func (c *ClusterServiceClient) ClusterHostsIterator(ctx context.Context, req *mysql.ListClusterHostsRequest, opts ...grpc.CallOption) *ClusterHostsIterator
func (*ClusterServiceClient) ClusterIterator ¶
func (c *ClusterServiceClient) ClusterIterator(ctx context.Context, req *mysql.ListClustersRequest, opts ...grpc.CallOption) *ClusterIterator
func (*ClusterServiceClient) ClusterLogsIterator ¶
func (c *ClusterServiceClient) ClusterLogsIterator(ctx context.Context, req *mysql.ListClusterLogsRequest, opts ...grpc.CallOption) *ClusterLogsIterator
func (*ClusterServiceClient) ClusterOperationsIterator ¶
func (c *ClusterServiceClient) ClusterOperationsIterator(ctx context.Context, req *mysql.ListClusterOperationsRequest, opts ...grpc.CallOption) *ClusterOperationsIterator
func (*ClusterServiceClient) Create ¶
func (c *ClusterServiceClient) Create(ctx context.Context, in *mysql.CreateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements mysql.ClusterServiceClient
func (*ClusterServiceClient) Delete ¶
func (c *ClusterServiceClient) Delete(ctx context.Context, in *mysql.DeleteClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements mysql.ClusterServiceClient
func (*ClusterServiceClient) DeleteHosts ¶
func (c *ClusterServiceClient) DeleteHosts(ctx context.Context, in *mysql.DeleteClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
DeleteHosts implements mysql.ClusterServiceClient
func (*ClusterServiceClient) Get ¶
func (c *ClusterServiceClient) Get(ctx context.Context, in *mysql.GetClusterRequest, opts ...grpc.CallOption) (*mysql.Cluster, error)
Get implements mysql.ClusterServiceClient
func (*ClusterServiceClient) List ¶
func (c *ClusterServiceClient) List(ctx context.Context, in *mysql.ListClustersRequest, opts ...grpc.CallOption) (*mysql.ListClustersResponse, error)
List implements mysql.ClusterServiceClient
func (*ClusterServiceClient) ListBackups ¶
func (c *ClusterServiceClient) ListBackups(ctx context.Context, in *mysql.ListClusterBackupsRequest, opts ...grpc.CallOption) (*mysql.ListClusterBackupsResponse, error)
ListBackups implements mysql.ClusterServiceClient
func (*ClusterServiceClient) ListHosts ¶
func (c *ClusterServiceClient) ListHosts(ctx context.Context, in *mysql.ListClusterHostsRequest, opts ...grpc.CallOption) (*mysql.ListClusterHostsResponse, error)
ListHosts implements mysql.ClusterServiceClient
func (*ClusterServiceClient) ListLogs ¶
func (c *ClusterServiceClient) ListLogs(ctx context.Context, in *mysql.ListClusterLogsRequest, opts ...grpc.CallOption) (*mysql.ListClusterLogsResponse, error)
ListLogs implements mysql.ClusterServiceClient
func (*ClusterServiceClient) ListOperations ¶
func (c *ClusterServiceClient) ListOperations(ctx context.Context, in *mysql.ListClusterOperationsRequest, opts ...grpc.CallOption) (*mysql.ListClusterOperationsResponse, error)
ListOperations implements mysql.ClusterServiceClient
func (*ClusterServiceClient) Move ¶
func (c *ClusterServiceClient) Move(ctx context.Context, in *mysql.MoveClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Move implements mysql.ClusterServiceClient
func (*ClusterServiceClient) RescheduleMaintenance ¶
func (c *ClusterServiceClient) RescheduleMaintenance(ctx context.Context, in *mysql.RescheduleMaintenanceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
RescheduleMaintenance implements mysql.ClusterServiceClient
func (*ClusterServiceClient) Restore ¶
func (c *ClusterServiceClient) Restore(ctx context.Context, in *mysql.RestoreClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Restore implements mysql.ClusterServiceClient
func (*ClusterServiceClient) Start ¶
func (c *ClusterServiceClient) Start(ctx context.Context, in *mysql.StartClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Start implements mysql.ClusterServiceClient
func (*ClusterServiceClient) StartFailover ¶
func (c *ClusterServiceClient) StartFailover(ctx context.Context, in *mysql.StartClusterFailoverRequest, opts ...grpc.CallOption) (*operation.Operation, error)
StartFailover implements mysql.ClusterServiceClient
func (*ClusterServiceClient) Stop ¶
func (c *ClusterServiceClient) Stop(ctx context.Context, in *mysql.StopClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Stop implements mysql.ClusterServiceClient
func (*ClusterServiceClient) StreamLogs ¶
func (c *ClusterServiceClient) StreamLogs(ctx context.Context, in *mysql.StreamClusterLogsRequest, opts ...grpc.CallOption) (mysql.ClusterService_StreamLogsClient, error)
StreamLogs implements mysql.ClusterServiceClient
func (*ClusterServiceClient) Update ¶
func (c *ClusterServiceClient) Update(ctx context.Context, in *mysql.UpdateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Update implements mysql.ClusterServiceClient
func (*ClusterServiceClient) UpdateHosts ¶
func (c *ClusterServiceClient) UpdateHosts(ctx context.Context, in *mysql.UpdateClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
UpdateHosts implements mysql.ClusterServiceClient
type DatabaseIterator ¶
type DatabaseIterator struct {
// contains filtered or unexported fields
}
func (*DatabaseIterator) Error ¶
func (it *DatabaseIterator) Error() error
func (*DatabaseIterator) Next ¶
func (it *DatabaseIterator) Next() bool
func (*DatabaseIterator) Take ¶
func (it *DatabaseIterator) Take(size int64) ([]*mysql.Database, error)
func (*DatabaseIterator) Value ¶
func (it *DatabaseIterator) Value() *mysql.Database
type DatabaseServiceClient ¶
type DatabaseServiceClient struct {
// contains filtered or unexported fields
}
DatabaseServiceClient is a mysql.DatabaseServiceClient with lazy GRPC connection initialization.
func (*DatabaseServiceClient) Create ¶
func (c *DatabaseServiceClient) Create(ctx context.Context, in *mysql.CreateDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements mysql.DatabaseServiceClient
func (*DatabaseServiceClient) DatabaseIterator ¶
func (c *DatabaseServiceClient) DatabaseIterator(ctx context.Context, req *mysql.ListDatabasesRequest, opts ...grpc.CallOption) *DatabaseIterator
func (*DatabaseServiceClient) Delete ¶
func (c *DatabaseServiceClient) Delete(ctx context.Context, in *mysql.DeleteDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements mysql.DatabaseServiceClient
func (*DatabaseServiceClient) Get ¶
func (c *DatabaseServiceClient) Get(ctx context.Context, in *mysql.GetDatabaseRequest, opts ...grpc.CallOption) (*mysql.Database, error)
Get implements mysql.DatabaseServiceClient
func (*DatabaseServiceClient) List ¶
func (c *DatabaseServiceClient) List(ctx context.Context, in *mysql.ListDatabasesRequest, opts ...grpc.CallOption) (*mysql.ListDatabasesResponse, error)
List implements mysql.DatabaseServiceClient
type MySQL ¶
type MySQL struct {
// contains filtered or unexported fields
}
MySQL provides access to "mysql" component of Yandex.Cloud
func (*MySQL) Backup ¶
func (m *MySQL) Backup() *BackupServiceClient
Backup gets BackupService client
func (*MySQL) Cluster ¶
func (m *MySQL) Cluster() *ClusterServiceClient
Cluster gets ClusterService client
func (*MySQL) Database ¶
func (m *MySQL) Database() *DatabaseServiceClient
Database gets DatabaseService client
func (*MySQL) ResourcePreset ¶
func (m *MySQL) ResourcePreset() *ResourcePresetServiceClient
ResourcePreset gets ResourcePresetService client
type ResourcePresetIterator ¶
type ResourcePresetIterator struct {
// contains filtered or unexported fields
}
func (*ResourcePresetIterator) Error ¶
func (it *ResourcePresetIterator) Error() error
func (*ResourcePresetIterator) Next ¶
func (it *ResourcePresetIterator) Next() bool
func (*ResourcePresetIterator) Take ¶
func (it *ResourcePresetIterator) Take(size int64) ([]*mysql.ResourcePreset, error)
func (*ResourcePresetIterator) TakeAll ¶
func (it *ResourcePresetIterator) TakeAll() ([]*mysql.ResourcePreset, error)
func (*ResourcePresetIterator) Value ¶
func (it *ResourcePresetIterator) Value() *mysql.ResourcePreset
type ResourcePresetServiceClient ¶
type ResourcePresetServiceClient struct {
// contains filtered or unexported fields
}
ResourcePresetServiceClient is a mysql.ResourcePresetServiceClient with lazy GRPC connection initialization.
func (*ResourcePresetServiceClient) Get ¶
func (c *ResourcePresetServiceClient) Get(ctx context.Context, in *mysql.GetResourcePresetRequest, opts ...grpc.CallOption) (*mysql.ResourcePreset, error)
Get implements mysql.ResourcePresetServiceClient
func (*ResourcePresetServiceClient) List ¶
func (c *ResourcePresetServiceClient) List(ctx context.Context, in *mysql.ListResourcePresetsRequest, opts ...grpc.CallOption) (*mysql.ListResourcePresetsResponse, error)
List implements mysql.ResourcePresetServiceClient
func (*ResourcePresetServiceClient) ResourcePresetIterator ¶
func (c *ResourcePresetServiceClient) ResourcePresetIterator(ctx context.Context, req *mysql.ListResourcePresetsRequest, opts ...grpc.CallOption) *ResourcePresetIterator
type UserIterator ¶
type UserIterator struct {
// contains filtered or unexported fields
}
func (*UserIterator) Error ¶
func (it *UserIterator) Error() error
func (*UserIterator) Next ¶
func (it *UserIterator) Next() bool
func (*UserIterator) Value ¶
func (it *UserIterator) Value() *mysql.User
type UserServiceClient ¶
type UserServiceClient struct {
// contains filtered or unexported fields
}
UserServiceClient is a mysql.UserServiceClient with lazy GRPC connection initialization.
func (*UserServiceClient) Create ¶
func (c *UserServiceClient) Create(ctx context.Context, in *mysql.CreateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements mysql.UserServiceClient
func (*UserServiceClient) Delete ¶
func (c *UserServiceClient) Delete(ctx context.Context, in *mysql.DeleteUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements mysql.UserServiceClient
func (*UserServiceClient) Get ¶
func (c *UserServiceClient) Get(ctx context.Context, in *mysql.GetUserRequest, opts ...grpc.CallOption) (*mysql.User, error)
Get implements mysql.UserServiceClient
func (*UserServiceClient) GrantPermission ¶
func (c *UserServiceClient) GrantPermission(ctx context.Context, in *mysql.GrantUserPermissionRequest, opts ...grpc.CallOption) (*operation.Operation, error)
GrantPermission implements mysql.UserServiceClient
func (*UserServiceClient) List ¶
func (c *UserServiceClient) List(ctx context.Context, in *mysql.ListUsersRequest, opts ...grpc.CallOption) (*mysql.ListUsersResponse, error)
List implements mysql.UserServiceClient
func (*UserServiceClient) RevokePermission ¶
func (c *UserServiceClient) RevokePermission(ctx context.Context, in *mysql.RevokeUserPermissionRequest, opts ...grpc.CallOption) (*operation.Operation, error)
RevokePermission implements mysql.UserServiceClient
func (*UserServiceClient) Update ¶
func (c *UserServiceClient) Update(ctx context.Context, in *mysql.UpdateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Update implements mysql.UserServiceClient
func (*UserServiceClient) UserIterator ¶
func (c *UserServiceClient) UserIterator(ctx context.Context, req *mysql.ListUsersRequest, opts ...grpc.CallOption) *UserIterator