chkpvalidatorpb

package
v0.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_checkpointpb_chkpvalidatorpb_chkpvalidatorpb_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CheckpointValidated

type CheckpointValidated struct {
	Error  string              `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	Origin *ValidateChkpOrigin `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckpointValidated) Descriptor deprecated

func (*CheckpointValidated) Descriptor() ([]byte, []int)

Deprecated: Use CheckpointValidated.ProtoReflect.Descriptor instead.

func (*CheckpointValidated) GetError

func (x *CheckpointValidated) GetError() string

func (*CheckpointValidated) GetOrigin

func (x *CheckpointValidated) GetOrigin() *ValidateChkpOrigin

func (*CheckpointValidated) ProtoMessage

func (*CheckpointValidated) ProtoMessage()

func (*CheckpointValidated) ProtoReflect

func (x *CheckpointValidated) ProtoReflect() protoreflect.Message

func (*CheckpointValidated) Reset

func (x *CheckpointValidated) Reset()

func (*CheckpointValidated) String

func (x *CheckpointValidated) String() string

type Event

type Event struct {

	// Types that are assignable to Type:
	//	*Event_ValidateCheckpoint
	//	*Event_CheckpointValidated
	Type isEvent_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

func (*Event) Descriptor() ([]byte, []int)

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetCheckpointValidated

func (x *Event) GetCheckpointValidated() *CheckpointValidated

func (*Event) GetType

func (m *Event) GetType() isEvent_Type

func (*Event) GetValidateCheckpoint

func (x *Event) GetValidateCheckpoint() *ValidateCheckpoint

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

func (x *Event) ProtoReflect() protoreflect.Message

func (*Event) ReflectTypeOptions

func (*Event) ReflectTypeOptions() []reflect.Type

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type Event_CheckpointValidated

type Event_CheckpointValidated struct {
	CheckpointValidated *CheckpointValidated `protobuf:"bytes,2,opt,name=checkpoint_validated,json=checkpointValidated,proto3,oneof"`
}

func (*Event_CheckpointValidated) Unwrap

type Event_Type

type Event_Type = isEvent_Type

type Event_TypeWrapper

type Event_TypeWrapper[T any] interface {
	Event_Type
	Unwrap() *T
}

type Event_ValidateCheckpoint

type Event_ValidateCheckpoint struct {
	ValidateCheckpoint *ValidateCheckpoint `protobuf:"bytes,1,opt,name=validate_checkpoint,json=validateCheckpoint,proto3,oneof"`
}

func (*Event_ValidateCheckpoint) Unwrap

type ValidateCheckpoint

type ValidateCheckpoint struct {
	Checkpoint  *checkpointpb.StableCheckpoint `protobuf:"bytes,1,opt,name=checkpoint,proto3" json:"checkpoint,omitempty"`
	EpochNr     uint64                         `protobuf:"varint,2,opt,name=epoch_nr,json=epochNr,proto3" json:"epoch_nr,omitempty"`
	Memberships []*trantorpb.Membership        `protobuf:"bytes,3,rep,name=memberships,proto3" json:"memberships,omitempty"`
	Origin      *ValidateChkpOrigin            `protobuf:"bytes,4,opt,name=origin,proto3" json:"origin,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateCheckpoint) Descriptor deprecated

func (*ValidateCheckpoint) Descriptor() ([]byte, []int)

Deprecated: Use ValidateCheckpoint.ProtoReflect.Descriptor instead.

func (*ValidateCheckpoint) GetCheckpoint

func (x *ValidateCheckpoint) GetCheckpoint() *checkpointpb.StableCheckpoint

func (*ValidateCheckpoint) GetEpochNr

func (x *ValidateCheckpoint) GetEpochNr() uint64

func (*ValidateCheckpoint) GetMemberships

func (x *ValidateCheckpoint) GetMemberships() []*trantorpb.Membership

func (*ValidateCheckpoint) GetOrigin

func (x *ValidateCheckpoint) GetOrigin() *ValidateChkpOrigin

func (*ValidateCheckpoint) ProtoMessage

func (*ValidateCheckpoint) ProtoMessage()

func (*ValidateCheckpoint) ProtoReflect

func (x *ValidateCheckpoint) ProtoReflect() protoreflect.Message

func (*ValidateCheckpoint) Reset

func (x *ValidateCheckpoint) Reset()

func (*ValidateCheckpoint) String

func (x *ValidateCheckpoint) String() string

type ValidateChkpOrigin

type ValidateChkpOrigin struct {
	Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	// Types that are assignable to Type:
	//	*ValidateChkpOrigin_ContextStore
	//	*ValidateChkpOrigin_Dsl
	Type isValidateChkpOrigin_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*ValidateChkpOrigin) Descriptor deprecated

func (*ValidateChkpOrigin) Descriptor() ([]byte, []int)

Deprecated: Use ValidateChkpOrigin.ProtoReflect.Descriptor instead.

func (*ValidateChkpOrigin) GetContextStore

func (x *ValidateChkpOrigin) GetContextStore() *contextstorepb.Origin

func (*ValidateChkpOrigin) GetDsl

func (x *ValidateChkpOrigin) GetDsl() *dslpb.Origin

func (*ValidateChkpOrigin) GetModule

func (x *ValidateChkpOrigin) GetModule() string

func (*ValidateChkpOrigin) GetType

func (m *ValidateChkpOrigin) GetType() isValidateChkpOrigin_Type

func (*ValidateChkpOrigin) ProtoMessage

func (*ValidateChkpOrigin) ProtoMessage()

func (*ValidateChkpOrigin) ProtoReflect

func (x *ValidateChkpOrigin) ProtoReflect() protoreflect.Message

func (*ValidateChkpOrigin) ReflectTypeOptions

func (*ValidateChkpOrigin) ReflectTypeOptions() []reflect.Type

func (*ValidateChkpOrigin) Reset

func (x *ValidateChkpOrigin) Reset()

func (*ValidateChkpOrigin) String

func (x *ValidateChkpOrigin) String() string

type ValidateChkpOrigin_ContextStore

type ValidateChkpOrigin_ContextStore struct {
	ContextStore *contextstorepb.Origin `protobuf:"bytes,2,opt,name=context_store,json=contextStore,proto3,oneof"`
}

func (*ValidateChkpOrigin_ContextStore) Unwrap

type ValidateChkpOrigin_Dsl

type ValidateChkpOrigin_Dsl struct {
	Dsl *dslpb.Origin `protobuf:"bytes,3,opt,name=dsl,proto3,oneof"`
}

func (*ValidateChkpOrigin_Dsl) Unwrap

func (w *ValidateChkpOrigin_Dsl) Unwrap() *dslpb.Origin

type ValidateChkpOrigin_Type

type ValidateChkpOrigin_Type = isValidateChkpOrigin_Type

type ValidateChkpOrigin_TypeWrapper

type ValidateChkpOrigin_TypeWrapper[T any] interface {
	ValidateChkpOrigin_Type
	Unwrap() *T
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL