jobs

package
v0.24.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertJob

func AssertJob(assertion *def.Assert) (string, error)

func BuildJob

func BuildJob(build *def.Build, binPath string, resp *compilers.Response) (result string, err error)

func CallJob

func CallJob(call *def.Call, tx *payload.CallTx, do *def.DeployArgs, client *def.Client) (string, []*abi.Variable, error)

func DeployJob

func DeployJob(deploy *def.Deploy, do *def.DeployArgs, script *def.Playbook, client *def.Client, txs []*payload.CallTx, contracts []*compilers.ResponseItem) (result string, err error)

func DumpStateJob

func DumpStateJob(dump *def.DumpState) (string, error)

func ExecutePlaybook added in v0.24.0

func ExecutePlaybook(args *def.DeployArgs, script *def.Playbook, client *def.Client) error

func FormulateCallJob added in v0.23.0

func FormulateCallJob(call *def.Call, do *def.DeployArgs, deployScript *def.Playbook, client *def.Client) (tx *payload.CallTx, err error)

func FormulateDeployJob added in v0.24.0

func FormulateDeployJob(deploy *def.Deploy, do *def.DeployArgs, deployScript *def.Playbook, client *def.Client, intermediate interface{}) (txs []*payload.CallTx, contracts []*compilers.ResponseItem, err error)

func FormulatePermissionJob added in v0.24.0

func FormulatePermissionJob(perm *def.Permission, account string, client *def.Client) (*payload.PermsTx, error)

func FormulateRegisterNameJob added in v0.24.0

func FormulateRegisterNameJob(name *def.RegisterName, do *def.DeployArgs, account string, client *def.Client) ([]*payload.NameTx, error)

func FormulateSendJob added in v0.24.0

func FormulateSendJob(send *def.Send, account string, client *def.Client) (*payload.SendTx, error)

func FormulateUpdateAccountJob added in v0.24.0

func FormulateUpdateAccountJob(gov *def.UpdateAccount, account string, client *def.Client) (*payload.GovTx, []*abi.Variable, error)

func PermissionJob

func PermissionJob(perm *def.Permission, account string, tx *payload.PermsTx, client *def.Client) (string, error)

func ProposalJob added in v0.23.0

func ProposalJob(prop *def.Proposal, do *def.DeployArgs, parentScript *def.Playbook, client *def.Client) (string, error)

func QueryAccountJob

func QueryAccountJob(query *def.QueryAccount, client *def.Client) (string, error)

func QueryContractJob

func QueryContractJob(query *def.QueryContract, do *def.DeployArgs, script *def.Playbook, client *def.Client) (string, []*abi.Variable, error)

func QueryNameJob

func QueryNameJob(query *def.QueryName, client *def.Client) (string, error)

func QueryValsJob

func QueryValsJob(query *def.QueryVals, client *def.Client) (interface{}, error)

func RegisterNameJob

func RegisterNameJob(name *def.RegisterName, do *def.DeployArgs, script *def.Playbook, txs []*payload.NameTx, client *def.Client) (string, error)

func RestoreStateJob

func RestoreStateJob(restore *def.RestoreState) (string, error)

func SendJob

func SendJob(send *def.Send, tx *payload.SendTx, account string, client *def.Client) (string, error)

func SetAccountJob

func SetAccountJob(account *def.Account, do *def.DeployArgs, script *def.Playbook) (string, error)

func SetValJob

func SetValJob(set *def.Set, do *def.DeployArgs) (string, error)

func UpdateAccountJob

func UpdateAccountJob(gov *def.UpdateAccount, account string, tx *payload.GovTx, client *def.Client) error

func WriteJobResultCSV

func WriteJobResultCSV(name, result string) error

[zr] this should go (currently used by the nameReg writer) WriteJobResultCSV takes two strings and writes those to the delineated log file, which is currently deploy.log in the same directory as the deploy.yaml

func WriteJobResultJSON

func WriteJobResultJSON(results map[string]interface{}, logFile string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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