sharedconfig

package
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SharedConfig

type SharedConfig struct {
	// ConsensusTypeVal is returned as the result of ConsensusType()
	ConsensusTypeVal string
	// BatchSizeVal is returned as the result of BatchSize()
	BatchSizeVal *ab.BatchSize
	// BatchTimeoutVal is returned as the result of BatchTimeout()
	BatchTimeoutVal time.Duration
	// ChainCreationPolicyNamesVal is returned as the result of ChainCreationPolicyNames()
	ChainCreationPolicyNamesVal []string
	// KafkaBrokersVal is returned as the result of KafkaBrokers()
	KafkaBrokersVal []string
	// IngressPolicyNamesVal is returned as the result of IngressPolicyNames()
	IngressPolicyNamesVal []string
	// EgressPolicyNamesVal is returned as the result of EgressPolicyNames()
	EgressPolicyNamesVal []string
	// MaxChannelsCountVal is returns as the result of MaxChannelsCount()
	MaxChannelsCountVal uint64
}

SharedConfig is a mock implementation of sharedconfig.SharedConfig

func (*SharedConfig) BatchSize

func (scm *SharedConfig) BatchSize() *ab.BatchSize

BatchSize returns the BatchSizeVal

func (*SharedConfig) BatchTimeout

func (scm *SharedConfig) BatchTimeout() time.Duration

BatchTimeout returns the BatchTimeoutVal

func (*SharedConfig) ChainCreationPolicyNames

func (scm *SharedConfig) ChainCreationPolicyNames() []string

ChainCreationPolicyNames returns the ChainCreationPolicyNamesVal

func (*SharedConfig) ConsensusType

func (scm *SharedConfig) ConsensusType() string

ConsensusType returns the ConsensusTypeVal

func (*SharedConfig) EgressPolicyNames

func (scm *SharedConfig) EgressPolicyNames() []string

EgressPolicyNames returns the EgressPolicyNamesVal

func (*SharedConfig) IngressPolicyNames

func (scm *SharedConfig) IngressPolicyNames() []string

IngressPolicyNames returns the IngressPolicyNamesVal

func (*SharedConfig) KafkaBrokers

func (scm *SharedConfig) KafkaBrokers() []string

KafkaBrokers returns the KafkaBrokersVal

func (*SharedConfig) MaxChannelsCount

func (scm *SharedConfig) MaxChannelsCount() uint64

MaxChannelsCount returns the MaxChannelsCountVal

Jump to

Keyboard shortcuts

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