Documentation ¶
Overview ¶
nolint
nolint
nolint
nolint
nolint
Index ¶
- type BackupIterator
- type BackupServiceClient
- func (c *BackupServiceClient) BackupIterator(ctx context.Context, folderId string, opts ...grpc.CallOption) *BackupIterator
- func (c *BackupServiceClient) Get(ctx context.Context, in *mongodb.GetBackupRequest, opts ...grpc.CallOption) (*mongodb.Backup, error)
- func (c *BackupServiceClient) List(ctx context.Context, in *mongodb.ListBackupsRequest, opts ...grpc.CallOption) (*mongodb.ListBackupsResponse, error)
- type ClusterBackupsIterator
- type ClusterHostsIterator
- type ClusterIterator
- type ClusterLogsIterator
- type ClusterOperationsIterator
- type ClusterServiceClient
- func (c *ClusterServiceClient) AddHosts(ctx context.Context, in *mongodb.AddClusterHostsRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) AddShard(ctx context.Context, in *mongodb.AddClusterShardRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) Backup(ctx context.Context, in *mongodb.BackupClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) ClusterBackupsIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *ClusterBackupsIterator
- func (c *ClusterServiceClient) ClusterHostsIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *ClusterHostsIterator
- func (c *ClusterServiceClient) ClusterIterator(ctx context.Context, folderId string, opts ...grpc.CallOption) *ClusterIterator
- func (c *ClusterServiceClient) ClusterLogsIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *ClusterLogsIterator
- func (c *ClusterServiceClient) ClusterOperationsIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *ClusterOperationsIterator
- func (c *ClusterServiceClient) ClusterShardsIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *ClusterShardsIterator
- func (c *ClusterServiceClient) Create(ctx context.Context, in *mongodb.CreateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) Delete(ctx context.Context, in *mongodb.DeleteClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) DeleteHosts(ctx context.Context, in *mongodb.DeleteClusterHostsRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) DeleteShard(ctx context.Context, in *mongodb.DeleteClusterShardRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) EnableSharding(ctx context.Context, in *mongodb.EnableClusterShardingRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) Get(ctx context.Context, in *mongodb.GetClusterRequest, opts ...grpc.CallOption) (*mongodb.Cluster, error)
- func (c *ClusterServiceClient) GetShard(ctx context.Context, in *mongodb.GetClusterShardRequest, ...) (*mongodb.Shard, error)
- func (c *ClusterServiceClient) List(ctx context.Context, in *mongodb.ListClustersRequest, opts ...grpc.CallOption) (*mongodb.ListClustersResponse, error)
- func (c *ClusterServiceClient) ListBackups(ctx context.Context, in *mongodb.ListClusterBackupsRequest, ...) (*mongodb.ListClusterBackupsResponse, error)
- func (c *ClusterServiceClient) ListHosts(ctx context.Context, in *mongodb.ListClusterHostsRequest, ...) (*mongodb.ListClusterHostsResponse, error)
- func (c *ClusterServiceClient) ListLogs(ctx context.Context, in *mongodb.ListClusterLogsRequest, ...) (*mongodb.ListClusterLogsResponse, error)
- func (c *ClusterServiceClient) ListOperations(ctx context.Context, in *mongodb.ListClusterOperationsRequest, ...) (*mongodb.ListClusterOperationsResponse, error)
- func (c *ClusterServiceClient) ListShards(ctx context.Context, in *mongodb.ListClusterShardsRequest, ...) (*mongodb.ListClusterShardsResponse, error)
- func (c *ClusterServiceClient) Move(ctx context.Context, in *mongodb.MoveClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) RescheduleMaintenance(ctx context.Context, in *mongodb.RescheduleMaintenanceRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) ResetupHosts(ctx context.Context, in *mongodb.ResetupHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) RestartHosts(ctx context.Context, in *mongodb.RestartHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) Restore(ctx context.Context, in *mongodb.RestoreClusterRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) Start(ctx context.Context, in *mongodb.StartClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) Stop(ctx context.Context, in *mongodb.StopClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) StreamLogs(ctx context.Context, in *mongodb.StreamClusterLogsRequest, ...) (mongodb.ClusterService_StreamLogsClient, error)
- func (c *ClusterServiceClient) Update(ctx context.Context, in *mongodb.UpdateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- type ClusterShardsIterator
- type DatabaseIterator
- type DatabaseServiceClient
- func (c *DatabaseServiceClient) Create(ctx context.Context, in *mongodb.CreateDatabaseRequest, ...) (*operation.Operation, error)
- func (c *DatabaseServiceClient) DatabaseIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *DatabaseIterator
- func (c *DatabaseServiceClient) Delete(ctx context.Context, in *mongodb.DeleteDatabaseRequest, ...) (*operation.Operation, error)
- func (c *DatabaseServiceClient) Get(ctx context.Context, in *mongodb.GetDatabaseRequest, opts ...grpc.CallOption) (*mongodb.Database, error)
- func (c *DatabaseServiceClient) List(ctx context.Context, in *mongodb.ListDatabasesRequest, opts ...grpc.CallOption) (*mongodb.ListDatabasesResponse, error)
- type MongoDB
- type ResourcePresetIterator
- type ResourcePresetServiceClient
- func (c *ResourcePresetServiceClient) Get(ctx context.Context, in *mongodb.GetResourcePresetRequest, ...) (*mongodb.ResourcePreset, error)
- func (c *ResourcePresetServiceClient) List(ctx context.Context, in *mongodb.ListResourcePresetsRequest, ...) (*mongodb.ListResourcePresetsResponse, error)
- func (c *ResourcePresetServiceClient) ResourcePresetIterator(ctx context.Context, opts ...grpc.CallOption) *ResourcePresetIterator
- type UserIterator
- type UserServiceClient
- func (c *UserServiceClient) Create(ctx context.Context, in *mongodb.CreateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *UserServiceClient) Delete(ctx context.Context, in *mongodb.DeleteUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *UserServiceClient) Get(ctx context.Context, in *mongodb.GetUserRequest, opts ...grpc.CallOption) (*mongodb.User, error)
- func (c *UserServiceClient) GrantPermission(ctx context.Context, in *mongodb.GrantUserPermissionRequest, ...) (*operation.Operation, error)
- func (c *UserServiceClient) List(ctx context.Context, in *mongodb.ListUsersRequest, opts ...grpc.CallOption) (*mongodb.ListUsersResponse, error)
- func (c *UserServiceClient) RevokePermission(ctx context.Context, in *mongodb.RevokeUserPermissionRequest, ...) (*operation.Operation, error)
- func (c *UserServiceClient) Update(ctx context.Context, in *mongodb.UpdateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *UserServiceClient) UserIterator(ctx context.Context, clusterId string, 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() *mongodb.Backup
type BackupServiceClient ¶
type BackupServiceClient struct {
// contains filtered or unexported fields
}
BackupServiceClient is a mongodb.BackupServiceClient with lazy GRPC connection initialization.
func (*BackupServiceClient) BackupIterator ¶
func (c *BackupServiceClient) BackupIterator(ctx context.Context, folderId string, opts ...grpc.CallOption) *BackupIterator
func (*BackupServiceClient) Get ¶
func (c *BackupServiceClient) Get(ctx context.Context, in *mongodb.GetBackupRequest, opts ...grpc.CallOption) (*mongodb.Backup, error)
Get implements mongodb.BackupServiceClient
func (*BackupServiceClient) List ¶
func (c *BackupServiceClient) List(ctx context.Context, in *mongodb.ListBackupsRequest, opts ...grpc.CallOption) (*mongodb.ListBackupsResponse, error)
List implements mongodb.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) Value ¶
func (it *ClusterBackupsIterator) Value() *mongodb.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) Value ¶
func (it *ClusterHostsIterator) Value() *mongodb.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) Value ¶
func (it *ClusterIterator) Value() *mongodb.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) Value ¶
func (it *ClusterLogsIterator) Value() *mongodb.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) Value ¶
func (it *ClusterOperationsIterator) Value() *operation.Operation
type ClusterServiceClient ¶
type ClusterServiceClient struct {
// contains filtered or unexported fields
}
ClusterServiceClient is a mongodb.ClusterServiceClient with lazy GRPC connection initialization.
func (*ClusterServiceClient) AddHosts ¶
func (c *ClusterServiceClient) AddHosts(ctx context.Context, in *mongodb.AddClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
AddHosts implements mongodb.ClusterServiceClient
func (*ClusterServiceClient) AddShard ¶
func (c *ClusterServiceClient) AddShard(ctx context.Context, in *mongodb.AddClusterShardRequest, opts ...grpc.CallOption) (*operation.Operation, error)
AddShard implements mongodb.ClusterServiceClient
func (*ClusterServiceClient) Backup ¶
func (c *ClusterServiceClient) Backup(ctx context.Context, in *mongodb.BackupClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Backup implements mongodb.ClusterServiceClient
func (*ClusterServiceClient) ClusterBackupsIterator ¶
func (c *ClusterServiceClient) ClusterBackupsIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *ClusterBackupsIterator
func (*ClusterServiceClient) ClusterHostsIterator ¶
func (c *ClusterServiceClient) ClusterHostsIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *ClusterHostsIterator
func (*ClusterServiceClient) ClusterIterator ¶
func (c *ClusterServiceClient) ClusterIterator(ctx context.Context, folderId string, opts ...grpc.CallOption) *ClusterIterator
func (*ClusterServiceClient) ClusterLogsIterator ¶
func (c *ClusterServiceClient) ClusterLogsIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *ClusterLogsIterator
func (*ClusterServiceClient) ClusterOperationsIterator ¶
func (c *ClusterServiceClient) ClusterOperationsIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *ClusterOperationsIterator
func (*ClusterServiceClient) ClusterShardsIterator ¶
func (c *ClusterServiceClient) ClusterShardsIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *ClusterShardsIterator
func (*ClusterServiceClient) Create ¶
func (c *ClusterServiceClient) Create(ctx context.Context, in *mongodb.CreateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements mongodb.ClusterServiceClient
func (*ClusterServiceClient) Delete ¶
func (c *ClusterServiceClient) Delete(ctx context.Context, in *mongodb.DeleteClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements mongodb.ClusterServiceClient
func (*ClusterServiceClient) DeleteHosts ¶
func (c *ClusterServiceClient) DeleteHosts(ctx context.Context, in *mongodb.DeleteClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
DeleteHosts implements mongodb.ClusterServiceClient
func (*ClusterServiceClient) DeleteShard ¶
func (c *ClusterServiceClient) DeleteShard(ctx context.Context, in *mongodb.DeleteClusterShardRequest, opts ...grpc.CallOption) (*operation.Operation, error)
DeleteShard implements mongodb.ClusterServiceClient
func (*ClusterServiceClient) EnableSharding ¶
func (c *ClusterServiceClient) EnableSharding(ctx context.Context, in *mongodb.EnableClusterShardingRequest, opts ...grpc.CallOption) (*operation.Operation, error)
EnableSharding implements mongodb.ClusterServiceClient
func (*ClusterServiceClient) Get ¶
func (c *ClusterServiceClient) Get(ctx context.Context, in *mongodb.GetClusterRequest, opts ...grpc.CallOption) (*mongodb.Cluster, error)
Get implements mongodb.ClusterServiceClient
func (*ClusterServiceClient) GetShard ¶
func (c *ClusterServiceClient) GetShard(ctx context.Context, in *mongodb.GetClusterShardRequest, opts ...grpc.CallOption) (*mongodb.Shard, error)
GetShard implements mongodb.ClusterServiceClient
func (*ClusterServiceClient) List ¶
func (c *ClusterServiceClient) List(ctx context.Context, in *mongodb.ListClustersRequest, opts ...grpc.CallOption) (*mongodb.ListClustersResponse, error)
List implements mongodb.ClusterServiceClient
func (*ClusterServiceClient) ListBackups ¶
func (c *ClusterServiceClient) ListBackups(ctx context.Context, in *mongodb.ListClusterBackupsRequest, opts ...grpc.CallOption) (*mongodb.ListClusterBackupsResponse, error)
ListBackups implements mongodb.ClusterServiceClient
func (*ClusterServiceClient) ListHosts ¶
func (c *ClusterServiceClient) ListHosts(ctx context.Context, in *mongodb.ListClusterHostsRequest, opts ...grpc.CallOption) (*mongodb.ListClusterHostsResponse, error)
ListHosts implements mongodb.ClusterServiceClient
func (*ClusterServiceClient) ListLogs ¶
func (c *ClusterServiceClient) ListLogs(ctx context.Context, in *mongodb.ListClusterLogsRequest, opts ...grpc.CallOption) (*mongodb.ListClusterLogsResponse, error)
ListLogs implements mongodb.ClusterServiceClient
func (*ClusterServiceClient) ListOperations ¶
func (c *ClusterServiceClient) ListOperations(ctx context.Context, in *mongodb.ListClusterOperationsRequest, opts ...grpc.CallOption) (*mongodb.ListClusterOperationsResponse, error)
ListOperations implements mongodb.ClusterServiceClient
func (*ClusterServiceClient) ListShards ¶
func (c *ClusterServiceClient) ListShards(ctx context.Context, in *mongodb.ListClusterShardsRequest, opts ...grpc.CallOption) (*mongodb.ListClusterShardsResponse, error)
ListShards implements mongodb.ClusterServiceClient
func (*ClusterServiceClient) Move ¶
func (c *ClusterServiceClient) Move(ctx context.Context, in *mongodb.MoveClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Move implements mongodb.ClusterServiceClient
func (*ClusterServiceClient) RescheduleMaintenance ¶
func (c *ClusterServiceClient) RescheduleMaintenance(ctx context.Context, in *mongodb.RescheduleMaintenanceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
RescheduleMaintenance implements mongodb.ClusterServiceClient
func (*ClusterServiceClient) ResetupHosts ¶
func (c *ClusterServiceClient) ResetupHosts(ctx context.Context, in *mongodb.ResetupHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
ResetupHosts implements mongodb.ClusterServiceClient
func (*ClusterServiceClient) RestartHosts ¶
func (c *ClusterServiceClient) RestartHosts(ctx context.Context, in *mongodb.RestartHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
RestartHosts implements mongodb.ClusterServiceClient
func (*ClusterServiceClient) Restore ¶
func (c *ClusterServiceClient) Restore(ctx context.Context, in *mongodb.RestoreClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Restore implements mongodb.ClusterServiceClient
func (*ClusterServiceClient) Start ¶
func (c *ClusterServiceClient) Start(ctx context.Context, in *mongodb.StartClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Start implements mongodb.ClusterServiceClient
func (*ClusterServiceClient) Stop ¶
func (c *ClusterServiceClient) Stop(ctx context.Context, in *mongodb.StopClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Stop implements mongodb.ClusterServiceClient
func (*ClusterServiceClient) StreamLogs ¶
func (c *ClusterServiceClient) StreamLogs(ctx context.Context, in *mongodb.StreamClusterLogsRequest, opts ...grpc.CallOption) (mongodb.ClusterService_StreamLogsClient, error)
StreamLogs implements mongodb.ClusterServiceClient
func (*ClusterServiceClient) Update ¶
func (c *ClusterServiceClient) Update(ctx context.Context, in *mongodb.UpdateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Update implements mongodb.ClusterServiceClient
type ClusterShardsIterator ¶
type ClusterShardsIterator struct {
// contains filtered or unexported fields
}
func (*ClusterShardsIterator) Error ¶
func (it *ClusterShardsIterator) Error() error
func (*ClusterShardsIterator) Next ¶
func (it *ClusterShardsIterator) Next() bool
func (*ClusterShardsIterator) Value ¶
func (it *ClusterShardsIterator) Value() *mongodb.Shard
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) Value ¶
func (it *DatabaseIterator) Value() *mongodb.Database
type DatabaseServiceClient ¶
type DatabaseServiceClient struct {
// contains filtered or unexported fields
}
DatabaseServiceClient is a mongodb.DatabaseServiceClient with lazy GRPC connection initialization.
func (*DatabaseServiceClient) Create ¶
func (c *DatabaseServiceClient) Create(ctx context.Context, in *mongodb.CreateDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements mongodb.DatabaseServiceClient
func (*DatabaseServiceClient) DatabaseIterator ¶
func (c *DatabaseServiceClient) DatabaseIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *DatabaseIterator
func (*DatabaseServiceClient) Delete ¶
func (c *DatabaseServiceClient) Delete(ctx context.Context, in *mongodb.DeleteDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements mongodb.DatabaseServiceClient
func (*DatabaseServiceClient) Get ¶
func (c *DatabaseServiceClient) Get(ctx context.Context, in *mongodb.GetDatabaseRequest, opts ...grpc.CallOption) (*mongodb.Database, error)
Get implements mongodb.DatabaseServiceClient
func (*DatabaseServiceClient) List ¶
func (c *DatabaseServiceClient) List(ctx context.Context, in *mongodb.ListDatabasesRequest, opts ...grpc.CallOption) (*mongodb.ListDatabasesResponse, error)
List implements mongodb.DatabaseServiceClient
type MongoDB ¶
type MongoDB struct {
// contains filtered or unexported fields
}
MongoDB provides access to "mongodb" component of Yandex.Cloud
func NewMongoDB ¶
NewMongoDB creates instance of MongoDB
func (*MongoDB) Backup ¶
func (m *MongoDB) Backup() *BackupServiceClient
Backup gets BackupService client
func (*MongoDB) Cluster ¶
func (m *MongoDB) Cluster() *ClusterServiceClient
Cluster gets ClusterService client
func (*MongoDB) Database ¶
func (m *MongoDB) Database() *DatabaseServiceClient
Database gets DatabaseService client
func (*MongoDB) ResourcePreset ¶
func (m *MongoDB) 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) Value ¶
func (it *ResourcePresetIterator) Value() *mongodb.ResourcePreset
type ResourcePresetServiceClient ¶
type ResourcePresetServiceClient struct {
// contains filtered or unexported fields
}
ResourcePresetServiceClient is a mongodb.ResourcePresetServiceClient with lazy GRPC connection initialization.
func (*ResourcePresetServiceClient) Get ¶
func (c *ResourcePresetServiceClient) Get(ctx context.Context, in *mongodb.GetResourcePresetRequest, opts ...grpc.CallOption) (*mongodb.ResourcePreset, error)
Get implements mongodb.ResourcePresetServiceClient
func (*ResourcePresetServiceClient) List ¶
func (c *ResourcePresetServiceClient) List(ctx context.Context, in *mongodb.ListResourcePresetsRequest, opts ...grpc.CallOption) (*mongodb.ListResourcePresetsResponse, error)
List implements mongodb.ResourcePresetServiceClient
func (*ResourcePresetServiceClient) ResourcePresetIterator ¶
func (c *ResourcePresetServiceClient) ResourcePresetIterator(ctx context.Context, 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() *mongodb.User
type UserServiceClient ¶
type UserServiceClient struct {
// contains filtered or unexported fields
}
UserServiceClient is a mongodb.UserServiceClient with lazy GRPC connection initialization.
func (*UserServiceClient) Create ¶
func (c *UserServiceClient) Create(ctx context.Context, in *mongodb.CreateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements mongodb.UserServiceClient
func (*UserServiceClient) Delete ¶
func (c *UserServiceClient) Delete(ctx context.Context, in *mongodb.DeleteUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements mongodb.UserServiceClient
func (*UserServiceClient) Get ¶
func (c *UserServiceClient) Get(ctx context.Context, in *mongodb.GetUserRequest, opts ...grpc.CallOption) (*mongodb.User, error)
Get implements mongodb.UserServiceClient
func (*UserServiceClient) GrantPermission ¶
func (c *UserServiceClient) GrantPermission(ctx context.Context, in *mongodb.GrantUserPermissionRequest, opts ...grpc.CallOption) (*operation.Operation, error)
GrantPermission implements mongodb.UserServiceClient
func (*UserServiceClient) List ¶
func (c *UserServiceClient) List(ctx context.Context, in *mongodb.ListUsersRequest, opts ...grpc.CallOption) (*mongodb.ListUsersResponse, error)
List implements mongodb.UserServiceClient
func (*UserServiceClient) RevokePermission ¶
func (c *UserServiceClient) RevokePermission(ctx context.Context, in *mongodb.RevokeUserPermissionRequest, opts ...grpc.CallOption) (*operation.Operation, error)
RevokePermission implements mongodb.UserServiceClient
func (*UserServiceClient) Update ¶
func (c *UserServiceClient) Update(ctx context.Context, in *mongodb.UpdateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Update implements mongodb.UserServiceClient
func (*UserServiceClient) UserIterator ¶
func (c *UserServiceClient) UserIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *UserIterator