Documentation
¶
Index ¶
- Variables
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetExecutionRemovalTime() *durationpb.Duration
- func (x *Config) GetMaxBatchSize() uint32
- func (x *Config) GetMaxObservationLengthBytes() uint32
- func (x *Config) GetMaxOutcomeLengthBytes() uint32
- func (x *Config) GetMaxQueryLengthBytes() uint32
- func (x *Config) GetMaxReportCount() uint32
- func (x *Config) GetMaxReportLengthBytes() uint32
- func (x *Config) GetMinTimeIncrease() int64
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type Observation
- func (*Observation) Descriptor() ([]byte, []int)deprecated
- func (x *Observation) GetRequests() map[string]int64
- func (x *Observation) GetTimestamp() int64
- func (*Observation) ProtoMessage()
- func (x *Observation) ProtoReflect() protoreflect.Message
- func (x *Observation) Reset()
- func (x *Observation) String() string
- type Observations
- type ObservedDonTimes
- type Outcome
- func (*Outcome) Descriptor() ([]byte, []int)deprecated
- func (x *Outcome) GetObservedDonTimes() map[string]*ObservedDonTimes
- func (x *Outcome) GetTimestamp() int64
- func (*Outcome) ProtoMessage()
- func (x *Outcome) ProtoReflect() protoreflect.Message
- func (x *Outcome) Reset()
- func (x *Outcome) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_config_proto protoreflect.FileDescriptor
View Source
var File_dontime_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// These fields are shadowing the `ReportingPluginLimits` fields.
// See: https://github.com/smartcontractkit/libocr/blob/master/offchainreporting2plus/ocr3types/plugin.go#L296
MaxQueryLengthBytes uint32 `protobuf:"varint,1,opt,name=maxQueryLengthBytes,proto3" json:"maxQueryLengthBytes,omitempty"`
MaxObservationLengthBytes uint32 `protobuf:"varint,2,opt,name=maxObservationLengthBytes,proto3" json:"maxObservationLengthBytes,omitempty"`
MaxOutcomeLengthBytes uint32 `protobuf:"varint,3,opt,name=maxOutcomeLengthBytes,proto3" json:"maxOutcomeLengthBytes,omitempty"`
MaxReportLengthBytes uint32 `protobuf:"varint,4,opt,name=maxReportLengthBytes,proto3" json:"maxReportLengthBytes,omitempty"`
MaxReportCount uint32 `protobuf:"varint,5,opt,name=maxReportCount,proto3" json:"maxReportCount,omitempty"`
MaxBatchSize uint32 `protobuf:"varint,6,opt,name=maxBatchSize,proto3" json:"maxBatchSize,omitempty"`
MinTimeIncrease int64 `protobuf:"varint,7,opt,name=minTimeIncrease,proto3" json:"minTimeIncrease,omitempty"`
ExecutionRemovalTime *durationpb.Duration `protobuf:"bytes,8,opt,name=executionRemovalTime,proto3" json:"executionRemovalTime,omitempty"`
// contains filtered or unexported fields
}
func (*Config) Descriptor
deprecated
func (*Config) GetExecutionRemovalTime ¶
func (x *Config) GetExecutionRemovalTime() *durationpb.Duration
func (*Config) GetMaxBatchSize ¶
func (*Config) GetMaxObservationLengthBytes ¶
func (*Config) GetMaxOutcomeLengthBytes ¶
func (*Config) GetMaxQueryLengthBytes ¶
func (*Config) GetMaxReportCount ¶
func (*Config) GetMaxReportLengthBytes ¶
func (*Config) GetMinTimeIncrease ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type Observation ¶
type Observation struct {
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Requests map[string]int64 `` /* 144-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Observation) Descriptor
deprecated
func (*Observation) Descriptor() ([]byte, []int)
Deprecated: Use Observation.ProtoReflect.Descriptor instead.
func (*Observation) GetRequests ¶
func (x *Observation) GetRequests() map[string]int64
func (*Observation) GetTimestamp ¶
func (x *Observation) GetTimestamp() int64
func (*Observation) ProtoMessage ¶
func (*Observation) ProtoMessage()
func (*Observation) ProtoReflect ¶
func (x *Observation) ProtoReflect() protoreflect.Message
func (*Observation) Reset ¶
func (x *Observation) Reset()
func (*Observation) String ¶
func (x *Observation) String() string
type Observations ¶
type Observations struct {
// batched observations for multiple workflow execution IDs
Observations []*Observation `protobuf:"bytes,1,rep,name=observations,proto3" json:"observations,omitempty"`
// contains filtered or unexported fields
}
func (*Observations) Descriptor
deprecated
func (*Observations) Descriptor() ([]byte, []int)
Deprecated: Use Observations.ProtoReflect.Descriptor instead.
func (*Observations) GetObservations ¶
func (x *Observations) GetObservations() []*Observation
func (*Observations) ProtoMessage ¶
func (*Observations) ProtoMessage()
func (*Observations) ProtoReflect ¶
func (x *Observations) ProtoReflect() protoreflect.Message
func (*Observations) Reset ¶
func (x *Observations) Reset()
func (*Observations) String ¶
func (x *Observations) String() string
type ObservedDonTimes ¶
type ObservedDonTimes struct {
Timestamps []int64 `protobuf:"varint,1,rep,packed,name=timestamps,proto3" json:"timestamps,omitempty"`
// contains filtered or unexported fields
}
func (*ObservedDonTimes) Descriptor
deprecated
func (*ObservedDonTimes) Descriptor() ([]byte, []int)
Deprecated: Use ObservedDonTimes.ProtoReflect.Descriptor instead.
func (*ObservedDonTimes) GetTimestamps ¶
func (x *ObservedDonTimes) GetTimestamps() []int64
func (*ObservedDonTimes) ProtoMessage ¶
func (*ObservedDonTimes) ProtoMessage()
func (*ObservedDonTimes) ProtoReflect ¶
func (x *ObservedDonTimes) ProtoReflect() protoreflect.Message
func (*ObservedDonTimes) Reset ¶
func (x *ObservedDonTimes) Reset()
func (*ObservedDonTimes) String ¶
func (x *ObservedDonTimes) String() string
type Outcome ¶
type Outcome struct {
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
ObservedDonTimes map[string]*ObservedDonTimes `` /* 185-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Outcome) Descriptor
deprecated
func (*Outcome) GetObservedDonTimes ¶
func (x *Outcome) GetObservedDonTimes() map[string]*ObservedDonTimes
func (*Outcome) GetTimestamp ¶
func (*Outcome) ProtoMessage ¶
func (*Outcome) ProtoMessage()
func (*Outcome) ProtoReflect ¶
func (x *Outcome) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.