Documentation ¶
Overview ¶
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 *redis.GetBackupRequest, opts ...grpc.CallOption) (*redis.Backup, error)
- func (c *BackupServiceClient) List(ctx context.Context, in *redis.ListBackupsRequest, opts ...grpc.CallOption) (*redis.ListBackupsResponse, error)
- type ClusterBackupsIterator
- type ClusterHostsIterator
- type ClusterIterator
- type ClusterLogsIterator
- type ClusterOperationsIterator
- type ClusterServiceClient
- func (c *ClusterServiceClient) AddHosts(ctx context.Context, in *redis.AddClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) AddShard(ctx context.Context, in *redis.AddClusterShardRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) Backup(ctx context.Context, in *redis.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 *redis.CreateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) Delete(ctx context.Context, in *redis.DeleteClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) DeleteHosts(ctx context.Context, in *redis.DeleteClusterHostsRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) DeleteShard(ctx context.Context, in *redis.DeleteClusterShardRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) Get(ctx context.Context, in *redis.GetClusterRequest, opts ...grpc.CallOption) (*redis.Cluster, error)
- func (c *ClusterServiceClient) GetShard(ctx context.Context, in *redis.GetClusterShardRequest, opts ...grpc.CallOption) (*redis.Shard, error)
- func (c *ClusterServiceClient) List(ctx context.Context, in *redis.ListClustersRequest, opts ...grpc.CallOption) (*redis.ListClustersResponse, error)
- func (c *ClusterServiceClient) ListBackups(ctx context.Context, in *redis.ListClusterBackupsRequest, ...) (*redis.ListClusterBackupsResponse, error)
- func (c *ClusterServiceClient) ListHosts(ctx context.Context, in *redis.ListClusterHostsRequest, ...) (*redis.ListClusterHostsResponse, error)
- func (c *ClusterServiceClient) ListLogs(ctx context.Context, in *redis.ListClusterLogsRequest, opts ...grpc.CallOption) (*redis.ListClusterLogsResponse, error)
- func (c *ClusterServiceClient) ListOperations(ctx context.Context, in *redis.ListClusterOperationsRequest, ...) (*redis.ListClusterOperationsResponse, error)
- func (c *ClusterServiceClient) ListShards(ctx context.Context, in *redis.ListClusterShardsRequest, ...) (*redis.ListClusterShardsResponse, error)
- func (c *ClusterServiceClient) Move(ctx context.Context, in *redis.MoveClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) Rebalance(ctx context.Context, in *redis.RebalanceClusterRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) RescheduleMaintenance(ctx context.Context, in *redis.RescheduleMaintenanceRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) Restore(ctx context.Context, in *redis.RestoreClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) Start(ctx context.Context, in *redis.StartClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) StartFailover(ctx context.Context, in *redis.StartClusterFailoverRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) Stop(ctx context.Context, in *redis.StopClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ClusterServiceClient) StreamLogs(ctx context.Context, in *redis.StreamClusterLogsRequest, ...) (redis.ClusterService_StreamLogsClient, error)
- func (c *ClusterServiceClient) Update(ctx context.Context, in *redis.UpdateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- type ClusterShardsIterator
- type Redis
- type ResourcePresetIterator
- type ResourcePresetServiceClient
- func (c *ResourcePresetServiceClient) Get(ctx context.Context, in *redis.GetResourcePresetRequest, ...) (*redis.ResourcePreset, error)
- func (c *ResourcePresetServiceClient) List(ctx context.Context, in *redis.ListResourcePresetsRequest, ...) (*redis.ListResourcePresetsResponse, error)
- func (c *ResourcePresetServiceClient) ResourcePresetIterator(ctx context.Context, opts ...grpc.CallOption) *ResourcePresetIterator
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 ¶
func (c *BackupServiceClient) Get(ctx context.Context, in *redis.GetBackupRequest, opts ...grpc.CallOption) (*redis.Backup, error)
Get implements redis.BackupServiceClient
func (*BackupServiceClient) List ¶
func (c *BackupServiceClient) List(ctx context.Context, in *redis.ListBackupsRequest, opts ...grpc.CallOption) (*redis.ListBackupsResponse, error)
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 ¶
func (it *ClusterOperationsIterator) Value() *operation.Operation
type ClusterServiceClient ¶
type ClusterServiceClient struct {
// contains filtered or unexported fields
}
ClusterServiceClient is a redis.ClusterServiceClient with lazy GRPC connection initialization.
func (*ClusterServiceClient) AddHosts ¶
func (c *ClusterServiceClient) AddHosts(ctx context.Context, in *redis.AddClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
AddHosts implements redis.ClusterServiceClient
func (*ClusterServiceClient) AddShard ¶
func (c *ClusterServiceClient) AddShard(ctx context.Context, in *redis.AddClusterShardRequest, opts ...grpc.CallOption) (*operation.Operation, error)
AddShard implements redis.ClusterServiceClient
func (*ClusterServiceClient) Backup ¶
func (c *ClusterServiceClient) Backup(ctx context.Context, in *redis.BackupClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
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 ¶
func (c *ClusterServiceClient) Create(ctx context.Context, in *redis.CreateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements redis.ClusterServiceClient
func (*ClusterServiceClient) Delete ¶
func (c *ClusterServiceClient) Delete(ctx context.Context, in *redis.DeleteClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements redis.ClusterServiceClient
func (*ClusterServiceClient) DeleteHosts ¶
func (c *ClusterServiceClient) DeleteHosts(ctx context.Context, in *redis.DeleteClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
DeleteHosts implements redis.ClusterServiceClient
func (*ClusterServiceClient) DeleteShard ¶
func (c *ClusterServiceClient) DeleteShard(ctx context.Context, in *redis.DeleteClusterShardRequest, opts ...grpc.CallOption) (*operation.Operation, error)
DeleteShard implements redis.ClusterServiceClient
func (*ClusterServiceClient) Get ¶
func (c *ClusterServiceClient) Get(ctx context.Context, in *redis.GetClusterRequest, opts ...grpc.CallOption) (*redis.Cluster, error)
Get implements redis.ClusterServiceClient
func (*ClusterServiceClient) GetShard ¶
func (c *ClusterServiceClient) GetShard(ctx context.Context, in *redis.GetClusterShardRequest, opts ...grpc.CallOption) (*redis.Shard, error)
GetShard implements redis.ClusterServiceClient
func (*ClusterServiceClient) List ¶
func (c *ClusterServiceClient) List(ctx context.Context, in *redis.ListClustersRequest, opts ...grpc.CallOption) (*redis.ListClustersResponse, error)
List implements redis.ClusterServiceClient
func (*ClusterServiceClient) ListBackups ¶
func (c *ClusterServiceClient) ListBackups(ctx context.Context, in *redis.ListClusterBackupsRequest, opts ...grpc.CallOption) (*redis.ListClusterBackupsResponse, error)
ListBackups implements redis.ClusterServiceClient
func (*ClusterServiceClient) ListHosts ¶
func (c *ClusterServiceClient) ListHosts(ctx context.Context, in *redis.ListClusterHostsRequest, opts ...grpc.CallOption) (*redis.ListClusterHostsResponse, error)
ListHosts implements redis.ClusterServiceClient
func (*ClusterServiceClient) ListLogs ¶
func (c *ClusterServiceClient) ListLogs(ctx context.Context, in *redis.ListClusterLogsRequest, opts ...grpc.CallOption) (*redis.ListClusterLogsResponse, error)
ListLogs implements redis.ClusterServiceClient
func (*ClusterServiceClient) ListOperations ¶
func (c *ClusterServiceClient) ListOperations(ctx context.Context, in *redis.ListClusterOperationsRequest, opts ...grpc.CallOption) (*redis.ListClusterOperationsResponse, error)
ListOperations implements redis.ClusterServiceClient
func (*ClusterServiceClient) ListShards ¶
func (c *ClusterServiceClient) ListShards(ctx context.Context, in *redis.ListClusterShardsRequest, opts ...grpc.CallOption) (*redis.ListClusterShardsResponse, error)
ListShards implements redis.ClusterServiceClient
func (*ClusterServiceClient) Move ¶
func (c *ClusterServiceClient) Move(ctx context.Context, in *redis.MoveClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Move implements redis.ClusterServiceClient
func (*ClusterServiceClient) Rebalance ¶
func (c *ClusterServiceClient) Rebalance(ctx context.Context, in *redis.RebalanceClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Rebalance implements redis.ClusterServiceClient
func (*ClusterServiceClient) RescheduleMaintenance ¶
func (c *ClusterServiceClient) RescheduleMaintenance(ctx context.Context, in *redis.RescheduleMaintenanceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
RescheduleMaintenance implements redis.ClusterServiceClient
func (*ClusterServiceClient) Restore ¶
func (c *ClusterServiceClient) Restore(ctx context.Context, in *redis.RestoreClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Restore implements redis.ClusterServiceClient
func (*ClusterServiceClient) Start ¶
func (c *ClusterServiceClient) Start(ctx context.Context, in *redis.StartClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Start implements redis.ClusterServiceClient
func (*ClusterServiceClient) StartFailover ¶
func (c *ClusterServiceClient) StartFailover(ctx context.Context, in *redis.StartClusterFailoverRequest, opts ...grpc.CallOption) (*operation.Operation, error)
StartFailover implements redis.ClusterServiceClient
func (*ClusterServiceClient) Stop ¶
func (c *ClusterServiceClient) Stop(ctx context.Context, in *redis.StopClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Stop implements redis.ClusterServiceClient
func (*ClusterServiceClient) StreamLogs ¶
func (c *ClusterServiceClient) StreamLogs(ctx context.Context, in *redis.StreamClusterLogsRequest, opts ...grpc.CallOption) (redis.ClusterService_StreamLogsClient, error)
StreamLogs implements redis.ClusterServiceClient
func (*ClusterServiceClient) Update ¶
func (c *ClusterServiceClient) Update(ctx context.Context, in *redis.UpdateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
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 (*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 ¶
func (it *ResourcePresetIterator) Value() *redis.ResourcePreset
type ResourcePresetServiceClient ¶
type ResourcePresetServiceClient struct {
// contains filtered or unexported fields
}
ResourcePresetServiceClient is a redis.ResourcePresetServiceClient with lazy GRPC connection initialization.
func (*ResourcePresetServiceClient) Get ¶
func (c *ResourcePresetServiceClient) Get(ctx context.Context, in *redis.GetResourcePresetRequest, opts ...grpc.CallOption) (*redis.ResourcePreset, error)
Get implements redis.ResourcePresetServiceClient
func (*ResourcePresetServiceClient) List ¶
func (c *ResourcePresetServiceClient) List(ctx context.Context, in *redis.ListResourcePresetsRequest, opts ...grpc.CallOption) (*redis.ListResourcePresetsResponse, error)
List implements redis.ResourcePresetServiceClient
func (*ResourcePresetServiceClient) ResourcePresetIterator ¶
func (c *ResourcePresetServiceClient) ResourcePresetIterator(ctx context.Context, opts ...grpc.CallOption) *ResourcePresetIterator