mongodb

package
v0.0.0-...-2393e24 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

nolint

nolint

nolint

nolint

nolint

Index

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) Take

func (it *BackupIterator) Take(size int64) ([]*mongodb.Backup, error)

func (*BackupIterator) TakeAll

func (it *BackupIterator) TakeAll() ([]*mongodb.Backup, error)

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 (*BackupServiceClient) Delete

Delete implements mongodb.BackupServiceClient

func (*BackupServiceClient) Get

Get implements mongodb.BackupServiceClient

func (*BackupServiceClient) List

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) Take

func (it *ClusterBackupsIterator) Take(size int64) ([]*mongodb.Backup, error)

func (*ClusterBackupsIterator) TakeAll

func (it *ClusterBackupsIterator) TakeAll() ([]*mongodb.Backup, error)

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) Take

func (it *ClusterHostsIterator) Take(size int64) ([]*mongodb.Host, error)

func (*ClusterHostsIterator) TakeAll

func (it *ClusterHostsIterator) TakeAll() ([]*mongodb.Host, error)

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) Take

func (it *ClusterIterator) Take(size int64) ([]*mongodb.Cluster, error)

func (*ClusterIterator) TakeAll

func (it *ClusterIterator) TakeAll() ([]*mongodb.Cluster, error)

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) Take

func (it *ClusterLogsIterator) Take(size int64) ([]*mongodb.LogRecord, error)

func (*ClusterLogsIterator) TakeAll

func (it *ClusterLogsIterator) TakeAll() ([]*mongodb.LogRecord, error)

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) Take

func (*ClusterOperationsIterator) TakeAll

func (it *ClusterOperationsIterator) TakeAll() ([]*operation.Operation, error)

func (*ClusterOperationsIterator) Value

type ClusterServiceClient

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

ClusterServiceClient is a mongodb.ClusterServiceClient with lazy GRPC connection initialization.

func (*ClusterServiceClient) AddHosts

AddHosts implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) AddShard

AddShard implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) Backup

Backup implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) ClusterBackupsIterator

func (*ClusterServiceClient) ClusterHostsIterator

func (*ClusterServiceClient) ClusterIterator

func (*ClusterServiceClient) ClusterLogsIterator

func (*ClusterServiceClient) ClusterOperationsIterator

func (*ClusterServiceClient) ClusterShardsIterator

func (*ClusterServiceClient) Create

Create implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) Delete

Delete implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) DeleteHosts

DeleteHosts implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) DeleteShard

DeleteShard implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) EnableSharding

EnableSharding implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) Get

Get implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) GetShard

GetShard implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) List

List implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) ListBackups

ListBackups implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) ListHosts

ListHosts implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) ListLogs

ListLogs implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) ListOperations

ListOperations implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) ListShards

ListShards implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) Move

Move implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) RescheduleMaintenance

RescheduleMaintenance implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) ResetupHosts

ResetupHosts implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) RestartHosts

RestartHosts implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) Restore

Restore implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) Start

Start implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) StepdownHosts

StepdownHosts implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) Stop

Stop implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) StreamLogs

StreamLogs implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) Update

Update implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) UpdateHosts

UpdateHosts 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) Take

func (it *ClusterShardsIterator) Take(size int64) ([]*mongodb.Shard, error)

func (*ClusterShardsIterator) TakeAll

func (it *ClusterShardsIterator) TakeAll() ([]*mongodb.Shard, error)

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) Take

func (it *DatabaseIterator) Take(size int64) ([]*mongodb.Database, error)

func (*DatabaseIterator) TakeAll

func (it *DatabaseIterator) TakeAll() ([]*mongodb.Database, error)

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

Create implements mongodb.DatabaseServiceClient

func (*DatabaseServiceClient) DatabaseIterator

func (*DatabaseServiceClient) Delete

Delete implements mongodb.DatabaseServiceClient

func (*DatabaseServiceClient) Get

Get implements mongodb.DatabaseServiceClient

func (*DatabaseServiceClient) List

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

func NewMongoDB(g func(ctx context.Context) (*grpc.ClientConn, error)) *MongoDB

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

func (*MongoDB) User

func (m *MongoDB) User() *UserServiceClient

User gets UserService 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 (*ResourcePresetIterator) TakeAll

func (it *ResourcePresetIterator) TakeAll() ([]*mongodb.ResourcePreset, error)

func (*ResourcePresetIterator) Value

type ResourcePresetServiceClient

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

ResourcePresetServiceClient is a mongodb.ResourcePresetServiceClient with lazy GRPC connection initialization.

func (*ResourcePresetServiceClient) Get

Get implements mongodb.ResourcePresetServiceClient

func (*ResourcePresetServiceClient) List

List implements mongodb.ResourcePresetServiceClient

func (*ResourcePresetServiceClient) 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) Take

func (it *UserIterator) Take(size int64) ([]*mongodb.User, error)

func (*UserIterator) TakeAll

func (it *UserIterator) TakeAll() ([]*mongodb.User, error)

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

Create implements mongodb.UserServiceClient

func (*UserServiceClient) Delete

Delete implements mongodb.UserServiceClient

func (*UserServiceClient) Get

Get implements mongodb.UserServiceClient

func (*UserServiceClient) GrantPermission

GrantPermission implements mongodb.UserServiceClient

func (*UserServiceClient) List

List implements mongodb.UserServiceClient

func (*UserServiceClient) RevokePermission

RevokePermission implements mongodb.UserServiceClient

func (*UserServiceClient) Update

Update implements mongodb.UserServiceClient

func (*UserServiceClient) UserIterator

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL