Documentation
¶
Index ¶
- Variables
- type DataRollback
- type FindRequest
- func (*FindRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindRequest) GetBlockchain() v2.Blockchain
- func (x *FindRequest) GetCommon() *v2.FindRequestCommon
- func (*FindRequest) ProtoMessage()
- func (x *FindRequest) ProtoReflect() protoreflect.Message
- func (x *FindRequest) Reset()
- func (x *FindRequest) String() string
- type FindResponse
- func (*FindResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindResponse) GetItems() []*Incident
- func (x *FindResponse) GetNextPageExists() bool
- func (*FindResponse) ProtoMessage()
- func (x *FindResponse) ProtoReflect() protoreflect.Message
- func (x *FindResponse) Reset()
- func (x *FindResponse) String() string
- type Incident
- func (*Incident) Descriptor() ([]byte, []int)deprecated
- func (x *Incident) GetCreatedAt() *timestamppb.Timestamp
- func (x *Incident) GetData() isIncident_Data
- func (x *Incident) GetDataRollback() *DataRollback
- func (x *Incident) GetId() string
- func (x *Incident) GetType() IncidentType
- func (*Incident) ProtoMessage()
- func (x *Incident) ProtoReflect() protoreflect.Message
- func (x *Incident) Reset()
- func (x *Incident) String() string
- type IncidentType
- func (IncidentType) Descriptor() protoreflect.EnumDescriptor
- func (x IncidentType) Enum() *IncidentType
- func (IncidentType) EnumDescriptor() ([]byte, []int)deprecated
- func (x IncidentType) Number() protoreflect.EnumNumber
- func (x IncidentType) String() string
- func (IncidentType) Type() protoreflect.EnumType
- type Incident_DataRollback
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IncidentType_name = map[int32]string{ 0: "INCIDENT_TYPE_UNSPECIFIED", 1: "INCIDENT_TYPE_ROLLBACK", } IncidentType_value = map[string]int32{ "INCIDENT_TYPE_UNSPECIFIED": 0, "INCIDENT_TYPE_ROLLBACK": 1, } )
Enum value maps for IncidentType.
View Source
var File_eproxy_incidents_v2_incidents_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DataRollback ¶
type DataRollback struct {
RevertToBlockHeight uint64 `protobuf:"varint,1,opt,name=revert_to_block_height,json=revertToBlockHeight,proto3" json:"revert_to_block_height,omitempty"`
// contains filtered or unexported fields
}
DataRollback represents a rollback incident
func (*DataRollback) Descriptor
deprecated
func (*DataRollback) Descriptor() ([]byte, []int)
Deprecated: Use DataRollback.ProtoReflect.Descriptor instead.
func (*DataRollback) GetRevertToBlockHeight ¶
func (x *DataRollback) GetRevertToBlockHeight() uint64
func (*DataRollback) ProtoMessage ¶
func (*DataRollback) ProtoMessage()
func (*DataRollback) ProtoReflect ¶
func (x *DataRollback) ProtoReflect() protoreflect.Message
func (*DataRollback) Reset ¶
func (x *DataRollback) Reset()
func (*DataRollback) String ¶
func (x *DataRollback) String() string
type FindRequest ¶
type FindRequest struct {
Blockchain v2.Blockchain `protobuf:"varint,1,opt,name=blockchain,proto3,enum=eproxy.common.v2.Blockchain" json:"blockchain,omitempty"`
Common *v2.FindRequestCommon `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"`
// contains filtered or unexported fields
}
FindRequest is the request for Find
func (*FindRequest) Descriptor
deprecated
func (*FindRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindRequest.ProtoReflect.Descriptor instead.
func (*FindRequest) GetBlockchain ¶
func (x *FindRequest) GetBlockchain() v2.Blockchain
func (*FindRequest) GetCommon ¶
func (x *FindRequest) GetCommon() *v2.FindRequestCommon
func (*FindRequest) ProtoMessage ¶
func (*FindRequest) ProtoMessage()
func (*FindRequest) ProtoReflect ¶
func (x *FindRequest) ProtoReflect() protoreflect.Message
func (*FindRequest) Reset ¶
func (x *FindRequest) Reset()
func (*FindRequest) String ¶
func (x *FindRequest) String() string
type FindResponse ¶
type FindResponse struct {
Items []*Incident `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
NextPageExists bool `protobuf:"varint,2,opt,name=next_page_exists,json=nextPageExists,proto3" json:"next_page_exists,omitempty"`
// contains filtered or unexported fields
}
FindResponse is the response for Find
func (*FindResponse) Descriptor
deprecated
func (*FindResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindResponse.ProtoReflect.Descriptor instead.
func (*FindResponse) GetItems ¶
func (x *FindResponse) GetItems() []*Incident
func (*FindResponse) GetNextPageExists ¶
func (x *FindResponse) GetNextPageExists() bool
func (*FindResponse) ProtoMessage ¶
func (*FindResponse) ProtoMessage()
func (*FindResponse) ProtoReflect ¶
func (x *FindResponse) ProtoReflect() protoreflect.Message
func (*FindResponse) Reset ¶
func (x *FindResponse) Reset()
func (*FindResponse) String ¶
func (x *FindResponse) String() string
type Incident ¶
type Incident struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Type IncidentType `protobuf:"varint,2,opt,name=type,proto3,enum=eproxy.incidents.v2.IncidentType" json:"type,omitempty"`
// Types that are valid to be assigned to Data:
//
// *Incident_DataRollback
Data isIncident_Data `protobuf_oneof:"data"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// contains filtered or unexported fields
}
Incident represents an incident
func (*Incident) Descriptor
deprecated
func (*Incident) GetCreatedAt ¶
func (x *Incident) GetCreatedAt() *timestamppb.Timestamp
func (*Incident) GetDataRollback ¶
func (x *Incident) GetDataRollback() *DataRollback
func (*Incident) GetType ¶
func (x *Incident) GetType() IncidentType
func (*Incident) ProtoMessage ¶
func (*Incident) ProtoMessage()
func (*Incident) ProtoReflect ¶
func (x *Incident) ProtoReflect() protoreflect.Message
type IncidentType ¶
type IncidentType int32
IncidentType represents the type of incident
const ( IncidentType_INCIDENT_TYPE_UNSPECIFIED IncidentType = 0 IncidentType_INCIDENT_TYPE_ROLLBACK IncidentType = 1 )
func (IncidentType) Descriptor ¶
func (IncidentType) Descriptor() protoreflect.EnumDescriptor
func (IncidentType) Enum ¶
func (x IncidentType) Enum() *IncidentType
func (IncidentType) EnumDescriptor
deprecated
func (IncidentType) EnumDescriptor() ([]byte, []int)
Deprecated: Use IncidentType.Descriptor instead.
func (IncidentType) Number ¶
func (x IncidentType) Number() protoreflect.EnumNumber
func (IncidentType) String ¶
func (x IncidentType) String() string
func (IncidentType) Type ¶
func (IncidentType) Type() protoreflect.EnumType
type Incident_DataRollback ¶
type Incident_DataRollback struct {
DataRollback *DataRollback `protobuf:"bytes,3,opt,name=data_rollback,json=dataRollback,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.