Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertJob

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

func BondJob

func BondJob(tx *payload.BondTx, client *def.Client, logger *logging.Logger) (string, error)

func BuildJob

func BuildJob(build *def.Build, deployScript *def.Playbook, resp *compilers.Response, logger *logging.Logger) (result string, err error)

func CallJob

func CallJob(call *def.Call, tx *payload.CallTx, playbook *def.Playbook, client *def.Client, logger *logging.Logger) (string, []*abi.Variable, error)

func DeployJob

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

func DumpStateJob

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

func ExecutePlaybook

func ExecutePlaybook(args *def.DeployArgs, playbook *def.Playbook, client *def.Client, logger *logging.Logger) error

func FirstOf

func FirstOf(inputs ...string) string

func FormulateBondJob

func FormulateBondJob(bond *def.Bond, account string, client *def.Client, logger *logging.Logger) (*payload.BondTx, error)

func FormulateCallJob

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

func FormulateDeployJob

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

func FormulateIdentifyJob

func FormulateIdentifyJob(id *def.Identify, account string, client *def.Client, logger *logging.Logger) (*payload.IdentifyTx, error)

func FormulatePermissionJob

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

func FormulateRegisterNameJob

func FormulateRegisterNameJob(name *def.RegisterName, do *def.DeployArgs, playbook *def.Playbook, client *def.Client, logger *logging.Logger) ([]*payload.NameTx, error)

func FormulateSendJob

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

func FormulateUnbondJob

func FormulateUnbondJob(unbond *def.Unbond, account string, client *def.Client, logger *logging.Logger) (*payload.UnbondTx, error)

func FormulateUpdateAccountJob

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

func IdentifyJob

func IdentifyJob(tx *payload.IdentifyTx, client *def.Client, logger *logging.Logger) (string, error)

func LogTxExecution

func LogTxExecution(txe *exec.TxExecution, logger *logging.Logger)

func PermissionJob

func PermissionJob(tx *payload.PermsTx, client *def.Client, logger *logging.Logger) (string, error)

func ProposalJob

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

func QueryAccountJob

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

func QueryContractJob

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

func QueryNameJob

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

func QueryValsJob

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

func RegisterNameJob

func RegisterNameJob(txs []*payload.NameTx, client *def.Client, logger *logging.Logger) (string, error)

func RestoreStateJob

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

func SendJob

func SendJob(tx *payload.SendTx, client *def.Client, logger *logging.Logger) (string, error)

func SetAccountJob

func SetAccountJob(account *def.Account, script *def.Playbook, logger *logging.Logger) (string, error)

func SetValJob

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

func UnbondJob

func UnbondJob(tx *payload.UnbondTx, client *def.Client, logger *logging.Logger) (string, error)

func UpdateAccountJob

func UpdateAccountJob(tx *payload.GovTx, client *def.Client, logger *logging.Logger) 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.