mongodb

package
v0.0.0-...-417428f Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 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) 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

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

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 (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

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

Stop implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) StreamLogs

StreamLogs implements mongodb.ClusterServiceClient

func (*ClusterServiceClient) Update

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

Create implements mongodb.DatabaseServiceClient

func (*DatabaseServiceClient) DatabaseIterator

func (c *DatabaseServiceClient) DatabaseIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *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) 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

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

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

func (c *UserServiceClient) UserIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *UserIterator

Jump to

Keyboard shortcuts

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