k8s

package
v1.0.1-0...-ed7063c Latest Latest
Warning

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

Go to latest
Published: May 24, 2018 License: LGPL-3.0 Imports: 23 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExampleK8SBlockchain

func ExampleK8SBlockchain()

func ExampleK8SEthereum

func ExampleK8SEthereum()

func NewBlockchain

func NewBlockchain(numOfValidators int, numOfExtraAccounts int, gaslimit uint64, isQourum bool, options ...Option) (bc *blockchain)

func NewEthereum

func NewEthereum(options ...Option) *ethereum

Types

type Option

type Option func(*ethereum)

func ExtraAccounts

func ExtraAccounts(keys []*ecdsa.PrivateKey) Option

func IPAddress

func IPAddress(ip string) Option

func ImageRepository

func ImageRepository(repository string) Option

func ImageTag

func ImageTag(tag string) Option

func Mine

func Mine(mine bool) Option

func Name

func Name(name string) Option

func NetworkID

func NetworkID(networkID string) Option

func NodeKeyHex

func NodeKeyHex(hex string) Option

func ServiceType

func ServiceType(serviceType string) Option

func TxPoolSize

func TxPoolSize(size int) Option

func Verbosity

func Verbosity(verbosity int) Option

type RichMan

type RichMan interface {
	GiveEther(context.Context, []common.Address, *big.Int) error
}

type Transactor

type Transactor interface {
	AccountKeys() []*ecdsa.PrivateKey
	SendTransactions(client.Client, []*ecdsa.PrivateKey, *big.Int, time.Duration, time.Duration) error
	PreloadTransactions(client.Client, []*ecdsa.PrivateKey, *big.Int, int) error
}

Jump to

Keyboard shortcuts

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