tasks

package
v0.0.29 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: Apache-2.0, MIT Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RetrievalStageProposeDeal       = RetrievalStage("ProposeDeal")
	RetrievalStageDealAccepted      = RetrievalStage("DealAccepted")
	RetrievalStageFirstByteReceived = RetrievalStage("FirstByteReceived")
	RetrievalStageAllBytesReceived  = RetrievalStage("AllBytesReceived")
	RetrievalStageDealComplete      = RetrievalStage("DealComplete")
)

Variables

View Source
var BlankStage = staticStageDetails("Unknown stage", "")

BlankStage is a fallback stage for deals that fail early in an unknown stage

View Source
var CommonStages = map[string]func() StageDetails{
	"MinerOnline":  staticStageDetails("Miner is online", "a few seconds"),
	"QueryAsk":     staticStageDetails("Miner responds to query ask", "a few seconds"),
	"CheckPrice":   staticStageDetails("Miner meets price criteria", ""),
	"ClientImport": staticStageDetails("Importing data into Lotus", "a few minutes"),
	"ProposeDeal":  staticStageDetails("Send proposal to miner", ""),
}

CommonStages are stages near the beginning of a deal shared between storage & retrieval

View Source
var RetrievalStages = map[string]func() StageDetails{
	"DealAccepted":      staticStageDetails("Miner accepts deal", "a few seconds"),
	"FirstByteReceived": staticStageDetails("First byte of data received from miner", "a few seconds, or several hours when unsealing"),
	"AllBytesReceived":  staticStageDetails("All bytes received, deal wrapping up", "a few seconds"),
	"DealComplete":      staticStageDetails("Deal is complete", "a few seconds"),
}

RetrievalStages are stages that occur in a retrieval deal

View Source
var StorageDealStages = func() []string {
	ret := make([]string, 0, len(storagemarket.DealStates))
	for _, v := range storagemarket.DealStates {
		ret = append(ret, v)
	}
	return ret
}
View Source
var Type typeSlab

Type is a struct embeding a NodePrototype/Type for every Node implementation in this package. One of its major uses is to start the construction of a value. You can use it like this:

tasks.Type.YourTypeName.NewBuilder().BeginMap() //...

and:

tasks.Type.OtherTypeName.NewBuilder().AssignString("x") // ...

Functions

func MakeRetrievalDeal

func MakeRetrievalDeal(ctx context.Context, config NodeConfig, node api.FullNode, task RetrievalTask, updateStage UpdateStage, log LogStatus, stageTimeouts map[string]time.Duration, releaseWorker func()) error

func MakeStorageDeal

func MakeStorageDeal(ctx context.Context, config NodeConfig, node api.FullNode, task StorageTask, updateStage UpdateStage, log LogStatus, stageTimeouts map[string]time.Duration, releaseWorker func()) error

func ParseStageTimeouts added in v0.0.5

func ParseStageTimeouts(timeoutSpecs []string) (map[string]time.Duration, error)

ParseStageTimeouts parses "StageName=timeout" strings into a map of stage name to timeout duration.

Types

type Any added in v0.0.5

type Any = *_Any

Any matches the IPLD Schema type "Any". It has Union type-kind, and may be interrogated like map kind.

func (Any) AsBool added in v0.0.5

func (Any) AsBool() (bool, error)

func (Any) AsBytes added in v0.0.5

func (Any) AsBytes() ([]byte, error)

func (Any) AsFloat added in v0.0.5

func (Any) AsFloat() (float64, error)

func (Any) AsInt added in v0.0.5

func (Any) AsInt() (int64, error)
func (Any) AsLink() (ipld.Link, error)

func (Any) AsString added in v0.0.5

func (Any) AsString() (string, error)

func (Any) IsAbsent added in v0.0.5

func (Any) IsAbsent() bool

func (Any) IsNull added in v0.0.5

func (Any) IsNull() bool

func (Any) Kind added in v0.0.5

func (Any) Kind() ipld.Kind

func (Any) Length added in v0.0.5

func (Any) Length() int64

func (Any) ListIterator added in v0.0.5

func (Any) ListIterator() ipld.ListIterator

func (Any) LookupByIndex added in v0.0.5

func (Any) LookupByIndex(idx int64) (ipld.Node, error)

func (Any) LookupByNode added in v0.0.5

func (n Any) LookupByNode(key ipld.Node) (ipld.Node, error)

func (Any) LookupBySegment added in v0.0.5

func (n Any) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (Any) LookupByString added in v0.0.5

func (n Any) LookupByString(key string) (ipld.Node, error)

func (Any) MapIterator added in v0.0.5

func (n Any) MapIterator() ipld.MapIterator

func (Any) Prototype added in v0.0.5

func (Any) Prototype() ipld.NodePrototype

func (Any) Representation added in v0.0.5

func (n Any) Representation() ipld.Node

func (Any) Type added in v0.0.5

func (Any) Type() schema.Type

type AuthenticatedRecord added in v0.0.5

type AuthenticatedRecord = *_AuthenticatedRecord

AuthenticatedRecord matches the IPLD Schema type "AuthenticatedRecord". It has Struct type-kind, and may be interrogated like map kind.

func (AuthenticatedRecord) AsBool added in v0.0.5

func (AuthenticatedRecord) AsBool() (bool, error)

func (AuthenticatedRecord) AsBytes added in v0.0.5

func (AuthenticatedRecord) AsBytes() ([]byte, error)

func (AuthenticatedRecord) AsFloat added in v0.0.5

func (AuthenticatedRecord) AsFloat() (float64, error)

func (AuthenticatedRecord) AsInt added in v0.0.5

func (AuthenticatedRecord) AsInt() (int64, error)
func (AuthenticatedRecord) AsLink() (ipld.Link, error)

func (AuthenticatedRecord) AsString added in v0.0.5

func (AuthenticatedRecord) AsString() (string, error)

func (AuthenticatedRecord) IsAbsent added in v0.0.5

func (AuthenticatedRecord) IsAbsent() bool

func (AuthenticatedRecord) IsNull added in v0.0.5

func (AuthenticatedRecord) IsNull() bool

func (AuthenticatedRecord) Kind added in v0.0.5

func (AuthenticatedRecord) Kind() ipld.Kind

func (AuthenticatedRecord) Length added in v0.0.5

func (AuthenticatedRecord) Length() int64

func (AuthenticatedRecord) ListIterator added in v0.0.5

func (AuthenticatedRecord) ListIterator() ipld.ListIterator

func (AuthenticatedRecord) LookupByIndex added in v0.0.5

func (AuthenticatedRecord) LookupByIndex(idx int64) (ipld.Node, error)

func (AuthenticatedRecord) LookupByNode added in v0.0.5

func (n AuthenticatedRecord) LookupByNode(key ipld.Node) (ipld.Node, error)

func (AuthenticatedRecord) LookupBySegment added in v0.0.5

func (n AuthenticatedRecord) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (AuthenticatedRecord) LookupByString added in v0.0.5

func (n AuthenticatedRecord) LookupByString(key string) (ipld.Node, error)

func (AuthenticatedRecord) MapIterator added in v0.0.5

func (n AuthenticatedRecord) MapIterator() ipld.MapIterator

func (AuthenticatedRecord) Prototype added in v0.0.5

func (AuthenticatedRecord) Representation added in v0.0.5

func (n AuthenticatedRecord) Representation() ipld.Node

func (AuthenticatedRecord) Type added in v0.0.5

type Bool added in v0.0.5

type Bool = *_Bool

Bool matches the IPLD Schema type "Bool". It has bool kind.

func (Bool) AsBool added in v0.0.5

func (n Bool) AsBool() (bool, error)

func (Bool) AsBytes added in v0.0.5

func (Bool) AsBytes() ([]byte, error)

func (Bool) AsFloat added in v0.0.5

func (Bool) AsFloat() (float64, error)

func (Bool) AsInt added in v0.0.5

func (Bool) AsInt() (int64, error)
func (Bool) AsLink() (ipld.Link, error)

func (Bool) AsString added in v0.0.5

func (Bool) AsString() (string, error)

func (Bool) Bool added in v0.0.5

func (n Bool) Bool() bool

func (Bool) IsAbsent added in v0.0.5

func (Bool) IsAbsent() bool

func (Bool) IsNull added in v0.0.5

func (Bool) IsNull() bool

func (Bool) Kind added in v0.0.5

func (Bool) Kind() ipld.Kind

func (Bool) Length added in v0.0.5

func (Bool) Length() int64

func (Bool) ListIterator added in v0.0.5

func (Bool) ListIterator() ipld.ListIterator

func (Bool) LookupByIndex added in v0.0.5

func (Bool) LookupByIndex(idx int64) (ipld.Node, error)

func (Bool) LookupByNode added in v0.0.5

func (Bool) LookupByNode(ipld.Node) (ipld.Node, error)

func (Bool) LookupBySegment added in v0.0.5

func (Bool) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (Bool) LookupByString added in v0.0.5

func (Bool) LookupByString(string) (ipld.Node, error)

func (Bool) MapIterator added in v0.0.5

func (Bool) MapIterator() ipld.MapIterator

func (Bool) Prototype added in v0.0.5

func (Bool) Prototype() ipld.NodePrototype

func (Bool) Representation added in v0.0.5

func (n Bool) Representation() ipld.Node

func (Bool) Type added in v0.0.5

func (Bool) Type() schema.Type

type Bytes added in v0.0.5

type Bytes = *_Bytes

Bytes matches the IPLD Schema type "Bytes". It has bytes kind.

func (Bytes) AsBool added in v0.0.5

func (Bytes) AsBool() (bool, error)

func (Bytes) AsBytes added in v0.0.5

func (n Bytes) AsBytes() ([]byte, error)

func (Bytes) AsFloat added in v0.0.5

func (Bytes) AsFloat() (float64, error)

func (Bytes) AsInt added in v0.0.5

func (Bytes) AsInt() (int64, error)
func (Bytes) AsLink() (ipld.Link, error)

func (Bytes) AsString added in v0.0.5

func (Bytes) AsString() (string, error)

func (Bytes) Bytes added in v0.0.5

func (n Bytes) Bytes() []byte

func (Bytes) IsAbsent added in v0.0.5

func (Bytes) IsAbsent() bool

func (Bytes) IsNull added in v0.0.5

func (Bytes) IsNull() bool

func (Bytes) Kind added in v0.0.5

func (Bytes) Kind() ipld.Kind

func (Bytes) Length added in v0.0.5

func (Bytes) Length() int64

func (Bytes) ListIterator added in v0.0.5

func (Bytes) ListIterator() ipld.ListIterator

func (Bytes) LookupByIndex added in v0.0.5

func (Bytes) LookupByIndex(idx int64) (ipld.Node, error)

func (Bytes) LookupByNode added in v0.0.5

func (Bytes) LookupByNode(ipld.Node) (ipld.Node, error)

func (Bytes) LookupBySegment added in v0.0.5

func (Bytes) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (Bytes) LookupByString added in v0.0.5

func (Bytes) LookupByString(string) (ipld.Node, error)

func (Bytes) MapIterator added in v0.0.5

func (Bytes) MapIterator() ipld.MapIterator

func (Bytes) Prototype added in v0.0.5

func (Bytes) Prototype() ipld.NodePrototype

func (Bytes) Representation added in v0.0.5

func (n Bytes) Representation() ipld.Node

func (Bytes) Type added in v0.0.5

func (Bytes) Type() schema.Type

type FinishedTask added in v0.0.5

type FinishedTask = *_FinishedTask

FinishedTask matches the IPLD Schema type "FinishedTask". It has Struct type-kind, and may be interrogated like map kind.

func (FinishedTask) AsBool added in v0.0.5

func (FinishedTask) AsBool() (bool, error)

func (FinishedTask) AsBytes added in v0.0.5

func (FinishedTask) AsBytes() ([]byte, error)

func (FinishedTask) AsFloat added in v0.0.5

func (FinishedTask) AsFloat() (float64, error)

func (FinishedTask) AsInt added in v0.0.5

func (FinishedTask) AsInt() (int64, error)
func (FinishedTask) AsLink() (ipld.Link, error)

func (FinishedTask) AsString added in v0.0.5

func (FinishedTask) AsString() (string, error)

func (FinishedTask) IsAbsent added in v0.0.5

func (FinishedTask) IsAbsent() bool

func (FinishedTask) IsNull added in v0.0.5

func (FinishedTask) IsNull() bool

func (FinishedTask) Kind added in v0.0.5

func (FinishedTask) Kind() ipld.Kind

func (FinishedTask) Length added in v0.0.5

func (FinishedTask) Length() int64

func (FinishedTask) ListIterator added in v0.0.5

func (FinishedTask) ListIterator() ipld.ListIterator

func (FinishedTask) LookupByIndex added in v0.0.5

func (FinishedTask) LookupByIndex(idx int64) (ipld.Node, error)

func (FinishedTask) LookupByNode added in v0.0.5

func (n FinishedTask) LookupByNode(key ipld.Node) (ipld.Node, error)

func (FinishedTask) LookupBySegment added in v0.0.5

func (n FinishedTask) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (FinishedTask) LookupByString added in v0.0.5

func (n FinishedTask) LookupByString(key string) (ipld.Node, error)

func (FinishedTask) MapIterator added in v0.0.5

func (n FinishedTask) MapIterator() ipld.MapIterator

func (FinishedTask) Prototype added in v0.0.5

func (FinishedTask) Prototype() ipld.NodePrototype

func (FinishedTask) Representation added in v0.0.5

func (n FinishedTask) Representation() ipld.Node

func (FinishedTask) Type added in v0.0.5

func (FinishedTask) Type() schema.Type

type FinishedTasks added in v0.0.7

type FinishedTasks = *_FinishedTasks

FinishedTasks matches the IPLD Schema type "FinishedTasks". It has list kind.

func (FinishedTasks) AsBool added in v0.0.7

func (FinishedTasks) AsBool() (bool, error)

func (FinishedTasks) AsBytes added in v0.0.7

func (FinishedTasks) AsBytes() ([]byte, error)

func (FinishedTasks) AsFloat added in v0.0.7

func (FinishedTasks) AsFloat() (float64, error)

func (FinishedTasks) AsInt added in v0.0.7

func (FinishedTasks) AsInt() (int64, error)
func (FinishedTasks) AsLink() (ipld.Link, error)

func (FinishedTasks) AsString added in v0.0.7

func (FinishedTasks) AsString() (string, error)

func (FinishedTasks) IsAbsent added in v0.0.7

func (FinishedTasks) IsAbsent() bool

func (FinishedTasks) IsNull added in v0.0.7

func (FinishedTasks) IsNull() bool

func (FinishedTasks) Iterator added in v0.0.7

func (n FinishedTasks) Iterator() *FinishedTasks__Itr

func (FinishedTasks) Kind added in v0.0.7

func (FinishedTasks) Kind() ipld.Kind

func (FinishedTasks) Length added in v0.0.7

func (n FinishedTasks) Length() int64

func (FinishedTasks) ListIterator added in v0.0.7

func (n FinishedTasks) ListIterator() ipld.ListIterator

func (FinishedTasks) LookupByIndex added in v0.0.7

func (n FinishedTasks) LookupByIndex(idx int64) (ipld.Node, error)

func (FinishedTasks) LookupByNode added in v0.0.7

func (n FinishedTasks) LookupByNode(k ipld.Node) (ipld.Node, error)

func (FinishedTasks) LookupBySegment added in v0.0.7

func (n FinishedTasks) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (FinishedTasks) LookupByString added in v0.0.7

func (FinishedTasks) LookupByString(string) (ipld.Node, error)

func (FinishedTasks) MapIterator added in v0.0.7

func (FinishedTasks) MapIterator() ipld.MapIterator

func (FinishedTasks) Prototype added in v0.0.7

func (FinishedTasks) Prototype() ipld.NodePrototype

func (FinishedTasks) Representation added in v0.0.7

func (n FinishedTasks) Representation() ipld.Node

func (FinishedTasks) Type added in v0.0.7

func (FinishedTasks) Type() schema.Type

type FinishedTasks__Itr added in v0.0.7

type FinishedTasks__Itr struct {
	// contains filtered or unexported fields
}

func (*FinishedTasks__Itr) Done added in v0.0.7

func (itr *FinishedTasks__Itr) Done() bool

func (*FinishedTasks__Itr) Next added in v0.0.7

func (itr *FinishedTasks__Itr) Next() (idx int64, v FinishedTask)

type Float added in v0.0.5

type Float = *_Float

Float matches the IPLD Schema type "Float". It has float kind.

func (Float) AsBool added in v0.0.5

func (Float) AsBool() (bool, error)

func (Float) AsBytes added in v0.0.5

func (Float) AsBytes() ([]byte, error)

func (Float) AsFloat added in v0.0.5

func (n Float) AsFloat() (float64, error)

func (Float) AsInt added in v0.0.5

func (Float) AsInt() (int64, error)
func (Float) AsLink() (ipld.Link, error)

func (Float) AsString added in v0.0.5

func (Float) AsString() (string, error)

func (Float) Float added in v0.0.5

func (n Float) Float() float64

func (Float) IsAbsent added in v0.0.5

func (Float) IsAbsent() bool

func (Float) IsNull added in v0.0.5

func (Float) IsNull() bool

func (Float) Kind added in v0.0.5

func (Float) Kind() ipld.Kind

func (Float) Length added in v0.0.5

func (Float) Length() int64

func (Float) ListIterator added in v0.0.5

func (Float) ListIterator() ipld.ListIterator

func (Float) LookupByIndex added in v0.0.5

func (Float) LookupByIndex(idx int64) (ipld.Node, error)

func (Float) LookupByNode added in v0.0.5

func (Float) LookupByNode(ipld.Node) (ipld.Node, error)

func (Float) LookupBySegment added in v0.0.5

func (Float) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (Float) LookupByString added in v0.0.5

func (Float) LookupByString(string) (ipld.Node, error)

func (Float) MapIterator added in v0.0.5

func (Float) MapIterator() ipld.MapIterator

func (Float) Prototype added in v0.0.5

func (Float) Prototype() ipld.NodePrototype

func (Float) Representation added in v0.0.5

func (n Float) Representation() ipld.Node

func (Float) Type added in v0.0.5

func (Float) Type() schema.Type

type Int added in v0.0.5

type Int = *_Int

Int matches the IPLD Schema type "Int". It has int kind.

func (Int) AsBool added in v0.0.5

func (Int) AsBool() (bool, error)

func (Int) AsBytes added in v0.0.5

func (Int) AsBytes() ([]byte, error)

func (Int) AsFloat added in v0.0.5

func (Int) AsFloat() (float64, error)

func (Int) AsInt added in v0.0.5

func (n Int) AsInt() (int64, error)
func (Int) AsLink() (ipld.Link, error)

func (Int) AsString added in v0.0.5

func (Int) AsString() (string, error)

func (Int) Int added in v0.0.5

func (n Int) Int() int64

func (Int) IsAbsent added in v0.0.5

func (Int) IsAbsent() bool

func (Int) IsNull added in v0.0.5

func (Int) IsNull() bool

func (Int) Kind added in v0.0.5

func (Int) Kind() ipld.Kind

func (Int) Length added in v0.0.5

func (Int) Length() int64

func (Int) ListIterator added in v0.0.5

func (Int) ListIterator() ipld.ListIterator

func (Int) LookupByIndex added in v0.0.5

func (Int) LookupByIndex(idx int64) (ipld.Node, error)

func (Int) LookupByNode added in v0.0.5

func (Int) LookupByNode(ipld.Node) (ipld.Node, error)

func (Int) LookupBySegment added in v0.0.5

func (Int) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (Int) LookupByString added in v0.0.5

func (Int) LookupByString(string) (ipld.Node, error)

func (Int) MapIterator added in v0.0.5

func (Int) MapIterator() ipld.MapIterator

func (Int) Prototype added in v0.0.5

func (Int) Prototype() ipld.NodePrototype

func (Int) Representation added in v0.0.5

func (n Int) Representation() ipld.Node

func (Int) Type added in v0.0.5

func (Int) Type() schema.Type
type Link = *_Link

Link matches the IPLD Schema type "Link". It has link kind.

func (Link) AsBool added in v0.0.5

func (Link) AsBool() (bool, error)

func (Link) AsBytes added in v0.0.5

func (Link) AsBytes() ([]byte, error)

func (Link) AsFloat added in v0.0.5

func (Link) AsFloat() (float64, error)

func (Link) AsInt added in v0.0.5

func (Link) AsInt() (int64, error)
func (n Link) AsLink() (ipld.Link, error)

func (Link) AsString added in v0.0.5

func (Link) AsString() (string, error)

func (Link) IsAbsent added in v0.0.5

func (Link) IsAbsent() bool

func (Link) IsNull added in v0.0.5

func (Link) IsNull() bool

func (Link) Kind added in v0.0.5

func (Link) Kind() ipld.Kind

func (Link) Length added in v0.0.5

func (Link) Length() int64
func (n Link) Link() ipld.Link

func (Link) ListIterator added in v0.0.5

func (Link) ListIterator() ipld.ListIterator

func (Link) LookupByIndex added in v0.0.5

func (Link) LookupByIndex(idx int64) (ipld.Node, error)

func (Link) LookupByNode added in v0.0.5

func (Link) LookupByNode(ipld.Node) (ipld.Node, error)

func (Link) LookupBySegment added in v0.0.5

func (Link) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (Link) LookupByString added in v0.0.5

func (Link) LookupByString(string) (ipld.Node, error)

func (Link) MapIterator added in v0.0.5

func (Link) MapIterator() ipld.MapIterator

func (Link) Prototype added in v0.0.5

func (Link) Prototype() ipld.NodePrototype

func (Link) Representation added in v0.0.5

func (n Link) Representation() ipld.Node

func (Link) Type added in v0.0.5

func (Link) Type() schema.Type
type Link_FinishedTask = *_Link_FinishedTask

Link_FinishedTask matches the IPLD Schema type "Link_FinishedTask". It has link kind.

func (Link_FinishedTask) AsBool() (bool, error)
func (Link_FinishedTask) AsBytes() ([]byte, error)
func (Link_FinishedTask) AsFloat() (float64, error)
func (Link_FinishedTask) AsInt() (int64, error)
func (n Link_FinishedTask) AsLink() (ipld.Link, error)
func (Link_FinishedTask) AsString() (string, error)
func (Link_FinishedTask) IsAbsent() bool
func (Link_FinishedTask) IsNull() bool
func (Link_FinishedTask) Kind() ipld.Kind
func (Link_FinishedTask) Length() int64
func (n Link_FinishedTask) Link() ipld.Link
func (Link_FinishedTask) LinkTargetNodePrototype() ipld.NodePrototype
func (Link_FinishedTask) ListIterator() ipld.ListIterator
func (Link_FinishedTask) LookupByIndex(idx int64) (ipld.Node, error)
func (Link_FinishedTask) LookupByNode(ipld.Node) (ipld.Node, error)
func (Link_FinishedTask) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
func (Link_FinishedTask) LookupByString(string) (ipld.Node, error)
func (Link_FinishedTask) MapIterator() ipld.MapIterator
func (Link_FinishedTask) Prototype() ipld.NodePrototype
func (n Link_FinishedTask) Representation() ipld.Node
func (Link_FinishedTask) Type() schema.Type
type Link_List_StageDetails = *_Link_List_StageDetails

Link_List_StageDetails matches the IPLD Schema type "Link_List_StageDetails". It has link kind.

func (Link_List_StageDetails) AsBool() (bool, error)
func (Link_List_StageDetails) AsBytes() ([]byte, error)
func (Link_List_StageDetails) AsFloat() (float64, error)
func (Link_List_StageDetails) AsInt() (int64, error)
func (n Link_List_StageDetails) AsLink() (ipld.Link, error)
func (Link_List_StageDetails) AsString() (string, error)
func (Link_List_StageDetails) IsAbsent() bool
func (Link_List_StageDetails) IsNull() bool
func (Link_List_StageDetails) Length() int64
func (n Link_List_StageDetails) Link() ipld.Link
func (Link_List_StageDetails) LinkTargetNodePrototype() ipld.NodePrototype
func (Link_List_StageDetails) ListIterator() ipld.ListIterator
func (Link_List_StageDetails) LookupByIndex(idx int64) (ipld.Node, error)
func (Link_List_StageDetails) LookupByNode(ipld.Node) (ipld.Node, error)
func (Link_List_StageDetails) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
func (Link_List_StageDetails) LookupByString(string) (ipld.Node, error)
func (Link_List_StageDetails) MapIterator() ipld.MapIterator
func (n Link_List_StageDetails) Representation() ipld.Node

type List added in v0.0.5

type List = *_List

List matches the IPLD Schema type "List". It has list kind.

func (List) AsBool added in v0.0.5

func (List) AsBool() (bool, error)

func (List) AsBytes added in v0.0.5

func (List) AsBytes() ([]byte, error)

func (List) AsFloat added in v0.0.5

func (List) AsFloat() (float64, error)

func (List) AsInt added in v0.0.5

func (List) AsInt() (int64, error)
func (List) AsLink() (ipld.Link, error)

func (List) AsString added in v0.0.5

func (List) AsString() (string, error)

func (List) IsAbsent added in v0.0.5

func (List) IsAbsent() bool

func (List) IsNull added in v0.0.5

func (List) IsNull() bool

func (List) Iterator added in v0.0.5

func (n List) Iterator() *List__Itr

func (List) Kind added in v0.0.5

func (List) Kind() ipld.Kind

func (List) Length added in v0.0.5

func (n List) Length() int64

func (List) ListIterator added in v0.0.5

func (n List) ListIterator() ipld.ListIterator

func (List) LookupByIndex added in v0.0.5

func (n List) LookupByIndex(idx int64) (ipld.Node, error)

func (List) LookupByNode added in v0.0.5

func (n List) LookupByNode(k ipld.Node) (ipld.Node, error)

func (List) LookupBySegment added in v0.0.5

func (n List) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (List) LookupByString added in v0.0.5

func (List) LookupByString(string) (ipld.Node, error)

func (List) MapIterator added in v0.0.5

func (List) MapIterator() ipld.MapIterator

func (List) Prototype added in v0.0.5

func (List) Prototype() ipld.NodePrototype

func (List) Representation added in v0.0.5

func (n List) Representation() ipld.Node

func (List) Type added in v0.0.5

func (List) Type() schema.Type

type List_AuthenticatedRecord added in v0.0.5

type List_AuthenticatedRecord = *_List_AuthenticatedRecord

List_AuthenticatedRecord matches the IPLD Schema type "List_AuthenticatedRecord". It has list kind.

func (List_AuthenticatedRecord) AsBool added in v0.0.5

func (List_AuthenticatedRecord) AsBool() (bool, error)

func (List_AuthenticatedRecord) AsBytes added in v0.0.5

func (List_AuthenticatedRecord) AsBytes() ([]byte, error)

func (List_AuthenticatedRecord) AsFloat added in v0.0.5

func (List_AuthenticatedRecord) AsFloat() (float64, error)

func (List_AuthenticatedRecord) AsInt added in v0.0.5

func (List_AuthenticatedRecord) AsString added in v0.0.5

func (List_AuthenticatedRecord) AsString() (string, error)

func (List_AuthenticatedRecord) IsAbsent added in v0.0.5

func (List_AuthenticatedRecord) IsAbsent() bool

func (List_AuthenticatedRecord) IsNull added in v0.0.5

func (List_AuthenticatedRecord) IsNull() bool

func (List_AuthenticatedRecord) Iterator added in v0.0.5

func (List_AuthenticatedRecord) Kind added in v0.0.5

func (List_AuthenticatedRecord) Length added in v0.0.5

func (n List_AuthenticatedRecord) Length() int64

func (List_AuthenticatedRecord) ListIterator added in v0.0.5

func (n List_AuthenticatedRecord) ListIterator() ipld.ListIterator

func (List_AuthenticatedRecord) LookupByIndex added in v0.0.5

func (n List_AuthenticatedRecord) LookupByIndex(idx int64) (ipld.Node, error)

func (List_AuthenticatedRecord) LookupByNode added in v0.0.5

func (n List_AuthenticatedRecord) LookupByNode(k ipld.Node) (ipld.Node, error)

func (List_AuthenticatedRecord) LookupBySegment added in v0.0.5

func (n List_AuthenticatedRecord) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (List_AuthenticatedRecord) LookupByString added in v0.0.5

func (List_AuthenticatedRecord) LookupByString(string) (ipld.Node, error)

func (List_AuthenticatedRecord) MapIterator added in v0.0.5

func (List_AuthenticatedRecord) Prototype added in v0.0.5

func (List_AuthenticatedRecord) Representation added in v0.0.5

func (n List_AuthenticatedRecord) Representation() ipld.Node

func (List_AuthenticatedRecord) Type added in v0.0.5

type List_AuthenticatedRecord__Itr added in v0.0.5

type List_AuthenticatedRecord__Itr struct {
	// contains filtered or unexported fields
}

func (*List_AuthenticatedRecord__Itr) Done added in v0.0.5

func (itr *List_AuthenticatedRecord__Itr) Done() bool

func (*List_AuthenticatedRecord__Itr) Next added in v0.0.5

type List_Logs added in v0.0.5

type List_Logs = *_List_Logs

List_Logs matches the IPLD Schema type "List_Logs". It has list kind.

func (List_Logs) AsBool added in v0.0.5

func (List_Logs) AsBool() (bool, error)

func (List_Logs) AsBytes added in v0.0.5

func (List_Logs) AsBytes() ([]byte, error)

func (List_Logs) AsFloat added in v0.0.5

func (List_Logs) AsFloat() (float64, error)

func (List_Logs) AsInt added in v0.0.5

func (List_Logs) AsInt() (int64, error)
func (List_Logs) AsLink() (ipld.Link, error)

func (List_Logs) AsString added in v0.0.5

func (List_Logs) AsString() (string, error)

func (List_Logs) IsAbsent added in v0.0.5

func (List_Logs) IsAbsent() bool

func (List_Logs) IsNull added in v0.0.5

func (List_Logs) IsNull() bool

func (List_Logs) Iterator added in v0.0.5

func (n List_Logs) Iterator() *List_Logs__Itr

func (List_Logs) Kind added in v0.0.5

func (List_Logs) Kind() ipld.Kind

func (List_Logs) Length added in v0.0.5

func (n List_Logs) Length() int64

func (List_Logs) ListIterator added in v0.0.5

func (n List_Logs) ListIterator() ipld.ListIterator

func (List_Logs) LookupByIndex added in v0.0.5

func (n List_Logs) LookupByIndex(idx int64) (ipld.Node, error)

func (List_Logs) LookupByNode added in v0.0.5

func (n List_Logs) LookupByNode(k ipld.Node) (ipld.Node, error)

func (List_Logs) LookupBySegment added in v0.0.5

func (n List_Logs) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (List_Logs) LookupByString added in v0.0.5

func (List_Logs) LookupByString(string) (ipld.Node, error)

func (List_Logs) MapIterator added in v0.0.5

func (List_Logs) MapIterator() ipld.MapIterator

func (List_Logs) Prototype added in v0.0.5

func (List_Logs) Prototype() ipld.NodePrototype

func (List_Logs) Representation added in v0.0.5

func (n List_Logs) Representation() ipld.Node

func (List_Logs) Type added in v0.0.5

func (List_Logs) Type() schema.Type

type List_Logs__Itr added in v0.0.5

type List_Logs__Itr struct {
	// contains filtered or unexported fields
}

func (*List_Logs__Itr) Done added in v0.0.5

func (itr *List_Logs__Itr) Done() bool

func (*List_Logs__Itr) Next added in v0.0.5

func (itr *List_Logs__Itr) Next() (idx int64, v Logs)

type List_StageDetails added in v0.0.5

type List_StageDetails = *_List_StageDetails

List_StageDetails matches the IPLD Schema type "List_StageDetails". It has list kind.

func (List_StageDetails) AsBool added in v0.0.5

func (List_StageDetails) AsBool() (bool, error)

func (List_StageDetails) AsBytes added in v0.0.5

func (List_StageDetails) AsBytes() ([]byte, error)

func (List_StageDetails) AsFloat added in v0.0.5

func (List_StageDetails) AsFloat() (float64, error)

func (List_StageDetails) AsInt added in v0.0.5

func (List_StageDetails) AsInt() (int64, error)
func (List_StageDetails) AsLink() (ipld.Link, error)

func (List_StageDetails) AsString added in v0.0.5

func (List_StageDetails) AsString() (string, error)

func (List_StageDetails) IsAbsent added in v0.0.5

func (List_StageDetails) IsAbsent() bool

func (List_StageDetails) IsNull added in v0.0.5

func (List_StageDetails) IsNull() bool

func (List_StageDetails) Iterator added in v0.0.5

func (List_StageDetails) Kind added in v0.0.5

func (List_StageDetails) Kind() ipld.Kind

func (List_StageDetails) Length added in v0.0.5

func (n List_StageDetails) Length() int64

func (List_StageDetails) ListIterator added in v0.0.5

func (n List_StageDetails) ListIterator() ipld.ListIterator

func (List_StageDetails) LookupByIndex added in v0.0.5

func (n List_StageDetails) LookupByIndex(idx int64) (ipld.Node, error)

func (List_StageDetails) LookupByNode added in v0.0.5

func (n List_StageDetails) LookupByNode(k ipld.Node) (ipld.Node, error)

func (List_StageDetails) LookupBySegment added in v0.0.5

func (n List_StageDetails) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (List_StageDetails) LookupByString added in v0.0.5

func (List_StageDetails) LookupByString(string) (ipld.Node, error)

func (List_StageDetails) MapIterator added in v0.0.5

func (List_StageDetails) MapIterator() ipld.MapIterator

func (List_StageDetails) Prototype added in v0.0.5

func (List_StageDetails) Prototype() ipld.NodePrototype

func (List_StageDetails) Representation added in v0.0.5

func (n List_StageDetails) Representation() ipld.Node

func (List_StageDetails) Type added in v0.0.5

func (List_StageDetails) Type() schema.Type

type List_StageDetails__Itr added in v0.0.5

type List_StageDetails__Itr struct {
	// contains filtered or unexported fields
}

func (*List_StageDetails__Itr) Done added in v0.0.5

func (itr *List_StageDetails__Itr) Done() bool

func (*List_StageDetails__Itr) Next added in v0.0.5

func (itr *List_StageDetails__Itr) Next() (idx int64, v StageDetails)

type List_String added in v0.0.5

type List_String = *_List_String

List_String matches the IPLD Schema type "List_String". It has list kind.

func (List_String) AsBool added in v0.0.5

func (List_String) AsBool() (bool, error)

func (List_String) AsBytes added in v0.0.5

func (List_String) AsBytes() ([]byte, error)

func (List_String) AsFloat added in v0.0.5

func (List_String) AsFloat() (float64, error)

func (List_String) AsInt added in v0.0.5

func (List_String) AsInt() (int64, error)
func (List_String) AsLink() (ipld.Link, error)

func (List_String) AsString added in v0.0.5

func (List_String) AsString() (string, error)

func (List_String) IsAbsent added in v0.0.5

func (List_String) IsAbsent() bool

func (List_String) IsNull added in v0.0.5

func (List_String) IsNull() bool

func (List_String) Iterator added in v0.0.5

func (n List_String) Iterator() *List_String__Itr

func (List_String) Kind added in v0.0.5

func (List_String) Kind() ipld.Kind

func (List_String) Length added in v0.0.5

func (n List_String) Length() int64

func (List_String) ListIterator added in v0.0.5

func (n List_String) ListIterator() ipld.ListIterator

func (List_String) LookupByIndex added in v0.0.5

func (n List_String) LookupByIndex(idx int64) (ipld.Node, error)

func (List_String) LookupByNode added in v0.0.5

func (n List_String) LookupByNode(k ipld.Node) (ipld.Node, error)

func (List_String) LookupBySegment added in v0.0.5

func (n List_String) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (List_String) LookupByString added in v0.0.5

func (List_String) LookupByString(string) (ipld.Node, error)

func (List_String) MapIterator added in v0.0.5

func (List_String) MapIterator() ipld.MapIterator

func (List_String) Prototype added in v0.0.5

func (List_String) Prototype() ipld.NodePrototype

func (List_String) Representation added in v0.0.5

func (n List_String) Representation() ipld.Node

func (List_String) Type added in v0.0.5

func (List_String) Type() schema.Type

type List_String__Itr added in v0.0.5

type List_String__Itr struct {
	// contains filtered or unexported fields
}

func (*List_String__Itr) Done added in v0.0.5

func (itr *List_String__Itr) Done() bool

func (*List_String__Itr) Next added in v0.0.5

func (itr *List_String__Itr) Next() (idx int64, v String)

type List__Itr added in v0.0.5

type List__Itr struct {
	// contains filtered or unexported fields
}

func (*List__Itr) Done added in v0.0.5

func (itr *List__Itr) Done() bool

func (*List__Itr) Next added in v0.0.5

func (itr *List__Itr) Next() (idx int64, v MaybeAny)

type LogStatus added in v0.0.5

type LogStatus func(msg string, keysAndValues ...interface{})

LogStatus is a function that logs messages

type Logs added in v0.0.5

type Logs = *_Logs

Logs matches the IPLD Schema type "Logs". It has Struct type-kind, and may be interrogated like map kind.

func (Logs) AsBool added in v0.0.5

func (Logs) AsBool() (bool, error)

func (Logs) AsBytes added in v0.0.5

func (Logs) AsBytes() ([]byte, error)

func (Logs) AsFloat added in v0.0.5

func (Logs) AsFloat() (float64, error)

func (Logs) AsInt added in v0.0.5

func (Logs) AsInt() (int64, error)
func (Logs) AsLink() (ipld.Link, error)

func (Logs) AsString added in v0.0.5

func (Logs) AsString() (string, error)

func (Logs) IsAbsent added in v0.0.5

func (Logs) IsAbsent() bool

func (Logs) IsNull added in v0.0.5

func (Logs) IsNull() bool

func (Logs) Kind added in v0.0.5

func (Logs) Kind() ipld.Kind

func (Logs) Length added in v0.0.5

func (Logs) Length() int64

func (Logs) ListIterator added in v0.0.5

func (Logs) ListIterator() ipld.ListIterator

func (Logs) LookupByIndex added in v0.0.5

func (Logs) LookupByIndex(idx int64) (ipld.Node, error)

func (Logs) LookupByNode added in v0.0.5

func (n Logs) LookupByNode(key ipld.Node) (ipld.Node, error)

func (Logs) LookupBySegment added in v0.0.5

func (n Logs) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (Logs) LookupByString added in v0.0.5

func (n Logs) LookupByString(key string) (ipld.Node, error)

func (Logs) MapIterator added in v0.0.5

func (n Logs) MapIterator() ipld.MapIterator

func (Logs) Prototype added in v0.0.5

func (Logs) Prototype() ipld.NodePrototype

func (Logs) Representation added in v0.0.5

func (n Logs) Representation() ipld.Node

func (Logs) Type added in v0.0.5

func (Logs) Type() schema.Type

type Map added in v0.0.5

type Map = *_Map

Map matches the IPLD Schema type "Map". It has map kind.

func (Map) AsBool added in v0.0.5

func (Map) AsBool() (bool, error)

func (Map) AsBytes added in v0.0.5

func (Map) AsBytes() ([]byte, error)

func (Map) AsFloat added in v0.0.5

func (Map) AsFloat() (float64, error)

func (Map) AsInt added in v0.0.5

func (Map) AsInt() (int64, error)
func (Map) AsLink() (ipld.Link, error)

func (Map) AsString added in v0.0.5

func (Map) AsString() (string, error)

func (Map) IsAbsent added in v0.0.5

func (Map) IsAbsent() bool

func (Map) IsNull added in v0.0.5

func (Map) IsNull() bool

func (Map) Iterator added in v0.0.5

func (n Map) Iterator() *Map__Itr

func (Map) Kind added in v0.0.5

func (Map) Kind() ipld.Kind

func (Map) Length added in v0.0.5

func (n Map) Length() int64

func (Map) ListIterator added in v0.0.5

func (Map) ListIterator() ipld.ListIterator

func (Map) LookupByIndex added in v0.0.5

func (Map) LookupByIndex(idx int64) (ipld.Node, error)

func (Map) LookupByNode added in v0.0.5

func (n Map) LookupByNode(k ipld.Node) (ipld.Node, error)

func (Map) LookupBySegment added in v0.0.5

func (n Map) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (Map) LookupByString added in v0.0.5

func (n Map) LookupByString(k string) (ipld.Node, error)

func (Map) MapIterator added in v0.0.5

func (n Map) MapIterator() ipld.MapIterator

func (Map) Prototype added in v0.0.5

func (Map) Prototype() ipld.NodePrototype

func (Map) Representation added in v0.0.5

func (n Map) Representation() ipld.Node

func (Map) Type added in v0.0.5

func (Map) Type() schema.Type

type Map__Itr added in v0.0.5

type Map__Itr struct {
	// contains filtered or unexported fields
}

func (*Map__Itr) Done added in v0.0.5

func (itr *Map__Itr) Done() bool

func (*Map__Itr) Next added in v0.0.5

func (itr *Map__Itr) Next() (k String, v MaybeAny)

type MaybeAny added in v0.0.5

type MaybeAny = *_Any__Maybe

func (MaybeAny) AsNode added in v0.0.5

func (m MaybeAny) AsNode() ipld.Node

func (MaybeAny) Exists added in v0.0.5

func (m MaybeAny) Exists() bool

func (MaybeAny) IsAbsent added in v0.0.5

func (m MaybeAny) IsAbsent() bool

func (MaybeAny) IsNull added in v0.0.5

func (m MaybeAny) IsNull() bool

func (MaybeAny) Must added in v0.0.5

func (m MaybeAny) Must() Any

type MaybeAuthenticatedRecord added in v0.0.5

type MaybeAuthenticatedRecord = *_AuthenticatedRecord__Maybe

func (MaybeAuthenticatedRecord) AsNode added in v0.0.5

func (m MaybeAuthenticatedRecord) AsNode() ipld.Node

func (MaybeAuthenticatedRecord) Exists added in v0.0.5

func (m MaybeAuthenticatedRecord) Exists() bool

func (MaybeAuthenticatedRecord) IsAbsent added in v0.0.5

func (m MaybeAuthenticatedRecord) IsAbsent() bool

func (MaybeAuthenticatedRecord) IsNull added in v0.0.5

func (m MaybeAuthenticatedRecord) IsNull() bool

func (MaybeAuthenticatedRecord) Must added in v0.0.5

type MaybeBool added in v0.0.5

type MaybeBool = *_Bool__Maybe

func (MaybeBool) AsNode added in v0.0.5

func (m MaybeBool) AsNode() ipld.Node

func (MaybeBool) Exists added in v0.0.5

func (m MaybeBool) Exists() bool

func (MaybeBool) IsAbsent added in v0.0.5

func (m MaybeBool) IsAbsent() bool

func (MaybeBool) IsNull added in v0.0.5

func (m MaybeBool) IsNull() bool

func (MaybeBool) Must added in v0.0.5

func (m MaybeBool) Must() Bool

type MaybeBytes added in v0.0.5

type MaybeBytes = *_Bytes__Maybe

func (MaybeBytes) AsNode added in v0.0.5

func (m MaybeBytes) AsNode() ipld.Node

func (MaybeBytes) Exists added in v0.0.5

func (m MaybeBytes) Exists() bool

func (MaybeBytes) IsAbsent added in v0.0.5

func (m MaybeBytes) IsAbsent() bool

func (MaybeBytes) IsNull added in v0.0.5

func (m MaybeBytes) IsNull() bool

func (MaybeBytes) Must added in v0.0.5

func (m MaybeBytes) Must() Bytes

type MaybeFinishedTask added in v0.0.5

type MaybeFinishedTask = *_FinishedTask__Maybe

func (MaybeFinishedTask) AsNode added in v0.0.5

func (m MaybeFinishedTask) AsNode() ipld.Node

func (MaybeFinishedTask) Exists added in v0.0.5

func (m MaybeFinishedTask) Exists() bool

func (MaybeFinishedTask) IsAbsent added in v0.0.5

func (m MaybeFinishedTask) IsAbsent() bool

func (MaybeFinishedTask) IsNull added in v0.0.5

func (m MaybeFinishedTask) IsNull() bool

func (MaybeFinishedTask) Must added in v0.0.5

type MaybeFinishedTasks added in v0.0.7

type MaybeFinishedTasks = *_FinishedTasks__Maybe

func (MaybeFinishedTasks) AsNode added in v0.0.7

func (m MaybeFinishedTasks) AsNode() ipld.Node

func (MaybeFinishedTasks) Exists added in v0.0.7

func (m MaybeFinishedTasks) Exists() bool

func (MaybeFinishedTasks) IsAbsent added in v0.0.7

func (m MaybeFinishedTasks) IsAbsent() bool

func (MaybeFinishedTasks) IsNull added in v0.0.7

func (m MaybeFinishedTasks) IsNull() bool

func (MaybeFinishedTasks) Must added in v0.0.7

type MaybeFloat added in v0.0.5

type MaybeFloat = *_Float__Maybe

func (MaybeFloat) AsNode added in v0.0.5

func (m MaybeFloat) AsNode() ipld.Node

func (MaybeFloat) Exists added in v0.0.5

func (m MaybeFloat) Exists() bool

func (MaybeFloat) IsAbsent added in v0.0.5

func (m MaybeFloat) IsAbsent() bool

func (MaybeFloat) IsNull added in v0.0.5

func (m MaybeFloat) IsNull() bool

func (MaybeFloat) Must added in v0.0.5

func (m MaybeFloat) Must() Float

type MaybeInt added in v0.0.5

type MaybeInt = *_Int__Maybe

func (MaybeInt) AsNode added in v0.0.5

func (m MaybeInt) AsNode() ipld.Node

func (MaybeInt) Exists added in v0.0.5

func (m MaybeInt) Exists() bool

func (MaybeInt) IsAbsent added in v0.0.5

func (m MaybeInt) IsAbsent() bool

func (MaybeInt) IsNull added in v0.0.5

func (m MaybeInt) IsNull() bool

func (MaybeInt) Must added in v0.0.5

func (m MaybeInt) Must() Int
type MaybeLink = *_Link__Maybe

func (MaybeLink) AsNode added in v0.0.5

func (m MaybeLink) AsNode() ipld.Node

func (MaybeLink) Exists added in v0.0.5

func (m MaybeLink) Exists() bool

func (MaybeLink) IsAbsent added in v0.0.5

func (m MaybeLink) IsAbsent() bool

func (MaybeLink) IsNull added in v0.0.5

func (m MaybeLink) IsNull() bool

func (MaybeLink) Must added in v0.0.5

func (m MaybeLink) Must() Link
type MaybeLink_FinishedTask = *_Link_FinishedTask__Maybe
func (m MaybeLink_FinishedTask) AsNode() ipld.Node
func (m MaybeLink_FinishedTask) Exists() bool
func (m MaybeLink_FinishedTask) IsAbsent() bool
func (m MaybeLink_FinishedTask) IsNull() bool
type MaybeLink_List_StageDetails = *_Link_List_StageDetails__Maybe
func (m MaybeLink_List_StageDetails) Exists() bool
func (m MaybeLink_List_StageDetails) IsAbsent() bool
func (m MaybeLink_List_StageDetails) IsNull() bool

type MaybeList added in v0.0.5

type MaybeList = *_List__Maybe

func (MaybeList) AsNode added in v0.0.5

func (m MaybeList) AsNode() ipld.Node

func (MaybeList) Exists added in v0.0.5

func (m MaybeList) Exists() bool

func (MaybeList) IsAbsent added in v0.0.5

func (m MaybeList) IsAbsent() bool

func (MaybeList) IsNull added in v0.0.5

func (m MaybeList) IsNull() bool

func (MaybeList) Must added in v0.0.5

func (m MaybeList) Must() List

type MaybeList_AuthenticatedRecord added in v0.0.5

type MaybeList_AuthenticatedRecord = *_List_AuthenticatedRecord__Maybe

func (MaybeList_AuthenticatedRecord) AsNode added in v0.0.5

func (MaybeList_AuthenticatedRecord) Exists added in v0.0.5

func (MaybeList_AuthenticatedRecord) IsAbsent added in v0.0.5

func (m MaybeList_AuthenticatedRecord) IsAbsent() bool

func (MaybeList_AuthenticatedRecord) IsNull added in v0.0.5

func (MaybeList_AuthenticatedRecord) Must added in v0.0.5

type MaybeList_Logs added in v0.0.5

type MaybeList_Logs = *_List_Logs__Maybe

func (MaybeList_Logs) AsNode added in v0.0.5

func (m MaybeList_Logs) AsNode() ipld.Node

func (MaybeList_Logs) Exists added in v0.0.5

func (m MaybeList_Logs) Exists() bool

func (MaybeList_Logs) IsAbsent added in v0.0.5

func (m MaybeList_Logs) IsAbsent() bool

func (MaybeList_Logs) IsNull added in v0.0.5

func (m MaybeList_Logs) IsNull() bool

func (MaybeList_Logs) Must added in v0.0.5

func (m MaybeList_Logs) Must() List_Logs

type MaybeList_StageDetails added in v0.0.5

type MaybeList_StageDetails = *_List_StageDetails__Maybe

func (MaybeList_StageDetails) AsNode added in v0.0.5

func (m MaybeList_StageDetails) AsNode() ipld.Node

func (MaybeList_StageDetails) Exists added in v0.0.5

func (m MaybeList_StageDetails) Exists() bool

func (MaybeList_StageDetails) IsAbsent added in v0.0.5

func (m MaybeList_StageDetails) IsAbsent() bool

func (MaybeList_StageDetails) IsNull added in v0.0.5

func (m MaybeList_StageDetails) IsNull() bool

func (MaybeList_StageDetails) Must added in v0.0.5

type MaybeList_String added in v0.0.5

type MaybeList_String = *_List_String__Maybe

func (MaybeList_String) AsNode added in v0.0.5

func (m MaybeList_String) AsNode() ipld.Node

func (MaybeList_String) Exists added in v0.0.5

func (m MaybeList_String) Exists() bool

func (MaybeList_String) IsAbsent added in v0.0.5

func (m MaybeList_String) IsAbsent() bool

func (MaybeList_String) IsNull added in v0.0.5

func (m MaybeList_String) IsNull() bool

func (MaybeList_String) Must added in v0.0.5

func (m MaybeList_String) Must() List_String

type MaybeLogs added in v0.0.5

type MaybeLogs = *_Logs__Maybe

func (MaybeLogs) AsNode added in v0.0.5

func (m MaybeLogs) AsNode() ipld.Node

func (MaybeLogs) Exists added in v0.0.5

func (m MaybeLogs) Exists() bool

func (MaybeLogs) IsAbsent added in v0.0.5

func (m MaybeLogs) IsAbsent() bool

func (MaybeLogs) IsNull added in v0.0.5

func (m MaybeLogs) IsNull() bool

func (MaybeLogs) Must added in v0.0.5

func (m MaybeLogs) Must() Logs

type MaybeMap added in v0.0.5

type MaybeMap = *_Map__Maybe

func (MaybeMap) AsNode added in v0.0.5

func (m MaybeMap) AsNode() ipld.Node

func (MaybeMap) Exists added in v0.0.5

func (m MaybeMap) Exists() bool

func (MaybeMap) IsAbsent added in v0.0.5

func (m MaybeMap) IsAbsent() bool

func (MaybeMap) IsNull added in v0.0.5

func (m MaybeMap) IsNull() bool

func (MaybeMap) Must added in v0.0.5

func (m MaybeMap) Must() Map

type MaybePopTask added in v0.0.5

type MaybePopTask = *_PopTask__Maybe

func (MaybePopTask) AsNode added in v0.0.5

func (m MaybePopTask) AsNode() ipld.Node

func (MaybePopTask) Exists added in v0.0.5

func (m MaybePopTask) Exists() bool

func (MaybePopTask) IsAbsent added in v0.0.5

func (m MaybePopTask) IsAbsent() bool

func (MaybePopTask) IsNull added in v0.0.5

func (m MaybePopTask) IsNull() bool

func (MaybePopTask) Must added in v0.0.5

func (m MaybePopTask) Must() PopTask

type MaybeRecordUpdate added in v0.0.5

type MaybeRecordUpdate = *_RecordUpdate__Maybe

func (MaybeRecordUpdate) AsNode added in v0.0.5

func (m MaybeRecordUpdate) AsNode() ipld.Node

func (MaybeRecordUpdate) Exists added in v0.0.5

func (m MaybeRecordUpdate) Exists() bool

func (MaybeRecordUpdate) IsAbsent added in v0.0.5

func (m MaybeRecordUpdate) IsAbsent() bool

func (MaybeRecordUpdate) IsNull added in v0.0.5

func (m MaybeRecordUpdate) IsNull() bool

func (MaybeRecordUpdate) Must added in v0.0.5

type MaybeRetrievalTask added in v0.0.5

type MaybeRetrievalTask = *_RetrievalTask__Maybe

func (MaybeRetrievalTask) AsNode added in v0.0.5

func (m MaybeRetrievalTask) AsNode() ipld.Node

func (MaybeRetrievalTask) Exists added in v0.0.5

func (m MaybeRetrievalTask) Exists() bool

func (MaybeRetrievalTask) IsAbsent added in v0.0.5

func (m MaybeRetrievalTask) IsAbsent() bool

func (MaybeRetrievalTask) IsNull added in v0.0.5

func (m MaybeRetrievalTask) IsNull() bool

func (MaybeRetrievalTask) Must added in v0.0.5

type MaybeStageDetails added in v0.0.5

type MaybeStageDetails = *_StageDetails__Maybe

func (MaybeStageDetails) AsNode added in v0.0.5

func (m MaybeStageDetails) AsNode() ipld.Node

func (MaybeStageDetails) Exists added in v0.0.5

func (m MaybeStageDetails) Exists() bool

func (MaybeStageDetails) IsAbsent added in v0.0.5

func (m MaybeStageDetails) IsAbsent() bool

func (MaybeStageDetails) IsNull added in v0.0.5

func (m MaybeStageDetails) IsNull() bool

func (MaybeStageDetails) Must added in v0.0.5

type MaybeStatus added in v0.0.5

type MaybeStatus = *_Status__Maybe

func (MaybeStatus) AsNode added in v0.0.5

func (m MaybeStatus) AsNode() ipld.Node

func (MaybeStatus) Exists added in v0.0.5

func (m MaybeStatus) Exists() bool

func (MaybeStatus) IsAbsent added in v0.0.5

func (m MaybeStatus) IsAbsent() bool

func (MaybeStatus) IsNull added in v0.0.5

func (m MaybeStatus) IsNull() bool

func (MaybeStatus) Must added in v0.0.5

func (m MaybeStatus) Must() Status

type MaybeStorageTask added in v0.0.5

type MaybeStorageTask = *_StorageTask__Maybe

func (MaybeStorageTask) AsNode added in v0.0.5

func (m MaybeStorageTask) AsNode() ipld.Node

func (MaybeStorageTask) Exists added in v0.0.5

func (m MaybeStorageTask) Exists() bool

func (MaybeStorageTask) IsAbsent added in v0.0.5

func (m MaybeStorageTask) IsAbsent() bool

func (MaybeStorageTask) IsNull added in v0.0.5

func (m MaybeStorageTask) IsNull() bool

func (MaybeStorageTask) Must added in v0.0.5

func (m MaybeStorageTask) Must() StorageTask

type MaybeString added in v0.0.5

type MaybeString = *_String__Maybe

func (MaybeString) AsNode added in v0.0.5

func (m MaybeString) AsNode() ipld.Node

func (MaybeString) Exists added in v0.0.5

func (m MaybeString) Exists() bool

func (MaybeString) IsAbsent added in v0.0.5

func (m MaybeString) IsAbsent() bool

func (MaybeString) IsNull added in v0.0.5

func (m MaybeString) IsNull() bool

func (MaybeString) Must added in v0.0.5

func (m MaybeString) Must() String

type MaybeTask added in v0.0.5

type MaybeTask = *_Task__Maybe

func (MaybeTask) AsNode added in v0.0.5

func (m MaybeTask) AsNode() ipld.Node

func (MaybeTask) Exists added in v0.0.5

func (m MaybeTask) Exists() bool

func (MaybeTask) IsAbsent added in v0.0.5

func (m MaybeTask) IsAbsent() bool

func (MaybeTask) IsNull added in v0.0.5

func (m MaybeTask) IsNull() bool

func (MaybeTask) Must added in v0.0.5

func (m MaybeTask) Must() Task

type MaybeTasks added in v0.0.5

type MaybeTasks = *_Tasks__Maybe

func (MaybeTasks) AsNode added in v0.0.5

func (m MaybeTasks) AsNode() ipld.Node

func (MaybeTasks) Exists added in v0.0.5

func (m MaybeTasks) Exists() bool

func (MaybeTasks) IsAbsent added in v0.0.5

func (m MaybeTasks) IsAbsent() bool

func (MaybeTasks) IsNull added in v0.0.5

func (m MaybeTasks) IsNull() bool

func (MaybeTasks) Must added in v0.0.5

func (m MaybeTasks) Must() Tasks

type MaybeTime added in v0.0.5

type MaybeTime = *_Time__Maybe

func (MaybeTime) AsNode added in v0.0.5

func (m MaybeTime) AsNode() ipld.Node

func (MaybeTime) Exists added in v0.0.5

func (m MaybeTime) Exists() bool

func (MaybeTime) IsAbsent added in v0.0.5

func (m MaybeTime) IsAbsent() bool

func (MaybeTime) IsNull added in v0.0.5

func (m MaybeTime) IsNull() bool

func (MaybeTime) Must added in v0.0.5

func (m MaybeTime) Must() Time

type MaybeUpdateTask added in v0.0.5

type MaybeUpdateTask = *_UpdateTask__Maybe

func (MaybeUpdateTask) AsNode added in v0.0.5

func (m MaybeUpdateTask) AsNode() ipld.Node

func (MaybeUpdateTask) Exists added in v0.0.5

func (m MaybeUpdateTask) Exists() bool

func (MaybeUpdateTask) IsAbsent added in v0.0.5

func (m MaybeUpdateTask) IsAbsent() bool

func (MaybeUpdateTask) IsNull added in v0.0.5

func (m MaybeUpdateTask) IsNull() bool

func (MaybeUpdateTask) Must added in v0.0.5

func (m MaybeUpdateTask) Must() UpdateTask

type NodeConfig

type NodeConfig struct {
	DataDir          string
	NodeDataDir      string
	WalletAddress    address.Address
	MinWalletBalance big.Int
	MinWalletCap     big.Int
	PostHook         string
}

NodeConfig specifies parameters to a running deal bot

type PopTask added in v0.0.5

type PopTask = *_PopTask

PopTask matches the IPLD Schema type "PopTask". It has Struct type-kind, and may be interrogated like map kind.

func (PopTask) AsBool added in v0.0.5

func (PopTask) AsBool() (bool, error)

func (PopTask) AsBytes added in v0.0.5

func (PopTask) AsBytes() ([]byte, error)

func (PopTask) AsFloat added in v0.0.5

func (PopTask) AsFloat() (float64, error)

func (PopTask) AsInt added in v0.0.5

func (PopTask) AsInt() (int64, error)
func (PopTask) AsLink() (ipld.Link, error)

func (PopTask) AsString added in v0.0.5

func (PopTask) AsString() (string, error)

func (PopTask) IsAbsent added in v0.0.5

func (PopTask) IsAbsent() bool

func (PopTask) IsNull added in v0.0.5

func (PopTask) IsNull() bool

func (PopTask) Kind added in v0.0.5

func (PopTask) Kind() ipld.Kind

func (PopTask) Length added in v0.0.5

func (PopTask) Length() int64

func (PopTask) ListIterator added in v0.0.5

func (PopTask) ListIterator() ipld.ListIterator

func (PopTask) LookupByIndex added in v0.0.5

func (PopTask) LookupByIndex(idx int64) (ipld.Node, error)

func (PopTask) LookupByNode added in v0.0.5

func (n PopTask) LookupByNode(key ipld.Node) (ipld.Node, error)

func (PopTask) LookupBySegment added in v0.0.5

func (n PopTask) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (PopTask) LookupByString added in v0.0.5

func (n PopTask) LookupByString(key string) (ipld.Node, error)

func (PopTask) MapIterator added in v0.0.5

func (n PopTask) MapIterator() ipld.MapIterator

func (PopTask) Prototype added in v0.0.5

func (PopTask) Prototype() ipld.NodePrototype

func (PopTask) Representation added in v0.0.5

func (n PopTask) Representation() ipld.Node

func (PopTask) Type added in v0.0.5

func (PopTask) Type() schema.Type

type RecordUpdate added in v0.0.5

type RecordUpdate = *_RecordUpdate

RecordUpdate matches the IPLD Schema type "RecordUpdate". It has Struct type-kind, and may be interrogated like map kind.

func (RecordUpdate) AsBool added in v0.0.5

func (RecordUpdate) AsBool() (bool, error)

func (RecordUpdate) AsBytes added in v0.0.5

func (RecordUpdate) AsBytes() ([]byte, error)

func (RecordUpdate) AsFloat added in v0.0.5

func (RecordUpdate) AsFloat() (float64, error)

func (RecordUpdate) AsInt added in v0.0.5

func (RecordUpdate) AsInt() (int64, error)
func (RecordUpdate) AsLink() (ipld.Link, error)

func (RecordUpdate) AsString added in v0.0.5

func (RecordUpdate) AsString() (string, error)

func (RecordUpdate) IsAbsent added in v0.0.5

func (RecordUpdate) IsAbsent() bool

func (RecordUpdate) IsNull added in v0.0.5

func (RecordUpdate) IsNull() bool

func (RecordUpdate) Kind added in v0.0.5

func (RecordUpdate) Kind() ipld.Kind

func (RecordUpdate) Length added in v0.0.5

func (RecordUpdate) Length() int64

func (RecordUpdate) ListIterator added in v0.0.5

func (RecordUpdate) ListIterator() ipld.ListIterator

func (RecordUpdate) LookupByIndex added in v0.0.5

func (RecordUpdate) LookupByIndex(idx int64) (ipld.Node, error)

func (RecordUpdate) LookupByNode added in v0.0.5

func (n RecordUpdate) LookupByNode(key ipld.Node) (ipld.Node, error)

func (RecordUpdate) LookupBySegment added in v0.0.5

func (n RecordUpdate) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (RecordUpdate) LookupByString added in v0.0.5

func (n RecordUpdate) LookupByString(key string) (ipld.Node, error)

func (RecordUpdate) MapIterator added in v0.0.5

func (n RecordUpdate) MapIterator() ipld.MapIterator

func (RecordUpdate) Prototype added in v0.0.5

func (RecordUpdate) Prototype() ipld.NodePrototype

func (RecordUpdate) Representation added in v0.0.5

func (n RecordUpdate) Representation() ipld.Node

func (RecordUpdate) Type added in v0.0.5

func (RecordUpdate) Type() schema.Type

type RetrievalStage added in v0.0.10

type RetrievalStage = string

type RetrievalTask

type RetrievalTask = *_RetrievalTask

RetrievalTask matches the IPLD Schema type "RetrievalTask". It has Struct type-kind, and may be interrogated like map kind.

func (RetrievalTask) AsBool added in v0.0.5

func (RetrievalTask) AsBool() (bool, error)

func (RetrievalTask) AsBytes added in v0.0.5

func (RetrievalTask) AsBytes() ([]byte, error)

func (RetrievalTask) AsFloat added in v0.0.5

func (RetrievalTask) AsFloat() (float64, error)

func (RetrievalTask) AsInt added in v0.0.5

func (RetrievalTask) AsInt() (int64, error)
func (RetrievalTask) AsLink() (ipld.Link, error)

func (RetrievalTask) AsString added in v0.0.5

func (RetrievalTask) AsString() (string, error)

func (RetrievalTask) IsAbsent added in v0.0.5

func (RetrievalTask) IsAbsent() bool

func (RetrievalTask) IsNull added in v0.0.5

func (RetrievalTask) IsNull() bool

func (RetrievalTask) Kind added in v0.0.5

func (RetrievalTask) Kind() ipld.Kind

func (RetrievalTask) Length added in v0.0.5

func (RetrievalTask) Length() int64

func (RetrievalTask) ListIterator added in v0.0.5

func (RetrievalTask) ListIterator() ipld.ListIterator

func (RetrievalTask) LookupByIndex added in v0.0.5

func (RetrievalTask) LookupByIndex(idx int64) (ipld.Node, error)

func (RetrievalTask) LookupByNode added in v0.0.5

func (n RetrievalTask) LookupByNode(key ipld.Node) (ipld.Node, error)

func (RetrievalTask) LookupBySegment added in v0.0.5

func (n RetrievalTask) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (RetrievalTask) LookupByString added in v0.0.5

func (n RetrievalTask) LookupByString(key string) (ipld.Node, error)

func (RetrievalTask) MapIterator added in v0.0.5

func (n RetrievalTask) MapIterator() ipld.MapIterator

func (RetrievalTask) Prototype added in v0.0.5

func (RetrievalTask) Prototype() ipld.NodePrototype

func (RetrievalTask) Representation added in v0.0.5

func (n RetrievalTask) Representation() ipld.Node

func (RetrievalTask) Type added in v0.0.5

func (RetrievalTask) Type() schema.Type

type StageDetails added in v0.0.5

type StageDetails = *_StageDetails

StageDetails matches the IPLD Schema type "StageDetails". It has Struct type-kind, and may be interrogated like map kind.

func AddLog added in v0.0.5

func AddLog(stageDetails StageDetails, log string) StageDetails

AddLog adds a log message to details about the current stage

func (StageDetails) AsBool added in v0.0.5

func (StageDetails) AsBool() (bool, error)

func (StageDetails) AsBytes added in v0.0.5

func (StageDetails) AsBytes() ([]byte, error)

func (StageDetails) AsFloat added in v0.0.5

func (StageDetails) AsFloat() (float64, error)

func (StageDetails) AsInt added in v0.0.5

func (StageDetails) AsInt() (int64, error)
func (StageDetails) AsLink() (ipld.Link, error)

func (StageDetails) AsString added in v0.0.5

func (StageDetails) AsString() (string, error)

func (StageDetails) IsAbsent added in v0.0.5

func (StageDetails) IsAbsent() bool

func (StageDetails) IsNull added in v0.0.5

func (StageDetails) IsNull() bool

func (StageDetails) Kind added in v0.0.5

func (StageDetails) Kind() ipld.Kind

func (StageDetails) Length added in v0.0.5

func (StageDetails) Length() int64

func (StageDetails) ListIterator added in v0.0.5

func (StageDetails) ListIterator() ipld.ListIterator

func (StageDetails) LookupByIndex added in v0.0.5

func (StageDetails) LookupByIndex(idx int64) (ipld.Node, error)

func (StageDetails) LookupByNode added in v0.0.5

func (n StageDetails) LookupByNode(key ipld.Node) (ipld.Node, error)

func (StageDetails) LookupBySegment added in v0.0.5

func (n StageDetails) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (StageDetails) LookupByString added in v0.0.5

func (n StageDetails) LookupByString(key string) (ipld.Node, error)

func (StageDetails) MapIterator added in v0.0.5

func (n StageDetails) MapIterator() ipld.MapIterator

func (StageDetails) Prototype added in v0.0.5

func (StageDetails) Prototype() ipld.NodePrototype

func (StageDetails) Representation added in v0.0.5

func (n StageDetails) Representation() ipld.Node

func (StageDetails) Type added in v0.0.5

func (StageDetails) Type() schema.Type

type Status

type Status = *_Status

Status matches the IPLD Schema type "Status". It has int kind.

var (
	// Available indicates a task is ready to be assigned to a deal bot
	Available Status = &_Status{x: 1}
	// InProgress means the task is running
	InProgress Status = &_Status{x: 2}
	// Successful means the task completed successfully
	Successful Status = &_Status{x: 3}
	// Failed means the task has failed
	Failed Status = &_Status{x: 4}
)

func (Status) AsBool added in v0.0.5

func (Status) AsBool() (bool, error)

func (Status) AsBytes added in v0.0.5

func (Status) AsBytes() ([]byte, error)

func (Status) AsFloat added in v0.0.5

func (Status) AsFloat() (float64, error)

func (Status) AsInt added in v0.0.5

func (n Status) AsInt() (int64, error)
func (Status) AsLink() (ipld.Link, error)

func (Status) AsString added in v0.0.5

func (Status) AsString() (string, error)

func (Status) Int added in v0.0.5

func (n Status) Int() int64

func (Status) IsAbsent added in v0.0.5

func (Status) IsAbsent() bool

func (Status) IsNull added in v0.0.5

func (Status) IsNull() bool

func (Status) Kind added in v0.0.5

func (Status) Kind() ipld.Kind

func (Status) Length added in v0.0.5

func (Status) Length() int64

func (Status) ListIterator added in v0.0.5

func (Status) ListIterator() ipld.ListIterator

func (Status) LookupByIndex added in v0.0.5

func (Status) LookupByIndex(idx int64) (ipld.Node, error)

func (Status) LookupByNode added in v0.0.5

func (Status) LookupByNode(ipld.Node) (ipld.Node, error)

func (Status) LookupBySegment added in v0.0.5

func (Status) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (Status) LookupByString added in v0.0.5

func (Status) LookupByString(string) (ipld.Node, error)

func (Status) MapIterator added in v0.0.5

func (Status) MapIterator() ipld.MapIterator

func (Status) Prototype added in v0.0.5

func (Status) Prototype() ipld.NodePrototype

func (Status) Representation added in v0.0.5

func (n Status) Representation() ipld.Node

func (Status) String

func (s Status) String() string

func (Status) Type added in v0.0.5

func (Status) Type() schema.Type

type StorageTask

type StorageTask = *_StorageTask

StorageTask matches the IPLD Schema type "StorageTask". It has Struct type-kind, and may be interrogated like map kind.

func (StorageTask) AsBool added in v0.0.5

func (StorageTask) AsBool() (bool, error)

func (StorageTask) AsBytes added in v0.0.5

func (StorageTask) AsBytes() ([]byte, error)

func (StorageTask) AsFloat added in v0.0.5

func (StorageTask) AsFloat() (float64, error)

func (StorageTask) AsInt added in v0.0.5

func (StorageTask) AsInt() (int64, error)
func (StorageTask) AsLink() (ipld.Link, error)

func (StorageTask) AsString added in v0.0.5

func (StorageTask) AsString() (string, error)

func (StorageTask) IsAbsent added in v0.0.5

func (StorageTask) IsAbsent() bool

func (StorageTask) IsNull added in v0.0.5

func (StorageTask) IsNull() bool

func (StorageTask) Kind added in v0.0.5

func (StorageTask) Kind() ipld.Kind

func (StorageTask) Length added in v0.0.5

func (StorageTask) Length() int64

func (StorageTask) ListIterator added in v0.0.5

func (StorageTask) ListIterator() ipld.ListIterator

func (StorageTask) LookupByIndex added in v0.0.5

func (StorageTask) LookupByIndex(idx int64) (ipld.Node, error)

func (StorageTask) LookupByNode added in v0.0.5

func (n StorageTask) LookupByNode(key ipld.Node) (ipld.Node, error)

func (StorageTask) LookupBySegment added in v0.0.5

func (n StorageTask) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (StorageTask) LookupByString added in v0.0.5

func (n StorageTask) LookupByString(key string) (ipld.Node, error)

func (StorageTask) MapIterator added in v0.0.5

func (n StorageTask) MapIterator() ipld.MapIterator

func (StorageTask) Prototype added in v0.0.5

func (StorageTask) Prototype() ipld.NodePrototype

func (StorageTask) Representation added in v0.0.5

func (n StorageTask) Representation() ipld.Node

func (StorageTask) Type added in v0.0.5

func (StorageTask) Type() schema.Type

type String added in v0.0.5

type String = *_String

String matches the IPLD Schema type "String". It has string kind.

func (String) AsBool added in v0.0.5

func (String) AsBool() (bool, error)

func (String) AsBytes added in v0.0.5

func (String) AsBytes() ([]byte, error)

func (String) AsFloat added in v0.0.5

func (String) AsFloat() (float64, error)

func (String) AsInt added in v0.0.5

func (String) AsInt() (int64, error)
func (String) AsLink() (ipld.Link, error)

func (String) AsString added in v0.0.5

func (n String) AsString() (string, error)

func (String) IsAbsent added in v0.0.5

func (String) IsAbsent() bool

func (String) IsNull added in v0.0.5

func (String) IsNull() bool

func (String) Kind added in v0.0.5

func (String) Kind() ipld.Kind

func (String) Length added in v0.0.5

func (String) Length() int64

func (String) ListIterator added in v0.0.5

func (String) ListIterator() ipld.ListIterator

func (String) LookupByIndex added in v0.0.5

func (String) LookupByIndex(idx int64) (ipld.Node, error)

func (String) LookupByNode added in v0.0.5

func (String) LookupByNode(ipld.Node) (ipld.Node, error)

func (String) LookupBySegment added in v0.0.5

func (String) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (String) LookupByString added in v0.0.5

func (String) LookupByString(string) (ipld.Node, error)

func (String) MapIterator added in v0.0.5

func (String) MapIterator() ipld.MapIterator

func (String) Prototype added in v0.0.5

func (String) Prototype() ipld.NodePrototype

func (String) Representation added in v0.0.5

func (n String) Representation() ipld.Node

func (String) String added in v0.0.5

func (n String) String() string

func (String) Type added in v0.0.5

func (String) Type() schema.Type

type Task

type Task = *_Task

Task matches the IPLD Schema type "Task". It has Struct type-kind, and may be interrogated like map kind.

func (Task) AsBool added in v0.0.5

func (Task) AsBool() (bool, error)

func (Task) AsBytes added in v0.0.5

func (Task) AsBytes() ([]byte, error)

func (Task) AsFloat added in v0.0.5

func (Task) AsFloat() (float64, error)

func (Task) AsInt added in v0.0.5

func (Task) AsInt() (int64, error)
func (Task) AsLink() (ipld.Link, error)

func (Task) AsString added in v0.0.5

func (Task) AsString() (string, error)

func (Task) IsAbsent added in v0.0.5

func (Task) IsAbsent() bool

func (Task) IsNull added in v0.0.5

func (Task) IsNull() bool

func (Task) Kind added in v0.0.5

func (Task) Kind() ipld.Kind

func (Task) Length added in v0.0.5

func (Task) Length() int64

func (Task) ListIterator added in v0.0.5

func (Task) ListIterator() ipld.ListIterator

func (Task) LookupByIndex added in v0.0.5

func (Task) LookupByIndex(idx int64) (ipld.Node, error)

func (Task) LookupByNode added in v0.0.5

func (n Task) LookupByNode(key ipld.Node) (ipld.Node, error)

func (Task) LookupBySegment added in v0.0.5

func (n Task) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (Task) LookupByString added in v0.0.5

func (n Task) LookupByString(key string) (ipld.Node, error)

func (Task) MapIterator added in v0.0.5

func (n Task) MapIterator() ipld.MapIterator

func (Task) Prototype added in v0.0.5

func (Task) Prototype() ipld.NodePrototype

func (Task) Representation added in v0.0.5

func (n Task) Representation() ipld.Node

func (Task) Type added in v0.0.5

func (Task) Type() schema.Type

type TaskEvent added in v0.0.4

type TaskEvent struct {
	Status Status
	Stage  string
	Run    int
	At     time.Time
}

TaskEvent logs a change in either status

type Tasks added in v0.0.5

type Tasks = *_Tasks

Tasks matches the IPLD Schema type "Tasks". It has list kind.

func (Tasks) AsBool added in v0.0.5

func (Tasks) AsBool() (bool, error)

func (Tasks) AsBytes added in v0.0.5

func (Tasks) AsBytes() ([]byte, error)

func (Tasks) AsFloat added in v0.0.5

func (Tasks) AsFloat() (float64, error)

func (Tasks) AsInt added in v0.0.5

func (Tasks) AsInt() (int64, error)
func (Tasks) AsLink() (ipld.Link, error)

func (Tasks) AsString added in v0.0.5

func (Tasks) AsString() (string, error)

func (Tasks) IsAbsent added in v0.0.5

func (Tasks) IsAbsent() bool

func (Tasks) IsNull added in v0.0.5

func (Tasks) IsNull() bool

func (Tasks) Iterator added in v0.0.5

func (n Tasks) Iterator() *Tasks__Itr

func (Tasks) Kind added in v0.0.5

func (Tasks) Kind() ipld.Kind

func (Tasks) Length added in v0.0.5

func (n Tasks) Length() int64

func (Tasks) ListIterator added in v0.0.5

func (n Tasks) ListIterator() ipld.ListIterator

func (Tasks) LookupByIndex added in v0.0.5

func (n Tasks) LookupByIndex(idx int64) (ipld.Node, error)

func (Tasks) LookupByNode added in v0.0.5

func (n Tasks) LookupByNode(k ipld.Node) (ipld.Node, error)

func (Tasks) LookupBySegment added in v0.0.5

func (n Tasks) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (Tasks) LookupByString added in v0.0.5

func (Tasks) LookupByString(string) (ipld.Node, error)

func (Tasks) MapIterator added in v0.0.5

func (Tasks) MapIterator() ipld.MapIterator

func (Tasks) Prototype added in v0.0.5

func (Tasks) Prototype() ipld.NodePrototype

func (Tasks) Representation added in v0.0.5

func (n Tasks) Representation() ipld.Node

func (Tasks) Type added in v0.0.5

func (Tasks) Type() schema.Type

type Tasks__Itr added in v0.0.5

type Tasks__Itr struct {
	// contains filtered or unexported fields
}

func (*Tasks__Itr) Done added in v0.0.5

func (itr *Tasks__Itr) Done() bool

func (*Tasks__Itr) Next added in v0.0.5

func (itr *Tasks__Itr) Next() (idx int64, v Task)

type Time added in v0.0.5

type Time = *_Time

Time matches the IPLD Schema type "Time". It has int kind.

func (Time) AsBool added in v0.0.5

func (Time) AsBool() (bool, error)

func (Time) AsBytes added in v0.0.5

func (Time) AsBytes() ([]byte, error)

func (Time) AsFloat added in v0.0.5

func (Time) AsFloat() (float64, error)

func (Time) AsInt added in v0.0.5

func (n Time) AsInt() (int64, error)
func (Time) AsLink() (ipld.Link, error)

func (Time) AsString added in v0.0.5

func (Time) AsString() (string, error)

func (Time) Int added in v0.0.5

func (n Time) Int() int64

func (Time) IsAbsent added in v0.0.5

func (Time) IsAbsent() bool

func (Time) IsNull added in v0.0.5

func (Time) IsNull() bool

func (Time) Kind added in v0.0.5

func (Time) Kind() ipld.Kind

func (Time) Length added in v0.0.5

func (Time) Length() int64

func (Time) ListIterator added in v0.0.5

func (Time) ListIterator() ipld.ListIterator

func (Time) LookupByIndex added in v0.0.5

func (Time) LookupByIndex(idx int64) (ipld.Node, error)

func (Time) LookupByNode added in v0.0.5

func (Time) LookupByNode(ipld.Node) (ipld.Node, error)

func (Time) LookupBySegment added in v0.0.5

func (Time) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (Time) LookupByString added in v0.0.5

func (Time) LookupByString(string) (ipld.Node, error)

func (Time) MapIterator added in v0.0.5

func (Time) MapIterator() ipld.MapIterator

func (Time) Prototype added in v0.0.5

func (Time) Prototype() ipld.NodePrototype

func (Time) Representation added in v0.0.5

func (n Time) Representation() ipld.Node

func (Time) Type added in v0.0.5

func (Time) Type() schema.Type

type UpdateStage added in v0.0.5

type UpdateStage func(ctx context.Context, stage string, stageDetails StageDetails) error

UpdateStage updates the stage & current stage details for a deal, and records the previous stage in the task status ledger as needed

type UpdateTask added in v0.0.5

type UpdateTask = *_UpdateTask

UpdateTask matches the IPLD Schema type "UpdateTask". It has Struct type-kind, and may be interrogated like map kind.

func (UpdateTask) AsBool added in v0.0.5

func (UpdateTask) AsBool() (bool, error)

func (UpdateTask) AsBytes added in v0.0.5

func (UpdateTask) AsBytes() ([]byte, error)

func (UpdateTask) AsFloat added in v0.0.5

func (UpdateTask) AsFloat() (float64, error)

func (UpdateTask) AsInt added in v0.0.5

func (UpdateTask) AsInt() (int64, error)
func (UpdateTask) AsLink() (ipld.Link, error)

func (UpdateTask) AsString added in v0.0.5

func (UpdateTask) AsString() (string, error)

func (UpdateTask) IsAbsent added in v0.0.5

func (UpdateTask) IsAbsent() bool

func (UpdateTask) IsNull added in v0.0.5

func (UpdateTask) IsNull() bool

func (UpdateTask) Kind added in v0.0.5

func (UpdateTask) Kind() ipld.Kind

func (UpdateTask) Length added in v0.0.5

func (UpdateTask) Length() int64

func (UpdateTask) ListIterator added in v0.0.5

func (UpdateTask) ListIterator() ipld.ListIterator

func (UpdateTask) LookupByIndex added in v0.0.5

func (UpdateTask) LookupByIndex(idx int64) (ipld.Node, error)

func (UpdateTask) LookupByNode added in v0.0.5

func (n UpdateTask) LookupByNode(key ipld.Node) (ipld.Node, error)

func (UpdateTask) LookupBySegment added in v0.0.5

func (n UpdateTask) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)

func (UpdateTask) LookupByString added in v0.0.5

func (n UpdateTask) LookupByString(key string) (ipld.Node, error)

func (UpdateTask) MapIterator added in v0.0.5

func (n UpdateTask) MapIterator() ipld.MapIterator

func (UpdateTask) Prototype added in v0.0.5

func (UpdateTask) Prototype() ipld.NodePrototype

func (UpdateTask) Representation added in v0.0.5

func (n UpdateTask) Representation() ipld.Node

func (UpdateTask) Type added in v0.0.5

func (UpdateTask) Type() schema.Type

Jump to

Keyboard shortcuts

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