tasks

package
v0.0.54 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: Apache-2.0, MIT Imports: 37 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". Any has union typekind, which means its data model behaviors are that of a 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() (datamodel.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() datamodel.Kind

func (Any) Length added in v0.0.5

func (Any) Length() int64

func (Any) ListIterator added in v0.0.5

func (Any) ListIterator() datamodel.ListIterator

func (Any) LookupByIndex added in v0.0.5

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

func (Any) LookupByNode added in v0.0.5

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

func (Any) LookupBySegment added in v0.0.5

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

func (Any) LookupByString added in v0.0.5

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

func (Any) MapIterator added in v0.0.5

func (n Any) MapIterator() datamodel.MapIterator

func (Any) Prototype added in v0.0.5

func (Any) Prototype() datamodel.NodePrototype

func (Any) Representation added in v0.0.5

func (n Any) Representation() datamodel.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) 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) Length added in v0.0.5

func (AuthenticatedRecord) Length() int64

func (AuthenticatedRecord) ListIterator added in v0.0.5

func (AuthenticatedRecord) LookupByIndex added in v0.0.5

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

func (AuthenticatedRecord) LookupByNode added in v0.0.5

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

func (AuthenticatedRecord) LookupBySegment added in v0.0.5

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

func (AuthenticatedRecord) LookupByString added in v0.0.5

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

func (AuthenticatedRecord) MapIterator added in v0.0.5

func (n AuthenticatedRecord) MapIterator() datamodel.MapIterator

func (AuthenticatedRecord) Prototype added in v0.0.5

func (AuthenticatedRecord) Representation added in v0.0.5

func (n AuthenticatedRecord) Representation() datamodel.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() (datamodel.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() datamodel.Kind

func (Bool) Length added in v0.0.5

func (Bool) Length() int64

func (Bool) ListIterator added in v0.0.5

func (Bool) ListIterator() datamodel.ListIterator

func (Bool) LookupByIndex added in v0.0.5

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

func (Bool) LookupByNode added in v0.0.5

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

func (Bool) LookupBySegment added in v0.0.5

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

func (Bool) LookupByString added in v0.0.5

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

func (Bool) MapIterator added in v0.0.5

func (Bool) MapIterator() datamodel.MapIterator

func (Bool) Prototype added in v0.0.5

func (Bool) Prototype() datamodel.NodePrototype

func (Bool) Representation added in v0.0.5

func (n Bool) Representation() datamodel.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() (datamodel.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() datamodel.Kind

func (Bytes) Length added in v0.0.5

func (Bytes) Length() int64

func (Bytes) ListIterator added in v0.0.5

func (Bytes) ListIterator() datamodel.ListIterator

func (Bytes) LookupByIndex added in v0.0.5

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

func (Bytes) LookupByNode added in v0.0.5

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

func (Bytes) LookupBySegment added in v0.0.5

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

func (Bytes) LookupByString added in v0.0.5

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

func (Bytes) MapIterator added in v0.0.5

func (Bytes) MapIterator() datamodel.MapIterator

func (Bytes) Prototype added in v0.0.5

func (Bytes) Prototype() datamodel.NodePrototype

func (Bytes) Representation added in v0.0.5

func (n Bytes) Representation() datamodel.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() (datamodel.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() datamodel.Kind

func (FinishedTask) Length added in v0.0.5

func (FinishedTask) Length() int64

func (FinishedTask) ListIterator added in v0.0.5

func (FinishedTask) ListIterator() datamodel.ListIterator

func (FinishedTask) LookupByIndex added in v0.0.5

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

func (FinishedTask) LookupByNode added in v0.0.5

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

func (FinishedTask) LookupBySegment added in v0.0.5

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

func (FinishedTask) LookupByString added in v0.0.5

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

func (FinishedTask) MapIterator added in v0.0.5

func (n FinishedTask) MapIterator() datamodel.MapIterator

func (FinishedTask) Prototype added in v0.0.5

func (FinishedTask) Prototype() datamodel.NodePrototype

func (FinishedTask) Representation added in v0.0.5

func (n FinishedTask) Representation() datamodel.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() (datamodel.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() datamodel.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() datamodel.ListIterator

func (FinishedTasks) LookupByIndex added in v0.0.7

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

func (FinishedTasks) LookupByNode added in v0.0.7

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

func (FinishedTasks) LookupBySegment added in v0.0.7

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

func (FinishedTasks) LookupByString added in v0.0.7

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

func (FinishedTasks) MapIterator added in v0.0.7

func (FinishedTasks) MapIterator() datamodel.MapIterator

func (FinishedTasks) Prototype added in v0.0.7

func (FinishedTasks) Representation added in v0.0.7

func (n FinishedTasks) Representation() datamodel.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() (datamodel.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() datamodel.Kind

func (Float) Length added in v0.0.5

func (Float) Length() int64

func (Float) ListIterator added in v0.0.5

func (Float) ListIterator() datamodel.ListIterator

func (Float) LookupByIndex added in v0.0.5

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

func (Float) LookupByNode added in v0.0.5

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

func (Float) LookupBySegment added in v0.0.5

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

func (Float) LookupByString added in v0.0.5

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

func (Float) MapIterator added in v0.0.5

func (Float) MapIterator() datamodel.MapIterator

func (Float) Prototype added in v0.0.5

func (Float) Prototype() datamodel.NodePrototype

func (Float) Representation added in v0.0.5

func (n Float) Representation() datamodel.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() (datamodel.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() datamodel.Kind

func (Int) Length added in v0.0.5

func (Int) Length() int64

func (Int) ListIterator added in v0.0.5

func (Int) ListIterator() datamodel.ListIterator

func (Int) LookupByIndex added in v0.0.5

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

func (Int) LookupByNode added in v0.0.5

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

func (Int) LookupBySegment added in v0.0.5

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

func (Int) LookupByString added in v0.0.5

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

func (Int) MapIterator added in v0.0.5

func (Int) MapIterator() datamodel.MapIterator

func (Int) Prototype added in v0.0.5

func (Int) Prototype() datamodel.NodePrototype

func (Int) Representation added in v0.0.5

func (n Int) Representation() datamodel.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() (datamodel.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() datamodel.Kind

func (Link) Length added in v0.0.5

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

func (Link) ListIterator added in v0.0.5

func (Link) ListIterator() datamodel.ListIterator

func (Link) LookupByIndex added in v0.0.5

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

func (Link) LookupByNode added in v0.0.5

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

func (Link) LookupBySegment added in v0.0.5

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

func (Link) LookupByString added in v0.0.5

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

func (Link) MapIterator added in v0.0.5

func (Link) MapIterator() datamodel.MapIterator

func (Link) Prototype added in v0.0.5

func (Link) Prototype() datamodel.NodePrototype

func (Link) Representation added in v0.0.5

func (n Link) Representation() datamodel.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() (datamodel.Link, error)
func (Link_FinishedTask) AsString() (string, error)
func (Link_FinishedTask) IsAbsent() bool
func (Link_FinishedTask) IsNull() bool
func (Link_FinishedTask) Length() int64
func (n Link_FinishedTask) Link() datamodel.Link
func (Link_FinishedTask) LinkTargetNodePrototype() datamodel.NodePrototype
func (Link_FinishedTask) ListIterator() datamodel.ListIterator
func (Link_FinishedTask) LookupByIndex(idx int64) (datamodel.Node, error)
func (Link_FinishedTask) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
func (Link_FinishedTask) LookupByString(string) (datamodel.Node, error)
func (Link_FinishedTask) MapIterator() datamodel.MapIterator
func (n Link_FinishedTask) Representation() datamodel.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 (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 (Link_List_StageDetails) LinkTargetNodePrototype() datamodel.NodePrototype
func (Link_List_StageDetails) LookupByIndex(idx int64) (datamodel.Node, error)
func (Link_List_StageDetails) LookupByString(string) (datamodel.Node, error)
func (n Link_List_StageDetails) Representation() datamodel.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() (datamodel.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() datamodel.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() datamodel.ListIterator

func (List) LookupByIndex added in v0.0.5

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

func (List) LookupByNode added in v0.0.5

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

func (List) LookupBySegment added in v0.0.5

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

func (List) LookupByString added in v0.0.5

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

func (List) MapIterator added in v0.0.5

func (List) MapIterator() datamodel.MapIterator

func (List) Prototype added in v0.0.5

func (List) Prototype() datamodel.NodePrototype

func (List) Representation added in v0.0.5

func (n List) Representation() datamodel.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 (List_AuthenticatedRecord) LookupByIndex added in v0.0.5

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

func (List_AuthenticatedRecord) LookupByNode added in v0.0.5

func (List_AuthenticatedRecord) LookupBySegment added in v0.0.5

func (List_AuthenticatedRecord) LookupByString added in v0.0.5

func (List_AuthenticatedRecord) LookupByString(string) (datamodel.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() datamodel.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() (datamodel.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() datamodel.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() datamodel.ListIterator

func (List_Logs) LookupByIndex added in v0.0.5

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

func (List_Logs) LookupByNode added in v0.0.5

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

func (List_Logs) LookupBySegment added in v0.0.5

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

func (List_Logs) LookupByString added in v0.0.5

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

func (List_Logs) MapIterator added in v0.0.5

func (List_Logs) MapIterator() datamodel.MapIterator

func (List_Logs) Prototype added in v0.0.5

func (List_Logs) Prototype() datamodel.NodePrototype

func (List_Logs) Representation added in v0.0.5

func (n List_Logs) Representation() datamodel.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() (datamodel.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) 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() datamodel.ListIterator

func (List_StageDetails) LookupByIndex added in v0.0.5

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

func (List_StageDetails) LookupByNode added in v0.0.5

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

func (List_StageDetails) LookupBySegment added in v0.0.5

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

func (List_StageDetails) LookupByString added in v0.0.5

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

func (List_StageDetails) MapIterator added in v0.0.5

func (List_StageDetails) MapIterator() datamodel.MapIterator

func (List_StageDetails) Prototype added in v0.0.5

func (List_StageDetails) Representation added in v0.0.5

func (n List_StageDetails) Representation() datamodel.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() (datamodel.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() datamodel.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() datamodel.ListIterator

func (List_String) LookupByIndex added in v0.0.5

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

func (List_String) LookupByNode added in v0.0.5

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

func (List_String) LookupBySegment added in v0.0.5

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

func (List_String) LookupByString added in v0.0.5

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

func (List_String) MapIterator added in v0.0.5

func (List_String) MapIterator() datamodel.MapIterator

func (List_String) Prototype added in v0.0.5

func (List_String) Prototype() datamodel.NodePrototype

func (List_String) Representation added in v0.0.5

func (n List_String) Representation() datamodel.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() (datamodel.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() datamodel.Kind

func (Logs) Length added in v0.0.5

func (Logs) Length() int64

func (Logs) ListIterator added in v0.0.5

func (Logs) ListIterator() datamodel.ListIterator

func (Logs) LookupByIndex added in v0.0.5

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

func (Logs) LookupByNode added in v0.0.5

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

func (Logs) LookupBySegment added in v0.0.5

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

func (Logs) LookupByString added in v0.0.5

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

func (Logs) MapIterator added in v0.0.5

func (n Logs) MapIterator() datamodel.MapIterator

func (Logs) Prototype added in v0.0.5

func (Logs) Prototype() datamodel.NodePrototype

func (Logs) Representation added in v0.0.5

func (n Logs) Representation() datamodel.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() (datamodel.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() datamodel.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() datamodel.ListIterator

func (Map) LookupByIndex added in v0.0.5

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

func (Map) LookupByNode added in v0.0.5

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

func (Map) LookupBySegment added in v0.0.5

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

func (Map) LookupByString added in v0.0.5

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

func (Map) MapIterator added in v0.0.5

func (n Map) MapIterator() datamodel.MapIterator

func (Map) Prototype added in v0.0.5

func (Map) Prototype() datamodel.NodePrototype

func (Map) Representation added in v0.0.5

func (n Map) Representation() datamodel.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() datamodel.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 (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() datamodel.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() datamodel.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() datamodel.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() datamodel.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() datamodel.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() datamodel.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() datamodel.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) 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() datamodel.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() datamodel.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 (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() datamodel.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() datamodel.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() datamodel.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() datamodel.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() datamodel.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() datamodel.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() datamodel.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() datamodel.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() datamodel.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() datamodel.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() datamodel.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() datamodel.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() datamodel.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() datamodel.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() (datamodel.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() datamodel.Kind

func (PopTask) Length added in v0.0.5

func (PopTask) Length() int64

func (PopTask) ListIterator added in v0.0.5

func (PopTask) ListIterator() datamodel.ListIterator

func (PopTask) LookupByIndex added in v0.0.5

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

func (PopTask) LookupByNode added in v0.0.5

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

func (PopTask) LookupBySegment added in v0.0.5

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

func (PopTask) LookupByString added in v0.0.5

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

func (PopTask) MapIterator added in v0.0.5

func (n PopTask) MapIterator() datamodel.MapIterator

func (PopTask) Prototype added in v0.0.5

func (PopTask) Prototype() datamodel.NodePrototype

func (PopTask) Representation added in v0.0.5

func (n PopTask) Representation() datamodel.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() (datamodel.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() datamodel.Kind

func (RecordUpdate) Length added in v0.0.5

func (RecordUpdate) Length() int64

func (RecordUpdate) ListIterator added in v0.0.5

func (RecordUpdate) ListIterator() datamodel.ListIterator

func (RecordUpdate) LookupByIndex added in v0.0.5

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

func (RecordUpdate) LookupByNode added in v0.0.5

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

func (RecordUpdate) LookupBySegment added in v0.0.5

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

func (RecordUpdate) LookupByString added in v0.0.5

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

func (RecordUpdate) MapIterator added in v0.0.5

func (n RecordUpdate) MapIterator() datamodel.MapIterator

func (RecordUpdate) Prototype added in v0.0.5

func (RecordUpdate) Prototype() datamodel.NodePrototype

func (RecordUpdate) Representation added in v0.0.5

func (n RecordUpdate) Representation() datamodel.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() (datamodel.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() datamodel.Kind

func (RetrievalTask) Length added in v0.0.5

func (RetrievalTask) Length() int64

func (RetrievalTask) ListIterator added in v0.0.5

func (RetrievalTask) ListIterator() datamodel.ListIterator

func (RetrievalTask) LookupByIndex added in v0.0.5

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

func (RetrievalTask) LookupByNode added in v0.0.5

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

func (RetrievalTask) LookupBySegment added in v0.0.5

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

func (RetrievalTask) LookupByString added in v0.0.5

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

func (RetrievalTask) MapIterator added in v0.0.5

func (n RetrievalTask) MapIterator() datamodel.MapIterator

func (RetrievalTask) Prototype added in v0.0.5

func (RetrievalTask) Representation added in v0.0.5

func (n RetrievalTask) Representation() datamodel.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() (datamodel.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() datamodel.Kind

func (StageDetails) Length added in v0.0.5

func (StageDetails) Length() int64

func (StageDetails) ListIterator added in v0.0.5

func (StageDetails) ListIterator() datamodel.ListIterator

func (StageDetails) LookupByIndex added in v0.0.5

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

func (StageDetails) LookupByNode added in v0.0.5

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

func (StageDetails) LookupBySegment added in v0.0.5

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

func (StageDetails) LookupByString added in v0.0.5

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

func (StageDetails) MapIterator added in v0.0.5

func (n StageDetails) MapIterator() datamodel.MapIterator

func (StageDetails) Prototype added in v0.0.5

func (StageDetails) Prototype() datamodel.NodePrototype

func (StageDetails) Representation added in v0.0.5

func (n StageDetails) Representation() datamodel.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() (datamodel.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() datamodel.Kind

func (Status) Length added in v0.0.5

func (Status) Length() int64

func (Status) ListIterator added in v0.0.5

func (Status) ListIterator() datamodel.ListIterator

func (Status) LookupByIndex added in v0.0.5

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

func (Status) LookupByNode added in v0.0.5

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

func (Status) LookupBySegment added in v0.0.5

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

func (Status) LookupByString added in v0.0.5

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

func (Status) MapIterator added in v0.0.5

func (Status) MapIterator() datamodel.MapIterator

func (Status) Prototype added in v0.0.5

func (Status) Prototype() datamodel.NodePrototype

func (Status) Representation added in v0.0.5

func (n Status) Representation() datamodel.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() (datamodel.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() datamodel.Kind

func (StorageTask) Length added in v0.0.5

func (StorageTask) Length() int64

func (StorageTask) ListIterator added in v0.0.5

func (StorageTask) ListIterator() datamodel.ListIterator

func (StorageTask) LookupByIndex added in v0.0.5

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

func (StorageTask) LookupByNode added in v0.0.5

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

func (StorageTask) LookupBySegment added in v0.0.5

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

func (StorageTask) LookupByString added in v0.0.5

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

func (StorageTask) MapIterator added in v0.0.5

func (n StorageTask) MapIterator() datamodel.MapIterator

func (StorageTask) Prototype added in v0.0.5

func (StorageTask) Prototype() datamodel.NodePrototype

func (StorageTask) Representation added in v0.0.5

func (n StorageTask) Representation() datamodel.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() (datamodel.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() datamodel.Kind

func (String) Length added in v0.0.5

func (String) Length() int64

func (String) ListIterator added in v0.0.5

func (String) ListIterator() datamodel.ListIterator

func (String) LookupByIndex added in v0.0.5

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

func (String) LookupByNode added in v0.0.5

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

func (String) LookupBySegment added in v0.0.5

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

func (String) LookupByString added in v0.0.5

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

func (String) MapIterator added in v0.0.5

func (String) MapIterator() datamodel.MapIterator

func (String) Prototype added in v0.0.5

func (String) Prototype() datamodel.NodePrototype

func (String) Representation added in v0.0.5

func (n String) Representation() datamodel.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() (datamodel.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() datamodel.Kind

func (Task) Length added in v0.0.5

func (Task) Length() int64

func (Task) ListIterator added in v0.0.5

func (Task) ListIterator() datamodel.ListIterator

func (Task) LookupByIndex added in v0.0.5

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

func (Task) LookupByNode added in v0.0.5

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

func (Task) LookupBySegment added in v0.0.5

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

func (Task) LookupByString added in v0.0.5

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

func (Task) MapIterator added in v0.0.5

func (n Task) MapIterator() datamodel.MapIterator

func (Task) Prototype added in v0.0.5

func (Task) Prototype() datamodel.NodePrototype

func (Task) Representation added in v0.0.5

func (n Task) Representation() datamodel.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() (datamodel.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() datamodel.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() datamodel.ListIterator

func (Tasks) LookupByIndex added in v0.0.5

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

func (Tasks) LookupByNode added in v0.0.5

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

func (Tasks) LookupBySegment added in v0.0.5

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

func (Tasks) LookupByString added in v0.0.5

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

func (Tasks) MapIterator added in v0.0.5

func (Tasks) MapIterator() datamodel.MapIterator

func (Tasks) Prototype added in v0.0.5

func (Tasks) Prototype() datamodel.NodePrototype

func (Tasks) Representation added in v0.0.5

func (n Tasks) Representation() datamodel.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() (datamodel.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() datamodel.Kind

func (Time) Length added in v0.0.5

func (Time) Length() int64

func (Time) ListIterator added in v0.0.5

func (Time) ListIterator() datamodel.ListIterator

func (Time) LookupByIndex added in v0.0.5

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

func (Time) LookupByNode added in v0.0.5

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

func (Time) LookupBySegment added in v0.0.5

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

func (Time) LookupByString added in v0.0.5

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

func (Time) MapIterator added in v0.0.5

func (Time) MapIterator() datamodel.MapIterator

func (Time) Prototype added in v0.0.5

func (Time) Prototype() datamodel.NodePrototype

func (Time) Representation added in v0.0.5

func (n Time) Representation() datamodel.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() (datamodel.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() datamodel.Kind

func (UpdateTask) Length added in v0.0.5

func (UpdateTask) Length() int64

func (UpdateTask) ListIterator added in v0.0.5

func (UpdateTask) ListIterator() datamodel.ListIterator

func (UpdateTask) LookupByIndex added in v0.0.5

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

func (UpdateTask) LookupByNode added in v0.0.5

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

func (UpdateTask) LookupBySegment added in v0.0.5

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

func (UpdateTask) LookupByString added in v0.0.5

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

func (UpdateTask) MapIterator added in v0.0.5

func (n UpdateTask) MapIterator() datamodel.MapIterator

func (UpdateTask) Prototype added in v0.0.5

func (UpdateTask) Prototype() datamodel.NodePrototype

func (UpdateTask) Representation added in v0.0.5

func (n UpdateTask) Representation() datamodel.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