Documentation
¶
Index ¶
- Variables
- func RegisterBackupServiceServer(s *grpc.Server, srv BackupServiceServer)
- func RegisterClusterServiceServer(s *grpc.Server, srv ClusterServiceServer)
- func RegisterResourcePresetServiceServer(s *grpc.Server, srv ResourcePresetServiceServer)
- type AddClusterHostsMetadata
- func (*AddClusterHostsMetadata) Descriptor() ([]byte, []int)
- func (m *AddClusterHostsMetadata) GetClusterId() string
- func (m *AddClusterHostsMetadata) GetHostNames() []string
- func (*AddClusterHostsMetadata) ProtoMessage()
- func (m *AddClusterHostsMetadata) Reset()
- func (m *AddClusterHostsMetadata) String() string
- func (m *AddClusterHostsMetadata) XXX_DiscardUnknown()
- func (m *AddClusterHostsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddClusterHostsMetadata) XXX_Merge(src proto.Message)
- func (m *AddClusterHostsMetadata) XXX_Size() int
- func (m *AddClusterHostsMetadata) XXX_Unmarshal(b []byte) error
- type AddClusterHostsRequest
- func (*AddClusterHostsRequest) Descriptor() ([]byte, []int)
- func (m *AddClusterHostsRequest) GetClusterId() string
- func (m *AddClusterHostsRequest) GetHostSpecs() []*HostSpec
- func (*AddClusterHostsRequest) ProtoMessage()
- func (m *AddClusterHostsRequest) Reset()
- func (m *AddClusterHostsRequest) String() string
- func (m *AddClusterHostsRequest) XXX_DiscardUnknown()
- func (m *AddClusterHostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddClusterHostsRequest) XXX_Merge(src proto.Message)
- func (m *AddClusterHostsRequest) XXX_Size() int
- func (m *AddClusterHostsRequest) XXX_Unmarshal(b []byte) error
- type Backup
- func (*Backup) Descriptor() ([]byte, []int)
- func (m *Backup) GetCreatedAt() *timestamp.Timestamp
- func (m *Backup) GetFolderId() string
- func (m *Backup) GetId() string
- func (m *Backup) GetSourceClusterId() string
- func (m *Backup) GetStartedAt() *timestamp.Timestamp
- func (*Backup) ProtoMessage()
- func (m *Backup) Reset()
- func (m *Backup) String() string
- func (m *Backup) XXX_DiscardUnknown()
- func (m *Backup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Backup) XXX_Merge(src proto.Message)
- func (m *Backup) XXX_Size() int
- func (m *Backup) XXX_Unmarshal(b []byte) error
- type BackupClusterMetadata
- func (*BackupClusterMetadata) Descriptor() ([]byte, []int)
- func (m *BackupClusterMetadata) GetClusterId() string
- func (*BackupClusterMetadata) ProtoMessage()
- func (m *BackupClusterMetadata) Reset()
- func (m *BackupClusterMetadata) String() string
- func (m *BackupClusterMetadata) XXX_DiscardUnknown()
- func (m *BackupClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackupClusterMetadata) XXX_Merge(src proto.Message)
- func (m *BackupClusterMetadata) XXX_Size() int
- func (m *BackupClusterMetadata) XXX_Unmarshal(b []byte) error
- type BackupClusterRequest
- func (*BackupClusterRequest) Descriptor() ([]byte, []int)
- func (m *BackupClusterRequest) GetClusterId() string
- func (*BackupClusterRequest) ProtoMessage()
- func (m *BackupClusterRequest) Reset()
- func (m *BackupClusterRequest) String() string
- func (m *BackupClusterRequest) XXX_DiscardUnknown()
- func (m *BackupClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackupClusterRequest) XXX_Merge(src proto.Message)
- func (m *BackupClusterRequest) XXX_Size() int
- func (m *BackupClusterRequest) XXX_Unmarshal(b []byte) error
- type BackupServiceClient
- type BackupServiceServer
- type Cluster
- func (*Cluster) Descriptor() ([]byte, []int)
- func (m *Cluster) GetConfig() *ClusterConfig
- func (m *Cluster) GetCreatedAt() *timestamp.Timestamp
- func (m *Cluster) GetDescription() string
- func (m *Cluster) GetEnvironment() Cluster_Environment
- func (m *Cluster) GetFolderId() string
- func (m *Cluster) GetHealth() Cluster_Health
- func (m *Cluster) GetId() string
- func (m *Cluster) GetLabels() map[string]string
- func (m *Cluster) GetMonitoring() []*Monitoring
- func (m *Cluster) GetName() string
- func (m *Cluster) GetNetworkId() string
- func (m *Cluster) GetStatus() Cluster_Status
- func (*Cluster) ProtoMessage()
- func (m *Cluster) Reset()
- func (m *Cluster) String() string
- func (m *Cluster) XXX_DiscardUnknown()
- func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Cluster) XXX_Merge(src proto.Message)
- func (m *Cluster) XXX_Size() int
- func (m *Cluster) XXX_Unmarshal(b []byte) error
- type ClusterConfig
- func (*ClusterConfig) Descriptor() ([]byte, []int)
- func (m *ClusterConfig) GetRedisConfig() isClusterConfig_RedisConfig
- func (m *ClusterConfig) GetRedisConfig_5_0() *config.RedisConfigSet5_0
- func (m *ClusterConfig) GetResources() *Resources
- func (m *ClusterConfig) GetVersion() string
- func (*ClusterConfig) ProtoMessage()
- func (m *ClusterConfig) Reset()
- func (m *ClusterConfig) String() string
- func (m *ClusterConfig) XXX_DiscardUnknown()
- func (m *ClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterConfig) XXX_Merge(src proto.Message)
- func (*ClusterConfig) XXX_OneofWrappers() []interface{}
- func (m *ClusterConfig) XXX_Size() int
- func (m *ClusterConfig) XXX_Unmarshal(b []byte) error
- type ClusterConfig_RedisConfig_5_0
- type ClusterServiceClient
- type ClusterServiceServer
- type Cluster_Environment
- type Cluster_Health
- type Cluster_Status
- type ConfigSpec
- func (*ConfigSpec) Descriptor() ([]byte, []int)
- func (m *ConfigSpec) GetRedisConfig_5_0() *config.RedisConfig5_0
- func (m *ConfigSpec) GetRedisSpec() isConfigSpec_RedisSpec
- func (m *ConfigSpec) GetResources() *Resources
- func (m *ConfigSpec) GetVersion() string
- func (*ConfigSpec) ProtoMessage()
- func (m *ConfigSpec) Reset()
- func (m *ConfigSpec) String() string
- func (m *ConfigSpec) XXX_DiscardUnknown()
- func (m *ConfigSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConfigSpec) XXX_Merge(src proto.Message)
- func (*ConfigSpec) XXX_OneofWrappers() []interface{}
- func (m *ConfigSpec) XXX_Size() int
- func (m *ConfigSpec) XXX_Unmarshal(b []byte) error
- type ConfigSpec_RedisConfig_5_0
- type CreateClusterMetadata
- func (*CreateClusterMetadata) Descriptor() ([]byte, []int)
- func (m *CreateClusterMetadata) GetClusterId() string
- func (*CreateClusterMetadata) ProtoMessage()
- func (m *CreateClusterMetadata) Reset()
- func (m *CreateClusterMetadata) String() string
- func (m *CreateClusterMetadata) XXX_DiscardUnknown()
- func (m *CreateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateClusterMetadata) XXX_Merge(src proto.Message)
- func (m *CreateClusterMetadata) XXX_Size() int
- func (m *CreateClusterMetadata) XXX_Unmarshal(b []byte) error
- type CreateClusterRequest
- func (*CreateClusterRequest) Descriptor() ([]byte, []int)
- func (m *CreateClusterRequest) GetConfigSpec() *ConfigSpec
- func (m *CreateClusterRequest) GetDescription() string
- func (m *CreateClusterRequest) GetEnvironment() Cluster_Environment
- func (m *CreateClusterRequest) GetFolderId() string
- func (m *CreateClusterRequest) GetHostSpecs() []*HostSpec
- func (m *CreateClusterRequest) GetLabels() map[string]string
- func (m *CreateClusterRequest) GetName() string
- func (m *CreateClusterRequest) GetNetworkId() string
- func (*CreateClusterRequest) ProtoMessage()
- func (m *CreateClusterRequest) Reset()
- func (m *CreateClusterRequest) String() string
- func (m *CreateClusterRequest) XXX_DiscardUnknown()
- func (m *CreateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateClusterRequest) XXX_Merge(src proto.Message)
- func (m *CreateClusterRequest) XXX_Size() int
- func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error
- type DeleteClusterHostsMetadata
- func (*DeleteClusterHostsMetadata) Descriptor() ([]byte, []int)
- func (m *DeleteClusterHostsMetadata) GetClusterId() string
- func (m *DeleteClusterHostsMetadata) GetHostNames() []string
- func (*DeleteClusterHostsMetadata) ProtoMessage()
- func (m *DeleteClusterHostsMetadata) Reset()
- func (m *DeleteClusterHostsMetadata) String() string
- func (m *DeleteClusterHostsMetadata) XXX_DiscardUnknown()
- func (m *DeleteClusterHostsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteClusterHostsMetadata) XXX_Merge(src proto.Message)
- func (m *DeleteClusterHostsMetadata) XXX_Size() int
- func (m *DeleteClusterHostsMetadata) XXX_Unmarshal(b []byte) error
- type DeleteClusterHostsRequest
- func (*DeleteClusterHostsRequest) Descriptor() ([]byte, []int)
- func (m *DeleteClusterHostsRequest) GetClusterId() string
- func (m *DeleteClusterHostsRequest) GetHostNames() []string
- func (*DeleteClusterHostsRequest) ProtoMessage()
- func (m *DeleteClusterHostsRequest) Reset()
- func (m *DeleteClusterHostsRequest) String() string
- func (m *DeleteClusterHostsRequest) XXX_DiscardUnknown()
- func (m *DeleteClusterHostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteClusterHostsRequest) XXX_Merge(src proto.Message)
- func (m *DeleteClusterHostsRequest) XXX_Size() int
- func (m *DeleteClusterHostsRequest) XXX_Unmarshal(b []byte) error
- type DeleteClusterMetadata
- func (*DeleteClusterMetadata) Descriptor() ([]byte, []int)
- func (m *DeleteClusterMetadata) GetClusterId() string
- func (*DeleteClusterMetadata) ProtoMessage()
- func (m *DeleteClusterMetadata) Reset()
- func (m *DeleteClusterMetadata) String() string
- func (m *DeleteClusterMetadata) XXX_DiscardUnknown()
- func (m *DeleteClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteClusterMetadata) XXX_Merge(src proto.Message)
- func (m *DeleteClusterMetadata) XXX_Size() int
- func (m *DeleteClusterMetadata) XXX_Unmarshal(b []byte) error
- type DeleteClusterRequest
- func (*DeleteClusterRequest) Descriptor() ([]byte, []int)
- func (m *DeleteClusterRequest) GetClusterId() string
- func (*DeleteClusterRequest) ProtoMessage()
- func (m *DeleteClusterRequest) Reset()
- func (m *DeleteClusterRequest) String() string
- func (m *DeleteClusterRequest) XXX_DiscardUnknown()
- func (m *DeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteClusterRequest) XXX_Merge(src proto.Message)
- func (m *DeleteClusterRequest) XXX_Size() int
- func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error
- type GetBackupRequest
- func (*GetBackupRequest) Descriptor() ([]byte, []int)
- func (m *GetBackupRequest) GetBackupId() string
- func (*GetBackupRequest) ProtoMessage()
- func (m *GetBackupRequest) Reset()
- func (m *GetBackupRequest) String() string
- func (m *GetBackupRequest) XXX_DiscardUnknown()
- func (m *GetBackupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBackupRequest) XXX_Merge(src proto.Message)
- func (m *GetBackupRequest) XXX_Size() int
- func (m *GetBackupRequest) XXX_Unmarshal(b []byte) error
- type GetClusterRequest
- func (*GetClusterRequest) Descriptor() ([]byte, []int)
- func (m *GetClusterRequest) GetClusterId() string
- func (*GetClusterRequest) ProtoMessage()
- func (m *GetClusterRequest) Reset()
- func (m *GetClusterRequest) String() string
- func (m *GetClusterRequest) XXX_DiscardUnknown()
- func (m *GetClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetClusterRequest) XXX_Merge(src proto.Message)
- func (m *GetClusterRequest) XXX_Size() int
- func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error
- type GetResourcePresetRequest
- func (*GetResourcePresetRequest) Descriptor() ([]byte, []int)
- func (m *GetResourcePresetRequest) GetResourcePresetId() string
- func (*GetResourcePresetRequest) ProtoMessage()
- func (m *GetResourcePresetRequest) Reset()
- func (m *GetResourcePresetRequest) String() string
- func (m *GetResourcePresetRequest) XXX_DiscardUnknown()
- func (m *GetResourcePresetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetResourcePresetRequest) XXX_Merge(src proto.Message)
- func (m *GetResourcePresetRequest) XXX_Size() int
- func (m *GetResourcePresetRequest) XXX_Unmarshal(b []byte) error
- type Host
- func (*Host) Descriptor() ([]byte, []int)
- func (m *Host) GetClusterId() string
- func (m *Host) GetHealth() Host_Health
- func (m *Host) GetName() string
- func (m *Host) GetResources() *Resources
- func (m *Host) GetRole() Host_Role
- func (m *Host) GetServices() []*Service
- func (m *Host) GetSubnetId() string
- func (m *Host) GetZoneId() string
- func (*Host) ProtoMessage()
- func (m *Host) Reset()
- func (m *Host) String() string
- func (m *Host) XXX_DiscardUnknown()
- func (m *Host) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Host) XXX_Merge(src proto.Message)
- func (m *Host) XXX_Size() int
- func (m *Host) XXX_Unmarshal(b []byte) error
- type HostSpec
- func (*HostSpec) Descriptor() ([]byte, []int)
- func (m *HostSpec) GetSubnetId() string
- func (m *HostSpec) GetZoneId() string
- func (*HostSpec) ProtoMessage()
- func (m *HostSpec) Reset()
- func (m *HostSpec) String() string
- func (m *HostSpec) XXX_DiscardUnknown()
- func (m *HostSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HostSpec) XXX_Merge(src proto.Message)
- func (m *HostSpec) XXX_Size() int
- func (m *HostSpec) XXX_Unmarshal(b []byte) error
- type Host_Health
- type Host_Role
- type ListBackupsRequest
- func (*ListBackupsRequest) Descriptor() ([]byte, []int)
- func (m *ListBackupsRequest) GetFolderId() string
- func (m *ListBackupsRequest) GetPageSize() int64
- func (m *ListBackupsRequest) GetPageToken() string
- func (*ListBackupsRequest) ProtoMessage()
- func (m *ListBackupsRequest) Reset()
- func (m *ListBackupsRequest) String() string
- func (m *ListBackupsRequest) XXX_DiscardUnknown()
- func (m *ListBackupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListBackupsRequest) XXX_Merge(src proto.Message)
- func (m *ListBackupsRequest) XXX_Size() int
- func (m *ListBackupsRequest) XXX_Unmarshal(b []byte) error
- type ListBackupsResponse
- func (*ListBackupsResponse) Descriptor() ([]byte, []int)
- func (m *ListBackupsResponse) GetBackups() []*Backup
- func (m *ListBackupsResponse) GetNextPageToken() string
- func (*ListBackupsResponse) ProtoMessage()
- func (m *ListBackupsResponse) Reset()
- func (m *ListBackupsResponse) String() string
- func (m *ListBackupsResponse) XXX_DiscardUnknown()
- func (m *ListBackupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListBackupsResponse) XXX_Merge(src proto.Message)
- func (m *ListBackupsResponse) XXX_Size() int
- func (m *ListBackupsResponse) XXX_Unmarshal(b []byte) error
- type ListClusterBackupsRequest
- func (*ListClusterBackupsRequest) Descriptor() ([]byte, []int)
- func (m *ListClusterBackupsRequest) GetClusterId() string
- func (m *ListClusterBackupsRequest) GetPageSize() int64
- func (m *ListClusterBackupsRequest) GetPageToken() string
- func (*ListClusterBackupsRequest) ProtoMessage()
- func (m *ListClusterBackupsRequest) Reset()
- func (m *ListClusterBackupsRequest) String() string
- func (m *ListClusterBackupsRequest) XXX_DiscardUnknown()
- func (m *ListClusterBackupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListClusterBackupsRequest) XXX_Merge(src proto.Message)
- func (m *ListClusterBackupsRequest) XXX_Size() int
- func (m *ListClusterBackupsRequest) XXX_Unmarshal(b []byte) error
- type ListClusterBackupsResponse
- func (*ListClusterBackupsResponse) Descriptor() ([]byte, []int)
- func (m *ListClusterBackupsResponse) GetBackups() []*Backup
- func (m *ListClusterBackupsResponse) GetNextPageToken() string
- func (*ListClusterBackupsResponse) ProtoMessage()
- func (m *ListClusterBackupsResponse) Reset()
- func (m *ListClusterBackupsResponse) String() string
- func (m *ListClusterBackupsResponse) XXX_DiscardUnknown()
- func (m *ListClusterBackupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListClusterBackupsResponse) XXX_Merge(src proto.Message)
- func (m *ListClusterBackupsResponse) XXX_Size() int
- func (m *ListClusterBackupsResponse) XXX_Unmarshal(b []byte) error
- type ListClusterHostsRequest
- func (*ListClusterHostsRequest) Descriptor() ([]byte, []int)
- func (m *ListClusterHostsRequest) GetClusterId() string
- func (m *ListClusterHostsRequest) GetPageSize() int64
- func (m *ListClusterHostsRequest) GetPageToken() string
- func (*ListClusterHostsRequest) ProtoMessage()
- func (m *ListClusterHostsRequest) Reset()
- func (m *ListClusterHostsRequest) String() string
- func (m *ListClusterHostsRequest) XXX_DiscardUnknown()
- func (m *ListClusterHostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListClusterHostsRequest) XXX_Merge(src proto.Message)
- func (m *ListClusterHostsRequest) XXX_Size() int
- func (m *ListClusterHostsRequest) XXX_Unmarshal(b []byte) error
- type ListClusterHostsResponse
- func (*ListClusterHostsResponse) Descriptor() ([]byte, []int)
- func (m *ListClusterHostsResponse) GetHosts() []*Host
- func (m *ListClusterHostsResponse) GetNextPageToken() string
- func (*ListClusterHostsResponse) ProtoMessage()
- func (m *ListClusterHostsResponse) Reset()
- func (m *ListClusterHostsResponse) String() string
- func (m *ListClusterHostsResponse) XXX_DiscardUnknown()
- func (m *ListClusterHostsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListClusterHostsResponse) XXX_Merge(src proto.Message)
- func (m *ListClusterHostsResponse) XXX_Size() int
- func (m *ListClusterHostsResponse) XXX_Unmarshal(b []byte) error
- type ListClusterLogsRequest
- func (*ListClusterLogsRequest) Descriptor() ([]byte, []int)
- func (m *ListClusterLogsRequest) GetClusterId() string
- func (m *ListClusterLogsRequest) GetColumnFilter() []string
- func (m *ListClusterLogsRequest) GetFromTime() *timestamp.Timestamp
- func (m *ListClusterLogsRequest) GetPageSize() int64
- func (m *ListClusterLogsRequest) GetPageToken() string
- func (m *ListClusterLogsRequest) GetServiceType() ListClusterLogsRequest_ServiceType
- func (m *ListClusterLogsRequest) GetToTime() *timestamp.Timestamp
- func (*ListClusterLogsRequest) ProtoMessage()
- func (m *ListClusterLogsRequest) Reset()
- func (m *ListClusterLogsRequest) String() string
- func (m *ListClusterLogsRequest) XXX_DiscardUnknown()
- func (m *ListClusterLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListClusterLogsRequest) XXX_Merge(src proto.Message)
- func (m *ListClusterLogsRequest) XXX_Size() int
- func (m *ListClusterLogsRequest) XXX_Unmarshal(b []byte) error
- type ListClusterLogsRequest_ServiceType
- type ListClusterLogsResponse
- func (*ListClusterLogsResponse) Descriptor() ([]byte, []int)
- func (m *ListClusterLogsResponse) GetLogs() []*LogRecord
- func (m *ListClusterLogsResponse) GetNextPageToken() string
- func (*ListClusterLogsResponse) ProtoMessage()
- func (m *ListClusterLogsResponse) Reset()
- func (m *ListClusterLogsResponse) String() string
- func (m *ListClusterLogsResponse) XXX_DiscardUnknown()
- func (m *ListClusterLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListClusterLogsResponse) XXX_Merge(src proto.Message)
- func (m *ListClusterLogsResponse) XXX_Size() int
- func (m *ListClusterLogsResponse) XXX_Unmarshal(b []byte) error
- type ListClusterOperationsRequest
- func (*ListClusterOperationsRequest) Descriptor() ([]byte, []int)
- func (m *ListClusterOperationsRequest) GetClusterId() string
- func (m *ListClusterOperationsRequest) GetPageSize() int64
- func (m *ListClusterOperationsRequest) GetPageToken() string
- func (*ListClusterOperationsRequest) ProtoMessage()
- func (m *ListClusterOperationsRequest) Reset()
- func (m *ListClusterOperationsRequest) String() string
- func (m *ListClusterOperationsRequest) XXX_DiscardUnknown()
- func (m *ListClusterOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListClusterOperationsRequest) XXX_Merge(src proto.Message)
- func (m *ListClusterOperationsRequest) XXX_Size() int
- func (m *ListClusterOperationsRequest) XXX_Unmarshal(b []byte) error
- type ListClusterOperationsResponse
- func (*ListClusterOperationsResponse) Descriptor() ([]byte, []int)
- func (m *ListClusterOperationsResponse) GetNextPageToken() string
- func (m *ListClusterOperationsResponse) GetOperations() []*operation.Operation
- func (*ListClusterOperationsResponse) ProtoMessage()
- func (m *ListClusterOperationsResponse) Reset()
- func (m *ListClusterOperationsResponse) String() string
- func (m *ListClusterOperationsResponse) XXX_DiscardUnknown()
- func (m *ListClusterOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListClusterOperationsResponse) XXX_Merge(src proto.Message)
- func (m *ListClusterOperationsResponse) XXX_Size() int
- func (m *ListClusterOperationsResponse) XXX_Unmarshal(b []byte) error
- type ListClustersRequest
- func (*ListClustersRequest) Descriptor() ([]byte, []int)
- func (m *ListClustersRequest) GetFilter() string
- func (m *ListClustersRequest) GetFolderId() string
- func (m *ListClustersRequest) GetPageSize() int64
- func (m *ListClustersRequest) GetPageToken() string
- func (*ListClustersRequest) ProtoMessage()
- func (m *ListClustersRequest) Reset()
- func (m *ListClustersRequest) String() string
- func (m *ListClustersRequest) XXX_DiscardUnknown()
- func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListClustersRequest) XXX_Merge(src proto.Message)
- func (m *ListClustersRequest) XXX_Size() int
- func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error
- type ListClustersResponse
- func (*ListClustersResponse) Descriptor() ([]byte, []int)
- func (m *ListClustersResponse) GetClusters() []*Cluster
- func (m *ListClustersResponse) GetNextPageToken() string
- func (*ListClustersResponse) ProtoMessage()
- func (m *ListClustersResponse) Reset()
- func (m *ListClustersResponse) String() string
- func (m *ListClustersResponse) XXX_DiscardUnknown()
- func (m *ListClustersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListClustersResponse) XXX_Merge(src proto.Message)
- func (m *ListClustersResponse) XXX_Size() int
- func (m *ListClustersResponse) XXX_Unmarshal(b []byte) error
- type ListResourcePresetsRequest
- func (*ListResourcePresetsRequest) Descriptor() ([]byte, []int)
- func (m *ListResourcePresetsRequest) GetPageSize() int64
- func (m *ListResourcePresetsRequest) GetPageToken() string
- func (*ListResourcePresetsRequest) ProtoMessage()
- func (m *ListResourcePresetsRequest) Reset()
- func (m *ListResourcePresetsRequest) String() string
- func (m *ListResourcePresetsRequest) XXX_DiscardUnknown()
- func (m *ListResourcePresetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListResourcePresetsRequest) XXX_Merge(src proto.Message)
- func (m *ListResourcePresetsRequest) XXX_Size() int
- func (m *ListResourcePresetsRequest) XXX_Unmarshal(b []byte) error
- type ListResourcePresetsResponse
- func (*ListResourcePresetsResponse) Descriptor() ([]byte, []int)
- func (m *ListResourcePresetsResponse) GetNextPageToken() string
- func (m *ListResourcePresetsResponse) GetResourcePresets() []*ResourcePreset
- func (*ListResourcePresetsResponse) ProtoMessage()
- func (m *ListResourcePresetsResponse) Reset()
- func (m *ListResourcePresetsResponse) String() string
- func (m *ListResourcePresetsResponse) XXX_DiscardUnknown()
- func (m *ListResourcePresetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListResourcePresetsResponse) XXX_Merge(src proto.Message)
- func (m *ListResourcePresetsResponse) XXX_Size() int
- func (m *ListResourcePresetsResponse) XXX_Unmarshal(b []byte) error
- type LogRecord
- func (*LogRecord) Descriptor() ([]byte, []int)
- func (m *LogRecord) GetMessage() map[string]string
- func (m *LogRecord) GetTimestamp() *timestamp.Timestamp
- func (*LogRecord) ProtoMessage()
- func (m *LogRecord) Reset()
- func (m *LogRecord) String() string
- func (m *LogRecord) XXX_DiscardUnknown()
- func (m *LogRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogRecord) XXX_Merge(src proto.Message)
- func (m *LogRecord) XXX_Size() int
- func (m *LogRecord) XXX_Unmarshal(b []byte) error
- type Monitoring
- func (*Monitoring) Descriptor() ([]byte, []int)
- func (m *Monitoring) GetDescription() string
- func (m *Monitoring) GetLink() string
- func (m *Monitoring) GetName() string
- func (*Monitoring) ProtoMessage()
- func (m *Monitoring) Reset()
- func (m *Monitoring) String() string
- func (m *Monitoring) XXX_DiscardUnknown()
- func (m *Monitoring) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Monitoring) XXX_Merge(src proto.Message)
- func (m *Monitoring) XXX_Size() int
- func (m *Monitoring) XXX_Unmarshal(b []byte) error
- type ResourcePreset
- func (*ResourcePreset) Descriptor() ([]byte, []int)
- func (m *ResourcePreset) GetCores() int64
- func (m *ResourcePreset) GetId() string
- func (m *ResourcePreset) GetMemory() int64
- func (m *ResourcePreset) GetZoneIds() []string
- func (*ResourcePreset) ProtoMessage()
- func (m *ResourcePreset) Reset()
- func (m *ResourcePreset) String() string
- func (m *ResourcePreset) XXX_DiscardUnknown()
- func (m *ResourcePreset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourcePreset) XXX_Merge(src proto.Message)
- func (m *ResourcePreset) XXX_Size() int
- func (m *ResourcePreset) XXX_Unmarshal(b []byte) error
- type ResourcePresetServiceClient
- type ResourcePresetServiceServer
- type Resources
- func (*Resources) Descriptor() ([]byte, []int)
- func (m *Resources) GetDiskSize() int64
- func (m *Resources) GetResourcePresetId() string
- func (*Resources) ProtoMessage()
- func (m *Resources) Reset()
- func (m *Resources) String() string
- func (m *Resources) XXX_DiscardUnknown()
- func (m *Resources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Resources) XXX_Merge(src proto.Message)
- func (m *Resources) XXX_Size() int
- func (m *Resources) XXX_Unmarshal(b []byte) error
- type RestoreClusterMetadata
- func (*RestoreClusterMetadata) Descriptor() ([]byte, []int)
- func (m *RestoreClusterMetadata) GetBackupId() string
- func (m *RestoreClusterMetadata) GetClusterId() string
- func (*RestoreClusterMetadata) ProtoMessage()
- func (m *RestoreClusterMetadata) Reset()
- func (m *RestoreClusterMetadata) String() string
- func (m *RestoreClusterMetadata) XXX_DiscardUnknown()
- func (m *RestoreClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RestoreClusterMetadata) XXX_Merge(src proto.Message)
- func (m *RestoreClusterMetadata) XXX_Size() int
- func (m *RestoreClusterMetadata) XXX_Unmarshal(b []byte) error
- type RestoreClusterRequest
- func (*RestoreClusterRequest) Descriptor() ([]byte, []int)
- func (m *RestoreClusterRequest) GetBackupId() string
- func (m *RestoreClusterRequest) GetConfigSpec() *ConfigSpec
- func (m *RestoreClusterRequest) GetDescription() string
- func (m *RestoreClusterRequest) GetEnvironment() Cluster_Environment
- func (m *RestoreClusterRequest) GetHostSpecs() []*HostSpec
- func (m *RestoreClusterRequest) GetLabels() map[string]string
- func (m *RestoreClusterRequest) GetName() string
- func (m *RestoreClusterRequest) GetNetworkId() string
- func (*RestoreClusterRequest) ProtoMessage()
- func (m *RestoreClusterRequest) Reset()
- func (m *RestoreClusterRequest) String() string
- func (m *RestoreClusterRequest) XXX_DiscardUnknown()
- func (m *RestoreClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RestoreClusterRequest) XXX_Merge(src proto.Message)
- func (m *RestoreClusterRequest) XXX_Size() int
- func (m *RestoreClusterRequest) XXX_Unmarshal(b []byte) error
- type Service
- func (*Service) Descriptor() ([]byte, []int)
- func (m *Service) GetHealth() Service_Health
- func (m *Service) GetType() Service_Type
- func (*Service) ProtoMessage()
- func (m *Service) Reset()
- func (m *Service) String() string
- func (m *Service) XXX_DiscardUnknown()
- func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Service) XXX_Merge(src proto.Message)
- func (m *Service) XXX_Size() int
- func (m *Service) XXX_Unmarshal(b []byte) error
- type Service_Health
- type Service_Type
- type StartClusterFailoverMetadata
- func (*StartClusterFailoverMetadata) Descriptor() ([]byte, []int)
- func (m *StartClusterFailoverMetadata) GetClusterId() string
- func (*StartClusterFailoverMetadata) ProtoMessage()
- func (m *StartClusterFailoverMetadata) Reset()
- func (m *StartClusterFailoverMetadata) String() string
- func (m *StartClusterFailoverMetadata) XXX_DiscardUnknown()
- func (m *StartClusterFailoverMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StartClusterFailoverMetadata) XXX_Merge(src proto.Message)
- func (m *StartClusterFailoverMetadata) XXX_Size() int
- func (m *StartClusterFailoverMetadata) XXX_Unmarshal(b []byte) error
- type StartClusterFailoverRequest
- func (*StartClusterFailoverRequest) Descriptor() ([]byte, []int)
- func (m *StartClusterFailoverRequest) GetClusterId() string
- func (*StartClusterFailoverRequest) ProtoMessage()
- func (m *StartClusterFailoverRequest) Reset()
- func (m *StartClusterFailoverRequest) String() string
- func (m *StartClusterFailoverRequest) XXX_DiscardUnknown()
- func (m *StartClusterFailoverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StartClusterFailoverRequest) XXX_Merge(src proto.Message)
- func (m *StartClusterFailoverRequest) XXX_Size() int
- func (m *StartClusterFailoverRequest) XXX_Unmarshal(b []byte) error
- type StartClusterMetadata
- func (*StartClusterMetadata) Descriptor() ([]byte, []int)
- func (m *StartClusterMetadata) GetClusterId() string
- func (*StartClusterMetadata) ProtoMessage()
- func (m *StartClusterMetadata) Reset()
- func (m *StartClusterMetadata) String() string
- func (m *StartClusterMetadata) XXX_DiscardUnknown()
- func (m *StartClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StartClusterMetadata) XXX_Merge(src proto.Message)
- func (m *StartClusterMetadata) XXX_Size() int
- func (m *StartClusterMetadata) XXX_Unmarshal(b []byte) error
- type StartClusterRequest
- func (*StartClusterRequest) Descriptor() ([]byte, []int)
- func (m *StartClusterRequest) GetClusterId() string
- func (*StartClusterRequest) ProtoMessage()
- func (m *StartClusterRequest) Reset()
- func (m *StartClusterRequest) String() string
- func (m *StartClusterRequest) XXX_DiscardUnknown()
- func (m *StartClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StartClusterRequest) XXX_Merge(src proto.Message)
- func (m *StartClusterRequest) XXX_Size() int
- func (m *StartClusterRequest) XXX_Unmarshal(b []byte) error
- type StopClusterMetadata
- func (*StopClusterMetadata) Descriptor() ([]byte, []int)
- func (m *StopClusterMetadata) GetClusterId() string
- func (*StopClusterMetadata) ProtoMessage()
- func (m *StopClusterMetadata) Reset()
- func (m *StopClusterMetadata) String() string
- func (m *StopClusterMetadata) XXX_DiscardUnknown()
- func (m *StopClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StopClusterMetadata) XXX_Merge(src proto.Message)
- func (m *StopClusterMetadata) XXX_Size() int
- func (m *StopClusterMetadata) XXX_Unmarshal(b []byte) error
- type StopClusterRequest
- func (*StopClusterRequest) Descriptor() ([]byte, []int)
- func (m *StopClusterRequest) GetClusterId() string
- func (*StopClusterRequest) ProtoMessage()
- func (m *StopClusterRequest) Reset()
- func (m *StopClusterRequest) String() string
- func (m *StopClusterRequest) XXX_DiscardUnknown()
- func (m *StopClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StopClusterRequest) XXX_Merge(src proto.Message)
- func (m *StopClusterRequest) XXX_Size() int
- func (m *StopClusterRequest) XXX_Unmarshal(b []byte) error
- type UnimplementedBackupServiceServer
- type UnimplementedClusterServiceServer
- func (*UnimplementedClusterServiceServer) AddHosts(ctx context.Context, req *AddClusterHostsRequest) (*operation.Operation, error)
- func (*UnimplementedClusterServiceServer) Backup(ctx context.Context, req *BackupClusterRequest) (*operation.Operation, error)
- func (*UnimplementedClusterServiceServer) Create(ctx context.Context, req *CreateClusterRequest) (*operation.Operation, error)
- func (*UnimplementedClusterServiceServer) Delete(ctx context.Context, req *DeleteClusterRequest) (*operation.Operation, error)
- func (*UnimplementedClusterServiceServer) DeleteHosts(ctx context.Context, req *DeleteClusterHostsRequest) (*operation.Operation, error)
- func (*UnimplementedClusterServiceServer) Get(ctx context.Context, req *GetClusterRequest) (*Cluster, error)
- func (*UnimplementedClusterServiceServer) List(ctx context.Context, req *ListClustersRequest) (*ListClustersResponse, error)
- func (*UnimplementedClusterServiceServer) ListBackups(ctx context.Context, req *ListClusterBackupsRequest) (*ListClusterBackupsResponse, error)
- func (*UnimplementedClusterServiceServer) ListHosts(ctx context.Context, req *ListClusterHostsRequest) (*ListClusterHostsResponse, error)
- func (*UnimplementedClusterServiceServer) ListLogs(ctx context.Context, req *ListClusterLogsRequest) (*ListClusterLogsResponse, error)
- func (*UnimplementedClusterServiceServer) ListOperations(ctx context.Context, req *ListClusterOperationsRequest) (*ListClusterOperationsResponse, error)
- func (*UnimplementedClusterServiceServer) Restore(ctx context.Context, req *RestoreClusterRequest) (*operation.Operation, error)
- func (*UnimplementedClusterServiceServer) Start(ctx context.Context, req *StartClusterRequest) (*operation.Operation, error)
- func (*UnimplementedClusterServiceServer) StartFailover(ctx context.Context, req *StartClusterFailoverRequest) (*operation.Operation, error)
- func (*UnimplementedClusterServiceServer) Stop(ctx context.Context, req *StopClusterRequest) (*operation.Operation, error)
- func (*UnimplementedClusterServiceServer) Update(ctx context.Context, req *UpdateClusterRequest) (*operation.Operation, error)
- type UnimplementedResourcePresetServiceServer
- type UpdateClusterMetadata
- func (*UpdateClusterMetadata) Descriptor() ([]byte, []int)
- func (m *UpdateClusterMetadata) GetClusterId() string
- func (*UpdateClusterMetadata) ProtoMessage()
- func (m *UpdateClusterMetadata) Reset()
- func (m *UpdateClusterMetadata) String() string
- func (m *UpdateClusterMetadata) XXX_DiscardUnknown()
- func (m *UpdateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateClusterMetadata) XXX_Merge(src proto.Message)
- func (m *UpdateClusterMetadata) XXX_Size() int
- func (m *UpdateClusterMetadata) XXX_Unmarshal(b []byte) error
- type UpdateClusterRequest
- func (*UpdateClusterRequest) Descriptor() ([]byte, []int)
- func (m *UpdateClusterRequest) GetClusterId() string
- func (m *UpdateClusterRequest) GetConfigSpec() *ConfigSpec
- func (m *UpdateClusterRequest) GetDescription() string
- func (m *UpdateClusterRequest) GetLabels() map[string]string
- func (m *UpdateClusterRequest) GetName() string
- func (m *UpdateClusterRequest) GetUpdateMask() *field_mask.FieldMask
- func (*UpdateClusterRequest) ProtoMessage()
- func (m *UpdateClusterRequest) Reset()
- func (m *UpdateClusterRequest) String() string
- func (m *UpdateClusterRequest) XXX_DiscardUnknown()
- func (m *UpdateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateClusterRequest) XXX_Merge(src proto.Message)
- func (m *UpdateClusterRequest) XXX_Size() int
- func (m *UpdateClusterRequest) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var Cluster_Environment_name = map[int32]string{
0: "ENVIRONMENT_UNSPECIFIED",
1: "PRODUCTION",
2: "PRESTABLE",
}
var Cluster_Environment_value = map[string]int32{
"ENVIRONMENT_UNSPECIFIED": 0,
"PRODUCTION": 1,
"PRESTABLE": 2,
}
var Cluster_Health_name = map[int32]string{
0: "HEALTH_UNKNOWN",
1: "ALIVE",
2: "DEAD",
3: "DEGRADED",
}
var Cluster_Health_value = map[string]int32{
"HEALTH_UNKNOWN": 0,
"ALIVE": 1,
"DEAD": 2,
"DEGRADED": 3,
}
var Cluster_Status_name = map[int32]string{
0: "STATUS_UNKNOWN",
1: "CREATING",
2: "RUNNING",
3: "ERROR",
4: "UPDATING",
5: "STOPPING",
6: "STOPPED",
7: "STARTING",
}
var Cluster_Status_value = map[string]int32{
"STATUS_UNKNOWN": 0,
"CREATING": 1,
"RUNNING": 2,
"ERROR": 3,
"UPDATING": 4,
"STOPPING": 5,
"STOPPED": 6,
"STARTING": 7,
}
var Host_Health_name = map[int32]string{
0: "HEALTH_UNKNOWN",
1: "ALIVE",
2: "DEAD",
3: "DEGRADED",
}
var Host_Health_value = map[string]int32{
"HEALTH_UNKNOWN": 0,
"ALIVE": 1,
"DEAD": 2,
"DEGRADED": 3,
}
var Host_Role_name = map[int32]string{
0: "ROLE_UNKNOWN",
1: "MASTER",
2: "REPLICA",
}
var Host_Role_value = map[string]int32{
"ROLE_UNKNOWN": 0,
"MASTER": 1,
"REPLICA": 2,
}
var ListClusterLogsRequest_ServiceType_name = map[int32]string{
0: "SERVICE_TYPE_UNSPECIFIED",
1: "REDIS",
}
var ListClusterLogsRequest_ServiceType_value = map[string]int32{
"SERVICE_TYPE_UNSPECIFIED": 0,
"REDIS": 1,
}
var Service_Health_name = map[int32]string{
0: "HEALTH_UNKNOWN",
1: "ALIVE",
2: "DEAD",
}
var Service_Health_value = map[string]int32{
"HEALTH_UNKNOWN": 0,
"ALIVE": 1,
"DEAD": 2,
}
var Service_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "REDIS",
2: "SENTINEL",
}
var Service_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"REDIS": 1,
"SENTINEL": 2,
}
Functions ¶
func RegisterBackupServiceServer ¶
func RegisterBackupServiceServer(s *grpc.Server, srv BackupServiceServer)
func RegisterClusterServiceServer ¶
func RegisterClusterServiceServer(s *grpc.Server, srv ClusterServiceServer)
func RegisterResourcePresetServiceServer ¶
func RegisterResourcePresetServiceServer(s *grpc.Server, srv ResourcePresetServiceServer)
Types ¶
type AddClusterHostsMetadata ¶
type AddClusterHostsMetadata struct { // ID of the Redis cluster to which the hosts are being added. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Names of hosts that are being added to the cluster. HostNames []string `protobuf:"bytes,2,rep,name=host_names,json=hostNames,proto3" json:"host_names,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddClusterHostsMetadata) Descriptor ¶
func (*AddClusterHostsMetadata) Descriptor() ([]byte, []int)
func (*AddClusterHostsMetadata) GetClusterId ¶
func (m *AddClusterHostsMetadata) GetClusterId() string
func (*AddClusterHostsMetadata) GetHostNames ¶
func (m *AddClusterHostsMetadata) GetHostNames() []string
func (*AddClusterHostsMetadata) ProtoMessage ¶
func (*AddClusterHostsMetadata) ProtoMessage()
func (*AddClusterHostsMetadata) Reset ¶
func (m *AddClusterHostsMetadata) Reset()
func (*AddClusterHostsMetadata) String ¶
func (m *AddClusterHostsMetadata) String() string
func (*AddClusterHostsMetadata) XXX_DiscardUnknown ¶
func (m *AddClusterHostsMetadata) XXX_DiscardUnknown()
func (*AddClusterHostsMetadata) XXX_Marshal ¶
func (m *AddClusterHostsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddClusterHostsMetadata) XXX_Merge ¶
func (m *AddClusterHostsMetadata) XXX_Merge(src proto.Message)
func (*AddClusterHostsMetadata) XXX_Size ¶
func (m *AddClusterHostsMetadata) XXX_Size() int
func (*AddClusterHostsMetadata) XXX_Unmarshal ¶
func (m *AddClusterHostsMetadata) XXX_Unmarshal(b []byte) error
type AddClusterHostsRequest ¶
type AddClusterHostsRequest struct { // ID of the Redis cluster to add hosts to. // To get the Redis cluster ID, use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Configurations for Redis hosts that should be added to the cluster. HostSpecs []*HostSpec `protobuf:"bytes,2,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddClusterHostsRequest) Descriptor ¶
func (*AddClusterHostsRequest) Descriptor() ([]byte, []int)
func (*AddClusterHostsRequest) GetClusterId ¶
func (m *AddClusterHostsRequest) GetClusterId() string
func (*AddClusterHostsRequest) GetHostSpecs ¶
func (m *AddClusterHostsRequest) GetHostSpecs() []*HostSpec
func (*AddClusterHostsRequest) ProtoMessage ¶
func (*AddClusterHostsRequest) ProtoMessage()
func (*AddClusterHostsRequest) Reset ¶
func (m *AddClusterHostsRequest) Reset()
func (*AddClusterHostsRequest) String ¶
func (m *AddClusterHostsRequest) String() string
func (*AddClusterHostsRequest) XXX_DiscardUnknown ¶
func (m *AddClusterHostsRequest) XXX_DiscardUnknown()
func (*AddClusterHostsRequest) XXX_Marshal ¶
func (m *AddClusterHostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddClusterHostsRequest) XXX_Merge ¶
func (m *AddClusterHostsRequest) XXX_Merge(src proto.Message)
func (*AddClusterHostsRequest) XXX_Size ¶
func (m *AddClusterHostsRequest) XXX_Size() int
func (*AddClusterHostsRequest) XXX_Unmarshal ¶
func (m *AddClusterHostsRequest) XXX_Unmarshal(b []byte) error
type Backup ¶
type Backup struct { // ID of the backup. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the folder that the backup belongs to. FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format // (i.e. when the backup operation was completed). CreatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // ID of the Redis cluster that the backup was created for. SourceClusterId string `protobuf:"bytes,4,opt,name=source_cluster_id,json=sourceClusterId,proto3" json:"source_cluster_id,omitempty"` // Start timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format // (i.e. when the backup operation was started). StartedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Description of a Redis backup. For more information, see the Managed Service for Redis [documentation](/docs/managed-redis/concepts/backup).
func (*Backup) Descriptor ¶
func (*Backup) GetCreatedAt ¶
func (*Backup) GetFolderId ¶
func (*Backup) GetSourceClusterId ¶
func (*Backup) GetStartedAt ¶
func (*Backup) ProtoMessage ¶
func (*Backup) ProtoMessage()
func (*Backup) XXX_DiscardUnknown ¶
func (m *Backup) XXX_DiscardUnknown()
func (*Backup) XXX_Marshal ¶
func (*Backup) XXX_Unmarshal ¶
type BackupClusterMetadata ¶
type BackupClusterMetadata struct { // ID of the Redis cluster that is being backed up. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BackupClusterMetadata) Descriptor ¶
func (*BackupClusterMetadata) Descriptor() ([]byte, []int)
func (*BackupClusterMetadata) GetClusterId ¶
func (m *BackupClusterMetadata) GetClusterId() string
func (*BackupClusterMetadata) ProtoMessage ¶
func (*BackupClusterMetadata) ProtoMessage()
func (*BackupClusterMetadata) Reset ¶
func (m *BackupClusterMetadata) Reset()
func (*BackupClusterMetadata) String ¶
func (m *BackupClusterMetadata) String() string
func (*BackupClusterMetadata) XXX_DiscardUnknown ¶
func (m *BackupClusterMetadata) XXX_DiscardUnknown()
func (*BackupClusterMetadata) XXX_Marshal ¶
func (m *BackupClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackupClusterMetadata) XXX_Merge ¶
func (m *BackupClusterMetadata) XXX_Merge(src proto.Message)
func (*BackupClusterMetadata) XXX_Size ¶
func (m *BackupClusterMetadata) XXX_Size() int
func (*BackupClusterMetadata) XXX_Unmarshal ¶
func (m *BackupClusterMetadata) XXX_Unmarshal(b []byte) error
type BackupClusterRequest ¶
type BackupClusterRequest struct { // ID of the Redis cluster to back up. // To get the Redis cluster ID, use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BackupClusterRequest) Descriptor ¶
func (*BackupClusterRequest) Descriptor() ([]byte, []int)
func (*BackupClusterRequest) GetClusterId ¶
func (m *BackupClusterRequest) GetClusterId() string
func (*BackupClusterRequest) ProtoMessage ¶
func (*BackupClusterRequest) ProtoMessage()
func (*BackupClusterRequest) Reset ¶
func (m *BackupClusterRequest) Reset()
func (*BackupClusterRequest) String ¶
func (m *BackupClusterRequest) String() string
func (*BackupClusterRequest) XXX_DiscardUnknown ¶
func (m *BackupClusterRequest) XXX_DiscardUnknown()
func (*BackupClusterRequest) XXX_Marshal ¶
func (m *BackupClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackupClusterRequest) XXX_Merge ¶
func (m *BackupClusterRequest) XXX_Merge(src proto.Message)
func (*BackupClusterRequest) XXX_Size ¶
func (m *BackupClusterRequest) XXX_Size() int
func (*BackupClusterRequest) XXX_Unmarshal ¶
func (m *BackupClusterRequest) XXX_Unmarshal(b []byte) error
type BackupServiceClient ¶
type BackupServiceClient interface { // Returns the specified Redis backup. // // To get the list of available Redis backups, make a [List] request. Get(ctx context.Context, in *GetBackupRequest, opts ...grpc.CallOption) (*Backup, error) // Retrieves the list of Redis backups available for the specified folder. List(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, error) }
BackupServiceClient is the client API for BackupService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBackupServiceClient ¶
func NewBackupServiceClient(cc *grpc.ClientConn) BackupServiceClient
type BackupServiceServer ¶
type BackupServiceServer interface { // Returns the specified Redis backup. // // To get the list of available Redis backups, make a [List] request. Get(context.Context, *GetBackupRequest) (*Backup, error) // Retrieves the list of Redis backups available for the specified folder. List(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error) }
BackupServiceServer is the server API for BackupService service.
type Cluster ¶
type Cluster struct { // ID of the Redis cluster. // This ID is assigned by MDB at creation time. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the folder that the Redis cluster belongs to. FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. CreatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Name of the Redis cluster. // The name is unique within the folder. 3-63 characters long. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Description of the Redis cluster. 0-256 characters long. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Custom labels for the Redis cluster as `key:value` pairs. // Maximum 64 per cluster. Labels map[string]string `` /* 153-byte string literal not displayed */ // Deployment environment of the Redis cluster. Environment Cluster_Environment `` /* 132-byte string literal not displayed */ // Description of monitoring systems relevant to the Redis cluster. Monitoring []*Monitoring `protobuf:"bytes,8,rep,name=monitoring,proto3" json:"monitoring,omitempty"` // Configuration of the Redis cluster. Config *ClusterConfig `protobuf:"bytes,9,opt,name=config,proto3" json:"config,omitempty"` NetworkId string `protobuf:"bytes,10,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` // Aggregated cluster health Health Cluster_Health `protobuf:"varint,11,opt,name=health,proto3,enum=yandex.cloud.mdb.redis.v1alpha.Cluster_Health" json:"health,omitempty"` // Cluster status Status Cluster_Status `protobuf:"varint,12,opt,name=status,proto3,enum=yandex.cloud.mdb.redis.v1alpha.Cluster_Status" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Description of a Redis cluster. For more information, see the Managed Service for Redis [documentation](/docs/managed-redis/concepts/).
func (*Cluster) Descriptor ¶
func (*Cluster) GetConfig ¶
func (m *Cluster) GetConfig() *ClusterConfig
func (*Cluster) GetCreatedAt ¶
func (*Cluster) GetDescription ¶
func (*Cluster) GetEnvironment ¶
func (m *Cluster) GetEnvironment() Cluster_Environment
func (*Cluster) GetFolderId ¶
func (*Cluster) GetHealth ¶
func (m *Cluster) GetHealth() Cluster_Health
func (*Cluster) GetMonitoring ¶
func (m *Cluster) GetMonitoring() []*Monitoring
func (*Cluster) GetNetworkId ¶
func (*Cluster) GetStatus ¶
func (m *Cluster) GetStatus() Cluster_Status
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
func (*Cluster) XXX_DiscardUnknown ¶
func (m *Cluster) XXX_DiscardUnknown()
func (*Cluster) XXX_Marshal ¶
func (*Cluster) XXX_Unmarshal ¶
type ClusterConfig ¶
type ClusterConfig struct { // Version of Redis server software. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // Configuration for Redis servers in the cluster. // // Types that are valid to be assigned to RedisConfig: // *ClusterConfig_RedisConfig_5_0 RedisConfig isClusterConfig_RedisConfig `protobuf_oneof:"redis_config"` // Resources allocated to Redis hosts. Resources *Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClusterConfig) Descriptor ¶
func (*ClusterConfig) Descriptor() ([]byte, []int)
func (*ClusterConfig) GetRedisConfig ¶
func (m *ClusterConfig) GetRedisConfig() isClusterConfig_RedisConfig
func (*ClusterConfig) GetRedisConfig_5_0 ¶
func (m *ClusterConfig) GetRedisConfig_5_0() *config.RedisConfigSet5_0
func (*ClusterConfig) GetResources ¶
func (m *ClusterConfig) GetResources() *Resources
func (*ClusterConfig) GetVersion ¶
func (m *ClusterConfig) GetVersion() string
func (*ClusterConfig) ProtoMessage ¶
func (*ClusterConfig) ProtoMessage()
func (*ClusterConfig) Reset ¶
func (m *ClusterConfig) Reset()
func (*ClusterConfig) String ¶
func (m *ClusterConfig) String() string
func (*ClusterConfig) XXX_DiscardUnknown ¶
func (m *ClusterConfig) XXX_DiscardUnknown()
func (*ClusterConfig) XXX_Marshal ¶
func (m *ClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClusterConfig) XXX_Merge ¶
func (m *ClusterConfig) XXX_Merge(src proto.Message)
func (*ClusterConfig) XXX_OneofWrappers ¶
func (*ClusterConfig) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ClusterConfig) XXX_Size ¶
func (m *ClusterConfig) XXX_Size() int
func (*ClusterConfig) XXX_Unmarshal ¶
func (m *ClusterConfig) XXX_Unmarshal(b []byte) error
type ClusterConfig_RedisConfig_5_0 ¶
type ClusterConfig_RedisConfig_5_0 struct {
RedisConfig_5_0 *config.RedisConfigSet5_0 `protobuf:"bytes,2,opt,name=redis_config_5_0,json=redisConfig50,proto3,oneof"`
}
type ClusterServiceClient ¶
type ClusterServiceClient interface { // Returns the specified Redis cluster. // // To get the list of available Redis clusters, make a [List] request. Get(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) // Retrieves the list of Redis clusters that belong // to the specified folder. List(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) // Creates a Redis cluster in the specified folder. Create(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates the specified Redis cluster. Update(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified Redis cluster. Delete(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Start the specified Redis cluster. Start(ctx context.Context, in *StartClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Stop the specified Redis cluster. Stop(ctx context.Context, in *StopClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Creates a backup for the specified Redis cluster. Backup(ctx context.Context, in *BackupClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Creates a new Redis cluster using the specified backup. Restore(ctx context.Context, in *RestoreClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Start a manual failover on the specified Redis cluster. StartFailover(ctx context.Context, in *StartClusterFailoverRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Retrieves logs for the specified Redis cluster. // For more information about logs, see the [Logs](/docs/managed-redis/concepts/logs) section in the documentation. ListLogs(ctx context.Context, in *ListClusterLogsRequest, opts ...grpc.CallOption) (*ListClusterLogsResponse, error) // Retrieves the list of operations for the specified cluster. ListOperations(ctx context.Context, in *ListClusterOperationsRequest, opts ...grpc.CallOption) (*ListClusterOperationsResponse, error) // Retrieves the list of available backups for the specified Redis cluster. ListBackups(ctx context.Context, in *ListClusterBackupsRequest, opts ...grpc.CallOption) (*ListClusterBackupsResponse, error) // Retrieves a list of hosts for the specified cluster. ListHosts(ctx context.Context, in *ListClusterHostsRequest, opts ...grpc.CallOption) (*ListClusterHostsResponse, error) // Creates new hosts for a cluster. AddHosts(ctx context.Context, in *AddClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified hosts for a cluster. DeleteHosts(ctx context.Context, in *DeleteClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error) }
ClusterServiceClient is the client API for ClusterService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewClusterServiceClient ¶
func NewClusterServiceClient(cc *grpc.ClientConn) ClusterServiceClient
type ClusterServiceServer ¶
type ClusterServiceServer interface { // Returns the specified Redis cluster. // // To get the list of available Redis clusters, make a [List] request. Get(context.Context, *GetClusterRequest) (*Cluster, error) // Retrieves the list of Redis clusters that belong // to the specified folder. List(context.Context, *ListClustersRequest) (*ListClustersResponse, error) // Creates a Redis cluster in the specified folder. Create(context.Context, *CreateClusterRequest) (*operation.Operation, error) // Updates the specified Redis cluster. Update(context.Context, *UpdateClusterRequest) (*operation.Operation, error) // Deletes the specified Redis cluster. Delete(context.Context, *DeleteClusterRequest) (*operation.Operation, error) // Start the specified Redis cluster. Start(context.Context, *StartClusterRequest) (*operation.Operation, error) // Stop the specified Redis cluster. Stop(context.Context, *StopClusterRequest) (*operation.Operation, error) // Creates a backup for the specified Redis cluster. Backup(context.Context, *BackupClusterRequest) (*operation.Operation, error) // Creates a new Redis cluster using the specified backup. Restore(context.Context, *RestoreClusterRequest) (*operation.Operation, error) // Start a manual failover on the specified Redis cluster. StartFailover(context.Context, *StartClusterFailoverRequest) (*operation.Operation, error) // Retrieves logs for the specified Redis cluster. // For more information about logs, see the [Logs](/docs/managed-redis/concepts/logs) section in the documentation. ListLogs(context.Context, *ListClusterLogsRequest) (*ListClusterLogsResponse, error) // Retrieves the list of operations for the specified cluster. ListOperations(context.Context, *ListClusterOperationsRequest) (*ListClusterOperationsResponse, error) // Retrieves the list of available backups for the specified Redis cluster. ListBackups(context.Context, *ListClusterBackupsRequest) (*ListClusterBackupsResponse, error) // Retrieves a list of hosts for the specified cluster. ListHosts(context.Context, *ListClusterHostsRequest) (*ListClusterHostsResponse, error) // Creates new hosts for a cluster. AddHosts(context.Context, *AddClusterHostsRequest) (*operation.Operation, error) // Deletes the specified hosts for a cluster. DeleteHosts(context.Context, *DeleteClusterHostsRequest) (*operation.Operation, error) }
ClusterServiceServer is the server API for ClusterService service.
type Cluster_Environment ¶
type Cluster_Environment int32
const ( Cluster_ENVIRONMENT_UNSPECIFIED Cluster_Environment = 0 // Stable environment with a conservative update policy: // only hotfixes are applied during regular maintenance. Cluster_PRODUCTION Cluster_Environment = 1 // Environment with more aggressive update policy: new versions // are rolled out irrespective of backward compatibility. Cluster_PRESTABLE Cluster_Environment = 2 )
func (Cluster_Environment) EnumDescriptor ¶
func (Cluster_Environment) EnumDescriptor() ([]byte, []int)
func (Cluster_Environment) String ¶
func (x Cluster_Environment) String() string
type Cluster_Health ¶
type Cluster_Health int32
const ( // Cluster is in unknown state (we have no data) Cluster_HEALTH_UNKNOWN Cluster_Health = 0 // Cluster is alive and well (all hosts are alive) Cluster_ALIVE Cluster_Health = 1 // Cluster is inoperable (it cannot perform any of its essential functions) Cluster_DEAD Cluster_Health = 2 // Cluster is partially alive (it can perform some of its essential functions) Cluster_DEGRADED Cluster_Health = 3 )
func (Cluster_Health) EnumDescriptor ¶
func (Cluster_Health) EnumDescriptor() ([]byte, []int)
func (Cluster_Health) String ¶
func (x Cluster_Health) String() string
type Cluster_Status ¶
type Cluster_Status int32
const ( // Cluster status is unknown Cluster_STATUS_UNKNOWN Cluster_Status = 0 // Cluster is being created Cluster_CREATING Cluster_Status = 1 // Cluster is running Cluster_RUNNING Cluster_Status = 2 // Cluster failed Cluster_ERROR Cluster_Status = 3 // Cluster is being updated. Cluster_UPDATING Cluster_Status = 4 // Cluster is stopping. Cluster_STOPPING Cluster_Status = 5 // Cluster stopped. Cluster_STOPPED Cluster_Status = 6 // Cluster is starting. Cluster_STARTING Cluster_Status = 7 )
func (Cluster_Status) EnumDescriptor ¶
func (Cluster_Status) EnumDescriptor() ([]byte, []int)
func (Cluster_Status) String ¶
func (x Cluster_Status) String() string
type ConfigSpec ¶
type ConfigSpec struct { // Version of Redis used in the cluster. // The only possible value is `5.0`. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // Configuration of a Redis cluster. // // Types that are valid to be assigned to RedisSpec: // *ConfigSpec_RedisConfig_5_0 RedisSpec isConfigSpec_RedisSpec `protobuf_oneof:"redis_spec"` // Resources allocated to Redis hosts. Resources *Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConfigSpec) Descriptor ¶
func (*ConfigSpec) Descriptor() ([]byte, []int)
func (*ConfigSpec) GetRedisConfig_5_0 ¶
func (m *ConfigSpec) GetRedisConfig_5_0() *config.RedisConfig5_0
func (*ConfigSpec) GetRedisSpec ¶
func (m *ConfigSpec) GetRedisSpec() isConfigSpec_RedisSpec
func (*ConfigSpec) GetResources ¶
func (m *ConfigSpec) GetResources() *Resources
func (*ConfigSpec) GetVersion ¶
func (m *ConfigSpec) GetVersion() string
func (*ConfigSpec) ProtoMessage ¶
func (*ConfigSpec) ProtoMessage()
func (*ConfigSpec) Reset ¶
func (m *ConfigSpec) Reset()
func (*ConfigSpec) String ¶
func (m *ConfigSpec) String() string
func (*ConfigSpec) XXX_DiscardUnknown ¶
func (m *ConfigSpec) XXX_DiscardUnknown()
func (*ConfigSpec) XXX_Marshal ¶
func (m *ConfigSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfigSpec) XXX_Merge ¶
func (m *ConfigSpec) XXX_Merge(src proto.Message)
func (*ConfigSpec) XXX_OneofWrappers ¶
func (*ConfigSpec) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ConfigSpec) XXX_Size ¶
func (m *ConfigSpec) XXX_Size() int
func (*ConfigSpec) XXX_Unmarshal ¶
func (m *ConfigSpec) XXX_Unmarshal(b []byte) error
type ConfigSpec_RedisConfig_5_0 ¶
type ConfigSpec_RedisConfig_5_0 struct {
RedisConfig_5_0 *config.RedisConfig5_0 `protobuf:"bytes,2,opt,name=redis_config_5_0,json=redisConfig50,proto3,oneof"`
}
type CreateClusterMetadata ¶
type CreateClusterMetadata struct { // ID of the Redis cluster that is being created. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateClusterMetadata) Descriptor ¶
func (*CreateClusterMetadata) Descriptor() ([]byte, []int)
func (*CreateClusterMetadata) GetClusterId ¶
func (m *CreateClusterMetadata) GetClusterId() string
func (*CreateClusterMetadata) ProtoMessage ¶
func (*CreateClusterMetadata) ProtoMessage()
func (*CreateClusterMetadata) Reset ¶
func (m *CreateClusterMetadata) Reset()
func (*CreateClusterMetadata) String ¶
func (m *CreateClusterMetadata) String() string
func (*CreateClusterMetadata) XXX_DiscardUnknown ¶
func (m *CreateClusterMetadata) XXX_DiscardUnknown()
func (*CreateClusterMetadata) XXX_Marshal ¶
func (m *CreateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateClusterMetadata) XXX_Merge ¶
func (m *CreateClusterMetadata) XXX_Merge(src proto.Message)
func (*CreateClusterMetadata) XXX_Size ¶
func (m *CreateClusterMetadata) XXX_Size() int
func (*CreateClusterMetadata) XXX_Unmarshal ¶
func (m *CreateClusterMetadata) XXX_Unmarshal(b []byte) error
type CreateClusterRequest ¶
type CreateClusterRequest struct { // ID of the folder to create the Redis cluster in. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Name of the Redis cluster. The name must be unique within the folder. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Description of the Redis cluster. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Custom labels for the Redis cluster as `key:value` pairs. Maximum 64 per cluster. // For example, "project": "mvp" or "source": "dictionary". Labels map[string]string `` /* 153-byte string literal not displayed */ // Deployment environment of the Redis cluster. Environment Cluster_Environment `` /* 132-byte string literal not displayed */ // Configuration and resources for hosts that should be created for the Redis cluster. ConfigSpec *ConfigSpec `protobuf:"bytes,6,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"` // Individual configurations for hosts that should be created for the Redis cluster. HostSpecs []*HostSpec `protobuf:"bytes,7,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"` // ID of the network to create the cluster in. NetworkId string `protobuf:"bytes,10,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateClusterRequest) Descriptor ¶
func (*CreateClusterRequest) Descriptor() ([]byte, []int)
func (*CreateClusterRequest) GetConfigSpec ¶
func (m *CreateClusterRequest) GetConfigSpec() *ConfigSpec
func (*CreateClusterRequest) GetDescription ¶
func (m *CreateClusterRequest) GetDescription() string
func (*CreateClusterRequest) GetEnvironment ¶
func (m *CreateClusterRequest) GetEnvironment() Cluster_Environment
func (*CreateClusterRequest) GetFolderId ¶
func (m *CreateClusterRequest) GetFolderId() string
func (*CreateClusterRequest) GetHostSpecs ¶
func (m *CreateClusterRequest) GetHostSpecs() []*HostSpec
func (*CreateClusterRequest) GetLabels ¶
func (m *CreateClusterRequest) GetLabels() map[string]string
func (*CreateClusterRequest) GetName ¶
func (m *CreateClusterRequest) GetName() string
func (*CreateClusterRequest) GetNetworkId ¶
func (m *CreateClusterRequest) GetNetworkId() string
func (*CreateClusterRequest) ProtoMessage ¶
func (*CreateClusterRequest) ProtoMessage()
func (*CreateClusterRequest) Reset ¶
func (m *CreateClusterRequest) Reset()
func (*CreateClusterRequest) String ¶
func (m *CreateClusterRequest) String() string
func (*CreateClusterRequest) XXX_DiscardUnknown ¶
func (m *CreateClusterRequest) XXX_DiscardUnknown()
func (*CreateClusterRequest) XXX_Marshal ¶
func (m *CreateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateClusterRequest) XXX_Merge ¶
func (m *CreateClusterRequest) XXX_Merge(src proto.Message)
func (*CreateClusterRequest) XXX_Size ¶
func (m *CreateClusterRequest) XXX_Size() int
func (*CreateClusterRequest) XXX_Unmarshal ¶
func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error
type DeleteClusterHostsMetadata ¶
type DeleteClusterHostsMetadata struct { // ID of the Redis cluster to remove hosts from. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Names of hosts that are being deleted. HostNames []string `protobuf:"bytes,2,rep,name=host_names,json=hostNames,proto3" json:"host_names,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteClusterHostsMetadata) Descriptor ¶
func (*DeleteClusterHostsMetadata) Descriptor() ([]byte, []int)
func (*DeleteClusterHostsMetadata) GetClusterId ¶
func (m *DeleteClusterHostsMetadata) GetClusterId() string
func (*DeleteClusterHostsMetadata) GetHostNames ¶
func (m *DeleteClusterHostsMetadata) GetHostNames() []string
func (*DeleteClusterHostsMetadata) ProtoMessage ¶
func (*DeleteClusterHostsMetadata) ProtoMessage()
func (*DeleteClusterHostsMetadata) Reset ¶
func (m *DeleteClusterHostsMetadata) Reset()
func (*DeleteClusterHostsMetadata) String ¶
func (m *DeleteClusterHostsMetadata) String() string
func (*DeleteClusterHostsMetadata) XXX_DiscardUnknown ¶
func (m *DeleteClusterHostsMetadata) XXX_DiscardUnknown()
func (*DeleteClusterHostsMetadata) XXX_Marshal ¶
func (m *DeleteClusterHostsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteClusterHostsMetadata) XXX_Merge ¶
func (m *DeleteClusterHostsMetadata) XXX_Merge(src proto.Message)
func (*DeleteClusterHostsMetadata) XXX_Size ¶
func (m *DeleteClusterHostsMetadata) XXX_Size() int
func (*DeleteClusterHostsMetadata) XXX_Unmarshal ¶
func (m *DeleteClusterHostsMetadata) XXX_Unmarshal(b []byte) error
type DeleteClusterHostsRequest ¶
type DeleteClusterHostsRequest struct { // ID of the Redis cluster to remove hosts from. // To get the Redis cluster ID, use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Names of hosts to delete. HostNames []string `protobuf:"bytes,2,rep,name=host_names,json=hostNames,proto3" json:"host_names,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteClusterHostsRequest) Descriptor ¶
func (*DeleteClusterHostsRequest) Descriptor() ([]byte, []int)
func (*DeleteClusterHostsRequest) GetClusterId ¶
func (m *DeleteClusterHostsRequest) GetClusterId() string
func (*DeleteClusterHostsRequest) GetHostNames ¶
func (m *DeleteClusterHostsRequest) GetHostNames() []string
func (*DeleteClusterHostsRequest) ProtoMessage ¶
func (*DeleteClusterHostsRequest) ProtoMessage()
func (*DeleteClusterHostsRequest) Reset ¶
func (m *DeleteClusterHostsRequest) Reset()
func (*DeleteClusterHostsRequest) String ¶
func (m *DeleteClusterHostsRequest) String() string
func (*DeleteClusterHostsRequest) XXX_DiscardUnknown ¶
func (m *DeleteClusterHostsRequest) XXX_DiscardUnknown()
func (*DeleteClusterHostsRequest) XXX_Marshal ¶
func (m *DeleteClusterHostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteClusterHostsRequest) XXX_Merge ¶
func (m *DeleteClusterHostsRequest) XXX_Merge(src proto.Message)
func (*DeleteClusterHostsRequest) XXX_Size ¶
func (m *DeleteClusterHostsRequest) XXX_Size() int
func (*DeleteClusterHostsRequest) XXX_Unmarshal ¶
func (m *DeleteClusterHostsRequest) XXX_Unmarshal(b []byte) error
type DeleteClusterMetadata ¶
type DeleteClusterMetadata struct { // ID of the Redis cluster that is being deleted. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteClusterMetadata) Descriptor ¶
func (*DeleteClusterMetadata) Descriptor() ([]byte, []int)
func (*DeleteClusterMetadata) GetClusterId ¶
func (m *DeleteClusterMetadata) GetClusterId() string
func (*DeleteClusterMetadata) ProtoMessage ¶
func (*DeleteClusterMetadata) ProtoMessage()
func (*DeleteClusterMetadata) Reset ¶
func (m *DeleteClusterMetadata) Reset()
func (*DeleteClusterMetadata) String ¶
func (m *DeleteClusterMetadata) String() string
func (*DeleteClusterMetadata) XXX_DiscardUnknown ¶
func (m *DeleteClusterMetadata) XXX_DiscardUnknown()
func (*DeleteClusterMetadata) XXX_Marshal ¶
func (m *DeleteClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteClusterMetadata) XXX_Merge ¶
func (m *DeleteClusterMetadata) XXX_Merge(src proto.Message)
func (*DeleteClusterMetadata) XXX_Size ¶
func (m *DeleteClusterMetadata) XXX_Size() int
func (*DeleteClusterMetadata) XXX_Unmarshal ¶
func (m *DeleteClusterMetadata) XXX_Unmarshal(b []byte) error
type DeleteClusterRequest ¶
type DeleteClusterRequest struct { // ID of the Redis cluster to delete. // To get the Redis cluster ID, use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteClusterRequest) Descriptor ¶
func (*DeleteClusterRequest) Descriptor() ([]byte, []int)
func (*DeleteClusterRequest) GetClusterId ¶
func (m *DeleteClusterRequest) GetClusterId() string
func (*DeleteClusterRequest) ProtoMessage ¶
func (*DeleteClusterRequest) ProtoMessage()
func (*DeleteClusterRequest) Reset ¶
func (m *DeleteClusterRequest) Reset()
func (*DeleteClusterRequest) String ¶
func (m *DeleteClusterRequest) String() string
func (*DeleteClusterRequest) XXX_DiscardUnknown ¶
func (m *DeleteClusterRequest) XXX_DiscardUnknown()
func (*DeleteClusterRequest) XXX_Marshal ¶
func (m *DeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteClusterRequest) XXX_Merge ¶
func (m *DeleteClusterRequest) XXX_Merge(src proto.Message)
func (*DeleteClusterRequest) XXX_Size ¶
func (m *DeleteClusterRequest) XXX_Size() int
func (*DeleteClusterRequest) XXX_Unmarshal ¶
func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error
type GetBackupRequest ¶
type GetBackupRequest struct { // ID of the Redis backup to return. // To get the backup ID, use a [ClusterService.ListBackups] request. BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBackupRequest) Descriptor ¶
func (*GetBackupRequest) Descriptor() ([]byte, []int)
func (*GetBackupRequest) GetBackupId ¶
func (m *GetBackupRequest) GetBackupId() string
func (*GetBackupRequest) ProtoMessage ¶
func (*GetBackupRequest) ProtoMessage()
func (*GetBackupRequest) Reset ¶
func (m *GetBackupRequest) Reset()
func (*GetBackupRequest) String ¶
func (m *GetBackupRequest) String() string
func (*GetBackupRequest) XXX_DiscardUnknown ¶
func (m *GetBackupRequest) XXX_DiscardUnknown()
func (*GetBackupRequest) XXX_Marshal ¶
func (m *GetBackupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBackupRequest) XXX_Merge ¶
func (m *GetBackupRequest) XXX_Merge(src proto.Message)
func (*GetBackupRequest) XXX_Size ¶
func (m *GetBackupRequest) XXX_Size() int
func (*GetBackupRequest) XXX_Unmarshal ¶
func (m *GetBackupRequest) XXX_Unmarshal(b []byte) error
type GetClusterRequest ¶
type GetClusterRequest struct { // ID of the Redis cluster to return. // To get the cluster ID use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetClusterRequest) Descriptor ¶
func (*GetClusterRequest) Descriptor() ([]byte, []int)
func (*GetClusterRequest) GetClusterId ¶
func (m *GetClusterRequest) GetClusterId() string
func (*GetClusterRequest) ProtoMessage ¶
func (*GetClusterRequest) ProtoMessage()
func (*GetClusterRequest) Reset ¶
func (m *GetClusterRequest) Reset()
func (*GetClusterRequest) String ¶
func (m *GetClusterRequest) String() string
func (*GetClusterRequest) XXX_DiscardUnknown ¶
func (m *GetClusterRequest) XXX_DiscardUnknown()
func (*GetClusterRequest) XXX_Marshal ¶
func (m *GetClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetClusterRequest) XXX_Merge ¶
func (m *GetClusterRequest) XXX_Merge(src proto.Message)
func (*GetClusterRequest) XXX_Size ¶
func (m *GetClusterRequest) XXX_Size() int
func (*GetClusterRequest) XXX_Unmarshal ¶
func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error
type GetResourcePresetRequest ¶
type GetResourcePresetRequest struct { // ID of the resource preset to return. // To get the resource preset ID, use a [ResourcePresetService.List] request. ResourcePresetId string `protobuf:"bytes,1,opt,name=resource_preset_id,json=resourcePresetId,proto3" json:"resource_preset_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetResourcePresetRequest) Descriptor ¶
func (*GetResourcePresetRequest) Descriptor() ([]byte, []int)
func (*GetResourcePresetRequest) GetResourcePresetId ¶
func (m *GetResourcePresetRequest) GetResourcePresetId() string
func (*GetResourcePresetRequest) ProtoMessage ¶
func (*GetResourcePresetRequest) ProtoMessage()
func (*GetResourcePresetRequest) Reset ¶
func (m *GetResourcePresetRequest) Reset()
func (*GetResourcePresetRequest) String ¶
func (m *GetResourcePresetRequest) String() string
func (*GetResourcePresetRequest) XXX_DiscardUnknown ¶
func (m *GetResourcePresetRequest) XXX_DiscardUnknown()
func (*GetResourcePresetRequest) XXX_Marshal ¶
func (m *GetResourcePresetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetResourcePresetRequest) XXX_Merge ¶
func (m *GetResourcePresetRequest) XXX_Merge(src proto.Message)
func (*GetResourcePresetRequest) XXX_Size ¶
func (m *GetResourcePresetRequest) XXX_Size() int
func (*GetResourcePresetRequest) XXX_Unmarshal ¶
func (m *GetResourcePresetRequest) XXX_Unmarshal(b []byte) error
type Host ¶
type Host struct { // Name of the Redis host. The host name is assigned by MDB at creation time, and cannot be changed. // 1-63 characters long. // // The name is unique across all existing MDB hosts in Yandex.Cloud, as it defines the FQDN of the host. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // ID of the Redis host. The ID is assigned by MDB at creation time. ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // ID of the availability zone where the Redis host resides. ZoneId string `protobuf:"bytes,3,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` // ID of the subnet that the host belongs to. SubnetId string `protobuf:"bytes,4,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"` // Resources allocated to the Redis host. Resources *Resources `protobuf:"bytes,5,opt,name=resources,proto3" json:"resources,omitempty"` // Role of the host in the cluster. Role Host_Role `protobuf:"varint,6,opt,name=role,proto3,enum=yandex.cloud.mdb.redis.v1alpha.Host_Role" json:"role,omitempty"` // Status code of the aggregated health of the host. Health Host_Health `protobuf:"varint,7,opt,name=health,proto3,enum=yandex.cloud.mdb.redis.v1alpha.Host_Health" json:"health,omitempty"` // Services provided by the host. Services []*Service `protobuf:"bytes,8,rep,name=services,proto3" json:"services,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Host) Descriptor ¶
func (*Host) GetClusterId ¶
func (*Host) GetHealth ¶
func (m *Host) GetHealth() Host_Health
func (*Host) GetResources ¶
func (*Host) GetServices ¶
func (*Host) GetSubnetId ¶
func (*Host) ProtoMessage ¶
func (*Host) ProtoMessage()
func (*Host) XXX_DiscardUnknown ¶
func (m *Host) XXX_DiscardUnknown()
func (*Host) XXX_Unmarshal ¶
type HostSpec ¶
type HostSpec struct { // ID of the availability zone where the host resides. // To get a list of available zones, use the [yandex.cloud.compute.v1.ZoneService.List] request. ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` // ID of the subnet that the host should belong to. This subnet should be a part // of the network that the cluster belongs to. // The ID of the network is set in the field [Cluster.network_id]. SubnetId string `protobuf:"bytes,2,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HostSpec) Descriptor ¶
func (*HostSpec) GetSubnetId ¶
func (*HostSpec) ProtoMessage ¶
func (*HostSpec) ProtoMessage()
func (*HostSpec) XXX_DiscardUnknown ¶
func (m *HostSpec) XXX_DiscardUnknown()
func (*HostSpec) XXX_Marshal ¶
func (*HostSpec) XXX_Unmarshal ¶
type Host_Health ¶
type Host_Health int32
const ( // Health of the host is unknown. Host_HEALTH_UNKNOWN Host_Health = 0 // The host is performing all its functions normally. Host_ALIVE Host_Health = 1 // The host is inoperable, and cannot perform any of its essential functions. Host_DEAD Host_Health = 2 // The host is degraded, and can perform only some of its essential functions. Host_DEGRADED Host_Health = 3 )
func (Host_Health) EnumDescriptor ¶
func (Host_Health) EnumDescriptor() ([]byte, []int)
func (Host_Health) String ¶
func (x Host_Health) String() string
type ListBackupsRequest ¶
type ListBackupsRequest struct { // ID of the folder to list backups in. // To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // The maximum number of results per page to return. If the number of available // results is larger than [page_size], the service returns a [ListBackupsResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set [page_token] to the [ListBackupsResponse.next_page_token] // returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListBackupsRequest) Descriptor ¶
func (*ListBackupsRequest) Descriptor() ([]byte, []int)
func (*ListBackupsRequest) GetFolderId ¶
func (m *ListBackupsRequest) GetFolderId() string
func (*ListBackupsRequest) GetPageSize ¶
func (m *ListBackupsRequest) GetPageSize() int64
func (*ListBackupsRequest) GetPageToken ¶
func (m *ListBackupsRequest) GetPageToken() string
func (*ListBackupsRequest) ProtoMessage ¶
func (*ListBackupsRequest) ProtoMessage()
func (*ListBackupsRequest) Reset ¶
func (m *ListBackupsRequest) Reset()
func (*ListBackupsRequest) String ¶
func (m *ListBackupsRequest) String() string
func (*ListBackupsRequest) XXX_DiscardUnknown ¶
func (m *ListBackupsRequest) XXX_DiscardUnknown()
func (*ListBackupsRequest) XXX_Marshal ¶
func (m *ListBackupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListBackupsRequest) XXX_Merge ¶
func (m *ListBackupsRequest) XXX_Merge(src proto.Message)
func (*ListBackupsRequest) XXX_Size ¶
func (m *ListBackupsRequest) XXX_Size() int
func (*ListBackupsRequest) XXX_Unmarshal ¶
func (m *ListBackupsRequest) XXX_Unmarshal(b []byte) error
type ListBackupsResponse ¶
type ListBackupsResponse struct { // Requested list of backups. Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListBackupsRequest.page_size], use the [next_page_token] as the value // for the [ListBackupsRequest.page_token] parameter in the next list request. Each subsequent // list request will have its own [next_page_token] to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListBackupsResponse) Descriptor ¶
func (*ListBackupsResponse) Descriptor() ([]byte, []int)
func (*ListBackupsResponse) GetBackups ¶
func (m *ListBackupsResponse) GetBackups() []*Backup
func (*ListBackupsResponse) GetNextPageToken ¶
func (m *ListBackupsResponse) GetNextPageToken() string
func (*ListBackupsResponse) ProtoMessage ¶
func (*ListBackupsResponse) ProtoMessage()
func (*ListBackupsResponse) Reset ¶
func (m *ListBackupsResponse) Reset()
func (*ListBackupsResponse) String ¶
func (m *ListBackupsResponse) String() string
func (*ListBackupsResponse) XXX_DiscardUnknown ¶
func (m *ListBackupsResponse) XXX_DiscardUnknown()
func (*ListBackupsResponse) XXX_Marshal ¶
func (m *ListBackupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListBackupsResponse) XXX_Merge ¶
func (m *ListBackupsResponse) XXX_Merge(src proto.Message)
func (*ListBackupsResponse) XXX_Size ¶
func (m *ListBackupsResponse) XXX_Size() int
func (*ListBackupsResponse) XXX_Unmarshal ¶
func (m *ListBackupsResponse) XXX_Unmarshal(b []byte) error
type ListClusterBackupsRequest ¶
type ListClusterBackupsRequest struct { // ID of the Redis cluster. // To get the Redis cluster ID use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The maximum number of results per page to return. If the number of available // results is larger than [page_size], the service returns a [ListClusterBackupsResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set [page_token] to the [ListClusterBackupsResponse.next_page_token] // returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListClusterBackupsRequest) Descriptor ¶
func (*ListClusterBackupsRequest) Descriptor() ([]byte, []int)
func (*ListClusterBackupsRequest) GetClusterId ¶
func (m *ListClusterBackupsRequest) GetClusterId() string
func (*ListClusterBackupsRequest) GetPageSize ¶
func (m *ListClusterBackupsRequest) GetPageSize() int64
func (*ListClusterBackupsRequest) GetPageToken ¶
func (m *ListClusterBackupsRequest) GetPageToken() string
func (*ListClusterBackupsRequest) ProtoMessage ¶
func (*ListClusterBackupsRequest) ProtoMessage()
func (*ListClusterBackupsRequest) Reset ¶
func (m *ListClusterBackupsRequest) Reset()
func (*ListClusterBackupsRequest) String ¶
func (m *ListClusterBackupsRequest) String() string
func (*ListClusterBackupsRequest) XXX_DiscardUnknown ¶
func (m *ListClusterBackupsRequest) XXX_DiscardUnknown()
func (*ListClusterBackupsRequest) XXX_Marshal ¶
func (m *ListClusterBackupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListClusterBackupsRequest) XXX_Merge ¶
func (m *ListClusterBackupsRequest) XXX_Merge(src proto.Message)
func (*ListClusterBackupsRequest) XXX_Size ¶
func (m *ListClusterBackupsRequest) XXX_Size() int
func (*ListClusterBackupsRequest) XXX_Unmarshal ¶
func (m *ListClusterBackupsRequest) XXX_Unmarshal(b []byte) error
type ListClusterBackupsResponse ¶
type ListClusterBackupsResponse struct { // List of Redis backups. Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListClusterBackupsRequest.page_size], use the [next_page_token] as the value // for the [ListClusterBackupsRequest.page_token] query parameter in the next list request. // Each subsequent list request will have its own [next_page_token] to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListClusterBackupsResponse) Descriptor ¶
func (*ListClusterBackupsResponse) Descriptor() ([]byte, []int)
func (*ListClusterBackupsResponse) GetBackups ¶
func (m *ListClusterBackupsResponse) GetBackups() []*Backup
func (*ListClusterBackupsResponse) GetNextPageToken ¶
func (m *ListClusterBackupsResponse) GetNextPageToken() string
func (*ListClusterBackupsResponse) ProtoMessage ¶
func (*ListClusterBackupsResponse) ProtoMessage()
func (*ListClusterBackupsResponse) Reset ¶
func (m *ListClusterBackupsResponse) Reset()
func (*ListClusterBackupsResponse) String ¶
func (m *ListClusterBackupsResponse) String() string
func (*ListClusterBackupsResponse) XXX_DiscardUnknown ¶
func (m *ListClusterBackupsResponse) XXX_DiscardUnknown()
func (*ListClusterBackupsResponse) XXX_Marshal ¶
func (m *ListClusterBackupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListClusterBackupsResponse) XXX_Merge ¶
func (m *ListClusterBackupsResponse) XXX_Merge(src proto.Message)
func (*ListClusterBackupsResponse) XXX_Size ¶
func (m *ListClusterBackupsResponse) XXX_Size() int
func (*ListClusterBackupsResponse) XXX_Unmarshal ¶
func (m *ListClusterBackupsResponse) XXX_Unmarshal(b []byte) error
type ListClusterHostsRequest ¶
type ListClusterHostsRequest struct { // ID of the Redis cluster. // To get the Redis cluster ID use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The maximum number of results per page to return. If the number of available // results is larger than [page_size], the service returns a [ListClusterHostsResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set [page_token] to the [ListClusterHostsResponse.next_page_token] // returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListClusterHostsRequest) Descriptor ¶
func (*ListClusterHostsRequest) Descriptor() ([]byte, []int)
func (*ListClusterHostsRequest) GetClusterId ¶
func (m *ListClusterHostsRequest) GetClusterId() string
func (*ListClusterHostsRequest) GetPageSize ¶
func (m *ListClusterHostsRequest) GetPageSize() int64
func (*ListClusterHostsRequest) GetPageToken ¶
func (m *ListClusterHostsRequest) GetPageToken() string
func (*ListClusterHostsRequest) ProtoMessage ¶
func (*ListClusterHostsRequest) ProtoMessage()
func (*ListClusterHostsRequest) Reset ¶
func (m *ListClusterHostsRequest) Reset()
func (*ListClusterHostsRequest) String ¶
func (m *ListClusterHostsRequest) String() string
func (*ListClusterHostsRequest) XXX_DiscardUnknown ¶
func (m *ListClusterHostsRequest) XXX_DiscardUnknown()
func (*ListClusterHostsRequest) XXX_Marshal ¶
func (m *ListClusterHostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListClusterHostsRequest) XXX_Merge ¶
func (m *ListClusterHostsRequest) XXX_Merge(src proto.Message)
func (*ListClusterHostsRequest) XXX_Size ¶
func (m *ListClusterHostsRequest) XXX_Size() int
func (*ListClusterHostsRequest) XXX_Unmarshal ¶
func (m *ListClusterHostsRequest) XXX_Unmarshal(b []byte) error
type ListClusterHostsResponse ¶
type ListClusterHostsResponse struct { // List of hosts for the cluster. Hosts []*Host `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListClusterHostsRequest.page_size], use the [next_page_token] as the value // for the [ListClusterHostsRequest.page_token] query parameter in the next list request. // Each subsequent list request will have its own [next_page_token] to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListClusterHostsResponse) Descriptor ¶
func (*ListClusterHostsResponse) Descriptor() ([]byte, []int)
func (*ListClusterHostsResponse) GetHosts ¶
func (m *ListClusterHostsResponse) GetHosts() []*Host
func (*ListClusterHostsResponse) GetNextPageToken ¶
func (m *ListClusterHostsResponse) GetNextPageToken() string
func (*ListClusterHostsResponse) ProtoMessage ¶
func (*ListClusterHostsResponse) ProtoMessage()
func (*ListClusterHostsResponse) Reset ¶
func (m *ListClusterHostsResponse) Reset()
func (*ListClusterHostsResponse) String ¶
func (m *ListClusterHostsResponse) String() string
func (*ListClusterHostsResponse) XXX_DiscardUnknown ¶
func (m *ListClusterHostsResponse) XXX_DiscardUnknown()
func (*ListClusterHostsResponse) XXX_Marshal ¶
func (m *ListClusterHostsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListClusterHostsResponse) XXX_Merge ¶
func (m *ListClusterHostsResponse) XXX_Merge(src proto.Message)
func (*ListClusterHostsResponse) XXX_Size ¶
func (m *ListClusterHostsResponse) XXX_Size() int
func (*ListClusterHostsResponse) XXX_Unmarshal ¶
func (m *ListClusterHostsResponse) XXX_Unmarshal(b []byte) error
type ListClusterLogsRequest ¶
type ListClusterLogsRequest struct { // ID of the Redis cluster to request logs for. // To get the Redis cluster ID use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Columns from the logs table to request. // If no columns are specified, entire log records are returned. ColumnFilter []string `protobuf:"bytes,2,rep,name=column_filter,json=columnFilter,proto3" json:"column_filter,omitempty"` ServiceType ListClusterLogsRequest_ServiceType `` /* 166-byte string literal not displayed */ // Start timestamp for the logs request, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. FromTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=from_time,json=fromTime,proto3" json:"from_time,omitempty"` // End timestamp for the logs request, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. ToTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=to_time,json=toTime,proto3" json:"to_time,omitempty"` // The maximum number of results per page to return. If the number of available // results is larger than [page_size], the service returns a [ListClusterLogsResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. PageSize int64 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set [page_token] to the // [ListClusterLogsResponse.next_page_token] returned by a previous list request. PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListClusterLogsRequest) Descriptor ¶
func (*ListClusterLogsRequest) Descriptor() ([]byte, []int)
func (*ListClusterLogsRequest) GetClusterId ¶
func (m *ListClusterLogsRequest) GetClusterId() string
func (*ListClusterLogsRequest) GetColumnFilter ¶
func (m *ListClusterLogsRequest) GetColumnFilter() []string
func (*ListClusterLogsRequest) GetFromTime ¶
func (m *ListClusterLogsRequest) GetFromTime() *timestamp.Timestamp
func (*ListClusterLogsRequest) GetPageSize ¶
func (m *ListClusterLogsRequest) GetPageSize() int64
func (*ListClusterLogsRequest) GetPageToken ¶
func (m *ListClusterLogsRequest) GetPageToken() string
func (*ListClusterLogsRequest) GetServiceType ¶
func (m *ListClusterLogsRequest) GetServiceType() ListClusterLogsRequest_ServiceType
func (*ListClusterLogsRequest) GetToTime ¶
func (m *ListClusterLogsRequest) GetToTime() *timestamp.Timestamp
func (*ListClusterLogsRequest) ProtoMessage ¶
func (*ListClusterLogsRequest) ProtoMessage()
func (*ListClusterLogsRequest) Reset ¶
func (m *ListClusterLogsRequest) Reset()
func (*ListClusterLogsRequest) String ¶
func (m *ListClusterLogsRequest) String() string
func (*ListClusterLogsRequest) XXX_DiscardUnknown ¶
func (m *ListClusterLogsRequest) XXX_DiscardUnknown()
func (*ListClusterLogsRequest) XXX_Marshal ¶
func (m *ListClusterLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListClusterLogsRequest) XXX_Merge ¶
func (m *ListClusterLogsRequest) XXX_Merge(src proto.Message)
func (*ListClusterLogsRequest) XXX_Size ¶
func (m *ListClusterLogsRequest) XXX_Size() int
func (*ListClusterLogsRequest) XXX_Unmarshal ¶
func (m *ListClusterLogsRequest) XXX_Unmarshal(b []byte) error
type ListClusterLogsRequest_ServiceType ¶
type ListClusterLogsRequest_ServiceType int32
const ( ListClusterLogsRequest_SERVICE_TYPE_UNSPECIFIED ListClusterLogsRequest_ServiceType = 0 // Logs of Redis activity. ListClusterLogsRequest_REDIS ListClusterLogsRequest_ServiceType = 1 )
func (ListClusterLogsRequest_ServiceType) EnumDescriptor ¶
func (ListClusterLogsRequest_ServiceType) EnumDescriptor() ([]byte, []int)
func (ListClusterLogsRequest_ServiceType) String ¶
func (x ListClusterLogsRequest_ServiceType) String() string
type ListClusterLogsResponse ¶
type ListClusterLogsResponse struct { // Requested log records. Logs []*LogRecord `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListClusterLogsRequest.page_size], use the [next_page_token] as the value // for the [ListClusterLogsRequest.page_token] query parameter in the next list request. // Each subsequent list request will have its own [next_page_token] to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListClusterLogsResponse) Descriptor ¶
func (*ListClusterLogsResponse) Descriptor() ([]byte, []int)
func (*ListClusterLogsResponse) GetLogs ¶
func (m *ListClusterLogsResponse) GetLogs() []*LogRecord
func (*ListClusterLogsResponse) GetNextPageToken ¶
func (m *ListClusterLogsResponse) GetNextPageToken() string
func (*ListClusterLogsResponse) ProtoMessage ¶
func (*ListClusterLogsResponse) ProtoMessage()
func (*ListClusterLogsResponse) Reset ¶
func (m *ListClusterLogsResponse) Reset()
func (*ListClusterLogsResponse) String ¶
func (m *ListClusterLogsResponse) String() string
func (*ListClusterLogsResponse) XXX_DiscardUnknown ¶
func (m *ListClusterLogsResponse) XXX_DiscardUnknown()
func (*ListClusterLogsResponse) XXX_Marshal ¶
func (m *ListClusterLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListClusterLogsResponse) XXX_Merge ¶
func (m *ListClusterLogsResponse) XXX_Merge(src proto.Message)
func (*ListClusterLogsResponse) XXX_Size ¶
func (m *ListClusterLogsResponse) XXX_Size() int
func (*ListClusterLogsResponse) XXX_Unmarshal ¶
func (m *ListClusterLogsResponse) XXX_Unmarshal(b []byte) error
type ListClusterOperationsRequest ¶
type ListClusterOperationsRequest struct { // ID of the Redis cluster to list operations for. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The maximum number of results per page to return. If the number of available // results is larger than [page_size], the service returns a [ListClusterOperationsResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set [page_token] to the [ListClusterOperationsResponse.next_page_token] // returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListClusterOperationsRequest) Descriptor ¶
func (*ListClusterOperationsRequest) Descriptor() ([]byte, []int)
func (*ListClusterOperationsRequest) GetClusterId ¶
func (m *ListClusterOperationsRequest) GetClusterId() string
func (*ListClusterOperationsRequest) GetPageSize ¶
func (m *ListClusterOperationsRequest) GetPageSize() int64
func (*ListClusterOperationsRequest) GetPageToken ¶
func (m *ListClusterOperationsRequest) GetPageToken() string
func (*ListClusterOperationsRequest) ProtoMessage ¶
func (*ListClusterOperationsRequest) ProtoMessage()
func (*ListClusterOperationsRequest) Reset ¶
func (m *ListClusterOperationsRequest) Reset()
func (*ListClusterOperationsRequest) String ¶
func (m *ListClusterOperationsRequest) String() string
func (*ListClusterOperationsRequest) XXX_DiscardUnknown ¶
func (m *ListClusterOperationsRequest) XXX_DiscardUnknown()
func (*ListClusterOperationsRequest) XXX_Marshal ¶
func (m *ListClusterOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListClusterOperationsRequest) XXX_Merge ¶
func (m *ListClusterOperationsRequest) XXX_Merge(src proto.Message)
func (*ListClusterOperationsRequest) XXX_Size ¶
func (m *ListClusterOperationsRequest) XXX_Size() int
func (*ListClusterOperationsRequest) XXX_Unmarshal ¶
func (m *ListClusterOperationsRequest) XXX_Unmarshal(b []byte) error
type ListClusterOperationsResponse ¶
type ListClusterOperationsResponse struct { // List of operations for the specified Redis cluster. Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListClusterOperationsRequest.page_size], use the [next_page_token] as the value // for the [ListClusterOperationsRequest.page_token] query parameter in the next list request. // Each subsequent list request will have its own [next_page_token] to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListClusterOperationsResponse) Descriptor ¶
func (*ListClusterOperationsResponse) Descriptor() ([]byte, []int)
func (*ListClusterOperationsResponse) GetNextPageToken ¶
func (m *ListClusterOperationsResponse) GetNextPageToken() string
func (*ListClusterOperationsResponse) GetOperations ¶
func (m *ListClusterOperationsResponse) GetOperations() []*operation.Operation
func (*ListClusterOperationsResponse) ProtoMessage ¶
func (*ListClusterOperationsResponse) ProtoMessage()
func (*ListClusterOperationsResponse) Reset ¶
func (m *ListClusterOperationsResponse) Reset()
func (*ListClusterOperationsResponse) String ¶
func (m *ListClusterOperationsResponse) String() string
func (*ListClusterOperationsResponse) XXX_DiscardUnknown ¶
func (m *ListClusterOperationsResponse) XXX_DiscardUnknown()
func (*ListClusterOperationsResponse) XXX_Marshal ¶
func (m *ListClusterOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListClusterOperationsResponse) XXX_Merge ¶
func (m *ListClusterOperationsResponse) XXX_Merge(src proto.Message)
func (*ListClusterOperationsResponse) XXX_Size ¶
func (m *ListClusterOperationsResponse) XXX_Size() int
func (*ListClusterOperationsResponse) XXX_Unmarshal ¶
func (m *ListClusterOperationsResponse) XXX_Unmarshal(b []byte) error
type ListClustersRequest ¶
type ListClustersRequest struct { // ID of the folder to list Redis clusters in. // To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // The maximum number of results per page to return. If the number of available // results is larger than [page_size], the service returns a [ListClustersResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set [page_token] to the [ListClustersResponse.next_page_token] // returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // A filter expression that filters clusters listed in the response. // The expression must specify: // 1. The field name. Currently you can only use filtering with the [Cluster.name] field. // 2. An operator. Can be either `=` or `!=` for single values, `IN` or `NOT IN` for lists of values. // 3. The value. Мust be 3-63 characters long and match the regular expression `^[a-z]([-a-z0-9]{,61}[a-z0-9])?$`. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListClustersRequest) Descriptor ¶
func (*ListClustersRequest) Descriptor() ([]byte, []int)
func (*ListClustersRequest) GetFilter ¶
func (m *ListClustersRequest) GetFilter() string
func (*ListClustersRequest) GetFolderId ¶
func (m *ListClustersRequest) GetFolderId() string
func (*ListClustersRequest) GetPageSize ¶
func (m *ListClustersRequest) GetPageSize() int64
func (*ListClustersRequest) GetPageToken ¶
func (m *ListClustersRequest) GetPageToken() string
func (*ListClustersRequest) ProtoMessage ¶
func (*ListClustersRequest) ProtoMessage()
func (*ListClustersRequest) Reset ¶
func (m *ListClustersRequest) Reset()
func (*ListClustersRequest) String ¶
func (m *ListClustersRequest) String() string
func (*ListClustersRequest) XXX_DiscardUnknown ¶
func (m *ListClustersRequest) XXX_DiscardUnknown()
func (*ListClustersRequest) XXX_Marshal ¶
func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListClustersRequest) XXX_Merge ¶
func (m *ListClustersRequest) XXX_Merge(src proto.Message)
func (*ListClustersRequest) XXX_Size ¶
func (m *ListClustersRequest) XXX_Size() int
func (*ListClustersRequest) XXX_Unmarshal ¶
func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error
type ListClustersResponse ¶
type ListClustersResponse struct { // List of Redis clusters. Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListClustersRequest.page_size], use the [next_page_token] as the value // for the [ListClustersRequest.page_token] parameter in the next list request. Each subsequent // list request will have its own [next_page_token] to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListClustersResponse) Descriptor ¶
func (*ListClustersResponse) Descriptor() ([]byte, []int)
func (*ListClustersResponse) GetClusters ¶
func (m *ListClustersResponse) GetClusters() []*Cluster
func (*ListClustersResponse) GetNextPageToken ¶
func (m *ListClustersResponse) GetNextPageToken() string
func (*ListClustersResponse) ProtoMessage ¶
func (*ListClustersResponse) ProtoMessage()
func (*ListClustersResponse) Reset ¶
func (m *ListClustersResponse) Reset()
func (*ListClustersResponse) String ¶
func (m *ListClustersResponse) String() string
func (*ListClustersResponse) XXX_DiscardUnknown ¶
func (m *ListClustersResponse) XXX_DiscardUnknown()
func (*ListClustersResponse) XXX_Marshal ¶
func (m *ListClustersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListClustersResponse) XXX_Merge ¶
func (m *ListClustersResponse) XXX_Merge(src proto.Message)
func (*ListClustersResponse) XXX_Size ¶
func (m *ListClustersResponse) XXX_Size() int
func (*ListClustersResponse) XXX_Unmarshal ¶
func (m *ListClustersResponse) XXX_Unmarshal(b []byte) error
type ListResourcePresetsRequest ¶
type ListResourcePresetsRequest struct { // The maximum number of results per page to return. If the number of available // results is larger than [page_size], the service returns a [ListResourcePresetsResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set [page_token] to the [ListResourcePresetsResponse.next_page_token] // returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListResourcePresetsRequest) Descriptor ¶
func (*ListResourcePresetsRequest) Descriptor() ([]byte, []int)
func (*ListResourcePresetsRequest) GetPageSize ¶
func (m *ListResourcePresetsRequest) GetPageSize() int64
func (*ListResourcePresetsRequest) GetPageToken ¶
func (m *ListResourcePresetsRequest) GetPageToken() string
func (*ListResourcePresetsRequest) ProtoMessage ¶
func (*ListResourcePresetsRequest) ProtoMessage()
func (*ListResourcePresetsRequest) Reset ¶
func (m *ListResourcePresetsRequest) Reset()
func (*ListResourcePresetsRequest) String ¶
func (m *ListResourcePresetsRequest) String() string
func (*ListResourcePresetsRequest) XXX_DiscardUnknown ¶
func (m *ListResourcePresetsRequest) XXX_DiscardUnknown()
func (*ListResourcePresetsRequest) XXX_Marshal ¶
func (m *ListResourcePresetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListResourcePresetsRequest) XXX_Merge ¶
func (m *ListResourcePresetsRequest) XXX_Merge(src proto.Message)
func (*ListResourcePresetsRequest) XXX_Size ¶
func (m *ListResourcePresetsRequest) XXX_Size() int
func (*ListResourcePresetsRequest) XXX_Unmarshal ¶
func (m *ListResourcePresetsRequest) XXX_Unmarshal(b []byte) error
type ListResourcePresetsResponse ¶
type ListResourcePresetsResponse struct { // List of resource presets. ResourcePresets []*ResourcePreset `protobuf:"bytes,1,rep,name=resource_presets,json=resourcePresets,proto3" json:"resource_presets,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListResourcePresetsRequest.page_size], use the [next_page_token] as the value // for the [ListResourcePresetsRequest.page_token] parameter in the next list request. Each subsequent // list request will have its own [next_page_token] to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListResourcePresetsResponse) Descriptor ¶
func (*ListResourcePresetsResponse) Descriptor() ([]byte, []int)
func (*ListResourcePresetsResponse) GetNextPageToken ¶
func (m *ListResourcePresetsResponse) GetNextPageToken() string
func (*ListResourcePresetsResponse) GetResourcePresets ¶
func (m *ListResourcePresetsResponse) GetResourcePresets() []*ResourcePreset
func (*ListResourcePresetsResponse) ProtoMessage ¶
func (*ListResourcePresetsResponse) ProtoMessage()
func (*ListResourcePresetsResponse) Reset ¶
func (m *ListResourcePresetsResponse) Reset()
func (*ListResourcePresetsResponse) String ¶
func (m *ListResourcePresetsResponse) String() string
func (*ListResourcePresetsResponse) XXX_DiscardUnknown ¶
func (m *ListResourcePresetsResponse) XXX_DiscardUnknown()
func (*ListResourcePresetsResponse) XXX_Marshal ¶
func (m *ListResourcePresetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListResourcePresetsResponse) XXX_Merge ¶
func (m *ListResourcePresetsResponse) XXX_Merge(src proto.Message)
func (*ListResourcePresetsResponse) XXX_Size ¶
func (m *ListResourcePresetsResponse) XXX_Size() int
func (*ListResourcePresetsResponse) XXX_Unmarshal ¶
func (m *ListResourcePresetsResponse) XXX_Unmarshal(b []byte) error
type LogRecord ¶
type LogRecord struct { // Log record timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Contents of the log record. Message map[string]string `` /* 155-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LogRecord) Descriptor ¶
func (*LogRecord) GetMessage ¶
func (*LogRecord) GetTimestamp ¶
func (*LogRecord) ProtoMessage ¶
func (*LogRecord) ProtoMessage()
func (*LogRecord) XXX_DiscardUnknown ¶
func (m *LogRecord) XXX_DiscardUnknown()
func (*LogRecord) XXX_Marshal ¶
func (*LogRecord) XXX_Unmarshal ¶
type Monitoring ¶
type Monitoring struct { // Name of the monitoring system. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Description of the monitoring system. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Link to the monitoring system charts for the Redis cluster. Link string `protobuf:"bytes,3,opt,name=link,proto3" json:"link,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Monitoring) Descriptor ¶
func (*Monitoring) Descriptor() ([]byte, []int)
func (*Monitoring) GetDescription ¶
func (m *Monitoring) GetDescription() string
func (*Monitoring) GetLink ¶
func (m *Monitoring) GetLink() string
func (*Monitoring) GetName ¶
func (m *Monitoring) GetName() string
func (*Monitoring) ProtoMessage ¶
func (*Monitoring) ProtoMessage()
func (*Monitoring) Reset ¶
func (m *Monitoring) Reset()
func (*Monitoring) String ¶
func (m *Monitoring) String() string
func (*Monitoring) XXX_DiscardUnknown ¶
func (m *Monitoring) XXX_DiscardUnknown()
func (*Monitoring) XXX_Marshal ¶
func (m *Monitoring) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Monitoring) XXX_Merge ¶
func (m *Monitoring) XXX_Merge(src proto.Message)
func (*Monitoring) XXX_Size ¶
func (m *Monitoring) XXX_Size() int
func (*Monitoring) XXX_Unmarshal ¶
func (m *Monitoring) XXX_Unmarshal(b []byte) error
type ResourcePreset ¶
type ResourcePreset struct { // ID of the resource preset. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // IDs of availability zones where the resource preset is available. ZoneIds []string `protobuf:"bytes,2,rep,name=zone_ids,json=zoneIds,proto3" json:"zone_ids,omitempty"` // Number of CPU cores for a Redis host created with the preset. Cores int64 `protobuf:"varint,3,opt,name=cores,proto3" json:"cores,omitempty"` // RAM volume for a Redis host created with the preset, in bytes. Memory int64 `protobuf:"varint,4,opt,name=memory,proto3" json:"memory,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A resource preset that describes hardware configuration for a host.
func (*ResourcePreset) Descriptor ¶
func (*ResourcePreset) Descriptor() ([]byte, []int)
func (*ResourcePreset) GetCores ¶
func (m *ResourcePreset) GetCores() int64
func (*ResourcePreset) GetId ¶
func (m *ResourcePreset) GetId() string
func (*ResourcePreset) GetMemory ¶
func (m *ResourcePreset) GetMemory() int64
func (*ResourcePreset) GetZoneIds ¶
func (m *ResourcePreset) GetZoneIds() []string
func (*ResourcePreset) ProtoMessage ¶
func (*ResourcePreset) ProtoMessage()
func (*ResourcePreset) Reset ¶
func (m *ResourcePreset) Reset()
func (*ResourcePreset) String ¶
func (m *ResourcePreset) String() string
func (*ResourcePreset) XXX_DiscardUnknown ¶
func (m *ResourcePreset) XXX_DiscardUnknown()
func (*ResourcePreset) XXX_Marshal ¶
func (m *ResourcePreset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourcePreset) XXX_Merge ¶
func (m *ResourcePreset) XXX_Merge(src proto.Message)
func (*ResourcePreset) XXX_Size ¶
func (m *ResourcePreset) XXX_Size() int
func (*ResourcePreset) XXX_Unmarshal ¶
func (m *ResourcePreset) XXX_Unmarshal(b []byte) error
type ResourcePresetServiceClient ¶
type ResourcePresetServiceClient interface { // Returns the specified resource preset. // // To get the list of available resource presets, make a [List] request. Get(ctx context.Context, in *GetResourcePresetRequest, opts ...grpc.CallOption) (*ResourcePreset, error) // Retrieves the list of available resource presets. List(ctx context.Context, in *ListResourcePresetsRequest, opts ...grpc.CallOption) (*ListResourcePresetsResponse, error) }
ResourcePresetServiceClient is the client API for ResourcePresetService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewResourcePresetServiceClient ¶
func NewResourcePresetServiceClient(cc *grpc.ClientConn) ResourcePresetServiceClient
type ResourcePresetServiceServer ¶
type ResourcePresetServiceServer interface { // Returns the specified resource preset. // // To get the list of available resource presets, make a [List] request. Get(context.Context, *GetResourcePresetRequest) (*ResourcePreset, error) // Retrieves the list of available resource presets. List(context.Context, *ListResourcePresetsRequest) (*ListResourcePresetsResponse, error) }
ResourcePresetServiceServer is the server API for ResourcePresetService service.
type Resources ¶
type Resources struct { // ID of the preset for computational resources available to a host (CPU, memory etc.). // All available presets are listed in the [documentation](/docs/managed-redis/concepts/instance-types). ResourcePresetId string `protobuf:"bytes,1,opt,name=resource_preset_id,json=resourcePresetId,proto3" json:"resource_preset_id,omitempty"` // Volume of the storage available to a host, in bytes. DiskSize int64 `protobuf:"varint,2,opt,name=disk_size,json=diskSize,proto3" json:"disk_size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Resources) Descriptor ¶
func (*Resources) GetDiskSize ¶
func (*Resources) GetResourcePresetId ¶
func (*Resources) ProtoMessage ¶
func (*Resources) ProtoMessage()
func (*Resources) XXX_DiscardUnknown ¶
func (m *Resources) XXX_DiscardUnknown()
func (*Resources) XXX_Marshal ¶
func (*Resources) XXX_Unmarshal ¶
type RestoreClusterMetadata ¶
type RestoreClusterMetadata struct { // ID of the new Redis cluster that is being created from a backup. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // ID of the backup that is being used for creating a cluster. BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RestoreClusterMetadata) Descriptor ¶
func (*RestoreClusterMetadata) Descriptor() ([]byte, []int)
func (*RestoreClusterMetadata) GetBackupId ¶
func (m *RestoreClusterMetadata) GetBackupId() string
func (*RestoreClusterMetadata) GetClusterId ¶
func (m *RestoreClusterMetadata) GetClusterId() string
func (*RestoreClusterMetadata) ProtoMessage ¶
func (*RestoreClusterMetadata) ProtoMessage()
func (*RestoreClusterMetadata) Reset ¶
func (m *RestoreClusterMetadata) Reset()
func (*RestoreClusterMetadata) String ¶
func (m *RestoreClusterMetadata) String() string
func (*RestoreClusterMetadata) XXX_DiscardUnknown ¶
func (m *RestoreClusterMetadata) XXX_DiscardUnknown()
func (*RestoreClusterMetadata) XXX_Marshal ¶
func (m *RestoreClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RestoreClusterMetadata) XXX_Merge ¶
func (m *RestoreClusterMetadata) XXX_Merge(src proto.Message)
func (*RestoreClusterMetadata) XXX_Size ¶
func (m *RestoreClusterMetadata) XXX_Size() int
func (*RestoreClusterMetadata) XXX_Unmarshal ¶
func (m *RestoreClusterMetadata) XXX_Unmarshal(b []byte) error
type RestoreClusterRequest ¶
type RestoreClusterRequest struct { // ID of the backup to create a cluster from. // To get the backup ID, use a [ClusterService.ListBackups] request. BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"` // Name of the new Redis cluster. The name must be unique within the folder. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Description of the new Redis cluster. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Custom labels for the Redis cluster as “ key:value “ pairs. Maximum 64 per cluster. // For example, "project": "mvp" or "source": "dictionary". Labels map[string]string `` /* 153-byte string literal not displayed */ // Deployment environment of the new Redis cluster. Environment Cluster_Environment `` /* 132-byte string literal not displayed */ // Configuration for the Redis cluster to be created. ConfigSpec *ConfigSpec `protobuf:"bytes,6,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"` // Configurations for Redis hosts that should be created for // the cluster that is being created from the backup. HostSpecs []*HostSpec `protobuf:"bytes,7,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"` // ID of the network to create the Redis cluster in. NetworkId string `protobuf:"bytes,8,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RestoreClusterRequest) Descriptor ¶
func (*RestoreClusterRequest) Descriptor() ([]byte, []int)
func (*RestoreClusterRequest) GetBackupId ¶
func (m *RestoreClusterRequest) GetBackupId() string
func (*RestoreClusterRequest) GetConfigSpec ¶
func (m *RestoreClusterRequest) GetConfigSpec() *ConfigSpec
func (*RestoreClusterRequest) GetDescription ¶
func (m *RestoreClusterRequest) GetDescription() string
func (*RestoreClusterRequest) GetEnvironment ¶
func (m *RestoreClusterRequest) GetEnvironment() Cluster_Environment
func (*RestoreClusterRequest) GetHostSpecs ¶
func (m *RestoreClusterRequest) GetHostSpecs() []*HostSpec
func (*RestoreClusterRequest) GetLabels ¶
func (m *RestoreClusterRequest) GetLabels() map[string]string
func (*RestoreClusterRequest) GetName ¶
func (m *RestoreClusterRequest) GetName() string
func (*RestoreClusterRequest) GetNetworkId ¶
func (m *RestoreClusterRequest) GetNetworkId() string
func (*RestoreClusterRequest) ProtoMessage ¶
func (*RestoreClusterRequest) ProtoMessage()
func (*RestoreClusterRequest) Reset ¶
func (m *RestoreClusterRequest) Reset()
func (*RestoreClusterRequest) String ¶
func (m *RestoreClusterRequest) String() string
func (*RestoreClusterRequest) XXX_DiscardUnknown ¶
func (m *RestoreClusterRequest) XXX_DiscardUnknown()
func (*RestoreClusterRequest) XXX_Marshal ¶
func (m *RestoreClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RestoreClusterRequest) XXX_Merge ¶
func (m *RestoreClusterRequest) XXX_Merge(src proto.Message)
func (*RestoreClusterRequest) XXX_Size ¶
func (m *RestoreClusterRequest) XXX_Size() int
func (*RestoreClusterRequest) XXX_Unmarshal ¶
func (m *RestoreClusterRequest) XXX_Unmarshal(b []byte) error
type Service ¶
type Service struct { // Type of the service provided by the host. Type Service_Type `protobuf:"varint,1,opt,name=type,proto3,enum=yandex.cloud.mdb.redis.v1alpha.Service_Type" json:"type,omitempty"` // Status code of server availability. Health Service_Health `protobuf:"varint,2,opt,name=health,proto3,enum=yandex.cloud.mdb.redis.v1alpha.Service_Health" json:"health,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Service) Descriptor ¶
func (*Service) GetHealth ¶
func (m *Service) GetHealth() Service_Health
func (*Service) GetType ¶
func (m *Service) GetType() Service_Type
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) XXX_DiscardUnknown ¶
func (m *Service) XXX_DiscardUnknown()
func (*Service) XXX_Marshal ¶
func (*Service) XXX_Unmarshal ¶
type Service_Health ¶
type Service_Health int32
const ( // Health of the server is unknown. Service_HEALTH_UNKNOWN Service_Health = 0 // The server is working normally. Service_ALIVE Service_Health = 1 // The server is dead or unresponsive. Service_DEAD Service_Health = 2 )
func (Service_Health) EnumDescriptor ¶
func (Service_Health) EnumDescriptor() ([]byte, []int)
func (Service_Health) String ¶
func (x Service_Health) String() string
type Service_Type ¶
type Service_Type int32
const ( Service_TYPE_UNSPECIFIED Service_Type = 0 // The host is a Redis server. Service_REDIS Service_Type = 1 // The host provides a Sentinel service. Service_SENTINEL Service_Type = 2 )
func (Service_Type) EnumDescriptor ¶
func (Service_Type) EnumDescriptor() ([]byte, []int)
func (Service_Type) String ¶
func (x Service_Type) String() string
type StartClusterFailoverMetadata ¶
type StartClusterFailoverMetadata struct { // ID of the Redis cluster on which failover will be initiated. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StartClusterFailoverMetadata) Descriptor ¶
func (*StartClusterFailoverMetadata) Descriptor() ([]byte, []int)
func (*StartClusterFailoverMetadata) GetClusterId ¶
func (m *StartClusterFailoverMetadata) GetClusterId() string
func (*StartClusterFailoverMetadata) ProtoMessage ¶
func (*StartClusterFailoverMetadata) ProtoMessage()
func (*StartClusterFailoverMetadata) Reset ¶
func (m *StartClusterFailoverMetadata) Reset()
func (*StartClusterFailoverMetadata) String ¶
func (m *StartClusterFailoverMetadata) String() string
func (*StartClusterFailoverMetadata) XXX_DiscardUnknown ¶
func (m *StartClusterFailoverMetadata) XXX_DiscardUnknown()
func (*StartClusterFailoverMetadata) XXX_Marshal ¶
func (m *StartClusterFailoverMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StartClusterFailoverMetadata) XXX_Merge ¶
func (m *StartClusterFailoverMetadata) XXX_Merge(src proto.Message)
func (*StartClusterFailoverMetadata) XXX_Size ¶
func (m *StartClusterFailoverMetadata) XXX_Size() int
func (*StartClusterFailoverMetadata) XXX_Unmarshal ¶
func (m *StartClusterFailoverMetadata) XXX_Unmarshal(b []byte) error
type StartClusterFailoverRequest ¶
type StartClusterFailoverRequest struct { // ID of the Redis cluster to start failover on. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StartClusterFailoverRequest) Descriptor ¶
func (*StartClusterFailoverRequest) Descriptor() ([]byte, []int)
func (*StartClusterFailoverRequest) GetClusterId ¶
func (m *StartClusterFailoverRequest) GetClusterId() string
func (*StartClusterFailoverRequest) ProtoMessage ¶
func (*StartClusterFailoverRequest) ProtoMessage()
func (*StartClusterFailoverRequest) Reset ¶
func (m *StartClusterFailoverRequest) Reset()
func (*StartClusterFailoverRequest) String ¶
func (m *StartClusterFailoverRequest) String() string
func (*StartClusterFailoverRequest) XXX_DiscardUnknown ¶
func (m *StartClusterFailoverRequest) XXX_DiscardUnknown()
func (*StartClusterFailoverRequest) XXX_Marshal ¶
func (m *StartClusterFailoverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StartClusterFailoverRequest) XXX_Merge ¶
func (m *StartClusterFailoverRequest) XXX_Merge(src proto.Message)
func (*StartClusterFailoverRequest) XXX_Size ¶
func (m *StartClusterFailoverRequest) XXX_Size() int
func (*StartClusterFailoverRequest) XXX_Unmarshal ¶
func (m *StartClusterFailoverRequest) XXX_Unmarshal(b []byte) error
type StartClusterMetadata ¶
type StartClusterMetadata struct { // ID of the Redis cluster. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StartClusterMetadata) Descriptor ¶
func (*StartClusterMetadata) Descriptor() ([]byte, []int)
func (*StartClusterMetadata) GetClusterId ¶
func (m *StartClusterMetadata) GetClusterId() string
func (*StartClusterMetadata) ProtoMessage ¶
func (*StartClusterMetadata) ProtoMessage()
func (*StartClusterMetadata) Reset ¶
func (m *StartClusterMetadata) Reset()
func (*StartClusterMetadata) String ¶
func (m *StartClusterMetadata) String() string
func (*StartClusterMetadata) XXX_DiscardUnknown ¶
func (m *StartClusterMetadata) XXX_DiscardUnknown()
func (*StartClusterMetadata) XXX_Marshal ¶
func (m *StartClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StartClusterMetadata) XXX_Merge ¶
func (m *StartClusterMetadata) XXX_Merge(src proto.Message)
func (*StartClusterMetadata) XXX_Size ¶
func (m *StartClusterMetadata) XXX_Size() int
func (*StartClusterMetadata) XXX_Unmarshal ¶
func (m *StartClusterMetadata) XXX_Unmarshal(b []byte) error
type StartClusterRequest ¶
type StartClusterRequest struct { // ID of the Redis cluster to start. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StartClusterRequest) Descriptor ¶
func (*StartClusterRequest) Descriptor() ([]byte, []int)
func (*StartClusterRequest) GetClusterId ¶
func (m *StartClusterRequest) GetClusterId() string
func (*StartClusterRequest) ProtoMessage ¶
func (*StartClusterRequest) ProtoMessage()
func (*StartClusterRequest) Reset ¶
func (m *StartClusterRequest) Reset()
func (*StartClusterRequest) String ¶
func (m *StartClusterRequest) String() string
func (*StartClusterRequest) XXX_DiscardUnknown ¶
func (m *StartClusterRequest) XXX_DiscardUnknown()
func (*StartClusterRequest) XXX_Marshal ¶
func (m *StartClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StartClusterRequest) XXX_Merge ¶
func (m *StartClusterRequest) XXX_Merge(src proto.Message)
func (*StartClusterRequest) XXX_Size ¶
func (m *StartClusterRequest) XXX_Size() int
func (*StartClusterRequest) XXX_Unmarshal ¶
func (m *StartClusterRequest) XXX_Unmarshal(b []byte) error
type StopClusterMetadata ¶
type StopClusterMetadata struct { // ID of the Redis cluster. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StopClusterMetadata) Descriptor ¶
func (*StopClusterMetadata) Descriptor() ([]byte, []int)
func (*StopClusterMetadata) GetClusterId ¶
func (m *StopClusterMetadata) GetClusterId() string
func (*StopClusterMetadata) ProtoMessage ¶
func (*StopClusterMetadata) ProtoMessage()
func (*StopClusterMetadata) Reset ¶
func (m *StopClusterMetadata) Reset()
func (*StopClusterMetadata) String ¶
func (m *StopClusterMetadata) String() string
func (*StopClusterMetadata) XXX_DiscardUnknown ¶
func (m *StopClusterMetadata) XXX_DiscardUnknown()
func (*StopClusterMetadata) XXX_Marshal ¶
func (m *StopClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StopClusterMetadata) XXX_Merge ¶
func (m *StopClusterMetadata) XXX_Merge(src proto.Message)
func (*StopClusterMetadata) XXX_Size ¶
func (m *StopClusterMetadata) XXX_Size() int
func (*StopClusterMetadata) XXX_Unmarshal ¶
func (m *StopClusterMetadata) XXX_Unmarshal(b []byte) error
type StopClusterRequest ¶
type StopClusterRequest struct { // ID of the Redis cluster to stop. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StopClusterRequest) Descriptor ¶
func (*StopClusterRequest) Descriptor() ([]byte, []int)
func (*StopClusterRequest) GetClusterId ¶
func (m *StopClusterRequest) GetClusterId() string
func (*StopClusterRequest) ProtoMessage ¶
func (*StopClusterRequest) ProtoMessage()
func (*StopClusterRequest) Reset ¶
func (m *StopClusterRequest) Reset()
func (*StopClusterRequest) String ¶
func (m *StopClusterRequest) String() string
func (*StopClusterRequest) XXX_DiscardUnknown ¶
func (m *StopClusterRequest) XXX_DiscardUnknown()
func (*StopClusterRequest) XXX_Marshal ¶
func (m *StopClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StopClusterRequest) XXX_Merge ¶
func (m *StopClusterRequest) XXX_Merge(src proto.Message)
func (*StopClusterRequest) XXX_Size ¶
func (m *StopClusterRequest) XXX_Size() int
func (*StopClusterRequest) XXX_Unmarshal ¶
func (m *StopClusterRequest) XXX_Unmarshal(b []byte) error
type UnimplementedBackupServiceServer ¶
type UnimplementedBackupServiceServer struct { }
UnimplementedBackupServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedBackupServiceServer) Get ¶
func (*UnimplementedBackupServiceServer) Get(ctx context.Context, req *GetBackupRequest) (*Backup, error)
func (*UnimplementedBackupServiceServer) List ¶
func (*UnimplementedBackupServiceServer) List(ctx context.Context, req *ListBackupsRequest) (*ListBackupsResponse, error)
type UnimplementedClusterServiceServer ¶
type UnimplementedClusterServiceServer struct { }
UnimplementedClusterServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedClusterServiceServer) AddHosts ¶
func (*UnimplementedClusterServiceServer) AddHosts(ctx context.Context, req *AddClusterHostsRequest) (*operation.Operation, error)
func (*UnimplementedClusterServiceServer) Backup ¶
func (*UnimplementedClusterServiceServer) Backup(ctx context.Context, req *BackupClusterRequest) (*operation.Operation, error)
func (*UnimplementedClusterServiceServer) Create ¶
func (*UnimplementedClusterServiceServer) Create(ctx context.Context, req *CreateClusterRequest) (*operation.Operation, error)
func (*UnimplementedClusterServiceServer) Delete ¶
func (*UnimplementedClusterServiceServer) Delete(ctx context.Context, req *DeleteClusterRequest) (*operation.Operation, error)
func (*UnimplementedClusterServiceServer) DeleteHosts ¶
func (*UnimplementedClusterServiceServer) DeleteHosts(ctx context.Context, req *DeleteClusterHostsRequest) (*operation.Operation, error)
func (*UnimplementedClusterServiceServer) Get ¶
func (*UnimplementedClusterServiceServer) Get(ctx context.Context, req *GetClusterRequest) (*Cluster, error)
func (*UnimplementedClusterServiceServer) List ¶
func (*UnimplementedClusterServiceServer) List(ctx context.Context, req *ListClustersRequest) (*ListClustersResponse, error)
func (*UnimplementedClusterServiceServer) ListBackups ¶
func (*UnimplementedClusterServiceServer) ListBackups(ctx context.Context, req *ListClusterBackupsRequest) (*ListClusterBackupsResponse, error)
func (*UnimplementedClusterServiceServer) ListHosts ¶
func (*UnimplementedClusterServiceServer) ListHosts(ctx context.Context, req *ListClusterHostsRequest) (*ListClusterHostsResponse, error)
func (*UnimplementedClusterServiceServer) ListLogs ¶
func (*UnimplementedClusterServiceServer) ListLogs(ctx context.Context, req *ListClusterLogsRequest) (*ListClusterLogsResponse, error)
func (*UnimplementedClusterServiceServer) ListOperations ¶
func (*UnimplementedClusterServiceServer) ListOperations(ctx context.Context, req *ListClusterOperationsRequest) (*ListClusterOperationsResponse, error)
func (*UnimplementedClusterServiceServer) Restore ¶
func (*UnimplementedClusterServiceServer) Restore(ctx context.Context, req *RestoreClusterRequest) (*operation.Operation, error)
func (*UnimplementedClusterServiceServer) Start ¶
func (*UnimplementedClusterServiceServer) Start(ctx context.Context, req *StartClusterRequest) (*operation.Operation, error)
func (*UnimplementedClusterServiceServer) StartFailover ¶
func (*UnimplementedClusterServiceServer) StartFailover(ctx context.Context, req *StartClusterFailoverRequest) (*operation.Operation, error)
func (*UnimplementedClusterServiceServer) Stop ¶
func (*UnimplementedClusterServiceServer) Stop(ctx context.Context, req *StopClusterRequest) (*operation.Operation, error)
func (*UnimplementedClusterServiceServer) Update ¶
func (*UnimplementedClusterServiceServer) Update(ctx context.Context, req *UpdateClusterRequest) (*operation.Operation, error)
type UnimplementedResourcePresetServiceServer ¶
type UnimplementedResourcePresetServiceServer struct { }
UnimplementedResourcePresetServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedResourcePresetServiceServer) Get ¶
func (*UnimplementedResourcePresetServiceServer) Get(ctx context.Context, req *GetResourcePresetRequest) (*ResourcePreset, error)
func (*UnimplementedResourcePresetServiceServer) List ¶
func (*UnimplementedResourcePresetServiceServer) List(ctx context.Context, req *ListResourcePresetsRequest) (*ListResourcePresetsResponse, error)
type UpdateClusterMetadata ¶
type UpdateClusterMetadata struct { // ID of the Redis cluster that is being updated. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateClusterMetadata) Descriptor ¶
func (*UpdateClusterMetadata) Descriptor() ([]byte, []int)
func (*UpdateClusterMetadata) GetClusterId ¶
func (m *UpdateClusterMetadata) GetClusterId() string
func (*UpdateClusterMetadata) ProtoMessage ¶
func (*UpdateClusterMetadata) ProtoMessage()
func (*UpdateClusterMetadata) Reset ¶
func (m *UpdateClusterMetadata) Reset()
func (*UpdateClusterMetadata) String ¶
func (m *UpdateClusterMetadata) String() string
func (*UpdateClusterMetadata) XXX_DiscardUnknown ¶
func (m *UpdateClusterMetadata) XXX_DiscardUnknown()
func (*UpdateClusterMetadata) XXX_Marshal ¶
func (m *UpdateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateClusterMetadata) XXX_Merge ¶
func (m *UpdateClusterMetadata) XXX_Merge(src proto.Message)
func (*UpdateClusterMetadata) XXX_Size ¶
func (m *UpdateClusterMetadata) XXX_Size() int
func (*UpdateClusterMetadata) XXX_Unmarshal ¶
func (m *UpdateClusterMetadata) XXX_Unmarshal(b []byte) error
type UpdateClusterRequest ¶
type UpdateClusterRequest struct { // ID of the Redis cluster to update. // To get the Redis cluster ID, use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Field mask that specifies which fields of the Redis cluster should be updated. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // New description of the Redis cluster. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Custom labels for the Redis cluster as “ key:value “ pairs. Maximum 64 per cluster. // For example, "project": "mvp" or "source": "dictionary". // // The new set of labels will completely replace the old ones. To add a label, request the current // set with the [ClusterService.Get] method, then send an [ClusterService.Update] request with the new label added to the set. Labels map[string]string `` /* 153-byte string literal not displayed */ // New configuration and resources for hosts in the cluster. ConfigSpec *ConfigSpec `protobuf:"bytes,5,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"` // New name for the cluster. Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateClusterRequest) Descriptor ¶
func (*UpdateClusterRequest) Descriptor() ([]byte, []int)
func (*UpdateClusterRequest) GetClusterId ¶
func (m *UpdateClusterRequest) GetClusterId() string
func (*UpdateClusterRequest) GetConfigSpec ¶
func (m *UpdateClusterRequest) GetConfigSpec() *ConfigSpec
func (*UpdateClusterRequest) GetDescription ¶
func (m *UpdateClusterRequest) GetDescription() string
func (*UpdateClusterRequest) GetLabels ¶
func (m *UpdateClusterRequest) GetLabels() map[string]string
func (*UpdateClusterRequest) GetName ¶
func (m *UpdateClusterRequest) GetName() string
func (*UpdateClusterRequest) GetUpdateMask ¶
func (m *UpdateClusterRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateClusterRequest) ProtoMessage ¶
func (*UpdateClusterRequest) ProtoMessage()
func (*UpdateClusterRequest) Reset ¶
func (m *UpdateClusterRequest) Reset()
func (*UpdateClusterRequest) String ¶
func (m *UpdateClusterRequest) String() string
func (*UpdateClusterRequest) XXX_DiscardUnknown ¶
func (m *UpdateClusterRequest) XXX_DiscardUnknown()
func (*UpdateClusterRequest) XXX_Marshal ¶
func (m *UpdateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateClusterRequest) XXX_Merge ¶
func (m *UpdateClusterRequest) XXX_Merge(src proto.Message)
func (*UpdateClusterRequest) XXX_Size ¶
func (m *UpdateClusterRequest) XXX_Size() int
func (*UpdateClusterRequest) XXX_Unmarshal ¶
func (m *UpdateClusterRequest) XXX_Unmarshal(b []byte) error