capnp

package
v0.0.0-...-53b40aa Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2018 License: AGPL-3.0, AGPL-3.0-only Imports: 6 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptedInstance

type AcceptedInstance C.Struct

func AutoNewAcceptedInstance

func AutoNewAcceptedInstance(s *C.Segment) AcceptedInstance

func NewAcceptedInstance

func NewAcceptedInstance(s *C.Segment) AcceptedInstance

func NewRootAcceptedInstance

func NewRootAcceptedInstance(s *C.Segment) AcceptedInstance

func ReadRootAcceptedInstance

func ReadRootAcceptedInstance(s *C.Segment) AcceptedInstance

func (AcceptedInstance) Ballot

func (s AcceptedInstance) Ballot() []byte

func (AcceptedInstance) MarshalCapLit

func (s AcceptedInstance) MarshalCapLit() ([]byte, error)

func (AcceptedInstance) MarshalJSON

func (s AcceptedInstance) MarshalJSON() ([]byte, error)

func (AcceptedInstance) RmId

func (s AcceptedInstance) RmId() uint32

func (AcceptedInstance) RoundNumber

func (s AcceptedInstance) RoundNumber() uint64

func (AcceptedInstance) SetBallot

func (s AcceptedInstance) SetBallot(v []byte)

func (AcceptedInstance) SetRmId

func (s AcceptedInstance) SetRmId(v uint32)

func (AcceptedInstance) SetRoundNumber

func (s AcceptedInstance) SetRoundNumber(v uint64)

func (AcceptedInstance) WriteCapLit

func (s AcceptedInstance) WriteCapLit(w io.Writer) error

func (AcceptedInstance) WriteJSON

func (s AcceptedInstance) WriteJSON(w io.Writer) error

type AcceptedInstanceId

type AcceptedInstanceId C.Struct

func AutoNewAcceptedInstanceId

func AutoNewAcceptedInstanceId(s *C.Segment) AcceptedInstanceId

func NewAcceptedInstanceId

func NewAcceptedInstanceId(s *C.Segment) AcceptedInstanceId

func NewRootAcceptedInstanceId

func NewRootAcceptedInstanceId(s *C.Segment) AcceptedInstanceId

func ReadRootAcceptedInstanceId

func ReadRootAcceptedInstanceId(s *C.Segment) AcceptedInstanceId

func (AcceptedInstanceId) MarshalCapLit

func (s AcceptedInstanceId) MarshalCapLit() ([]byte, error)

func (AcceptedInstanceId) MarshalJSON

func (s AcceptedInstanceId) MarshalJSON() ([]byte, error)

func (AcceptedInstanceId) RmId

func (s AcceptedInstanceId) RmId() uint32

func (AcceptedInstanceId) SetRmId

func (s AcceptedInstanceId) SetRmId(v uint32)

func (AcceptedInstanceId) SetVote

func (s AcceptedInstanceId) SetVote(v VoteEnum)

func (AcceptedInstanceId) Vote

func (s AcceptedInstanceId) Vote() VoteEnum

func (AcceptedInstanceId) WriteCapLit

func (s AcceptedInstanceId) WriteCapLit(w io.Writer) error

func (AcceptedInstanceId) WriteJSON

func (s AcceptedInstanceId) WriteJSON(w io.Writer) error

type AcceptedInstanceId_List

type AcceptedInstanceId_List C.PointerList

func NewAcceptedInstanceIdList

func NewAcceptedInstanceIdList(s *C.Segment, sz int) AcceptedInstanceId_List

func (AcceptedInstanceId_List) At

func (AcceptedInstanceId_List) Len

func (s AcceptedInstanceId_List) Len() int

func (AcceptedInstanceId_List) Set

func (AcceptedInstanceId_List) ToArray

type AcceptedInstance_List

type AcceptedInstance_List C.PointerList

func NewAcceptedInstanceList

func NewAcceptedInstanceList(s *C.Segment, sz int) AcceptedInstance_List

func (AcceptedInstance_List) At

func (AcceptedInstance_List) Len

func (s AcceptedInstance_List) Len() int

func (AcceptedInstance_List) Set

func (AcceptedInstance_List) ToArray

type AcceptorState

type AcceptorState C.Struct

func AutoNewAcceptorState

func AutoNewAcceptorState(s *C.Segment) AcceptorState

func NewAcceptorState

func NewAcceptorState(s *C.Segment) AcceptorState

func NewRootAcceptorState

func NewRootAcceptorState(s *C.Segment) AcceptorState

func ReadRootAcceptorState

func ReadRootAcceptorState(s *C.Segment) AcceptorState

func (AcceptorState) Instances

func (s AcceptorState) Instances() InstancesForVar_List

func (AcceptorState) MarshalCapLit

func (s AcceptorState) MarshalCapLit() ([]byte, error)

func (AcceptorState) MarshalJSON

func (s AcceptorState) MarshalJSON() ([]byte, error)

func (AcceptorState) Outcome

func (s AcceptorState) Outcome() Outcome

func (AcceptorState) SendToAll

func (s AcceptorState) SendToAll() bool

func (AcceptorState) SetInstances

func (s AcceptorState) SetInstances(v InstancesForVar_List)

func (AcceptorState) SetOutcome

func (s AcceptorState) SetOutcome(v Outcome)

func (AcceptorState) SetSendToAll

func (s AcceptorState) SetSendToAll(v bool)

func (AcceptorState) SetSubscribers

func (s AcceptorState) SetSubscribers(v C.DataList)

func (AcceptorState) Subscribers

func (s AcceptorState) Subscribers() C.DataList

func (AcceptorState) WriteCapLit

func (s AcceptorState) WriteCapLit(w io.Writer) error

func (AcceptorState) WriteJSON

func (s AcceptorState) WriteJSON(w io.Writer) error

type AcceptorState_List

type AcceptorState_List C.PointerList

func NewAcceptorStateList

func NewAcceptorStateList(s *C.Segment, sz int) AcceptorState_List

func (AcceptorState_List) At

func (AcceptorState_List) Len

func (s AcceptorState_List) Len() int

func (AcceptorState_List) Set

func (s AcceptorState_List) Set(i int, item AcceptorState)

func (AcceptorState_List) ToArray

func (s AcceptorState_List) ToArray() []AcceptorState

type Action

type Action C.Struct

func AutoNewAction

func AutoNewAction(s *C.Segment) Action

func NewAction

func NewAction(s *C.Segment) Action

func NewRootAction

func NewRootAction(s *C.Segment) Action

func ReadRootAction

func ReadRootAction(s *C.Segment) Action

func (Action) MarshalCapLit

func (s Action) MarshalCapLit() ([]byte, error)

func (Action) MarshalJSON

func (s Action) MarshalJSON() ([]byte, error)

func (Action) Meta

func (s Action) Meta() ActionMeta

func (Action) SetVarId

func (s Action) SetVarId(v []byte)

func (Action) Value

func (s Action) Value() ActionValue

func (Action) VarId

func (s Action) VarId() []byte

func (Action) WriteCapLit

func (s Action) WriteCapLit(w io.Writer) error

func (Action) WriteJSON

func (s Action) WriteJSON(w io.Writer) error

type ActionListWrapper

type ActionListWrapper C.Struct

func AutoNewActionListWrapper

func AutoNewActionListWrapper(s *C.Segment) ActionListWrapper

func NewActionListWrapper

func NewActionListWrapper(s *C.Segment) ActionListWrapper

func NewRootActionListWrapper

func NewRootActionListWrapper(s *C.Segment) ActionListWrapper

func ReadRootActionListWrapper

func ReadRootActionListWrapper(s *C.Segment) ActionListWrapper

func (ActionListWrapper) Actions

func (s ActionListWrapper) Actions() Action_List

func (ActionListWrapper) MarshalCapLit

func (s ActionListWrapper) MarshalCapLit() ([]byte, error)

func (ActionListWrapper) MarshalJSON

func (s ActionListWrapper) MarshalJSON() ([]byte, error)

func (ActionListWrapper) SetActions

func (s ActionListWrapper) SetActions(v Action_List)

func (ActionListWrapper) WriteCapLit

func (s ActionListWrapper) WriteCapLit(w io.Writer) error

func (ActionListWrapper) WriteJSON

func (s ActionListWrapper) WriteJSON(w io.Writer) error

type ActionListWrapper_List

type ActionListWrapper_List C.PointerList

func NewActionListWrapperList

func NewActionListWrapperList(s *C.Segment, sz int) ActionListWrapper_List

func (ActionListWrapper_List) At

func (ActionListWrapper_List) Len

func (s ActionListWrapper_List) Len() int

func (ActionListWrapper_List) Set

func (ActionListWrapper_List) ToArray

type ActionMeta

type ActionMeta Action

func (ActionMeta) AddSub

func (s ActionMeta) AddSub() bool

func (ActionMeta) DelSub

func (s ActionMeta) DelSub() []byte

func (ActionMeta) SetAddSub

func (s ActionMeta) SetAddSub(v bool)

func (ActionMeta) SetDelSub

func (s ActionMeta) SetDelSub(v []byte)

type ActionValue

type ActionValue Action

func (ActionValue) Create

func (s ActionValue) Create() ActionValueCreate

func (ActionValue) Existing

func (s ActionValue) Existing() ActionValueExisting

func (ActionValue) SetCreate

func (s ActionValue) SetCreate()

func (ActionValue) SetExisting

func (s ActionValue) SetExisting()

func (ActionValue) SetMissing

func (s ActionValue) SetMissing()

func (ActionValue) Which

func (s ActionValue) Which() ActionValue_Which

type ActionValueCreate

type ActionValueCreate Action

func (ActionValueCreate) Positions

func (s ActionValueCreate) Positions() C.UInt8List

func (ActionValueCreate) References

func (s ActionValueCreate) References() VarIdPos_List

func (ActionValueCreate) SetPositions

func (s ActionValueCreate) SetPositions(v C.UInt8List)

func (ActionValueCreate) SetReferences

func (s ActionValueCreate) SetReferences(v VarIdPos_List)

func (ActionValueCreate) SetValue

func (s ActionValueCreate) SetValue(v []byte)

func (ActionValueCreate) Value

func (s ActionValueCreate) Value() []byte

type ActionValueExisting

type ActionValueExisting Action

func (ActionValueExisting) Modify

func (ActionValueExisting) Read

func (s ActionValueExisting) Read() []byte

func (ActionValueExisting) SetRead

func (s ActionValueExisting) SetRead(v []byte)

type ActionValueExistingModify

type ActionValueExistingModify Action

func (ActionValueExistingModify) SetNot

func (s ActionValueExistingModify) SetNot()

func (ActionValueExistingModify) SetRoll

func (s ActionValueExistingModify) SetRoll()

func (ActionValueExistingModify) SetWrite

func (s ActionValueExistingModify) SetWrite()

func (ActionValueExistingModify) Which

func (ActionValueExistingModify) Write

type ActionValueExistingModifyWrite

type ActionValueExistingModifyWrite Action

func (ActionValueExistingModifyWrite) References

func (ActionValueExistingModifyWrite) SetReferences

func (s ActionValueExistingModifyWrite) SetReferences(v VarIdPos_List)

func (ActionValueExistingModifyWrite) SetValue

func (s ActionValueExistingModifyWrite) SetValue(v []byte)

func (ActionValueExistingModifyWrite) Value

type ActionValueExistingModify_Which

type ActionValueExistingModify_Which uint16
const (
	ACTIONVALUEEXISTINGMODIFY_NOT   ActionValueExistingModify_Which = 0
	ACTIONVALUEEXISTINGMODIFY_ROLL  ActionValueExistingModify_Which = 1
	ACTIONVALUEEXISTINGMODIFY_WRITE ActionValueExistingModify_Which = 2
)

type ActionValue_Which

type ActionValue_Which uint16
const (
	ACTIONVALUE_MISSING  ActionValue_Which = 0
	ACTIONVALUE_CREATE   ActionValue_Which = 1
	ACTIONVALUE_EXISTING ActionValue_Which = 2
)

type Action_List

type Action_List C.PointerList

func NewActionList

func NewActionList(s *C.Segment, sz int) Action_List

func (Action_List) At

func (s Action_List) At(i int) Action

func (Action_List) Len

func (s Action_List) Len() int

func (Action_List) Set

func (s Action_List) Set(i int, item Action)

func (Action_List) ToArray

func (s Action_List) ToArray() []Action

type Allocation

type Allocation C.Struct

func AutoNewAllocation

func AutoNewAllocation(s *C.Segment) Allocation

func NewAllocation

func NewAllocation(s *C.Segment) Allocation

func NewRootAllocation

func NewRootAllocation(s *C.Segment) Allocation

func ReadRootAllocation

func ReadRootAllocation(s *C.Segment) Allocation

func (Allocation) ActionIndices

func (s Allocation) ActionIndices() C.UInt16List

func (Allocation) Active

func (s Allocation) Active() uint32

func (Allocation) MarshalCapLit

func (s Allocation) MarshalCapLit() ([]byte, error)

func (Allocation) MarshalJSON

func (s Allocation) MarshalJSON() ([]byte, error)

func (Allocation) RmId

func (s Allocation) RmId() uint32

func (Allocation) SetActionIndices

func (s Allocation) SetActionIndices(v C.UInt16List)

func (Allocation) SetActive

func (s Allocation) SetActive(v uint32)

func (Allocation) SetRmId

func (s Allocation) SetRmId(v uint32)

func (Allocation) WriteCapLit

func (s Allocation) WriteCapLit(w io.Writer) error

func (Allocation) WriteJSON

func (s Allocation) WriteJSON(w io.Writer) error

type Allocation_List

type Allocation_List C.PointerList

func NewAllocationList

func NewAllocationList(s *C.Segment, sz int) Allocation_List

func (Allocation_List) At

func (s Allocation_List) At(i int) Allocation

func (Allocation_List) Len

func (s Allocation_List) Len() int

func (Allocation_List) Set

func (s Allocation_List) Set(i int, item Allocation)

func (Allocation_List) ToArray

func (s Allocation_List) ToArray() []Allocation

type Ballot

type Ballot C.Struct

func AutoNewBallot

func AutoNewBallot(s *C.Segment) Ballot

func NewBallot

func NewBallot(s *C.Segment) Ballot

func NewRootBallot

func NewRootBallot(s *C.Segment) Ballot

func ReadRootBallot

func ReadRootBallot(s *C.Segment) Ballot

func (Ballot) Clock

func (s Ballot) Clock() []byte

func (Ballot) MarshalCapLit

func (s Ballot) MarshalCapLit() ([]byte, error)

func (Ballot) MarshalJSON

func (s Ballot) MarshalJSON() ([]byte, error)

func (Ballot) SetClock

func (s Ballot) SetClock(v []byte)

func (Ballot) SetSubscribers

func (s Ballot) SetSubscribers(v C.DataList)

func (Ballot) SetVarId

func (s Ballot) SetVarId(v []byte)

func (Ballot) SetVote

func (s Ballot) SetVote(v Vote)

func (Ballot) Subscribers

func (s Ballot) Subscribers() C.DataList

func (Ballot) VarId

func (s Ballot) VarId() []byte

func (Ballot) Vote

func (s Ballot) Vote() Vote

func (Ballot) WriteCapLit

func (s Ballot) WriteCapLit(w io.Writer) error

func (Ballot) WriteJSON

func (s Ballot) WriteJSON(w io.Writer) error

type Ballot_List

type Ballot_List C.PointerList

func NewBallotList

func NewBallotList(s *C.Segment, sz int) Ballot_List

func (Ballot_List) At

func (s Ballot_List) At(i int) Ballot

func (Ballot_List) Len

func (s Ballot_List) Len() int

func (Ballot_List) Set

func (s Ballot_List) Set(i int, item Ballot)

func (Ballot_List) ToArray

func (s Ballot_List) ToArray() []Ballot

type Condition

type Condition C.Struct

func AutoNewCondition

func AutoNewCondition(s *C.Segment) Condition

func NewCondition

func NewCondition(s *C.Segment) Condition

func NewRootCondition

func NewRootCondition(s *C.Segment) Condition

func ReadRootCondition

func ReadRootCondition(s *C.Segment) Condition

func (Condition) And

func (s Condition) And() Conjunction

func (Condition) Generator

func (s Condition) Generator() Generator

func (Condition) MarshalCapLit

func (s Condition) MarshalCapLit() ([]byte, error)

func (Condition) MarshalJSON

func (s Condition) MarshalJSON() ([]byte, error)

func (Condition) Or

func (s Condition) Or() Disjunction

func (Condition) SetAnd

func (s Condition) SetAnd(v Conjunction)

func (Condition) SetGenerator

func (s Condition) SetGenerator(v Generator)

func (Condition) SetOr

func (s Condition) SetOr(v Disjunction)

func (Condition) Which

func (s Condition) Which() Condition_Which

func (Condition) WriteCapLit

func (s Condition) WriteCapLit(w io.Writer) error

func (Condition) WriteJSON

func (s Condition) WriteJSON(w io.Writer) error

type ConditionPair

type ConditionPair C.Struct

func AutoNewConditionPair

func AutoNewConditionPair(s *C.Segment) ConditionPair

func NewConditionPair

func NewConditionPair(s *C.Segment) ConditionPair

func NewRootConditionPair

func NewRootConditionPair(s *C.Segment) ConditionPair

func ReadRootConditionPair

func ReadRootConditionPair(s *C.Segment) ConditionPair

func (ConditionPair) Condition

func (s ConditionPair) Condition() Condition

func (ConditionPair) MarshalCapLit

func (s ConditionPair) MarshalCapLit() ([]byte, error)

func (ConditionPair) MarshalJSON

func (s ConditionPair) MarshalJSON() ([]byte, error)

func (ConditionPair) RmId

func (s ConditionPair) RmId() uint32

func (ConditionPair) SetCondition

func (s ConditionPair) SetCondition(v Condition)

func (ConditionPair) SetRmId

func (s ConditionPair) SetRmId(v uint32)

func (ConditionPair) SetSuppliers

func (s ConditionPair) SetSuppliers(v C.UInt32List)

func (ConditionPair) Suppliers

func (s ConditionPair) Suppliers() C.UInt32List

func (ConditionPair) WriteCapLit

func (s ConditionPair) WriteCapLit(w io.Writer) error

func (ConditionPair) WriteJSON

func (s ConditionPair) WriteJSON(w io.Writer) error

type ConditionPair_List

type ConditionPair_List C.PointerList

func NewConditionPairList

func NewConditionPairList(s *C.Segment, sz int) ConditionPair_List

func (ConditionPair_List) At

func (ConditionPair_List) Len

func (s ConditionPair_List) Len() int

func (ConditionPair_List) Set

func (s ConditionPair_List) Set(i int, item ConditionPair)

func (ConditionPair_List) ToArray

func (s ConditionPair_List) ToArray() []ConditionPair

type Condition_List

type Condition_List C.PointerList

func NewConditionList

func NewConditionList(s *C.Segment, sz int) Condition_List

func (Condition_List) At

func (s Condition_List) At(i int) Condition

func (Condition_List) Len

func (s Condition_List) Len() int

func (Condition_List) Set

func (s Condition_List) Set(i int, item Condition)

func (Condition_List) ToArray

func (s Condition_List) ToArray() []Condition

type Condition_Which

type Condition_Which uint16
const (
	CONDITION_AND       Condition_Which = 0
	CONDITION_OR        Condition_Which = 1
	CONDITION_GENERATOR Condition_Which = 2
)

type Configuration

type Configuration C.Struct

func AutoNewConfiguration

func AutoNewConfiguration(s *C.Segment) Configuration

func NewConfiguration

func NewConfiguration(s *C.Segment) Configuration

func NewRootConfiguration

func NewRootConfiguration(s *C.Segment) Configuration

func ReadRootConfiguration

func ReadRootConfiguration(s *C.Segment) Configuration

func (Configuration) ClusterId

func (s Configuration) ClusterId() string

func (Configuration) ClusterIdBytes

func (s Configuration) ClusterIdBytes() []byte

func (Configuration) ClusterUUId

func (s Configuration) ClusterUUId() uint64

func (Configuration) F

func (s Configuration) F() uint8

func (Configuration) Fingerprints

func (s Configuration) Fingerprints() Fingerprint_List

func (Configuration) Hosts

func (s Configuration) Hosts() C.TextList

func (Configuration) MarshalCapLit

func (s Configuration) MarshalCapLit() ([]byte, error)

func (Configuration) MarshalJSON

func (s Configuration) MarshalJSON() ([]byte, error)

func (Configuration) MaxRMCount

func (s Configuration) MaxRMCount() uint16

func (Configuration) NoSync

func (s Configuration) NoSync() bool

func (Configuration) Rms

func (s Configuration) Rms() C.UInt32List

func (Configuration) RmsRemoved

func (s Configuration) RmsRemoved() C.UInt32List

func (Configuration) SetClusterId

func (s Configuration) SetClusterId(v string)

func (Configuration) SetClusterUUId

func (s Configuration) SetClusterUUId(v uint64)

func (Configuration) SetF

func (s Configuration) SetF(v uint8)

func (Configuration) SetFingerprints

func (s Configuration) SetFingerprints(v Fingerprint_List)

func (Configuration) SetHosts

func (s Configuration) SetHosts(v C.TextList)

func (Configuration) SetMaxRMCount

func (s Configuration) SetMaxRMCount(v uint16)

func (Configuration) SetNoSync

func (s Configuration) SetNoSync(v bool)

func (Configuration) SetRms

func (s Configuration) SetRms(v C.UInt32List)

func (Configuration) SetRmsRemoved

func (s Configuration) SetRmsRemoved(v C.UInt32List)

func (Configuration) SetStable

func (s Configuration) SetStable()

func (Configuration) SetTransitioningTo

func (s Configuration) SetTransitioningTo()

func (Configuration) SetVersion

func (s Configuration) SetVersion(v uint32)

func (Configuration) TransitioningTo

func (s Configuration) TransitioningTo() ConfigurationTransitioningTo

func (Configuration) Version

func (s Configuration) Version() uint32

func (Configuration) Which

func (Configuration) WriteCapLit

func (s Configuration) WriteCapLit(w io.Writer) error

func (Configuration) WriteJSON

func (s Configuration) WriteJSON(w io.Writer) error

type ConfigurationTransitioningTo

type ConfigurationTransitioningTo Configuration

func (ConfigurationTransitioningTo) AllHosts

func (ConfigurationTransitioningTo) Configuration

func (s ConfigurationTransitioningTo) Configuration() Configuration

func (ConfigurationTransitioningTo) InstalledOnNew

func (s ConfigurationTransitioningTo) InstalledOnNew() bool

func (ConfigurationTransitioningTo) LostRMIds

func (ConfigurationTransitioningTo) NewRMIds

func (ConfigurationTransitioningTo) Pending

func (ConfigurationTransitioningTo) QuietRMIds

func (s ConfigurationTransitioningTo) QuietRMIds() C.UInt32List

func (ConfigurationTransitioningTo) RootIndices

func (s ConfigurationTransitioningTo) RootIndices() C.UInt32List

func (ConfigurationTransitioningTo) SetAllHosts

func (s ConfigurationTransitioningTo) SetAllHosts(v C.TextList)

func (ConfigurationTransitioningTo) SetConfiguration

func (s ConfigurationTransitioningTo) SetConfiguration(v Configuration)

func (ConfigurationTransitioningTo) SetInstalledOnNew

func (s ConfigurationTransitioningTo) SetInstalledOnNew(v bool)

func (ConfigurationTransitioningTo) SetLostRMIds

func (s ConfigurationTransitioningTo) SetLostRMIds(v C.UInt32List)

func (ConfigurationTransitioningTo) SetNewRMIds

func (s ConfigurationTransitioningTo) SetNewRMIds(v C.UInt32List)

func (ConfigurationTransitioningTo) SetPending

func (ConfigurationTransitioningTo) SetQuietRMIds

func (s ConfigurationTransitioningTo) SetQuietRMIds(v C.UInt32List)

func (ConfigurationTransitioningTo) SetRootIndices

func (s ConfigurationTransitioningTo) SetRootIndices(v C.UInt32List)

func (ConfigurationTransitioningTo) SetSurvivingRMIds

func (s ConfigurationTransitioningTo) SetSurvivingRMIds(v C.UInt32List)

func (ConfigurationTransitioningTo) SurvivingRMIds

func (s ConfigurationTransitioningTo) SurvivingRMIds() C.UInt32List

type Configuration_List

type Configuration_List C.PointerList

func NewConfigurationList

func NewConfigurationList(s *C.Segment, sz int) Configuration_List

func (Configuration_List) At

func (Configuration_List) Len

func (s Configuration_List) Len() int

func (Configuration_List) Set

func (s Configuration_List) Set(i int, item Configuration)

func (Configuration_List) ToArray

func (s Configuration_List) ToArray() []Configuration

type Configuration_Which

type Configuration_Which uint16
const (
	CONFIGURATION_TRANSITIONINGTO Configuration_Which = 0
	CONFIGURATION_STABLE          Configuration_Which = 1
)

type Conjunction

type Conjunction C.Struct

func AutoNewConjunction

func AutoNewConjunction(s *C.Segment) Conjunction

func NewConjunction

func NewConjunction(s *C.Segment) Conjunction

func NewRootConjunction

func NewRootConjunction(s *C.Segment) Conjunction

func ReadRootConjunction

func ReadRootConjunction(s *C.Segment) Conjunction

func (Conjunction) Left

func (s Conjunction) Left() Condition

func (Conjunction) MarshalCapLit

func (s Conjunction) MarshalCapLit() ([]byte, error)

func (Conjunction) MarshalJSON

func (s Conjunction) MarshalJSON() ([]byte, error)

func (Conjunction) Right

func (s Conjunction) Right() Condition

func (Conjunction) SetLeft

func (s Conjunction) SetLeft(v Condition)

func (Conjunction) SetRight

func (s Conjunction) SetRight(v Condition)

func (Conjunction) WriteCapLit

func (s Conjunction) WriteCapLit(w io.Writer) error

func (Conjunction) WriteJSON

func (s Conjunction) WriteJSON(w io.Writer) error

type Conjunction_List

type Conjunction_List C.PointerList

func NewConjunctionList

func NewConjunctionList(s *C.Segment, sz int) Conjunction_List

func (Conjunction_List) At

func (Conjunction_List) Len

func (s Conjunction_List) Len() int

func (Conjunction_List) Set

func (s Conjunction_List) Set(i int, item Conjunction)

func (Conjunction_List) ToArray

func (s Conjunction_List) ToArray() []Conjunction

type Disjunction

type Disjunction C.Struct

func AutoNewDisjunction

func AutoNewDisjunction(s *C.Segment) Disjunction

func NewDisjunction

func NewDisjunction(s *C.Segment) Disjunction

func NewRootDisjunction

func NewRootDisjunction(s *C.Segment) Disjunction

func ReadRootDisjunction

func ReadRootDisjunction(s *C.Segment) Disjunction

func (Disjunction) Left

func (s Disjunction) Left() Condition

func (Disjunction) MarshalCapLit

func (s Disjunction) MarshalCapLit() ([]byte, error)

func (Disjunction) MarshalJSON

func (s Disjunction) MarshalJSON() ([]byte, error)

func (Disjunction) Right

func (s Disjunction) Right() Condition

func (Disjunction) SetLeft

func (s Disjunction) SetLeft(v Condition)

func (Disjunction) SetRight

func (s Disjunction) SetRight(v Condition)

func (Disjunction) WriteCapLit

func (s Disjunction) WriteCapLit(w io.Writer) error

func (Disjunction) WriteJSON

func (s Disjunction) WriteJSON(w io.Writer) error

type Disjunction_List

type Disjunction_List C.PointerList

func NewDisjunctionList

func NewDisjunctionList(s *C.Segment, sz int) Disjunction_List

func (Disjunction_List) At

func (Disjunction_List) Len

func (s Disjunction_List) Len() int

func (Disjunction_List) Set

func (s Disjunction_List) Set(i int, item Disjunction)

func (Disjunction_List) ToArray

func (s Disjunction_List) ToArray() []Disjunction

type Fingerprint

type Fingerprint C.Struct

func AutoNewFingerprint

func AutoNewFingerprint(s *C.Segment) Fingerprint

func NewFingerprint

func NewFingerprint(s *C.Segment) Fingerprint

func NewRootFingerprint

func NewRootFingerprint(s *C.Segment) Fingerprint

func ReadRootFingerprint

func ReadRootFingerprint(s *C.Segment) Fingerprint

func (Fingerprint) MarshalCapLit

func (s Fingerprint) MarshalCapLit() ([]byte, error)

func (Fingerprint) MarshalJSON

func (s Fingerprint) MarshalJSON() ([]byte, error)

func (Fingerprint) Roots

func (s Fingerprint) Roots() Root_List

func (Fingerprint) SetRoots

func (s Fingerprint) SetRoots(v Root_List)

func (Fingerprint) SetSha256

func (s Fingerprint) SetSha256(v []byte)

func (Fingerprint) Sha256

func (s Fingerprint) Sha256() []byte

func (Fingerprint) WriteCapLit

func (s Fingerprint) WriteCapLit(w io.Writer) error

func (Fingerprint) WriteJSON

func (s Fingerprint) WriteJSON(w io.Writer) error

type Fingerprint_List

type Fingerprint_List C.PointerList

func NewFingerprintList

func NewFingerprintList(s *C.Segment, sz int) Fingerprint_List

func (Fingerprint_List) At

func (Fingerprint_List) Len

func (s Fingerprint_List) Len() int

func (Fingerprint_List) Set

func (s Fingerprint_List) Set(i int, item Fingerprint)

func (Fingerprint_List) ToArray

func (s Fingerprint_List) ToArray() []Fingerprint

type Generator

type Generator C.Struct

func AutoNewGenerator

func AutoNewGenerator(s *C.Segment) Generator

func NewGenerator

func NewGenerator(s *C.Segment) Generator

func NewRootGenerator

func NewRootGenerator(s *C.Segment) Generator

func ReadRootGenerator

func ReadRootGenerator(s *C.Segment) Generator

func (Generator) Includes

func (s Generator) Includes() bool

func (Generator) MarshalCapLit

func (s Generator) MarshalCapLit() ([]byte, error)

func (Generator) MarshalJSON

func (s Generator) MarshalJSON() ([]byte, error)

func (Generator) RmId

func (s Generator) RmId() uint32

func (Generator) SetIncludes

func (s Generator) SetIncludes(v bool)

func (Generator) SetRmId

func (s Generator) SetRmId(v uint32)

func (Generator) SetUseNext

func (s Generator) SetUseNext(v bool)

func (Generator) UseNext

func (s Generator) UseNext() bool

func (Generator) WriteCapLit

func (s Generator) WriteCapLit(w io.Writer) error

func (Generator) WriteJSON

func (s Generator) WriteJSON(w io.Writer) error

type Generator_List

type Generator_List C.PointerList

func NewGeneratorList

func NewGeneratorList(s *C.Segment, sz int) Generator_List

func (Generator_List) At

func (s Generator_List) At(i int) Generator

func (Generator_List) Len

func (s Generator_List) Len() int

func (Generator_List) Set

func (s Generator_List) Set(i int, item Generator)

func (Generator_List) ToArray

func (s Generator_List) ToArray() []Generator

type HelloServerFromServer

type HelloServerFromServer C.Struct

func AutoNewHelloServerFromServer

func AutoNewHelloServerFromServer(s *C.Segment) HelloServerFromServer

func NewHelloServerFromServer

func NewHelloServerFromServer(s *C.Segment) HelloServerFromServer

func NewRootHelloServerFromServer

func NewRootHelloServerFromServer(s *C.Segment) HelloServerFromServer

func ReadRootHelloServerFromServer

func ReadRootHelloServerFromServer(s *C.Segment) HelloServerFromServer

func (HelloServerFromServer) BootCount

func (s HelloServerFromServer) BootCount() uint32

func (HelloServerFromServer) ClusterId

func (s HelloServerFromServer) ClusterId() string

func (HelloServerFromServer) ClusterIdBytes

func (s HelloServerFromServer) ClusterIdBytes() []byte

func (HelloServerFromServer) ClusterUUId

func (s HelloServerFromServer) ClusterUUId() uint64

func (HelloServerFromServer) LocalHost

func (s HelloServerFromServer) LocalHost() string

func (HelloServerFromServer) LocalHostBytes

func (s HelloServerFromServer) LocalHostBytes() []byte

func (HelloServerFromServer) MarshalCapLit

func (s HelloServerFromServer) MarshalCapLit() ([]byte, error)

func (HelloServerFromServer) MarshalJSON

func (s HelloServerFromServer) MarshalJSON() ([]byte, error)

func (HelloServerFromServer) RmId

func (s HelloServerFromServer) RmId() uint32

func (HelloServerFromServer) SetBootCount

func (s HelloServerFromServer) SetBootCount(v uint32)

func (HelloServerFromServer) SetClusterId

func (s HelloServerFromServer) SetClusterId(v string)

func (HelloServerFromServer) SetClusterUUId

func (s HelloServerFromServer) SetClusterUUId(v uint64)

func (HelloServerFromServer) SetLocalHost

func (s HelloServerFromServer) SetLocalHost(v string)

func (HelloServerFromServer) SetRmId

func (s HelloServerFromServer) SetRmId(v uint32)

func (HelloServerFromServer) SetTopologyClock

func (s HelloServerFromServer) SetTopologyClock(v uint64)

func (HelloServerFromServer) SetTopologyTxnId

func (s HelloServerFromServer) SetTopologyTxnId(v []byte)

func (HelloServerFromServer) TopologyClock

func (s HelloServerFromServer) TopologyClock() uint64

func (HelloServerFromServer) TopologyTxnId

func (s HelloServerFromServer) TopologyTxnId() []byte

func (HelloServerFromServer) WriteCapLit

func (s HelloServerFromServer) WriteCapLit(w io.Writer) error

func (HelloServerFromServer) WriteJSON

func (s HelloServerFromServer) WriteJSON(w io.Writer) error

type HelloServerFromServer_List

type HelloServerFromServer_List C.PointerList

func NewHelloServerFromServerList

func NewHelloServerFromServerList(s *C.Segment, sz int) HelloServerFromServer_List

func (HelloServerFromServer_List) At

func (HelloServerFromServer_List) Len

func (HelloServerFromServer_List) Set

func (HelloServerFromServer_List) ToArray

type InstancesForVar

type InstancesForVar C.Struct

func AutoNewInstancesForVar

func AutoNewInstancesForVar(s *C.Segment) InstancesForVar

func NewInstancesForVar

func NewInstancesForVar(s *C.Segment) InstancesForVar

func NewRootInstancesForVar

func NewRootInstancesForVar(s *C.Segment) InstancesForVar

func ReadRootInstancesForVar

func ReadRootInstancesForVar(s *C.Segment) InstancesForVar

func (InstancesForVar) Instances

func (s InstancesForVar) Instances() AcceptedInstance_List

func (InstancesForVar) MarshalCapLit

func (s InstancesForVar) MarshalCapLit() ([]byte, error)

func (InstancesForVar) MarshalJSON

func (s InstancesForVar) MarshalJSON() ([]byte, error)

func (InstancesForVar) Result

func (s InstancesForVar) Result() []byte

func (InstancesForVar) SetInstances

func (s InstancesForVar) SetInstances(v AcceptedInstance_List)

func (InstancesForVar) SetResult

func (s InstancesForVar) SetResult(v []byte)

func (InstancesForVar) SetVarId

func (s InstancesForVar) SetVarId(v []byte)

func (InstancesForVar) VarId

func (s InstancesForVar) VarId() []byte

func (InstancesForVar) WriteCapLit

func (s InstancesForVar) WriteCapLit(w io.Writer) error

func (InstancesForVar) WriteJSON

func (s InstancesForVar) WriteJSON(w io.Writer) error

type InstancesForVar_List

type InstancesForVar_List C.PointerList

func NewInstancesForVarList

func NewInstancesForVarList(s *C.Segment, sz int) InstancesForVar_List

func (InstancesForVar_List) At

func (InstancesForVar_List) Len

func (s InstancesForVar_List) Len() int

func (InstancesForVar_List) Set

func (s InstancesForVar_List) Set(i int, item InstancesForVar)

func (InstancesForVar_List) ToArray

func (s InstancesForVar_List) ToArray() []InstancesForVar

type Message

type Message C.Struct

func AutoNewMessage

func AutoNewMessage(s *C.Segment) Message

func NewMessage

func NewMessage(s *C.Segment) Message

func NewRootMessage

func NewRootMessage(s *C.Segment) Message

func ReadRootMessage

func ReadRootMessage(s *C.Segment) Message

func (Message) ConnectionError

func (s Message) ConnectionError() string

func (Message) ConnectionErrorBytes

func (s Message) ConnectionErrorBytes() []byte

func (Message) MarshalCapLit

func (s Message) MarshalCapLit() ([]byte, error)

func (Message) MarshalJSON

func (s Message) MarshalJSON() ([]byte, error)

func (Message) Migration

func (s Message) Migration() Migration

func (Message) MigrationComplete

func (s Message) MigrationComplete() MigrationComplete

func (Message) OneATxnVotes

func (s Message) OneATxnVotes() OneATxnVotes

func (Message) OneBTxnVotes

func (s Message) OneBTxnVotes() OneBTxnVotes

func (Message) SetConnectionError

func (s Message) SetConnectionError(v string)

func (Message) SetFlushed

func (s Message) SetFlushed()

func (Message) SetHeartbeat

func (s Message) SetHeartbeat()

func (Message) SetMigration

func (s Message) SetMigration(v Migration)

func (Message) SetMigrationComplete

func (s Message) SetMigrationComplete(v MigrationComplete)

func (Message) SetOneATxnVotes

func (s Message) SetOneATxnVotes(v OneATxnVotes)

func (Message) SetOneBTxnVotes

func (s Message) SetOneBTxnVotes(v OneBTxnVotes)

func (Message) SetSubmissionAbort

func (s Message) SetSubmissionAbort(v TxnSubmissionAbort)

func (Message) SetSubmissionComplete

func (s Message) SetSubmissionComplete(v TxnSubmissionComplete)

func (Message) SetSubmissionOutcome

func (s Message) SetSubmissionOutcome(v TxnSubmissionOutcome)

func (Message) SetTopologyChangeRequest

func (s Message) SetTopologyChangeRequest(v Configuration)

func (Message) SetTwoATxnVotes

func (s Message) SetTwoATxnVotes(v TwoATxnVotes)

func (Message) SetTwoBTxnVotes

func (s Message) SetTwoBTxnVotes(v TwoBTxnVotes)

func (Message) SetTxnGloballyComplete

func (s Message) SetTxnGloballyComplete(v TxnGloballyComplete)

func (Message) SetTxnLocallyComplete

func (s Message) SetTxnLocallyComplete(v TxnLocallyComplete)

func (Message) SetTxnSubmission

func (s Message) SetTxnSubmission(v []byte)

func (Message) SubmissionAbort

func (s Message) SubmissionAbort() TxnSubmissionAbort

func (Message) SubmissionComplete

func (s Message) SubmissionComplete() TxnSubmissionComplete

func (Message) SubmissionOutcome

func (s Message) SubmissionOutcome() TxnSubmissionOutcome

func (Message) TopologyChangeRequest

func (s Message) TopologyChangeRequest() Configuration

func (Message) TwoATxnVotes

func (s Message) TwoATxnVotes() TwoATxnVotes

func (Message) TwoBTxnVotes

func (s Message) TwoBTxnVotes() TwoBTxnVotes

func (Message) TxnGloballyComplete

func (s Message) TxnGloballyComplete() TxnGloballyComplete

func (Message) TxnLocallyComplete

func (s Message) TxnLocallyComplete() TxnLocallyComplete

func (Message) TxnSubmission

func (s Message) TxnSubmission() []byte

func (Message) Which

func (s Message) Which() Message_Which

func (Message) WriteCapLit

func (s Message) WriteCapLit(w io.Writer) error

func (Message) WriteJSON

func (s Message) WriteJSON(w io.Writer) error

type Message_List

type Message_List C.PointerList

func NewMessageList

func NewMessageList(s *C.Segment, sz int) Message_List

func (Message_List) At

func (s Message_List) At(i int) Message

func (Message_List) Len

func (s Message_List) Len() int

func (Message_List) Set

func (s Message_List) Set(i int, item Message)

func (Message_List) ToArray

func (s Message_List) ToArray() []Message

type Message_Which

type Message_Which uint16
const (
	MESSAGE_HEARTBEAT             Message_Which = 0
	MESSAGE_FLUSHED               Message_Which = 1
	MESSAGE_CONNECTIONERROR       Message_Which = 2
	MESSAGE_TXNSUBMISSION         Message_Which = 3
	MESSAGE_SUBMISSIONOUTCOME     Message_Which = 4
	MESSAGE_SUBMISSIONCOMPLETE    Message_Which = 5
	MESSAGE_SUBMISSIONABORT       Message_Which = 6
	MESSAGE_ONEATXNVOTES          Message_Which = 7
	MESSAGE_ONEBTXNVOTES          Message_Which = 8
	MESSAGE_TWOATXNVOTES          Message_Which = 9
	MESSAGE_TWOBTXNVOTES          Message_Which = 10
	MESSAGE_TXNLOCALLYCOMPLETE    Message_Which = 11
	MESSAGE_TXNGLOBALLYCOMPLETE   Message_Which = 12
	MESSAGE_TOPOLOGYCHANGEREQUEST Message_Which = 13
	MESSAGE_MIGRATION             Message_Which = 14
	MESSAGE_MIGRATIONCOMPLETE     Message_Which = 15
)

type Migration

type Migration C.Struct

func AutoNewMigration

func AutoNewMigration(s *C.Segment) Migration

func NewMigration

func NewMigration(s *C.Segment) Migration

func NewRootMigration

func NewRootMigration(s *C.Segment) Migration

func ReadRootMigration

func ReadRootMigration(s *C.Segment) Migration

func (Migration) Elems

func (s Migration) Elems() MigrationElement_List

func (Migration) MarshalCapLit

func (s Migration) MarshalCapLit() ([]byte, error)

func (Migration) MarshalJSON

func (s Migration) MarshalJSON() ([]byte, error)

func (Migration) SetElems

func (s Migration) SetElems(v MigrationElement_List)

func (Migration) SetVersion

func (s Migration) SetVersion(v uint32)

func (Migration) Version

func (s Migration) Version() uint32

func (Migration) WriteCapLit

func (s Migration) WriteCapLit(w io.Writer) error

func (Migration) WriteJSON

func (s Migration) WriteJSON(w io.Writer) error

type MigrationComplete

type MigrationComplete C.Struct

func AutoNewMigrationComplete

func AutoNewMigrationComplete(s *C.Segment) MigrationComplete

func NewMigrationComplete

func NewMigrationComplete(s *C.Segment) MigrationComplete

func NewRootMigrationComplete

func NewRootMigrationComplete(s *C.Segment) MigrationComplete

func ReadRootMigrationComplete

func ReadRootMigrationComplete(s *C.Segment) MigrationComplete

func (MigrationComplete) MarshalCapLit

func (s MigrationComplete) MarshalCapLit() ([]byte, error)

func (MigrationComplete) MarshalJSON

func (s MigrationComplete) MarshalJSON() ([]byte, error)

func (MigrationComplete) SetVersion

func (s MigrationComplete) SetVersion(v uint32)

func (MigrationComplete) Version

func (s MigrationComplete) Version() uint32

func (MigrationComplete) WriteCapLit

func (s MigrationComplete) WriteCapLit(w io.Writer) error

func (MigrationComplete) WriteJSON

func (s MigrationComplete) WriteJSON(w io.Writer) error

type MigrationComplete_List

type MigrationComplete_List C.PointerList

func NewMigrationCompleteList

func NewMigrationCompleteList(s *C.Segment, sz int) MigrationComplete_List

func (MigrationComplete_List) At

func (MigrationComplete_List) Len

func (s MigrationComplete_List) Len() int

func (MigrationComplete_List) Set

func (MigrationComplete_List) ToArray

type MigrationElement

type MigrationElement C.Struct

func AutoNewMigrationElement

func AutoNewMigrationElement(s *C.Segment) MigrationElement

func NewMigrationElement

func NewMigrationElement(s *C.Segment) MigrationElement

func NewRootMigrationElement

func NewRootMigrationElement(s *C.Segment) MigrationElement

func ReadRootMigrationElement

func ReadRootMigrationElement(s *C.Segment) MigrationElement

func (MigrationElement) MarshalCapLit

func (s MigrationElement) MarshalCapLit() ([]byte, error)

func (MigrationElement) MarshalJSON

func (s MigrationElement) MarshalJSON() ([]byte, error)

func (MigrationElement) SetTxn

func (s MigrationElement) SetTxn(v []byte)

func (MigrationElement) SetVars

func (s MigrationElement) SetVars(v Var_List)

func (MigrationElement) Txn

func (s MigrationElement) Txn() []byte

func (MigrationElement) Vars

func (s MigrationElement) Vars() Var_List

func (MigrationElement) WriteCapLit

func (s MigrationElement) WriteCapLit(w io.Writer) error

func (MigrationElement) WriteJSON

func (s MigrationElement) WriteJSON(w io.Writer) error

type MigrationElement_List

type MigrationElement_List C.PointerList

func NewMigrationElementList

func NewMigrationElementList(s *C.Segment, sz int) MigrationElement_List

func (MigrationElement_List) At

func (MigrationElement_List) Len

func (s MigrationElement_List) Len() int

func (MigrationElement_List) Set

func (MigrationElement_List) ToArray

type Migration_List

type Migration_List C.PointerList

func NewMigrationList

func NewMigrationList(s *C.Segment, sz int) Migration_List

func (Migration_List) At

func (s Migration_List) At(i int) Migration

func (Migration_List) Len

func (s Migration_List) Len() int

func (Migration_List) Set

func (s Migration_List) Set(i int, item Migration)

func (Migration_List) ToArray

func (s Migration_List) ToArray() []Migration

type OneATxnVotes

type OneATxnVotes C.Struct

func AutoNewOneATxnVotes

func AutoNewOneATxnVotes(s *C.Segment) OneATxnVotes

func NewOneATxnVotes

func NewOneATxnVotes(s *C.Segment) OneATxnVotes

func NewRootOneATxnVotes

func NewRootOneATxnVotes(s *C.Segment) OneATxnVotes

func ReadRootOneATxnVotes

func ReadRootOneATxnVotes(s *C.Segment) OneATxnVotes

func (OneATxnVotes) MarshalCapLit

func (s OneATxnVotes) MarshalCapLit() ([]byte, error)

func (OneATxnVotes) MarshalJSON

func (s OneATxnVotes) MarshalJSON() ([]byte, error)

func (OneATxnVotes) Proposals

func (s OneATxnVotes) Proposals() TxnVoteProposal_List

func (OneATxnVotes) RmId

func (s OneATxnVotes) RmId() uint32

func (OneATxnVotes) SetProposals

func (s OneATxnVotes) SetProposals(v TxnVoteProposal_List)

func (OneATxnVotes) SetRmId

func (s OneATxnVotes) SetRmId(v uint32)

func (OneATxnVotes) SetTxnId

func (s OneATxnVotes) SetTxnId(v []byte)

func (OneATxnVotes) TxnId

func (s OneATxnVotes) TxnId() []byte

func (OneATxnVotes) WriteCapLit

func (s OneATxnVotes) WriteCapLit(w io.Writer) error

func (OneATxnVotes) WriteJSON

func (s OneATxnVotes) WriteJSON(w io.Writer) error

type OneATxnVotes_List

type OneATxnVotes_List C.PointerList

func NewOneATxnVotesList

func NewOneATxnVotesList(s *C.Segment, sz int) OneATxnVotes_List

func (OneATxnVotes_List) At

func (OneATxnVotes_List) Len

func (s OneATxnVotes_List) Len() int

func (OneATxnVotes_List) Set

func (s OneATxnVotes_List) Set(i int, item OneATxnVotes)

func (OneATxnVotes_List) ToArray

func (s OneATxnVotes_List) ToArray() []OneATxnVotes

type OneBTxnVotes

type OneBTxnVotes C.Struct

func AutoNewOneBTxnVotes

func AutoNewOneBTxnVotes(s *C.Segment) OneBTxnVotes

func NewOneBTxnVotes

func NewOneBTxnVotes(s *C.Segment) OneBTxnVotes

func NewRootOneBTxnVotes

func NewRootOneBTxnVotes(s *C.Segment) OneBTxnVotes

func ReadRootOneBTxnVotes

func ReadRootOneBTxnVotes(s *C.Segment) OneBTxnVotes

func (OneBTxnVotes) MarshalCapLit

func (s OneBTxnVotes) MarshalCapLit() ([]byte, error)

func (OneBTxnVotes) MarshalJSON

func (s OneBTxnVotes) MarshalJSON() ([]byte, error)

func (OneBTxnVotes) Promises

func (s OneBTxnVotes) Promises() TxnVotePromise_List

func (OneBTxnVotes) RmId

func (s OneBTxnVotes) RmId() uint32

func (OneBTxnVotes) SetPromises

func (s OneBTxnVotes) SetPromises(v TxnVotePromise_List)

func (OneBTxnVotes) SetRmId

func (s OneBTxnVotes) SetRmId(v uint32)

func (OneBTxnVotes) SetTxnId

func (s OneBTxnVotes) SetTxnId(v []byte)

func (OneBTxnVotes) TxnId

func (s OneBTxnVotes) TxnId() []byte

func (OneBTxnVotes) WriteCapLit

func (s OneBTxnVotes) WriteCapLit(w io.Writer) error

func (OneBTxnVotes) WriteJSON

func (s OneBTxnVotes) WriteJSON(w io.Writer) error

type OneBTxnVotes_List

type OneBTxnVotes_List C.PointerList

func NewOneBTxnVotesList

func NewOneBTxnVotesList(s *C.Segment, sz int) OneBTxnVotes_List

func (OneBTxnVotes_List) At

func (OneBTxnVotes_List) Len

func (s OneBTxnVotes_List) Len() int

func (OneBTxnVotes_List) Set

func (s OneBTxnVotes_List) Set(i int, item OneBTxnVotes)

func (OneBTxnVotes_List) ToArray

func (s OneBTxnVotes_List) ToArray() []OneBTxnVotes

type Outcome

type Outcome C.Struct

func AutoNewOutcome

func AutoNewOutcome(s *C.Segment) Outcome

func NewOutcome

func NewOutcome(s *C.Segment) Outcome

func NewRootOutcome

func NewRootOutcome(s *C.Segment) Outcome

func ReadRootOutcome

func ReadRootOutcome(s *C.Segment) Outcome

func (Outcome) Abort

func (s Outcome) Abort() OutcomeAbort

func (Outcome) Commit

func (s Outcome) Commit() []byte

func (Outcome) Id

func (s Outcome) Id() OutcomeId_List

func (Outcome) MarshalCapLit

func (s Outcome) MarshalCapLit() ([]byte, error)

func (Outcome) MarshalJSON

func (s Outcome) MarshalJSON() ([]byte, error)

func (Outcome) SetAbort

func (s Outcome) SetAbort()

func (Outcome) SetCommit

func (s Outcome) SetCommit(v []byte)

func (Outcome) SetId

func (s Outcome) SetId(v OutcomeId_List)

func (Outcome) SetTxn

func (s Outcome) SetTxn(v []byte)

func (Outcome) Txn

func (s Outcome) Txn() []byte

func (Outcome) Which

func (s Outcome) Which() Outcome_Which

func (Outcome) WriteCapLit

func (s Outcome) WriteCapLit(w io.Writer) error

func (Outcome) WriteJSON

func (s Outcome) WriteJSON(w io.Writer) error

type OutcomeAbort

type OutcomeAbort Outcome

func (OutcomeAbort) Rerun

func (s OutcomeAbort) Rerun() Update_List

func (OutcomeAbort) SetRerun

func (s OutcomeAbort) SetRerun(v Update_List)

func (OutcomeAbort) SetResubmit

func (s OutcomeAbort) SetResubmit()

func (OutcomeAbort) Which

func (s OutcomeAbort) Which() OutcomeAbort_Which

type OutcomeAbort_Which

type OutcomeAbort_Which uint16
const (
	OUTCOMEABORT_RESUBMIT OutcomeAbort_Which = 0
	OUTCOMEABORT_RERUN    OutcomeAbort_Which = 1
)

type OutcomeId

type OutcomeId C.Struct

func AutoNewOutcomeId

func AutoNewOutcomeId(s *C.Segment) OutcomeId

func NewOutcomeId

func NewOutcomeId(s *C.Segment) OutcomeId

func NewRootOutcomeId

func NewRootOutcomeId(s *C.Segment) OutcomeId

func ReadRootOutcomeId

func ReadRootOutcomeId(s *C.Segment) OutcomeId

func (OutcomeId) AcceptedInstances

func (s OutcomeId) AcceptedInstances() AcceptedInstanceId_List

func (OutcomeId) MarshalCapLit

func (s OutcomeId) MarshalCapLit() ([]byte, error)

func (OutcomeId) MarshalJSON

func (s OutcomeId) MarshalJSON() ([]byte, error)

func (OutcomeId) SetAcceptedInstances

func (s OutcomeId) SetAcceptedInstances(v AcceptedInstanceId_List)

func (OutcomeId) SetVarId

func (s OutcomeId) SetVarId(v []byte)

func (OutcomeId) VarId

func (s OutcomeId) VarId() []byte

func (OutcomeId) WriteCapLit

func (s OutcomeId) WriteCapLit(w io.Writer) error

func (OutcomeId) WriteJSON

func (s OutcomeId) WriteJSON(w io.Writer) error

type OutcomeId_List

type OutcomeId_List C.PointerList

func NewOutcomeIdList

func NewOutcomeIdList(s *C.Segment, sz int) OutcomeId_List

func (OutcomeId_List) At

func (s OutcomeId_List) At(i int) OutcomeId

func (OutcomeId_List) Len

func (s OutcomeId_List) Len() int

func (OutcomeId_List) Set

func (s OutcomeId_List) Set(i int, item OutcomeId)

func (OutcomeId_List) ToArray

func (s OutcomeId_List) ToArray() []OutcomeId

type Outcome_List

type Outcome_List C.PointerList

func NewOutcomeList

func NewOutcomeList(s *C.Segment, sz int) Outcome_List

func (Outcome_List) At

func (s Outcome_List) At(i int) Outcome

func (Outcome_List) Len

func (s Outcome_List) Len() int

func (Outcome_List) Set

func (s Outcome_List) Set(i int, item Outcome)

func (Outcome_List) ToArray

func (s Outcome_List) ToArray() []Outcome

type Outcome_Which

type Outcome_Which uint16
const (
	OUTCOME_COMMIT Outcome_Which = 0
	OUTCOME_ABORT  Outcome_Which = 1
)

type ProposerState

type ProposerState C.Struct

func AutoNewProposerState

func AutoNewProposerState(s *C.Segment) ProposerState

func NewProposerState

func NewProposerState(s *C.Segment) ProposerState

func NewRootProposerState

func NewRootProposerState(s *C.Segment) ProposerState

func ReadRootProposerState

func ReadRootProposerState(s *C.Segment) ProposerState

func (ProposerState) Acceptors

func (s ProposerState) Acceptors() C.UInt32List

func (ProposerState) MarshalCapLit

func (s ProposerState) MarshalCapLit() ([]byte, error)

func (ProposerState) MarshalJSON

func (s ProposerState) MarshalJSON() ([]byte, error)

func (ProposerState) SetAcceptors

func (s ProposerState) SetAcceptors(v C.UInt32List)

func (ProposerState) WriteCapLit

func (s ProposerState) WriteCapLit(w io.Writer) error

func (ProposerState) WriteJSON

func (s ProposerState) WriteJSON(w io.Writer) error

type ProposerState_List

type ProposerState_List C.PointerList

func NewProposerStateList

func NewProposerStateList(s *C.Segment, sz int) ProposerState_List

func (ProposerState_List) At

func (ProposerState_List) Len

func (s ProposerState_List) Len() int

func (ProposerState_List) Set

func (s ProposerState_List) Set(i int, item ProposerState)

func (ProposerState_List) ToArray

func (s ProposerState_List) ToArray() []ProposerState

type Root

type Root C.Struct

func AutoNewRoot

func AutoNewRoot(s *C.Segment) Root

func NewRoot

func NewRoot(s *C.Segment) Root

func NewRootRoot

func NewRootRoot(s *C.Segment) Root

func ReadRootRoot

func ReadRootRoot(s *C.Segment) Root

func (Root) Capability

func (s Root) Capability() capnp.Capability

func (Root) MarshalCapLit

func (s Root) MarshalCapLit() ([]byte, error)

func (Root) MarshalJSON

func (s Root) MarshalJSON() ([]byte, error)

func (Root) Name

func (s Root) Name() string

func (Root) NameBytes

func (s Root) NameBytes() []byte

func (Root) SetCapability

func (s Root) SetCapability(v capnp.Capability)

func (Root) SetName

func (s Root) SetName(v string)

func (Root) WriteCapLit

func (s Root) WriteCapLit(w io.Writer) error

func (Root) WriteJSON

func (s Root) WriteJSON(w io.Writer) error

type Root_List

type Root_List C.PointerList

func NewRootList

func NewRootList(s *C.Segment, sz int) Root_List

func (Root_List) At

func (s Root_List) At(i int) Root

func (Root_List) Len

func (s Root_List) Len() int

func (Root_List) Set

func (s Root_List) Set(i int, item Root)

func (Root_List) ToArray

func (s Root_List) ToArray() []Root

type Subscription

type Subscription C.Struct

func AutoNewSubscription

func AutoNewSubscription(s *C.Segment) Subscription

func NewRootSubscription

func NewRootSubscription(s *C.Segment) Subscription

func NewSubscription

func NewSubscription(s *C.Segment) Subscription

func ReadRootSubscription

func ReadRootSubscription(s *C.Segment) Subscription

func (Subscription) Added

func (s Subscription) Added() bool

func (Subscription) MarshalCapLit

func (s Subscription) MarshalCapLit() ([]byte, error)

func (Subscription) MarshalJSON

func (s Subscription) MarshalJSON() ([]byte, error)

func (Subscription) SetAdded

func (s Subscription) SetAdded(v bool)

func (Subscription) SetTxnId

func (s Subscription) SetTxnId(v []byte)

func (Subscription) TxnId

func (s Subscription) TxnId() []byte

func (Subscription) WriteCapLit

func (s Subscription) WriteCapLit(w io.Writer) error

func (Subscription) WriteJSON

func (s Subscription) WriteJSON(w io.Writer) error

type SubscriptionListWrapper

type SubscriptionListWrapper C.Struct

func AutoNewSubscriptionListWrapper

func AutoNewSubscriptionListWrapper(s *C.Segment) SubscriptionListWrapper

func NewRootSubscriptionListWrapper

func NewRootSubscriptionListWrapper(s *C.Segment) SubscriptionListWrapper

func NewSubscriptionListWrapper

func NewSubscriptionListWrapper(s *C.Segment) SubscriptionListWrapper

func ReadRootSubscriptionListWrapper

func ReadRootSubscriptionListWrapper(s *C.Segment) SubscriptionListWrapper

func (SubscriptionListWrapper) MarshalCapLit

func (s SubscriptionListWrapper) MarshalCapLit() ([]byte, error)

func (SubscriptionListWrapper) MarshalJSON

func (s SubscriptionListWrapper) MarshalJSON() ([]byte, error)

func (SubscriptionListWrapper) SetSubscriptions

func (s SubscriptionListWrapper) SetSubscriptions(v Subscription_List)

func (SubscriptionListWrapper) Subscriptions

func (s SubscriptionListWrapper) Subscriptions() Subscription_List

func (SubscriptionListWrapper) WriteCapLit

func (s SubscriptionListWrapper) WriteCapLit(w io.Writer) error

func (SubscriptionListWrapper) WriteJSON

func (s SubscriptionListWrapper) WriteJSON(w io.Writer) error

type SubscriptionListWrapper_List

type SubscriptionListWrapper_List C.PointerList

func NewSubscriptionListWrapperList

func NewSubscriptionListWrapperList(s *C.Segment, sz int) SubscriptionListWrapper_List

func (SubscriptionListWrapper_List) At

func (SubscriptionListWrapper_List) Len

func (SubscriptionListWrapper_List) Set

func (SubscriptionListWrapper_List) ToArray

type Subscription_List

type Subscription_List C.PointerList

func NewSubscriptionList

func NewSubscriptionList(s *C.Segment, sz int) Subscription_List

func (Subscription_List) At

func (Subscription_List) Len

func (s Subscription_List) Len() int

func (Subscription_List) Set

func (s Subscription_List) Set(i int, item Subscription)

func (Subscription_List) ToArray

func (s Subscription_List) ToArray() []Subscription

type TwoATxnVotes

type TwoATxnVotes C.Struct

func AutoNewTwoATxnVotes

func AutoNewTwoATxnVotes(s *C.Segment) TwoATxnVotes

func NewRootTwoATxnVotes

func NewRootTwoATxnVotes(s *C.Segment) TwoATxnVotes

func NewTwoATxnVotes

func NewTwoATxnVotes(s *C.Segment) TwoATxnVotes

func ReadRootTwoATxnVotes

func ReadRootTwoATxnVotes(s *C.Segment) TwoATxnVotes

func (TwoATxnVotes) AcceptRequests

func (s TwoATxnVotes) AcceptRequests() TxnVoteAcceptRequest_List

func (TwoATxnVotes) MarshalCapLit

func (s TwoATxnVotes) MarshalCapLit() ([]byte, error)

func (TwoATxnVotes) MarshalJSON

func (s TwoATxnVotes) MarshalJSON() ([]byte, error)

func (TwoATxnVotes) RmId

func (s TwoATxnVotes) RmId() uint32

func (TwoATxnVotes) SetAcceptRequests

func (s TwoATxnVotes) SetAcceptRequests(v TxnVoteAcceptRequest_List)

func (TwoATxnVotes) SetRmId

func (s TwoATxnVotes) SetRmId(v uint32)

func (TwoATxnVotes) SetTxn

func (s TwoATxnVotes) SetTxn(v []byte)

func (TwoATxnVotes) Txn

func (s TwoATxnVotes) Txn() []byte

func (TwoATxnVotes) WriteCapLit

func (s TwoATxnVotes) WriteCapLit(w io.Writer) error

func (TwoATxnVotes) WriteJSON

func (s TwoATxnVotes) WriteJSON(w io.Writer) error

type TwoATxnVotes_List

type TwoATxnVotes_List C.PointerList

func NewTwoATxnVotesList

func NewTwoATxnVotesList(s *C.Segment, sz int) TwoATxnVotes_List

func (TwoATxnVotes_List) At

func (TwoATxnVotes_List) Len

func (s TwoATxnVotes_List) Len() int

func (TwoATxnVotes_List) Set

func (s TwoATxnVotes_List) Set(i int, item TwoATxnVotes)

func (TwoATxnVotes_List) ToArray

func (s TwoATxnVotes_List) ToArray() []TwoATxnVotes

type TwoBTxnVotes

type TwoBTxnVotes C.Struct

func AutoNewTwoBTxnVotes

func AutoNewTwoBTxnVotes(s *C.Segment) TwoBTxnVotes

func NewRootTwoBTxnVotes

func NewRootTwoBTxnVotes(s *C.Segment) TwoBTxnVotes

func NewTwoBTxnVotes

func NewTwoBTxnVotes(s *C.Segment) TwoBTxnVotes

func ReadRootTwoBTxnVotes

func ReadRootTwoBTxnVotes(s *C.Segment) TwoBTxnVotes

func (TwoBTxnVotes) Failures

func (s TwoBTxnVotes) Failures() TwoBTxnVotesFailures

func (TwoBTxnVotes) MarshalCapLit

func (s TwoBTxnVotes) MarshalCapLit() ([]byte, error)

func (TwoBTxnVotes) MarshalJSON

func (s TwoBTxnVotes) MarshalJSON() ([]byte, error)

func (TwoBTxnVotes) Outcome

func (s TwoBTxnVotes) Outcome() Outcome

func (TwoBTxnVotes) SetFailures

func (s TwoBTxnVotes) SetFailures()

func (TwoBTxnVotes) SetOutcome

func (s TwoBTxnVotes) SetOutcome(v Outcome)

func (TwoBTxnVotes) Which

func (s TwoBTxnVotes) Which() TwoBTxnVotes_Which

func (TwoBTxnVotes) WriteCapLit

func (s TwoBTxnVotes) WriteCapLit(w io.Writer) error

func (TwoBTxnVotes) WriteJSON

func (s TwoBTxnVotes) WriteJSON(w io.Writer) error

type TwoBTxnVotesFailures

type TwoBTxnVotesFailures TwoBTxnVotes

func (TwoBTxnVotesFailures) Nacks

func (TwoBTxnVotesFailures) RmId

func (s TwoBTxnVotesFailures) RmId() uint32

func (TwoBTxnVotesFailures) SetNacks

func (TwoBTxnVotesFailures) SetRmId

func (s TwoBTxnVotesFailures) SetRmId(v uint32)

func (TwoBTxnVotesFailures) SetTxnId

func (s TwoBTxnVotesFailures) SetTxnId(v []byte)

func (TwoBTxnVotesFailures) TxnId

func (s TwoBTxnVotesFailures) TxnId() []byte

type TwoBTxnVotes_List

type TwoBTxnVotes_List C.PointerList

func NewTwoBTxnVotesList

func NewTwoBTxnVotesList(s *C.Segment, sz int) TwoBTxnVotes_List

func (TwoBTxnVotes_List) At

func (TwoBTxnVotes_List) Len

func (s TwoBTxnVotes_List) Len() int

func (TwoBTxnVotes_List) Set

func (s TwoBTxnVotes_List) Set(i int, item TwoBTxnVotes)

func (TwoBTxnVotes_List) ToArray

func (s TwoBTxnVotes_List) ToArray() []TwoBTxnVotes

type TwoBTxnVotes_Which

type TwoBTxnVotes_Which uint16
const (
	TWOBTXNVOTES_FAILURES TwoBTxnVotes_Which = 0
	TWOBTXNVOTES_OUTCOME  TwoBTxnVotes_Which = 1
)

type Txn

type Txn C.Struct

func AutoNewTxn

func AutoNewTxn(s *C.Segment) Txn

func NewRootTxn

func NewRootTxn(s *C.Segment) Txn

func NewTxn

func NewTxn(s *C.Segment) Txn

func ReadRootTxn

func ReadRootTxn(s *C.Segment) Txn

func (Txn) Actions

func (s Txn) Actions() []byte

func (Txn) Allocations

func (s Txn) Allocations() Allocation_List

func (Txn) Id

func (s Txn) Id() []byte

func (Txn) IsTopology

func (s Txn) IsTopology() bool

func (Txn) MarshalCapLit

func (s Txn) MarshalCapLit() ([]byte, error)

func (Txn) MarshalJSON

func (s Txn) MarshalJSON() ([]byte, error)

func (Txn) SetActions

func (s Txn) SetActions(v []byte)

func (Txn) SetAllocations

func (s Txn) SetAllocations(v Allocation_List)

func (Txn) SetId

func (s Txn) SetId(v []byte)

func (Txn) SetIsTopology

func (s Txn) SetIsTopology(v bool)

func (Txn) SetTopologyVersion

func (s Txn) SetTopologyVersion(v uint32)

func (Txn) SetTwoFInc

func (s Txn) SetTwoFInc(v uint16)

func (Txn) TopologyVersion

func (s Txn) TopologyVersion() uint32

func (Txn) TwoFInc

func (s Txn) TwoFInc() uint16

func (Txn) WriteCapLit

func (s Txn) WriteCapLit(w io.Writer) error

func (Txn) WriteJSON

func (s Txn) WriteJSON(w io.Writer) error

type TxnGloballyComplete

type TxnGloballyComplete C.Struct

func AutoNewTxnGloballyComplete

func AutoNewTxnGloballyComplete(s *C.Segment) TxnGloballyComplete

func NewRootTxnGloballyComplete

func NewRootTxnGloballyComplete(s *C.Segment) TxnGloballyComplete

func NewTxnGloballyComplete

func NewTxnGloballyComplete(s *C.Segment) TxnGloballyComplete

func ReadRootTxnGloballyComplete

func ReadRootTxnGloballyComplete(s *C.Segment) TxnGloballyComplete

func (TxnGloballyComplete) MarshalCapLit

func (s TxnGloballyComplete) MarshalCapLit() ([]byte, error)

func (TxnGloballyComplete) MarshalJSON

func (s TxnGloballyComplete) MarshalJSON() ([]byte, error)

func (TxnGloballyComplete) SetTxnId

func (s TxnGloballyComplete) SetTxnId(v []byte)

func (TxnGloballyComplete) TxnId

func (s TxnGloballyComplete) TxnId() []byte

func (TxnGloballyComplete) WriteCapLit

func (s TxnGloballyComplete) WriteCapLit(w io.Writer) error

func (TxnGloballyComplete) WriteJSON

func (s TxnGloballyComplete) WriteJSON(w io.Writer) error

type TxnGloballyComplete_List

type TxnGloballyComplete_List C.PointerList

func NewTxnGloballyCompleteList

func NewTxnGloballyCompleteList(s *C.Segment, sz int) TxnGloballyComplete_List

func (TxnGloballyComplete_List) At

func (TxnGloballyComplete_List) Len

func (s TxnGloballyComplete_List) Len() int

func (TxnGloballyComplete_List) Set

func (TxnGloballyComplete_List) ToArray

type TxnLocallyComplete

type TxnLocallyComplete C.Struct

func AutoNewTxnLocallyComplete

func AutoNewTxnLocallyComplete(s *C.Segment) TxnLocallyComplete

func NewRootTxnLocallyComplete

func NewRootTxnLocallyComplete(s *C.Segment) TxnLocallyComplete

func NewTxnLocallyComplete

func NewTxnLocallyComplete(s *C.Segment) TxnLocallyComplete

func ReadRootTxnLocallyComplete

func ReadRootTxnLocallyComplete(s *C.Segment) TxnLocallyComplete

func (TxnLocallyComplete) MarshalCapLit

func (s TxnLocallyComplete) MarshalCapLit() ([]byte, error)

func (TxnLocallyComplete) MarshalJSON

func (s TxnLocallyComplete) MarshalJSON() ([]byte, error)

func (TxnLocallyComplete) SetTxnId

func (s TxnLocallyComplete) SetTxnId(v []byte)

func (TxnLocallyComplete) TxnId

func (s TxnLocallyComplete) TxnId() []byte

func (TxnLocallyComplete) WriteCapLit

func (s TxnLocallyComplete) WriteCapLit(w io.Writer) error

func (TxnLocallyComplete) WriteJSON

func (s TxnLocallyComplete) WriteJSON(w io.Writer) error

type TxnLocallyComplete_List

type TxnLocallyComplete_List C.PointerList

func NewTxnLocallyCompleteList

func NewTxnLocallyCompleteList(s *C.Segment, sz int) TxnLocallyComplete_List

func (TxnLocallyComplete_List) At

func (TxnLocallyComplete_List) Len

func (s TxnLocallyComplete_List) Len() int

func (TxnLocallyComplete_List) Set

func (TxnLocallyComplete_List) ToArray

type TxnSubmissionAbort

type TxnSubmissionAbort C.Struct

func AutoNewTxnSubmissionAbort

func AutoNewTxnSubmissionAbort(s *C.Segment) TxnSubmissionAbort

func NewRootTxnSubmissionAbort

func NewRootTxnSubmissionAbort(s *C.Segment) TxnSubmissionAbort

func NewTxnSubmissionAbort

func NewTxnSubmissionAbort(s *C.Segment) TxnSubmissionAbort

func ReadRootTxnSubmissionAbort

func ReadRootTxnSubmissionAbort(s *C.Segment) TxnSubmissionAbort

func (TxnSubmissionAbort) MarshalCapLit

func (s TxnSubmissionAbort) MarshalCapLit() ([]byte, error)

func (TxnSubmissionAbort) MarshalJSON

func (s TxnSubmissionAbort) MarshalJSON() ([]byte, error)

func (TxnSubmissionAbort) SetTxnId

func (s TxnSubmissionAbort) SetTxnId(v []byte)

func (TxnSubmissionAbort) TxnId

func (s TxnSubmissionAbort) TxnId() []byte

func (TxnSubmissionAbort) WriteCapLit

func (s TxnSubmissionAbort) WriteCapLit(w io.Writer) error

func (TxnSubmissionAbort) WriteJSON

func (s TxnSubmissionAbort) WriteJSON(w io.Writer) error

type TxnSubmissionAbort_List

type TxnSubmissionAbort_List C.PointerList

func NewTxnSubmissionAbortList

func NewTxnSubmissionAbortList(s *C.Segment, sz int) TxnSubmissionAbort_List

func (TxnSubmissionAbort_List) At

func (TxnSubmissionAbort_List) Len

func (s TxnSubmissionAbort_List) Len() int

func (TxnSubmissionAbort_List) Set

func (TxnSubmissionAbort_List) ToArray

type TxnSubmissionComplete

type TxnSubmissionComplete C.Struct

func AutoNewTxnSubmissionComplete

func AutoNewTxnSubmissionComplete(s *C.Segment) TxnSubmissionComplete

func NewRootTxnSubmissionComplete

func NewRootTxnSubmissionComplete(s *C.Segment) TxnSubmissionComplete

func NewTxnSubmissionComplete

func NewTxnSubmissionComplete(s *C.Segment) TxnSubmissionComplete

func ReadRootTxnSubmissionComplete

func ReadRootTxnSubmissionComplete(s *C.Segment) TxnSubmissionComplete

func (TxnSubmissionComplete) MarshalCapLit

func (s TxnSubmissionComplete) MarshalCapLit() ([]byte, error)

func (TxnSubmissionComplete) MarshalJSON

func (s TxnSubmissionComplete) MarshalJSON() ([]byte, error)

func (TxnSubmissionComplete) SetSubscriberId

func (s TxnSubmissionComplete) SetSubscriberId(v []byte)

func (TxnSubmissionComplete) SetTxnId

func (s TxnSubmissionComplete) SetTxnId(v []byte)

func (TxnSubmissionComplete) SubscriberId

func (s TxnSubmissionComplete) SubscriberId() []byte

func (TxnSubmissionComplete) TxnId

func (s TxnSubmissionComplete) TxnId() []byte

func (TxnSubmissionComplete) WriteCapLit

func (s TxnSubmissionComplete) WriteCapLit(w io.Writer) error

func (TxnSubmissionComplete) WriteJSON

func (s TxnSubmissionComplete) WriteJSON(w io.Writer) error

type TxnSubmissionComplete_List

type TxnSubmissionComplete_List C.PointerList

func NewTxnSubmissionCompleteList

func NewTxnSubmissionCompleteList(s *C.Segment, sz int) TxnSubmissionComplete_List

func (TxnSubmissionComplete_List) At

func (TxnSubmissionComplete_List) Len

func (TxnSubmissionComplete_List) Set

func (TxnSubmissionComplete_List) ToArray

type TxnSubmissionOutcome

type TxnSubmissionOutcome C.Struct

func AutoNewTxnSubmissionOutcome

func AutoNewTxnSubmissionOutcome(s *C.Segment) TxnSubmissionOutcome

func NewRootTxnSubmissionOutcome

func NewRootTxnSubmissionOutcome(s *C.Segment) TxnSubmissionOutcome

func NewTxnSubmissionOutcome

func NewTxnSubmissionOutcome(s *C.Segment) TxnSubmissionOutcome

func ReadRootTxnSubmissionOutcome

func ReadRootTxnSubmissionOutcome(s *C.Segment) TxnSubmissionOutcome

func (TxnSubmissionOutcome) MarshalCapLit

func (s TxnSubmissionOutcome) MarshalCapLit() ([]byte, error)

func (TxnSubmissionOutcome) MarshalJSON

func (s TxnSubmissionOutcome) MarshalJSON() ([]byte, error)

func (TxnSubmissionOutcome) Outcome

func (s TxnSubmissionOutcome) Outcome() Outcome

func (TxnSubmissionOutcome) SetOutcome

func (s TxnSubmissionOutcome) SetOutcome(v Outcome)

func (TxnSubmissionOutcome) SetSubscribers

func (s TxnSubmissionOutcome) SetSubscribers(v C.DataList)

func (TxnSubmissionOutcome) Subscribers

func (s TxnSubmissionOutcome) Subscribers() C.DataList

func (TxnSubmissionOutcome) WriteCapLit

func (s TxnSubmissionOutcome) WriteCapLit(w io.Writer) error

func (TxnSubmissionOutcome) WriteJSON

func (s TxnSubmissionOutcome) WriteJSON(w io.Writer) error

type TxnSubmissionOutcome_List

type TxnSubmissionOutcome_List C.PointerList

func NewTxnSubmissionOutcomeList

func NewTxnSubmissionOutcomeList(s *C.Segment, sz int) TxnSubmissionOutcome_List

func (TxnSubmissionOutcome_List) At

func (TxnSubmissionOutcome_List) Len

func (TxnSubmissionOutcome_List) Set

func (TxnSubmissionOutcome_List) ToArray

type TxnVoteAcceptRequest

type TxnVoteAcceptRequest C.Struct

func AutoNewTxnVoteAcceptRequest

func AutoNewTxnVoteAcceptRequest(s *C.Segment) TxnVoteAcceptRequest

func NewRootTxnVoteAcceptRequest

func NewRootTxnVoteAcceptRequest(s *C.Segment) TxnVoteAcceptRequest

func NewTxnVoteAcceptRequest

func NewTxnVoteAcceptRequest(s *C.Segment) TxnVoteAcceptRequest

func ReadRootTxnVoteAcceptRequest

func ReadRootTxnVoteAcceptRequest(s *C.Segment) TxnVoteAcceptRequest

func (TxnVoteAcceptRequest) Ballot

func (s TxnVoteAcceptRequest) Ballot() []byte

func (TxnVoteAcceptRequest) MarshalCapLit

func (s TxnVoteAcceptRequest) MarshalCapLit() ([]byte, error)

func (TxnVoteAcceptRequest) MarshalJSON

func (s TxnVoteAcceptRequest) MarshalJSON() ([]byte, error)

func (TxnVoteAcceptRequest) RoundNumber

func (s TxnVoteAcceptRequest) RoundNumber() uint64

func (TxnVoteAcceptRequest) SetBallot

func (s TxnVoteAcceptRequest) SetBallot(v []byte)

func (TxnVoteAcceptRequest) SetRoundNumber

func (s TxnVoteAcceptRequest) SetRoundNumber(v uint64)

func (TxnVoteAcceptRequest) WriteCapLit

func (s TxnVoteAcceptRequest) WriteCapLit(w io.Writer) error

func (TxnVoteAcceptRequest) WriteJSON

func (s TxnVoteAcceptRequest) WriteJSON(w io.Writer) error

type TxnVoteAcceptRequest_List

type TxnVoteAcceptRequest_List C.PointerList

func NewTxnVoteAcceptRequestList

func NewTxnVoteAcceptRequestList(s *C.Segment, sz int) TxnVoteAcceptRequest_List

func (TxnVoteAcceptRequest_List) At

func (TxnVoteAcceptRequest_List) Len

func (TxnVoteAcceptRequest_List) Set

func (TxnVoteAcceptRequest_List) ToArray

type TxnVotePromise

type TxnVotePromise C.Struct

func AutoNewTxnVotePromise

func AutoNewTxnVotePromise(s *C.Segment) TxnVotePromise

func NewRootTxnVotePromise

func NewRootTxnVotePromise(s *C.Segment) TxnVotePromise

func NewTxnVotePromise

func NewTxnVotePromise(s *C.Segment) TxnVotePromise

func ReadRootTxnVotePromise

func ReadRootTxnVotePromise(s *C.Segment) TxnVotePromise

func (TxnVotePromise) Accepted

func (TxnVotePromise) MarshalCapLit

func (s TxnVotePromise) MarshalCapLit() ([]byte, error)

func (TxnVotePromise) MarshalJSON

func (s TxnVotePromise) MarshalJSON() ([]byte, error)

func (TxnVotePromise) RoundNumber

func (s TxnVotePromise) RoundNumber() uint64

func (TxnVotePromise) RoundNumberTooLow

func (s TxnVotePromise) RoundNumberTooLow() uint32

func (TxnVotePromise) SetAccepted

func (s TxnVotePromise) SetAccepted()

func (TxnVotePromise) SetFreeChoice

func (s TxnVotePromise) SetFreeChoice()

func (TxnVotePromise) SetRoundNumber

func (s TxnVotePromise) SetRoundNumber(v uint64)

func (TxnVotePromise) SetRoundNumberTooLow

func (s TxnVotePromise) SetRoundNumberTooLow(v uint32)

func (TxnVotePromise) SetVarId

func (s TxnVotePromise) SetVarId(v []byte)

func (TxnVotePromise) VarId

func (s TxnVotePromise) VarId() []byte

func (TxnVotePromise) Which

func (TxnVotePromise) WriteCapLit

func (s TxnVotePromise) WriteCapLit(w io.Writer) error

func (TxnVotePromise) WriteJSON

func (s TxnVotePromise) WriteJSON(w io.Writer) error

type TxnVotePromiseAccepted

type TxnVotePromiseAccepted TxnVotePromise

func (TxnVotePromiseAccepted) Ballot

func (s TxnVotePromiseAccepted) Ballot() []byte

func (TxnVotePromiseAccepted) RoundNumber

func (s TxnVotePromiseAccepted) RoundNumber() uint64

func (TxnVotePromiseAccepted) SetBallot

func (s TxnVotePromiseAccepted) SetBallot(v []byte)

func (TxnVotePromiseAccepted) SetRoundNumber

func (s TxnVotePromiseAccepted) SetRoundNumber(v uint64)

type TxnVotePromise_List

type TxnVotePromise_List C.PointerList

func NewTxnVotePromiseList

func NewTxnVotePromiseList(s *C.Segment, sz int) TxnVotePromise_List

func (TxnVotePromise_List) At

func (TxnVotePromise_List) Len

func (s TxnVotePromise_List) Len() int

func (TxnVotePromise_List) Set

func (s TxnVotePromise_List) Set(i int, item TxnVotePromise)

func (TxnVotePromise_List) ToArray

func (s TxnVotePromise_List) ToArray() []TxnVotePromise

type TxnVotePromise_Which

type TxnVotePromise_Which uint16
const (
	TXNVOTEPROMISE_FREECHOICE        TxnVotePromise_Which = 0
	TXNVOTEPROMISE_ACCEPTED          TxnVotePromise_Which = 1
	TXNVOTEPROMISE_ROUNDNUMBERTOOLOW TxnVotePromise_Which = 2
)

type TxnVoteProposal

type TxnVoteProposal C.Struct

func AutoNewTxnVoteProposal

func AutoNewTxnVoteProposal(s *C.Segment) TxnVoteProposal

func NewRootTxnVoteProposal

func NewRootTxnVoteProposal(s *C.Segment) TxnVoteProposal

func NewTxnVoteProposal

func NewTxnVoteProposal(s *C.Segment) TxnVoteProposal

func ReadRootTxnVoteProposal

func ReadRootTxnVoteProposal(s *C.Segment) TxnVoteProposal

func (TxnVoteProposal) MarshalCapLit

func (s TxnVoteProposal) MarshalCapLit() ([]byte, error)

func (TxnVoteProposal) MarshalJSON

func (s TxnVoteProposal) MarshalJSON() ([]byte, error)

func (TxnVoteProposal) RoundNumber

func (s TxnVoteProposal) RoundNumber() uint64

func (TxnVoteProposal) SetRoundNumber

func (s TxnVoteProposal) SetRoundNumber(v uint64)

func (TxnVoteProposal) SetVarId

func (s TxnVoteProposal) SetVarId(v []byte)

func (TxnVoteProposal) VarId

func (s TxnVoteProposal) VarId() []byte

func (TxnVoteProposal) WriteCapLit

func (s TxnVoteProposal) WriteCapLit(w io.Writer) error

func (TxnVoteProposal) WriteJSON

func (s TxnVoteProposal) WriteJSON(w io.Writer) error

type TxnVoteProposal_List

type TxnVoteProposal_List C.PointerList

func NewTxnVoteProposalList

func NewTxnVoteProposalList(s *C.Segment, sz int) TxnVoteProposal_List

func (TxnVoteProposal_List) At

func (TxnVoteProposal_List) Len

func (s TxnVoteProposal_List) Len() int

func (TxnVoteProposal_List) Set

func (s TxnVoteProposal_List) Set(i int, item TxnVoteProposal)

func (TxnVoteProposal_List) ToArray

func (s TxnVoteProposal_List) ToArray() []TxnVoteProposal

type TxnVoteTwoBFailure

type TxnVoteTwoBFailure C.Struct

func AutoNewTxnVoteTwoBFailure

func AutoNewTxnVoteTwoBFailure(s *C.Segment) TxnVoteTwoBFailure

func NewRootTxnVoteTwoBFailure

func NewRootTxnVoteTwoBFailure(s *C.Segment) TxnVoteTwoBFailure

func NewTxnVoteTwoBFailure

func NewTxnVoteTwoBFailure(s *C.Segment) TxnVoteTwoBFailure

func ReadRootTxnVoteTwoBFailure

func ReadRootTxnVoteTwoBFailure(s *C.Segment) TxnVoteTwoBFailure

func (TxnVoteTwoBFailure) MarshalCapLit

func (s TxnVoteTwoBFailure) MarshalCapLit() ([]byte, error)

func (TxnVoteTwoBFailure) MarshalJSON

func (s TxnVoteTwoBFailure) MarshalJSON() ([]byte, error)

func (TxnVoteTwoBFailure) RoundNumber

func (s TxnVoteTwoBFailure) RoundNumber() uint64

func (TxnVoteTwoBFailure) RoundNumberTooLow

func (s TxnVoteTwoBFailure) RoundNumberTooLow() uint32

func (TxnVoteTwoBFailure) SetRoundNumber

func (s TxnVoteTwoBFailure) SetRoundNumber(v uint64)

func (TxnVoteTwoBFailure) SetRoundNumberTooLow

func (s TxnVoteTwoBFailure) SetRoundNumberTooLow(v uint32)

func (TxnVoteTwoBFailure) SetVarId

func (s TxnVoteTwoBFailure) SetVarId(v []byte)

func (TxnVoteTwoBFailure) VarId

func (s TxnVoteTwoBFailure) VarId() []byte

func (TxnVoteTwoBFailure) WriteCapLit

func (s TxnVoteTwoBFailure) WriteCapLit(w io.Writer) error

func (TxnVoteTwoBFailure) WriteJSON

func (s TxnVoteTwoBFailure) WriteJSON(w io.Writer) error

type TxnVoteTwoBFailure_List

type TxnVoteTwoBFailure_List C.PointerList

func NewTxnVoteTwoBFailureList

func NewTxnVoteTwoBFailureList(s *C.Segment, sz int) TxnVoteTwoBFailure_List

func (TxnVoteTwoBFailure_List) At

func (TxnVoteTwoBFailure_List) Len

func (s TxnVoteTwoBFailure_List) Len() int

func (TxnVoteTwoBFailure_List) Set

func (TxnVoteTwoBFailure_List) ToArray

type Txn_List

type Txn_List C.PointerList

func NewTxnList

func NewTxnList(s *C.Segment, sz int) Txn_List

func (Txn_List) At

func (s Txn_List) At(i int) Txn

func (Txn_List) Len

func (s Txn_List) Len() int

func (Txn_List) Set

func (s Txn_List) Set(i int, item Txn)

func (Txn_List) ToArray

func (s Txn_List) ToArray() []Txn

type Update

type Update C.Struct

func AutoNewUpdate

func AutoNewUpdate(s *C.Segment) Update

func NewRootUpdate

func NewRootUpdate(s *C.Segment) Update

func NewUpdate

func NewUpdate(s *C.Segment) Update

func ReadRootUpdate

func ReadRootUpdate(s *C.Segment) Update

func (Update) Actions

func (s Update) Actions() []byte

func (Update) Clock

func (s Update) Clock() []byte

func (Update) MarshalCapLit

func (s Update) MarshalCapLit() ([]byte, error)

func (Update) MarshalJSON

func (s Update) MarshalJSON() ([]byte, error)

func (Update) SetActions

func (s Update) SetActions(v []byte)

func (Update) SetClock

func (s Update) SetClock(v []byte)

func (Update) SetTxnId

func (s Update) SetTxnId(v []byte)

func (Update) TxnId

func (s Update) TxnId() []byte

func (Update) WriteCapLit

func (s Update) WriteCapLit(w io.Writer) error

func (Update) WriteJSON

func (s Update) WriteJSON(w io.Writer) error

type Update_List

type Update_List C.PointerList

func NewUpdateList

func NewUpdateList(s *C.Segment, sz int) Update_List

func (Update_List) At

func (s Update_List) At(i int) Update

func (Update_List) Len

func (s Update_List) Len() int

func (Update_List) Set

func (s Update_List) Set(i int, item Update)

func (Update_List) ToArray

func (s Update_List) ToArray() []Update

type Var

type Var C.Struct

func AutoNewVar

func AutoNewVar(s *C.Segment) Var

func NewRootVar

func NewRootVar(s *C.Segment) Var

func NewVar

func NewVar(s *C.Segment) Var

func ReadRootVar

func ReadRootVar(s *C.Segment) Var

func (Var) Id

func (s Var) Id() []byte

func (Var) MarshalCapLit

func (s Var) MarshalCapLit() ([]byte, error)

func (Var) MarshalJSON

func (s Var) MarshalJSON() ([]byte, error)

func (Var) Positions

func (s Var) Positions() C.UInt8List

func (Var) SetId

func (s Var) SetId(v []byte)

func (Var) SetPositions

func (s Var) SetPositions(v C.UInt8List)

func (Var) SetSubscriptions

func (s Var) SetSubscriptions(v []byte)

func (Var) SetValueTxnId

func (s Var) SetValueTxnId(v []byte)

func (Var) SetWriteTxnClock

func (s Var) SetWriteTxnClock(v []byte)

func (Var) SetWriteTxnId

func (s Var) SetWriteTxnId(v []byte)

func (Var) SetWritesClock

func (s Var) SetWritesClock(v []byte)

func (Var) Subscriptions

func (s Var) Subscriptions() []byte

func (Var) ValueTxnId

func (s Var) ValueTxnId() []byte

func (Var) WriteCapLit

func (s Var) WriteCapLit(w io.Writer) error

func (Var) WriteJSON

func (s Var) WriteJSON(w io.Writer) error

func (Var) WriteTxnClock

func (s Var) WriteTxnClock() []byte

func (Var) WriteTxnId

func (s Var) WriteTxnId() []byte

func (Var) WritesClock

func (s Var) WritesClock() []byte

type VarIdPos

type VarIdPos C.Struct

func AutoNewVarIdPos

func AutoNewVarIdPos(s *C.Segment) VarIdPos

func NewRootVarIdPos

func NewRootVarIdPos(s *C.Segment) VarIdPos

func NewVarIdPos

func NewVarIdPos(s *C.Segment) VarIdPos

func ReadRootVarIdPos

func ReadRootVarIdPos(s *C.Segment) VarIdPos

func (VarIdPos) Capability

func (s VarIdPos) Capability() capnp.Capability

func (VarIdPos) Id

func (s VarIdPos) Id() []byte

func (VarIdPos) MarshalCapLit

func (s VarIdPos) MarshalCapLit() ([]byte, error)

func (VarIdPos) MarshalJSON

func (s VarIdPos) MarshalJSON() ([]byte, error)

func (VarIdPos) Positions

func (s VarIdPos) Positions() C.UInt8List

func (VarIdPos) SetCapability

func (s VarIdPos) SetCapability(v capnp.Capability)

func (VarIdPos) SetId

func (s VarIdPos) SetId(v []byte)

func (VarIdPos) SetPositions

func (s VarIdPos) SetPositions(v C.UInt8List)

func (VarIdPos) WriteCapLit

func (s VarIdPos) WriteCapLit(w io.Writer) error

func (VarIdPos) WriteJSON

func (s VarIdPos) WriteJSON(w io.Writer) error

type VarIdPos_List

type VarIdPos_List C.PointerList

func NewVarIdPosList

func NewVarIdPosList(s *C.Segment, sz int) VarIdPos_List

func (VarIdPos_List) At

func (s VarIdPos_List) At(i int) VarIdPos

func (VarIdPos_List) Len

func (s VarIdPos_List) Len() int

func (VarIdPos_List) Set

func (s VarIdPos_List) Set(i int, item VarIdPos)

func (VarIdPos_List) ToArray

func (s VarIdPos_List) ToArray() []VarIdPos

type Var_List

type Var_List C.PointerList

func NewVarList

func NewVarList(s *C.Segment, sz int) Var_List

func (Var_List) At

func (s Var_List) At(i int) Var

func (Var_List) Len

func (s Var_List) Len() int

func (Var_List) Set

func (s Var_List) Set(i int, item Var)

func (Var_List) ToArray

func (s Var_List) ToArray() []Var

type VectorClock

type VectorClock C.Struct

func AutoNewVectorClock

func AutoNewVectorClock(s *C.Segment) VectorClock

func NewRootVectorClock

func NewRootVectorClock(s *C.Segment) VectorClock

func NewVectorClock

func NewVectorClock(s *C.Segment) VectorClock

func ReadRootVectorClock

func ReadRootVectorClock(s *C.Segment) VectorClock

func (VectorClock) MarshalCapLit

func (s VectorClock) MarshalCapLit() ([]byte, error)

func (VectorClock) MarshalJSON

func (s VectorClock) MarshalJSON() ([]byte, error)

func (VectorClock) SetValues

func (s VectorClock) SetValues(v C.UInt64List)

func (VectorClock) SetVarUuids

func (s VectorClock) SetVarUuids(v C.DataList)

func (VectorClock) Values

func (s VectorClock) Values() C.UInt64List

func (VectorClock) VarUuids

func (s VectorClock) VarUuids() C.DataList

func (VectorClock) WriteCapLit

func (s VectorClock) WriteCapLit(w io.Writer) error

func (VectorClock) WriteJSON

func (s VectorClock) WriteJSON(w io.Writer) error

type VectorClock_List

type VectorClock_List C.PointerList

func NewVectorClockList

func NewVectorClockList(s *C.Segment, sz int) VectorClock_List

func (VectorClock_List) At

func (VectorClock_List) Len

func (s VectorClock_List) Len() int

func (VectorClock_List) Set

func (s VectorClock_List) Set(i int, item VectorClock)

func (VectorClock_List) ToArray

func (s VectorClock_List) ToArray() []VectorClock

type Vote

type Vote C.Struct

func AutoNewVote

func AutoNewVote(s *C.Segment) Vote

func NewRootVote

func NewRootVote(s *C.Segment) Vote

func NewVote

func NewVote(s *C.Segment) Vote

func ReadRootVote

func ReadRootVote(s *C.Segment) Vote

func (Vote) AbortBadRead

func (s Vote) AbortBadRead() VoteAbortBadRead

func (Vote) MarshalCapLit

func (s Vote) MarshalCapLit() ([]byte, error)

func (Vote) MarshalJSON

func (s Vote) MarshalJSON() ([]byte, error)

func (Vote) SetAbortBadRead

func (s Vote) SetAbortBadRead()

func (Vote) SetAbortDeadlock

func (s Vote) SetAbortDeadlock()

func (Vote) SetCommit

func (s Vote) SetCommit()

func (Vote) Which

func (s Vote) Which() Vote_Which

func (Vote) WriteCapLit

func (s Vote) WriteCapLit(w io.Writer) error

func (Vote) WriteJSON

func (s Vote) WriteJSON(w io.Writer) error

type VoteAbortBadRead

type VoteAbortBadRead Vote

func (VoteAbortBadRead) SetTxnActions

func (s VoteAbortBadRead) SetTxnActions(v []byte)

func (VoteAbortBadRead) SetTxnId

func (s VoteAbortBadRead) SetTxnId(v []byte)

func (VoteAbortBadRead) TxnActions

func (s VoteAbortBadRead) TxnActions() []byte

func (VoteAbortBadRead) TxnId

func (s VoteAbortBadRead) TxnId() []byte

type VoteEnum

type VoteEnum uint16
const (
	VOTEENUM_COMMIT        VoteEnum = 0
	VOTEENUM_ABORTBADREAD  VoteEnum = 1
	VOTEENUM_ABORTDEADLOCK VoteEnum = 2
)

func VoteEnumFromString

func VoteEnumFromString(c string) VoteEnum

func (VoteEnum) MarshalCapLit

func (s VoteEnum) MarshalCapLit() ([]byte, error)

func (VoteEnum) MarshalJSON

func (s VoteEnum) MarshalJSON() ([]byte, error)

func (VoteEnum) String

func (c VoteEnum) String() string

func (VoteEnum) WriteCapLit

func (s VoteEnum) WriteCapLit(w io.Writer) error

func (VoteEnum) WriteJSON

func (s VoteEnum) WriteJSON(w io.Writer) error

type VoteEnum_List

type VoteEnum_List C.PointerList

func NewVoteEnumList

func NewVoteEnumList(s *C.Segment, sz int) VoteEnum_List

func (VoteEnum_List) At

func (s VoteEnum_List) At(i int) VoteEnum

func (VoteEnum_List) Len

func (s VoteEnum_List) Len() int

func (VoteEnum_List) Set

func (s VoteEnum_List) Set(i int, item VoteEnum)

func (VoteEnum_List) ToArray

func (s VoteEnum_List) ToArray() []VoteEnum

type Vote_List

type Vote_List C.PointerList

func NewVoteList

func NewVoteList(s *C.Segment, sz int) Vote_List

func (Vote_List) At

func (s Vote_List) At(i int) Vote

func (Vote_List) Len

func (s Vote_List) Len() int

func (Vote_List) Set

func (s Vote_List) Set(i int, item Vote)

func (Vote_List) ToArray

func (s Vote_List) ToArray() []Vote

type Vote_Which

type Vote_Which uint16
const (
	VOTE_COMMIT        Vote_Which = 0
	VOTE_ABORTBADREAD  Vote_Which = 1
	VOTE_ABORTDEADLOCK Vote_Which = 2
)

Jump to

Keyboard shortcuts

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