Documentation ¶
Index ¶
- type BatchSize
- func (*BatchSize) Descriptor() ([]byte, []int)
- func (m *BatchSize) GetAbsoluteMaxBytes() uint32
- func (m *BatchSize) GetMaxMessageCount() uint32
- func (m *BatchSize) GetPreferredMaxBytes() uint32
- func (*BatchSize) ProtoMessage()
- func (m *BatchSize) Reset()
- func (m *BatchSize) String() string
- func (m *BatchSize) XXX_DiscardUnknown()
- func (m *BatchSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BatchSize) XXX_Merge(src proto.Message)
- func (m *BatchSize) XXX_Size() int
- func (m *BatchSize) XXX_Unmarshal(b []byte) error
- type BatchTimeout
- func (*BatchTimeout) Descriptor() ([]byte, []int)
- func (m *BatchTimeout) GetTimeout() string
- func (*BatchTimeout) ProtoMessage()
- func (m *BatchTimeout) Reset()
- func (m *BatchTimeout) String() string
- func (m *BatchTimeout) XXX_DiscardUnknown()
- func (m *BatchTimeout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BatchTimeout) XXX_Merge(src proto.Message)
- func (m *BatchTimeout) XXX_Size() int
- func (m *BatchTimeout) XXX_Unmarshal(b []byte) error
- type ChannelRestrictions
- func (*ChannelRestrictions) Descriptor() ([]byte, []int)
- func (m *ChannelRestrictions) GetMaxCount() uint64
- func (*ChannelRestrictions) ProtoMessage()
- func (m *ChannelRestrictions) Reset()
- func (m *ChannelRestrictions) String() string
- func (m *ChannelRestrictions) XXX_DiscardUnknown()
- func (m *ChannelRestrictions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ChannelRestrictions) XXX_Merge(src proto.Message)
- func (m *ChannelRestrictions) XXX_Size() int
- func (m *ChannelRestrictions) XXX_Unmarshal(b []byte) error
- type ConsensusType
- func (*ConsensusType) Descriptor() ([]byte, []int)
- func (m *ConsensusType) GetMetadata() []byte
- func (m *ConsensusType) GetType() string
- func (*ConsensusType) ProtoMessage()
- func (m *ConsensusType) Reset()
- func (m *ConsensusType) String() string
- func (m *ConsensusType) XXX_DiscardUnknown()
- func (m *ConsensusType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ConsensusType) XXX_Merge(src proto.Message)
- func (m *ConsensusType) XXX_Size() int
- func (m *ConsensusType) XXX_Unmarshal(b []byte) error
- type KafkaBrokers
- func (*KafkaBrokers) Descriptor() ([]byte, []int)
- func (m *KafkaBrokers) GetBrokers() []string
- func (*KafkaBrokers) ProtoMessage()
- func (m *KafkaBrokers) Reset()
- func (m *KafkaBrokers) String() string
- func (m *KafkaBrokers) XXX_DiscardUnknown()
- func (m *KafkaBrokers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *KafkaBrokers) XXX_Merge(src proto.Message)
- func (m *KafkaBrokers) XXX_Size() int
- func (m *KafkaBrokers) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchSize ¶
type BatchSize struct { // Simply specified as number of messages for now, in the future // we may want to allow this to be specified by size in bytes MaxMessageCount uint32 `protobuf:"varint,1,opt,name=max_message_count,json=maxMessageCount,proto3" json:"max_message_count,omitempty"` // The byte count of the serialized messages in a batch cannot // exceed this value. AbsoluteMaxBytes uint32 `protobuf:"varint,2,opt,name=absolute_max_bytes,json=absoluteMaxBytes,proto3" json:"absolute_max_bytes,omitempty"` // The byte count of the serialized messages in a batch should not // exceed this value. PreferredMaxBytes uint32 `protobuf:"varint,3,opt,name=preferred_max_bytes,json=preferredMaxBytes,proto3" json:"preferred_max_bytes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BatchSize) Descriptor ¶
func (*BatchSize) GetAbsoluteMaxBytes ¶
func (*BatchSize) GetMaxMessageCount ¶
func (*BatchSize) GetPreferredMaxBytes ¶
func (*BatchSize) ProtoMessage ¶
func (*BatchSize) ProtoMessage()
func (*BatchSize) XXX_DiscardUnknown ¶
func (m *BatchSize) XXX_DiscardUnknown()
func (*BatchSize) XXX_Marshal ¶
func (*BatchSize) XXX_Unmarshal ¶
type BatchTimeout ¶
type BatchTimeout struct { // Any duration string parseable by ParseDuration(): // https://golang.org/pkg/time/#ParseDuration Timeout string `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BatchTimeout) Descriptor ¶
func (*BatchTimeout) Descriptor() ([]byte, []int)
func (*BatchTimeout) GetTimeout ¶
func (m *BatchTimeout) GetTimeout() string
func (*BatchTimeout) ProtoMessage ¶
func (*BatchTimeout) ProtoMessage()
func (*BatchTimeout) Reset ¶
func (m *BatchTimeout) Reset()
func (*BatchTimeout) String ¶
func (m *BatchTimeout) String() string
func (*BatchTimeout) XXX_DiscardUnknown ¶
func (m *BatchTimeout) XXX_DiscardUnknown()
func (*BatchTimeout) XXX_Marshal ¶
func (m *BatchTimeout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchTimeout) XXX_Merge ¶
func (dst *BatchTimeout) XXX_Merge(src proto.Message)
func (*BatchTimeout) XXX_Size ¶
func (m *BatchTimeout) XXX_Size() int
func (*BatchTimeout) XXX_Unmarshal ¶
func (m *BatchTimeout) XXX_Unmarshal(b []byte) error
type ChannelRestrictions ¶
type ChannelRestrictions struct { MaxCount uint64 `protobuf:"varint,1,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ChannelRestrictions is the mssage which conveys restrictions on channel creation for an orderer
func (*ChannelRestrictions) Descriptor ¶
func (*ChannelRestrictions) Descriptor() ([]byte, []int)
func (*ChannelRestrictions) GetMaxCount ¶
func (m *ChannelRestrictions) GetMaxCount() uint64
func (*ChannelRestrictions) ProtoMessage ¶
func (*ChannelRestrictions) ProtoMessage()
func (*ChannelRestrictions) Reset ¶
func (m *ChannelRestrictions) Reset()
func (*ChannelRestrictions) String ¶
func (m *ChannelRestrictions) String() string
func (*ChannelRestrictions) XXX_DiscardUnknown ¶
func (m *ChannelRestrictions) XXX_DiscardUnknown()
func (*ChannelRestrictions) XXX_Marshal ¶
func (m *ChannelRestrictions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChannelRestrictions) XXX_Merge ¶
func (dst *ChannelRestrictions) XXX_Merge(src proto.Message)
func (*ChannelRestrictions) XXX_Size ¶
func (m *ChannelRestrictions) XXX_Size() int
func (*ChannelRestrictions) XXX_Unmarshal ¶
func (m *ChannelRestrictions) XXX_Unmarshal(b []byte) error
type ConsensusType ¶
type ConsensusType struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Opaque metadata, dependent on the consensus type. Metadata []byte `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConsensusType) Descriptor ¶
func (*ConsensusType) Descriptor() ([]byte, []int)
func (*ConsensusType) GetMetadata ¶
func (m *ConsensusType) GetMetadata() []byte
func (*ConsensusType) GetType ¶
func (m *ConsensusType) GetType() string
func (*ConsensusType) ProtoMessage ¶
func (*ConsensusType) ProtoMessage()
func (*ConsensusType) Reset ¶
func (m *ConsensusType) Reset()
func (*ConsensusType) String ¶
func (m *ConsensusType) String() string
func (*ConsensusType) XXX_DiscardUnknown ¶
func (m *ConsensusType) XXX_DiscardUnknown()
func (*ConsensusType) XXX_Marshal ¶
func (m *ConsensusType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsensusType) XXX_Merge ¶
func (dst *ConsensusType) XXX_Merge(src proto.Message)
func (*ConsensusType) XXX_Size ¶
func (m *ConsensusType) XXX_Size() int
func (*ConsensusType) XXX_Unmarshal ¶
func (m *ConsensusType) XXX_Unmarshal(b []byte) error
type KafkaBrokers ¶
type KafkaBrokers struct { // Each broker here should be identified using the (IP|host):port notation, // e.g. 127.0.0.1:7050, or localhost:7050 are valid entries Brokers []string `protobuf:"bytes,1,rep,name=brokers,proto3" json:"brokers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Carries a list of bootstrap brokers, i.e. this is not the exclusive set of brokers an ordering service
func (*KafkaBrokers) Descriptor ¶
func (*KafkaBrokers) Descriptor() ([]byte, []int)
func (*KafkaBrokers) GetBrokers ¶
func (m *KafkaBrokers) GetBrokers() []string
func (*KafkaBrokers) ProtoMessage ¶
func (*KafkaBrokers) ProtoMessage()
func (*KafkaBrokers) Reset ¶
func (m *KafkaBrokers) Reset()
func (*KafkaBrokers) String ¶
func (m *KafkaBrokers) String() string
func (*KafkaBrokers) XXX_DiscardUnknown ¶
func (m *KafkaBrokers) XXX_DiscardUnknown()
func (*KafkaBrokers) XXX_Marshal ¶
func (m *KafkaBrokers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KafkaBrokers) XXX_Merge ¶
func (dst *KafkaBrokers) XXX_Merge(src proto.Message)
func (*KafkaBrokers) XXX_Size ¶
func (m *KafkaBrokers) XXX_Size() int
func (*KafkaBrokers) XXX_Unmarshal ¶
func (m *KafkaBrokers) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.