Documentation ¶
Index ¶
- Variables
- func RegisterEsSidecarServiceServer(s *grpc.Server, srv EsSidecarServiceServer)
- type ConvergeRepositorySettingsRequest
- func (*ConvergeRepositorySettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConvergeRepositorySettingsRequest) GetServiceName() string
- func (*ConvergeRepositorySettingsRequest) ProtoMessage()
- func (x *ConvergeRepositorySettingsRequest) ProtoReflect() protoreflect.Message
- func (x *ConvergeRepositorySettingsRequest) Reset()
- func (x *ConvergeRepositorySettingsRequest) String() string
- type ConvergeRepositorySettingsResponse
- func (*ConvergeRepositorySettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (*ConvergeRepositorySettingsResponse) ProtoMessage()
- func (x *ConvergeRepositorySettingsResponse) ProtoReflect() protoreflect.Message
- func (x *ConvergeRepositorySettingsResponse) Reset()
- func (x *ConvergeRepositorySettingsResponse) String() string
- type CreateRepositoryRequest
- func (*CreateRepositoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRepositoryRequest) GetServiceName() string
- func (*CreateRepositoryRequest) ProtoMessage()
- func (x *CreateRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRepositoryRequest) Reset()
- func (x *CreateRepositoryRequest) String() string
- type CreateRepositoryResponse
- type CreateSnapshotRequest
- func (*CreateSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSnapshotRequest) GetBackupId() string
- func (x *CreateSnapshotRequest) GetMultiIndexSpecification() string
- func (x *CreateSnapshotRequest) GetServiceName() string
- func (*CreateSnapshotRequest) ProtoMessage()
- func (x *CreateSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSnapshotRequest) Reset()
- func (x *CreateSnapshotRequest) String() string
- type CreateSnapshotResponse
- type CreateSnapshotStatusRequest
- func (*CreateSnapshotStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSnapshotStatusRequest) GetBackupId() string
- func (x *CreateSnapshotStatusRequest) GetServiceName() string
- func (*CreateSnapshotStatusRequest) ProtoMessage()
- func (x *CreateSnapshotStatusRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSnapshotStatusRequest) Reset()
- func (x *CreateSnapshotStatusRequest) String() string
- type CreateSnapshotStatusResponse
- func (*CreateSnapshotStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSnapshotStatusResponse) GetMessage() string
- func (x *CreateSnapshotStatusResponse) GetProgressPercentage() float64
- func (x *CreateSnapshotStatusResponse) GetSnapshotState() SnapshotState
- func (*CreateSnapshotStatusResponse) ProtoMessage()
- func (x *CreateSnapshotStatusResponse) ProtoReflect() protoreflect.Message
- func (x *CreateSnapshotStatusResponse) Reset()
- func (x *CreateSnapshotStatusResponse) String() string
- type DeleteSnapshotRequest
- func (*DeleteSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSnapshotRequest) GetBackupId() string
- func (x *DeleteSnapshotRequest) GetServiceName() string
- func (*DeleteSnapshotRequest) ProtoMessage()
- func (x *DeleteSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSnapshotRequest) Reset()
- func (x *DeleteSnapshotRequest) String() string
- type DeleteSnapshotResponse
- type EsSidecarServiceClient
- type EsSidecarServiceServer
- type PurgeRequest
- func (*PurgeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PurgeRequest) GetCustomPurgeField() string
- func (x *PurgeRequest) GetId() string
- func (x *PurgeRequest) GetIndex() string
- func (x *PurgeRequest) GetOlderThanDays() int32
- func (x *PurgeRequest) GetPurgeWhenNotInBackup() bool
- func (*PurgeRequest) ProtoMessage()
- func (x *PurgeRequest) ProtoReflect() protoreflect.Message
- func (x *PurgeRequest) Reset()
- func (x *PurgeRequest) String() string
- type PurgeResponse
- func (*PurgeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PurgeResponse) GetFailures() []*PurgeResponse_Failure
- func (x *PurgeResponse) GetMessage() string
- func (x *PurgeResponse) GetSuccess() bool
- func (*PurgeResponse) ProtoMessage()
- func (x *PurgeResponse) ProtoReflect() protoreflect.Message
- func (x *PurgeResponse) Reset()
- func (x *PurgeResponse) String() string
- type PurgeResponse_Failure
- func (*PurgeResponse_Failure) Descriptor() ([]byte, []int)deprecated
- func (x *PurgeResponse_Failure) GetId() string
- func (x *PurgeResponse_Failure) GetType() string
- func (*PurgeResponse_Failure) ProtoMessage()
- func (x *PurgeResponse_Failure) ProtoReflect() protoreflect.Message
- func (x *PurgeResponse_Failure) Reset()
- func (x *PurgeResponse_Failure) String() string
- type RemoveRepositoryRequest
- func (*RemoveRepositoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveRepositoryRequest) GetServiceName() string
- func (*RemoveRepositoryRequest) ProtoMessage()
- func (x *RemoveRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveRepositoryRequest) Reset()
- func (x *RemoveRepositoryRequest) String() string
- type RemoveRepositoryResponse
- type RestoreSnapshotRequest
- func (*RestoreSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreSnapshotRequest) GetBackupId() string
- func (x *RestoreSnapshotRequest) GetServiceName() string
- func (*RestoreSnapshotRequest) ProtoMessage()
- func (x *RestoreSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *RestoreSnapshotRequest) Reset()
- func (x *RestoreSnapshotRequest) String() string
- type RestoreSnapshotResponse
- type RestoreSnapshotStatusRequest
- func (*RestoreSnapshotStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreSnapshotStatusRequest) GetBackupId() string
- func (x *RestoreSnapshotStatusRequest) GetServiceName() string
- func (*RestoreSnapshotStatusRequest) ProtoMessage()
- func (x *RestoreSnapshotStatusRequest) ProtoReflect() protoreflect.Message
- func (x *RestoreSnapshotStatusRequest) Reset()
- func (x *RestoreSnapshotStatusRequest) String() string
- type RestoreSnapshotStatusResponse
- func (*RestoreSnapshotStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreSnapshotStatusResponse) GetMessage() string
- func (x *RestoreSnapshotStatusResponse) GetProgressPercentage() float64
- func (x *RestoreSnapshotStatusResponse) GetSnapshotState() SnapshotState
- func (*RestoreSnapshotStatusResponse) ProtoMessage()
- func (x *RestoreSnapshotStatusResponse) ProtoReflect() protoreflect.Message
- func (x *RestoreSnapshotStatusResponse) Reset()
- func (x *RestoreSnapshotStatusResponse) String() string
- type SnapshotState
- func (SnapshotState) Descriptor() protoreflect.EnumDescriptor
- func (x SnapshotState) Enum() *SnapshotState
- func (SnapshotState) EnumDescriptor() ([]byte, []int)deprecated
- func (x SnapshotState) Number() protoreflect.EnumNumber
- func (x SnapshotState) String() string
- func (SnapshotState) Type() protoreflect.EnumType
- type UnimplementedEsSidecarServiceServer
- func (*UnimplementedEsSidecarServiceServer) ConvergeRepositorySettings(context.Context, *ConvergeRepositorySettingsRequest) (*ConvergeRepositorySettingsResponse, error)
- func (*UnimplementedEsSidecarServiceServer) CreateRepository(context.Context, *CreateRepositoryRequest) (*CreateRepositoryResponse, error)
- func (*UnimplementedEsSidecarServiceServer) CreateSnapshot(context.Context, *CreateSnapshotRequest) (*CreateSnapshotResponse, error)
- func (*UnimplementedEsSidecarServiceServer) CreateSnapshotStatus(context.Context, *CreateSnapshotStatusRequest) (*CreateSnapshotStatusResponse, error)
- func (*UnimplementedEsSidecarServiceServer) DeleteSnapshot(context.Context, *DeleteSnapshotRequest) (*DeleteSnapshotResponse, error)
- func (*UnimplementedEsSidecarServiceServer) PurgeDocumentsFromIndexByAge(context.Context, *PurgeRequest) (*PurgeResponse, error)
- func (*UnimplementedEsSidecarServiceServer) PurgeTimeSeriesIndicesByAge(context.Context, *PurgeRequest) (*PurgeResponse, error)
- func (*UnimplementedEsSidecarServiceServer) RemoveRepository(context.Context, *RemoveRepositoryRequest) (*RemoveRepositoryResponse, error)
- func (*UnimplementedEsSidecarServiceServer) RestoreSnapshot(context.Context, *RestoreSnapshotRequest) (*RestoreSnapshotResponse, error)
- func (*UnimplementedEsSidecarServiceServer) RestoreSnapshotStatus(context.Context, *RestoreSnapshotStatusRequest) (*RestoreSnapshotStatusResponse, error)
- func (*UnimplementedEsSidecarServiceServer) Version(context.Context, *emptypb.Empty) (*VersionResponse, error)
- type VersionResponse
Constants ¶
This section is empty.
Variables ¶
var ( SnapshotState_name = map[int32]string{ 0: "UNKNOWN", 1: "SUCCESS", 2: "IN_PROGRESS", 3: "FAILED", } SnapshotState_value = map[string]int32{ "UNKNOWN": 0, "SUCCESS": 1, "IN_PROGRESS": 2, "FAILED": 3, } )
Enum value maps for SnapshotState.
var File_interservice_es_sidecar_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterEsSidecarServiceServer ¶
func RegisterEsSidecarServiceServer(s *grpc.Server, srv EsSidecarServiceServer)
Types ¶
type ConvergeRepositorySettingsRequest ¶
type ConvergeRepositorySettingsRequest struct { ServiceName string `` /* 162-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ConvergeRepositorySettingsRequest) Descriptor
deprecated
func (*ConvergeRepositorySettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConvergeRepositorySettingsRequest.ProtoReflect.Descriptor instead.
func (*ConvergeRepositorySettingsRequest) GetServiceName ¶
func (x *ConvergeRepositorySettingsRequest) GetServiceName() string
func (*ConvergeRepositorySettingsRequest) ProtoMessage ¶
func (*ConvergeRepositorySettingsRequest) ProtoMessage()
func (*ConvergeRepositorySettingsRequest) ProtoReflect ¶
func (x *ConvergeRepositorySettingsRequest) ProtoReflect() protoreflect.Message
func (*ConvergeRepositorySettingsRequest) Reset ¶
func (x *ConvergeRepositorySettingsRequest) Reset()
func (*ConvergeRepositorySettingsRequest) String ¶
func (x *ConvergeRepositorySettingsRequest) String() string
type ConvergeRepositorySettingsResponse ¶
type ConvergeRepositorySettingsResponse struct {
// contains filtered or unexported fields
}
func (*ConvergeRepositorySettingsResponse) Descriptor
deprecated
func (*ConvergeRepositorySettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConvergeRepositorySettingsResponse.ProtoReflect.Descriptor instead.
func (*ConvergeRepositorySettingsResponse) ProtoMessage ¶
func (*ConvergeRepositorySettingsResponse) ProtoMessage()
func (*ConvergeRepositorySettingsResponse) ProtoReflect ¶
func (x *ConvergeRepositorySettingsResponse) ProtoReflect() protoreflect.Message
func (*ConvergeRepositorySettingsResponse) Reset ¶
func (x *ConvergeRepositorySettingsResponse) Reset()
func (*ConvergeRepositorySettingsResponse) String ¶
func (x *ConvergeRepositorySettingsResponse) String() string
type CreateRepositoryRequest ¶
type CreateRepositoryRequest struct { ServiceName string `` /* 162-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateRepositoryRequest) Descriptor
deprecated
func (*CreateRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepositoryRequest.ProtoReflect.Descriptor instead.
func (*CreateRepositoryRequest) GetServiceName ¶
func (x *CreateRepositoryRequest) GetServiceName() string
func (*CreateRepositoryRequest) ProtoMessage ¶
func (*CreateRepositoryRequest) ProtoMessage()
func (*CreateRepositoryRequest) ProtoReflect ¶
func (x *CreateRepositoryRequest) ProtoReflect() protoreflect.Message
func (*CreateRepositoryRequest) Reset ¶
func (x *CreateRepositoryRequest) Reset()
func (*CreateRepositoryRequest) String ¶
func (x *CreateRepositoryRequest) String() string
type CreateRepositoryResponse ¶
type CreateRepositoryResponse struct {
// contains filtered or unexported fields
}
func (*CreateRepositoryResponse) Descriptor
deprecated
func (*CreateRepositoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepositoryResponse.ProtoReflect.Descriptor instead.
func (*CreateRepositoryResponse) ProtoMessage ¶
func (*CreateRepositoryResponse) ProtoMessage()
func (*CreateRepositoryResponse) ProtoReflect ¶
func (x *CreateRepositoryResponse) ProtoReflect() protoreflect.Message
func (*CreateRepositoryResponse) Reset ¶
func (x *CreateRepositoryResponse) Reset()
func (*CreateRepositoryResponse) String ¶
func (x *CreateRepositoryResponse) String() string
type CreateSnapshotRequest ¶
type CreateSnapshotRequest struct { ServiceName string `` /* 162-byte string literal not displayed */ MultiIndexSpecification string `` /* 226-byte string literal not displayed */ BackupId string `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateSnapshotRequest) Descriptor
deprecated
func (*CreateSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSnapshotRequest.ProtoReflect.Descriptor instead.
func (*CreateSnapshotRequest) GetBackupId ¶
func (x *CreateSnapshotRequest) GetBackupId() string
func (*CreateSnapshotRequest) GetMultiIndexSpecification ¶
func (x *CreateSnapshotRequest) GetMultiIndexSpecification() string
func (*CreateSnapshotRequest) GetServiceName ¶
func (x *CreateSnapshotRequest) GetServiceName() string
func (*CreateSnapshotRequest) ProtoMessage ¶
func (*CreateSnapshotRequest) ProtoMessage()
func (*CreateSnapshotRequest) ProtoReflect ¶
func (x *CreateSnapshotRequest) ProtoReflect() protoreflect.Message
func (*CreateSnapshotRequest) Reset ¶
func (x *CreateSnapshotRequest) Reset()
func (*CreateSnapshotRequest) String ¶
func (x *CreateSnapshotRequest) String() string
type CreateSnapshotResponse ¶
type CreateSnapshotResponse struct {
// contains filtered or unexported fields
}
func (*CreateSnapshotResponse) Descriptor
deprecated
func (*CreateSnapshotResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSnapshotResponse.ProtoReflect.Descriptor instead.
func (*CreateSnapshotResponse) ProtoMessage ¶
func (*CreateSnapshotResponse) ProtoMessage()
func (*CreateSnapshotResponse) ProtoReflect ¶
func (x *CreateSnapshotResponse) ProtoReflect() protoreflect.Message
func (*CreateSnapshotResponse) Reset ¶
func (x *CreateSnapshotResponse) Reset()
func (*CreateSnapshotResponse) String ¶
func (x *CreateSnapshotResponse) String() string
type CreateSnapshotStatusRequest ¶
type CreateSnapshotStatusRequest struct { ServiceName string `` /* 162-byte string literal not displayed */ BackupId string `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateSnapshotStatusRequest) Descriptor
deprecated
func (*CreateSnapshotStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSnapshotStatusRequest.ProtoReflect.Descriptor instead.
func (*CreateSnapshotStatusRequest) GetBackupId ¶
func (x *CreateSnapshotStatusRequest) GetBackupId() string
func (*CreateSnapshotStatusRequest) GetServiceName ¶
func (x *CreateSnapshotStatusRequest) GetServiceName() string
func (*CreateSnapshotStatusRequest) ProtoMessage ¶
func (*CreateSnapshotStatusRequest) ProtoMessage()
func (*CreateSnapshotStatusRequest) ProtoReflect ¶
func (x *CreateSnapshotStatusRequest) ProtoReflect() protoreflect.Message
func (*CreateSnapshotStatusRequest) Reset ¶
func (x *CreateSnapshotStatusRequest) Reset()
func (*CreateSnapshotStatusRequest) String ¶
func (x *CreateSnapshotStatusRequest) String() string
type CreateSnapshotStatusResponse ¶
type CreateSnapshotStatusResponse struct { SnapshotState SnapshotState `` /* 223-byte string literal not displayed */ ProgressPercentage float64 `` /* 199-byte string literal not displayed */ Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` // contains filtered or unexported fields }
func (*CreateSnapshotStatusResponse) Descriptor
deprecated
func (*CreateSnapshotStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSnapshotStatusResponse.ProtoReflect.Descriptor instead.
func (*CreateSnapshotStatusResponse) GetMessage ¶
func (x *CreateSnapshotStatusResponse) GetMessage() string
func (*CreateSnapshotStatusResponse) GetProgressPercentage ¶
func (x *CreateSnapshotStatusResponse) GetProgressPercentage() float64
func (*CreateSnapshotStatusResponse) GetSnapshotState ¶
func (x *CreateSnapshotStatusResponse) GetSnapshotState() SnapshotState
func (*CreateSnapshotStatusResponse) ProtoMessage ¶
func (*CreateSnapshotStatusResponse) ProtoMessage()
func (*CreateSnapshotStatusResponse) ProtoReflect ¶
func (x *CreateSnapshotStatusResponse) ProtoReflect() protoreflect.Message
func (*CreateSnapshotStatusResponse) Reset ¶
func (x *CreateSnapshotStatusResponse) Reset()
func (*CreateSnapshotStatusResponse) String ¶
func (x *CreateSnapshotStatusResponse) String() string
type DeleteSnapshotRequest ¶
type DeleteSnapshotRequest struct { ServiceName string `` /* 162-byte string literal not displayed */ BackupId string `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DeleteSnapshotRequest) Descriptor
deprecated
func (*DeleteSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSnapshotRequest.ProtoReflect.Descriptor instead.
func (*DeleteSnapshotRequest) GetBackupId ¶
func (x *DeleteSnapshotRequest) GetBackupId() string
func (*DeleteSnapshotRequest) GetServiceName ¶
func (x *DeleteSnapshotRequest) GetServiceName() string
func (*DeleteSnapshotRequest) ProtoMessage ¶
func (*DeleteSnapshotRequest) ProtoMessage()
func (*DeleteSnapshotRequest) ProtoReflect ¶
func (x *DeleteSnapshotRequest) ProtoReflect() protoreflect.Message
func (*DeleteSnapshotRequest) Reset ¶
func (x *DeleteSnapshotRequest) Reset()
func (*DeleteSnapshotRequest) String ¶
func (x *DeleteSnapshotRequest) String() string
type DeleteSnapshotResponse ¶
type DeleteSnapshotResponse struct {
// contains filtered or unexported fields
}
func (*DeleteSnapshotResponse) Descriptor
deprecated
func (*DeleteSnapshotResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSnapshotResponse.ProtoReflect.Descriptor instead.
func (*DeleteSnapshotResponse) ProtoMessage ¶
func (*DeleteSnapshotResponse) ProtoMessage()
func (*DeleteSnapshotResponse) ProtoReflect ¶
func (x *DeleteSnapshotResponse) ProtoReflect() protoreflect.Message
func (*DeleteSnapshotResponse) Reset ¶
func (x *DeleteSnapshotResponse) Reset()
func (*DeleteSnapshotResponse) String ¶
func (x *DeleteSnapshotResponse) String() string
type EsSidecarServiceClient ¶
type EsSidecarServiceClient interface { // Will begin a new purge if the identified purge is not already in progress. // If it is in progress, the PurgeResponse status field will indicate this. PurgeTimeSeriesIndicesByAge(ctx context.Context, in *PurgeRequest, opts ...grpc.CallOption) (*PurgeResponse, error) PurgeDocumentsFromIndexByAge(ctx context.Context, in *PurgeRequest, opts ...grpc.CallOption) (*PurgeResponse, error) CreateRepository(ctx context.Context, in *CreateRepositoryRequest, opts ...grpc.CallOption) (*CreateRepositoryResponse, error) ConvergeRepositorySettings(ctx context.Context, in *ConvergeRepositorySettingsRequest, opts ...grpc.CallOption) (*ConvergeRepositorySettingsResponse, error) RemoveRepository(ctx context.Context, in *RemoveRepositoryRequest, opts ...grpc.CallOption) (*RemoveRepositoryResponse, error) CreateSnapshot(ctx context.Context, in *CreateSnapshotRequest, opts ...grpc.CallOption) (*CreateSnapshotResponse, error) CreateSnapshotStatus(ctx context.Context, in *CreateSnapshotStatusRequest, opts ...grpc.CallOption) (*CreateSnapshotStatusResponse, error) RestoreSnapshot(ctx context.Context, in *RestoreSnapshotRequest, opts ...grpc.CallOption) (*RestoreSnapshotResponse, error) RestoreSnapshotStatus(ctx context.Context, in *RestoreSnapshotStatusRequest, opts ...grpc.CallOption) (*RestoreSnapshotStatusResponse, error) DeleteSnapshot(ctx context.Context, in *DeleteSnapshotRequest, opts ...grpc.CallOption) (*DeleteSnapshotResponse, error) Version(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VersionResponse, error) }
EsSidecarServiceClient is the client API for EsSidecarService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewEsSidecarServiceClient ¶
func NewEsSidecarServiceClient(cc grpc.ClientConnInterface) EsSidecarServiceClient
type EsSidecarServiceServer ¶
type EsSidecarServiceServer interface { // Will begin a new purge if the identified purge is not already in progress. // If it is in progress, the PurgeResponse status field will indicate this. PurgeTimeSeriesIndicesByAge(context.Context, *PurgeRequest) (*PurgeResponse, error) PurgeDocumentsFromIndexByAge(context.Context, *PurgeRequest) (*PurgeResponse, error) CreateRepository(context.Context, *CreateRepositoryRequest) (*CreateRepositoryResponse, error) ConvergeRepositorySettings(context.Context, *ConvergeRepositorySettingsRequest) (*ConvergeRepositorySettingsResponse, error) RemoveRepository(context.Context, *RemoveRepositoryRequest) (*RemoveRepositoryResponse, error) CreateSnapshot(context.Context, *CreateSnapshotRequest) (*CreateSnapshotResponse, error) CreateSnapshotStatus(context.Context, *CreateSnapshotStatusRequest) (*CreateSnapshotStatusResponse, error) RestoreSnapshot(context.Context, *RestoreSnapshotRequest) (*RestoreSnapshotResponse, error) RestoreSnapshotStatus(context.Context, *RestoreSnapshotStatusRequest) (*RestoreSnapshotStatusResponse, error) DeleteSnapshot(context.Context, *DeleteSnapshotRequest) (*DeleteSnapshotResponse, error) Version(context.Context, *emptypb.Empty) (*VersionResponse, error) }
EsSidecarServiceServer is the server API for EsSidecarService service.
type PurgeRequest ¶
type PurgeRequest struct { // request identifier Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // index to purge from for Document delete; index base name for time series delete. Index string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty" toml:"index,omitempty" mapstructure:"index,omitempty"` // delete documents from index that were added longer than this many days ago. OlderThanDays int32 `` /* 177-byte string literal not displayed */ // reserved, not yet implemented. PurgeWhenNotInBackup bool `` /* 220-byte string literal not displayed */ // FOR NON-TIME SERIES INDICES ONLY! // Optional field. Purge documents based on the time value in this field rather than // the default field, end_time. Values for this field come from client purge policies. // If this field is empty, purge defaults to end_time. CustomPurgeField string `` /* 191-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PurgeRequest) Descriptor
deprecated
func (*PurgeRequest) Descriptor() ([]byte, []int)
Deprecated: Use PurgeRequest.ProtoReflect.Descriptor instead.
func (*PurgeRequest) GetCustomPurgeField ¶
func (x *PurgeRequest) GetCustomPurgeField() string
func (*PurgeRequest) GetId ¶
func (x *PurgeRequest) GetId() string
func (*PurgeRequest) GetIndex ¶
func (x *PurgeRequest) GetIndex() string
func (*PurgeRequest) GetOlderThanDays ¶
func (x *PurgeRequest) GetOlderThanDays() int32
func (*PurgeRequest) GetPurgeWhenNotInBackup ¶
func (x *PurgeRequest) GetPurgeWhenNotInBackup() bool
func (*PurgeRequest) ProtoMessage ¶
func (*PurgeRequest) ProtoMessage()
func (*PurgeRequest) ProtoReflect ¶
func (x *PurgeRequest) ProtoReflect() protoreflect.Message
func (*PurgeRequest) Reset ¶
func (x *PurgeRequest) Reset()
func (*PurgeRequest) String ¶
func (x *PurgeRequest) String() string
type PurgeResponse ¶
type PurgeResponse struct { Success bool `` /* 126-byte string literal not displayed */ Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` Failures []*PurgeResponse_Failure `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PurgeResponse) Descriptor
deprecated
func (*PurgeResponse) Descriptor() ([]byte, []int)
Deprecated: Use PurgeResponse.ProtoReflect.Descriptor instead.
func (*PurgeResponse) GetFailures ¶
func (x *PurgeResponse) GetFailures() []*PurgeResponse_Failure
func (*PurgeResponse) GetMessage ¶
func (x *PurgeResponse) GetMessage() string
func (*PurgeResponse) GetSuccess ¶
func (x *PurgeResponse) GetSuccess() bool
func (*PurgeResponse) ProtoMessage ¶
func (*PurgeResponse) ProtoMessage()
func (*PurgeResponse) ProtoReflect ¶
func (x *PurgeResponse) ProtoReflect() protoreflect.Message
func (*PurgeResponse) Reset ¶
func (x *PurgeResponse) Reset()
func (*PurgeResponse) String ¶
func (x *PurgeResponse) String() string
type PurgeResponse_Failure ¶
type PurgeResponse_Failure struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // doc id or index name Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` // document // contains filtered or unexported fields }
func (*PurgeResponse_Failure) Descriptor
deprecated
func (*PurgeResponse_Failure) Descriptor() ([]byte, []int)
Deprecated: Use PurgeResponse_Failure.ProtoReflect.Descriptor instead.
func (*PurgeResponse_Failure) GetId ¶
func (x *PurgeResponse_Failure) GetId() string
func (*PurgeResponse_Failure) GetType ¶
func (x *PurgeResponse_Failure) GetType() string
func (*PurgeResponse_Failure) ProtoMessage ¶
func (*PurgeResponse_Failure) ProtoMessage()
func (*PurgeResponse_Failure) ProtoReflect ¶
func (x *PurgeResponse_Failure) ProtoReflect() protoreflect.Message
func (*PurgeResponse_Failure) Reset ¶
func (x *PurgeResponse_Failure) Reset()
func (*PurgeResponse_Failure) String ¶
func (x *PurgeResponse_Failure) String() string
type RemoveRepositoryRequest ¶
type RemoveRepositoryRequest struct { ServiceName string `` /* 162-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RemoveRepositoryRequest) Descriptor
deprecated
func (*RemoveRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRepositoryRequest.ProtoReflect.Descriptor instead.
func (*RemoveRepositoryRequest) GetServiceName ¶
func (x *RemoveRepositoryRequest) GetServiceName() string
func (*RemoveRepositoryRequest) ProtoMessage ¶
func (*RemoveRepositoryRequest) ProtoMessage()
func (*RemoveRepositoryRequest) ProtoReflect ¶
func (x *RemoveRepositoryRequest) ProtoReflect() protoreflect.Message
func (*RemoveRepositoryRequest) Reset ¶
func (x *RemoveRepositoryRequest) Reset()
func (*RemoveRepositoryRequest) String ¶
func (x *RemoveRepositoryRequest) String() string
type RemoveRepositoryResponse ¶
type RemoveRepositoryResponse struct {
// contains filtered or unexported fields
}
func (*RemoveRepositoryResponse) Descriptor
deprecated
func (*RemoveRepositoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRepositoryResponse.ProtoReflect.Descriptor instead.
func (*RemoveRepositoryResponse) ProtoMessage ¶
func (*RemoveRepositoryResponse) ProtoMessage()
func (*RemoveRepositoryResponse) ProtoReflect ¶
func (x *RemoveRepositoryResponse) ProtoReflect() protoreflect.Message
func (*RemoveRepositoryResponse) Reset ¶
func (x *RemoveRepositoryResponse) Reset()
func (*RemoveRepositoryResponse) String ¶
func (x *RemoveRepositoryResponse) String() string
type RestoreSnapshotRequest ¶
type RestoreSnapshotRequest struct { ServiceName string `` /* 162-byte string literal not displayed */ BackupId string `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RestoreSnapshotRequest) Descriptor
deprecated
func (*RestoreSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreSnapshotRequest.ProtoReflect.Descriptor instead.
func (*RestoreSnapshotRequest) GetBackupId ¶
func (x *RestoreSnapshotRequest) GetBackupId() string
func (*RestoreSnapshotRequest) GetServiceName ¶
func (x *RestoreSnapshotRequest) GetServiceName() string
func (*RestoreSnapshotRequest) ProtoMessage ¶
func (*RestoreSnapshotRequest) ProtoMessage()
func (*RestoreSnapshotRequest) ProtoReflect ¶
func (x *RestoreSnapshotRequest) ProtoReflect() protoreflect.Message
func (*RestoreSnapshotRequest) Reset ¶
func (x *RestoreSnapshotRequest) Reset()
func (*RestoreSnapshotRequest) String ¶
func (x *RestoreSnapshotRequest) String() string
type RestoreSnapshotResponse ¶
type RestoreSnapshotResponse struct {
// contains filtered or unexported fields
}
func (*RestoreSnapshotResponse) Descriptor
deprecated
func (*RestoreSnapshotResponse) Descriptor() ([]byte, []int)
Deprecated: Use RestoreSnapshotResponse.ProtoReflect.Descriptor instead.
func (*RestoreSnapshotResponse) ProtoMessage ¶
func (*RestoreSnapshotResponse) ProtoMessage()
func (*RestoreSnapshotResponse) ProtoReflect ¶
func (x *RestoreSnapshotResponse) ProtoReflect() protoreflect.Message
func (*RestoreSnapshotResponse) Reset ¶
func (x *RestoreSnapshotResponse) Reset()
func (*RestoreSnapshotResponse) String ¶
func (x *RestoreSnapshotResponse) String() string
type RestoreSnapshotStatusRequest ¶
type RestoreSnapshotStatusRequest struct { ServiceName string `` /* 162-byte string literal not displayed */ BackupId string `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RestoreSnapshotStatusRequest) Descriptor
deprecated
func (*RestoreSnapshotStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreSnapshotStatusRequest.ProtoReflect.Descriptor instead.
func (*RestoreSnapshotStatusRequest) GetBackupId ¶
func (x *RestoreSnapshotStatusRequest) GetBackupId() string
func (*RestoreSnapshotStatusRequest) GetServiceName ¶
func (x *RestoreSnapshotStatusRequest) GetServiceName() string
func (*RestoreSnapshotStatusRequest) ProtoMessage ¶
func (*RestoreSnapshotStatusRequest) ProtoMessage()
func (*RestoreSnapshotStatusRequest) ProtoReflect ¶
func (x *RestoreSnapshotStatusRequest) ProtoReflect() protoreflect.Message
func (*RestoreSnapshotStatusRequest) Reset ¶
func (x *RestoreSnapshotStatusRequest) Reset()
func (*RestoreSnapshotStatusRequest) String ¶
func (x *RestoreSnapshotStatusRequest) String() string
type RestoreSnapshotStatusResponse ¶
type RestoreSnapshotStatusResponse struct { SnapshotState SnapshotState `` /* 223-byte string literal not displayed */ ProgressPercentage float64 `` /* 199-byte string literal not displayed */ Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` // contains filtered or unexported fields }
func (*RestoreSnapshotStatusResponse) Descriptor
deprecated
func (*RestoreSnapshotStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use RestoreSnapshotStatusResponse.ProtoReflect.Descriptor instead.
func (*RestoreSnapshotStatusResponse) GetMessage ¶
func (x *RestoreSnapshotStatusResponse) GetMessage() string
func (*RestoreSnapshotStatusResponse) GetProgressPercentage ¶
func (x *RestoreSnapshotStatusResponse) GetProgressPercentage() float64
func (*RestoreSnapshotStatusResponse) GetSnapshotState ¶
func (x *RestoreSnapshotStatusResponse) GetSnapshotState() SnapshotState
func (*RestoreSnapshotStatusResponse) ProtoMessage ¶
func (*RestoreSnapshotStatusResponse) ProtoMessage()
func (*RestoreSnapshotStatusResponse) ProtoReflect ¶
func (x *RestoreSnapshotStatusResponse) ProtoReflect() protoreflect.Message
func (*RestoreSnapshotStatusResponse) Reset ¶
func (x *RestoreSnapshotStatusResponse) Reset()
func (*RestoreSnapshotStatusResponse) String ¶
func (x *RestoreSnapshotStatusResponse) String() string
type SnapshotState ¶
type SnapshotState int32
const ( SnapshotState_UNKNOWN SnapshotState = 0 SnapshotState_SUCCESS SnapshotState = 1 SnapshotState_IN_PROGRESS SnapshotState = 2 SnapshotState_FAILED SnapshotState = 3 )
func (SnapshotState) Descriptor ¶
func (SnapshotState) Descriptor() protoreflect.EnumDescriptor
func (SnapshotState) Enum ¶
func (x SnapshotState) Enum() *SnapshotState
func (SnapshotState) EnumDescriptor
deprecated
func (SnapshotState) EnumDescriptor() ([]byte, []int)
Deprecated: Use SnapshotState.Descriptor instead.
func (SnapshotState) Number ¶
func (x SnapshotState) Number() protoreflect.EnumNumber
func (SnapshotState) String ¶
func (x SnapshotState) String() string
func (SnapshotState) Type ¶
func (SnapshotState) Type() protoreflect.EnumType
type UnimplementedEsSidecarServiceServer ¶
type UnimplementedEsSidecarServiceServer struct { }
UnimplementedEsSidecarServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedEsSidecarServiceServer) ConvergeRepositorySettings ¶
func (*UnimplementedEsSidecarServiceServer) ConvergeRepositorySettings(context.Context, *ConvergeRepositorySettingsRequest) (*ConvergeRepositorySettingsResponse, error)
func (*UnimplementedEsSidecarServiceServer) CreateRepository ¶
func (*UnimplementedEsSidecarServiceServer) CreateRepository(context.Context, *CreateRepositoryRequest) (*CreateRepositoryResponse, error)
func (*UnimplementedEsSidecarServiceServer) CreateSnapshot ¶
func (*UnimplementedEsSidecarServiceServer) CreateSnapshot(context.Context, *CreateSnapshotRequest) (*CreateSnapshotResponse, error)
func (*UnimplementedEsSidecarServiceServer) CreateSnapshotStatus ¶
func (*UnimplementedEsSidecarServiceServer) CreateSnapshotStatus(context.Context, *CreateSnapshotStatusRequest) (*CreateSnapshotStatusResponse, error)
func (*UnimplementedEsSidecarServiceServer) DeleteSnapshot ¶
func (*UnimplementedEsSidecarServiceServer) DeleteSnapshot(context.Context, *DeleteSnapshotRequest) (*DeleteSnapshotResponse, error)
func (*UnimplementedEsSidecarServiceServer) PurgeDocumentsFromIndexByAge ¶
func (*UnimplementedEsSidecarServiceServer) PurgeDocumentsFromIndexByAge(context.Context, *PurgeRequest) (*PurgeResponse, error)
func (*UnimplementedEsSidecarServiceServer) PurgeTimeSeriesIndicesByAge ¶
func (*UnimplementedEsSidecarServiceServer) PurgeTimeSeriesIndicesByAge(context.Context, *PurgeRequest) (*PurgeResponse, error)
func (*UnimplementedEsSidecarServiceServer) RemoveRepository ¶
func (*UnimplementedEsSidecarServiceServer) RemoveRepository(context.Context, *RemoveRepositoryRequest) (*RemoveRepositoryResponse, error)
func (*UnimplementedEsSidecarServiceServer) RestoreSnapshot ¶
func (*UnimplementedEsSidecarServiceServer) RestoreSnapshot(context.Context, *RestoreSnapshotRequest) (*RestoreSnapshotResponse, error)
func (*UnimplementedEsSidecarServiceServer) RestoreSnapshotStatus ¶
func (*UnimplementedEsSidecarServiceServer) RestoreSnapshotStatus(context.Context, *RestoreSnapshotStatusRequest) (*RestoreSnapshotStatusResponse, error)
func (*UnimplementedEsSidecarServiceServer) Version ¶
func (*UnimplementedEsSidecarServiceServer) Version(context.Context, *emptypb.Empty) (*VersionResponse, error)
type VersionResponse ¶
type VersionResponse struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` // contains filtered or unexported fields }
func (*VersionResponse) Descriptor
deprecated
func (*VersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.
func (*VersionResponse) GetVersion ¶
func (x *VersionResponse) GetVersion() string
func (*VersionResponse) ProtoMessage ¶
func (*VersionResponse) ProtoMessage()
func (*VersionResponse) ProtoReflect ¶
func (x *VersionResponse) ProtoReflect() protoreflect.Message
func (*VersionResponse) Reset ¶
func (x *VersionResponse) Reset()
func (*VersionResponse) String ¶
func (x *VersionResponse) String() string