Documentation ¶
Index ¶
- Constants
- func Address(t *testing.T) []byte
- func CloseDeployment(t *testing.T, app apptypes.Application, deployment *base.Bytes, ...)
- func CreateAccount(t *testing.T, state state.State) (*types.Account, crypto.PrivKey)
- func CreateDeployment(t *testing.T, app apptypes.Application, account *types.Account, ...) (*types.Deployment, *types.DeploymentGroups)
- func CreateFulfillment(t *testing.T, app apptypes.Application, provider base.Bytes, ...) *types.Fulfillment
- func CreateLease(t *testing.T, app apptypes.Application, provider base.Bytes, ...) *types.Lease
- func CreateOrder(t *testing.T, app apptypes.Application, account *types.Account, ...) *types.Order
- func CreateProvider(t *testing.T, app apptypes.Application, account *types.Account, ...) *types.Provider
- func Deployment(tenant base.Bytes, nonce uint64) *types.Deployment
- func DeploymentAddress(t *testing.T) []byte
- func DeploymentClosed(t *testing.T, app apptypes.Application, deployment *base.Bytes, ...)
- func DeploymentGroups(deployment base.Bytes, nonce uint64) *types.DeploymentGroups
- func Fulfillment(provider base.Bytes, deplyment base.Bytes, group, order uint64, price uint32) *types.Fulfillment
- func HexAddress(t *testing.T) string
- func HexDeploymentAddress(t *testing.T) string
- func KeyManager(t *testing.T) keys.Keybase
- func Lease(provider base.Bytes, deplyment base.Bytes, group, order uint64, price uint32) *types.Lease
- func Logger() log.Logger
- func NewApp(t *testing.T, gen *types.Genesis) tmtypes.Application
- func NewNamedKey(t *testing.T) (keys.Info, keys.Keybase)
- func NewState(t *testing.T, gen *types.Genesis) state.State
- func Order(deploymentAddress base.Bytes, groupSeq, orderSeq uint64) *types.Order
- func PrivateKey(t *testing.T) crypto.PrivKey
- func PrivateKeySigner(t *testing.T) (txutil.Signer, crypto.PrivKey)
- func Provider(account base.Bytes, nonce uint64) *types.Provider
- func ProviderTx(account *types.Account, key *crypto.PrivKey, nonce uint64) *types.Tx
- func PublicKey(t *testing.T) crypto.PubKey
- func RandUint32() uint32
- func RandUint64() uint64
- func Shrug(t *testing.T, issue int)
- func SleepForThreadStart(t *testing.T)
- func TMConfig(t *testing.T, basedir string) *tmconfig.Config
- func TempDir(t *testing.T) string
- func WithAkashDir(t *testing.T, fn func(string))
- func WithTempDir(t *testing.T, fn func(string))
- func WithTempDirEnv(t *testing.T, key string, fn func(string))
Constants ¶
View Source
const ( KeyPasswd = "0123456789" KeyAlgo = "ed25519" KeyName = "test" )
Variables ¶
This section is empty.
Functions ¶
func CloseDeployment ¶ added in v0.0.2
func CreateAccount ¶
func CreateDeployment ¶
func CreateDeployment(t *testing.T, app apptypes.Application, account *types.Account, key *crypto.PrivKey, nonce uint64) (*types.Deployment, *types.DeploymentGroups)
func CreateFulfillment ¶
func CreateLease ¶
func CreateOrder ¶
func CreateProvider ¶
func Deployment ¶
func Deployment(tenant base.Bytes, nonce uint64) *types.Deployment
func DeploymentAddress ¶ added in v0.0.3
func DeploymentClosed ¶ added in v0.0.2
func DeploymentGroups ¶ added in v0.0.2
func DeploymentGroups(deployment base.Bytes, nonce uint64) *types.DeploymentGroups
func Fulfillment ¶
func HexAddress ¶ added in v0.0.3
func HexDeploymentAddress ¶ added in v0.0.3
func ProviderTx ¶
func RandUint32 ¶
func RandUint32() uint32
func RandUint64 ¶
func RandUint64() uint64
func SleepForThreadStart ¶
func WithAkashDir ¶ added in v0.0.3
func WithTempDir ¶ added in v0.0.3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.