redis

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

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() *redis.Backup

type BackupServiceClient

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

BackupServiceClient is a redis.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 redis.BackupServiceClient

func (*BackupServiceClient) List

List implements redis.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() *redis.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() *redis.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() *redis.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() *redis.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 redis.ClusterServiceClient with lazy GRPC connection initialization.

func (*ClusterServiceClient) AddHosts

AddHosts implements redis.ClusterServiceClient

func (*ClusterServiceClient) AddShard

AddShard implements redis.ClusterServiceClient

func (*ClusterServiceClient) Backup

Backup implements redis.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 redis.ClusterServiceClient

func (*ClusterServiceClient) Delete

Delete implements redis.ClusterServiceClient

func (*ClusterServiceClient) DeleteHosts

DeleteHosts implements redis.ClusterServiceClient

func (*ClusterServiceClient) DeleteShard

DeleteShard implements redis.ClusterServiceClient

func (*ClusterServiceClient) Get

Get implements redis.ClusterServiceClient

func (*ClusterServiceClient) GetShard

GetShard implements redis.ClusterServiceClient

func (*ClusterServiceClient) List

List implements redis.ClusterServiceClient

func (*ClusterServiceClient) ListBackups

ListBackups implements redis.ClusterServiceClient

func (*ClusterServiceClient) ListHosts

ListHosts implements redis.ClusterServiceClient

func (*ClusterServiceClient) ListLogs

ListLogs implements redis.ClusterServiceClient

func (*ClusterServiceClient) ListOperations

ListOperations implements redis.ClusterServiceClient

func (*ClusterServiceClient) ListShards

ListShards implements redis.ClusterServiceClient

func (*ClusterServiceClient) Move

Move implements redis.ClusterServiceClient

func (*ClusterServiceClient) Rebalance

Rebalance implements redis.ClusterServiceClient

func (*ClusterServiceClient) RescheduleMaintenance

RescheduleMaintenance implements redis.ClusterServiceClient

func (*ClusterServiceClient) Restore

Restore implements redis.ClusterServiceClient

func (*ClusterServiceClient) Start

Start implements redis.ClusterServiceClient

func (*ClusterServiceClient) StartFailover

StartFailover implements redis.ClusterServiceClient

func (*ClusterServiceClient) Stop

Stop implements redis.ClusterServiceClient

func (*ClusterServiceClient) StreamLogs

StreamLogs implements redis.ClusterServiceClient

func (*ClusterServiceClient) Update

Update implements redis.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() *redis.Shard

type Redis

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

Redis provides access to "redis" component of Yandex.Cloud

func NewRedis

func NewRedis(g func(ctx context.Context) (*grpc.ClientConn, error)) *Redis

NewRedis creates instance of Redis

func (*Redis) Backup

func (r *Redis) Backup() *BackupServiceClient

Backup gets BackupService client

func (*Redis) Cluster

func (r *Redis) Cluster() *ClusterServiceClient

Cluster gets ClusterService client

func (*Redis) ResourcePreset

func (r *Redis) 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

type ResourcePresetServiceClient

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

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

func (*ResourcePresetServiceClient) Get

Get implements redis.ResourcePresetServiceClient

func (*ResourcePresetServiceClient) List

List implements redis.ResourcePresetServiceClient

func (*ResourcePresetServiceClient) ResourcePresetIterator

func (c *ResourcePresetServiceClient) ResourcePresetIterator(ctx context.Context, opts ...grpc.CallOption) *ResourcePresetIterator

Jump to

Keyboard shortcuts

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