sharedconfig

package
v1.0.0-preview Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2017 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager 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
}

Manager is a mock implementation of sharedconfig.Manager

func (*Manager) BatchSize

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

BatchSize returns the BatchSizeVal

func (*Manager) BatchTimeout

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

BatchTimeout returns the BatchTimeoutVal

func (*Manager) ChainCreationPolicyNames

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

ChainCreationPolicyNames returns the ChainCreationPolicyNamesVal

func (*Manager) ConsensusType

func (scm *Manager) ConsensusType() string

ConsensusType returns the ConsensusTypeVal

func (*Manager) EgressPolicyNames

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

EgressPolicyNames returns the EgressPolicyNamesVal

func (*Manager) IngressPolicyNames

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

IngressPolicyNames returns the IngressPolicyNamesVal

func (*Manager) KafkaBrokers

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

KafkaBrokers returns the KafkaBrokersVal

Jump to

Keyboard shortcuts

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