capnp

package
v0.0.0-...-0a43815 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const FileHashes_Entry_TypeID = 0x8932f7433db89d99

FileHashes_Entry_TypeID is the unique identifier for the type FileHashes_Entry.

View Source
const FileHashes_TypeID = 0xed110dc172c21b8f

FileHashes_TypeID is the unique identifier for the type FileHashes.

View Source
const GlobalHashable_Entry_TypeID = 0xdd6c3d394436cf49

GlobalHashable_Entry_TypeID is the unique identifier for the type GlobalHashable_Entry.

View Source
const GlobalHashable_EnvMode_TypeID = 0xab4200df8263c5d4

GlobalHashable_EnvMode_TypeID is the unique identifier for the type GlobalHashable_EnvMode.

View Source
const GlobalHashable_TypeID = 0xea0b3688577e30b4

GlobalHashable_TypeID is the unique identifier for the type GlobalHashable.

View Source
const LockFilePackages_TypeID = 0xb470b49a14912305

LockFilePackages_TypeID is the unique identifier for the type LockFilePackages.

View Source
const Package_TypeID = 0xc2d08935698f1b78

Package_TypeID is the unique identifier for the type Package.

View Source
const TaskHashable_EnvMode_TypeID = 0x8dc08a1d29f69b16

TaskHashable_EnvMode_TypeID is the unique identifier for the type TaskHashable_EnvMode.

View Source
const TaskHashable_TypeID = 0xe1f09ceb4ef5e479

TaskHashable_TypeID is the unique identifier for the type TaskHashable.

View Source
const TaskOutputs_TypeID = 0xd58300fce8aba267

TaskOutputs_TypeID is the unique identifier for the type TaskOutputs.

Variables

This section is empty.

Functions

func RegisterSchema

func RegisterSchema(reg *schemas.Registry)

Types

type FileHashes

type FileHashes capnp.Struct

func NewFileHashes

func NewFileHashes(s *capnp.Segment) (FileHashes, error)

func NewRootFileHashes

func NewRootFileHashes(s *capnp.Segment) (FileHashes, error)

func ReadRootFileHashes

func ReadRootFileHashes(msg *capnp.Message) (FileHashes, error)

func (FileHashes) DecodeFromPtr

func (FileHashes) DecodeFromPtr(p capnp.Ptr) FileHashes

func (FileHashes) EncodeAsPtr

func (s FileHashes) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (FileHashes) FileHashes

func (s FileHashes) FileHashes() (FileHashes_Entry_List, error)

func (FileHashes) HasFileHashes

func (s FileHashes) HasFileHashes() bool

func (FileHashes) IsValid

func (s FileHashes) IsValid() bool

func (FileHashes) Message

func (s FileHashes) Message() *capnp.Message

func (FileHashes) NewFileHashes

func (s FileHashes) NewFileHashes(n int32) (FileHashes_Entry_List, error)

NewFileHashes sets the fileHashes field to a newly allocated FileHashes_Entry_List, preferring placement in s's segment.

func (FileHashes) Segment

func (s FileHashes) Segment() *capnp.Segment

func (FileHashes) SetFileHashes

func (s FileHashes) SetFileHashes(v FileHashes_Entry_List) error

func (FileHashes) String

func (s FileHashes) String() string

func (FileHashes) ToPtr

func (s FileHashes) ToPtr() capnp.Ptr

type FileHashes_Entry

type FileHashes_Entry capnp.Struct

func NewFileHashes_Entry

func NewFileHashes_Entry(s *capnp.Segment) (FileHashes_Entry, error)

func NewRootFileHashes_Entry

func NewRootFileHashes_Entry(s *capnp.Segment) (FileHashes_Entry, error)

func ReadRootFileHashes_Entry

func ReadRootFileHashes_Entry(msg *capnp.Message) (FileHashes_Entry, error)

func (FileHashes_Entry) DecodeFromPtr

func (FileHashes_Entry) DecodeFromPtr(p capnp.Ptr) FileHashes_Entry

func (FileHashes_Entry) EncodeAsPtr

func (s FileHashes_Entry) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (FileHashes_Entry) HasKey

func (s FileHashes_Entry) HasKey() bool

func (FileHashes_Entry) HasValue

func (s FileHashes_Entry) HasValue() bool

func (FileHashes_Entry) IsValid

func (s FileHashes_Entry) IsValid() bool

func (FileHashes_Entry) Key

func (s FileHashes_Entry) Key() (string, error)

func (FileHashes_Entry) KeyBytes

func (s FileHashes_Entry) KeyBytes() ([]byte, error)

func (FileHashes_Entry) Message

func (s FileHashes_Entry) Message() *capnp.Message

func (FileHashes_Entry) Segment

func (s FileHashes_Entry) Segment() *capnp.Segment

func (FileHashes_Entry) SetKey

func (s FileHashes_Entry) SetKey(v string) error

func (FileHashes_Entry) SetValue

func (s FileHashes_Entry) SetValue(v string) error

func (FileHashes_Entry) String

func (s FileHashes_Entry) String() string

func (FileHashes_Entry) ToPtr

func (s FileHashes_Entry) ToPtr() capnp.Ptr

func (FileHashes_Entry) Value

func (s FileHashes_Entry) Value() (string, error)

func (FileHashes_Entry) ValueBytes

func (s FileHashes_Entry) ValueBytes() ([]byte, error)

type FileHashes_Entry_Future

type FileHashes_Entry_Future struct{ *capnp.Future }

FileHashes_Entry_Future is a wrapper for a FileHashes_Entry promised by a client call.

func (FileHashes_Entry_Future) Struct

type FileHashes_Entry_List

type FileHashes_Entry_List = capnp.StructList[FileHashes_Entry]

FileHashes_Entry_List is a list of FileHashes_Entry.

func NewFileHashes_Entry_List

func NewFileHashes_Entry_List(s *capnp.Segment, sz int32) (FileHashes_Entry_List, error)

NewFileHashes_Entry creates a new list of FileHashes_Entry.

type FileHashes_Future

type FileHashes_Future struct{ *capnp.Future }

FileHashes_Future is a wrapper for a FileHashes promised by a client call.

func (FileHashes_Future) Struct

func (f FileHashes_Future) Struct() (FileHashes, error)

type FileHashes_List

type FileHashes_List = capnp.StructList[FileHashes]

FileHashes_List is a list of FileHashes.

func NewFileHashes_List

func NewFileHashes_List(s *capnp.Segment, sz int32) (FileHashes_List, error)

NewFileHashes creates a new list of FileHashes.

type GlobalHashable

type GlobalHashable capnp.Struct

func NewGlobalHashable

func NewGlobalHashable(s *capnp.Segment) (GlobalHashable, error)

func NewRootGlobalHashable

func NewRootGlobalHashable(s *capnp.Segment) (GlobalHashable, error)

func ReadRootGlobalHashable

func ReadRootGlobalHashable(msg *capnp.Message) (GlobalHashable, error)

func (GlobalHashable) DecodeFromPtr

func (GlobalHashable) DecodeFromPtr(p capnp.Ptr) GlobalHashable

func (GlobalHashable) DotEnv

func (s GlobalHashable) DotEnv() (capnp.TextList, error)

func (GlobalHashable) EncodeAsPtr

func (s GlobalHashable) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (GlobalHashable) Env

func (s GlobalHashable) Env() (capnp.TextList, error)

func (GlobalHashable) EnvMode

func (GlobalHashable) FrameworkInference

func (s GlobalHashable) FrameworkInference() bool

func (GlobalHashable) GlobalCacheKey

func (s GlobalHashable) GlobalCacheKey() (string, error)

func (GlobalHashable) GlobalCacheKeyBytes

func (s GlobalHashable) GlobalCacheKeyBytes() ([]byte, error)

func (GlobalHashable) GlobalFileHashMap

func (s GlobalHashable) GlobalFileHashMap() (GlobalHashable_Entry_List, error)

func (GlobalHashable) HasDotEnv

func (s GlobalHashable) HasDotEnv() bool

func (GlobalHashable) HasEnv

func (s GlobalHashable) HasEnv() bool

func (GlobalHashable) HasGlobalCacheKey

func (s GlobalHashable) HasGlobalCacheKey() bool

func (GlobalHashable) HasGlobalFileHashMap

func (s GlobalHashable) HasGlobalFileHashMap() bool

func (GlobalHashable) HasPassThroughEnv

func (s GlobalHashable) HasPassThroughEnv() bool

func (GlobalHashable) HasResolvedEnvVars

func (s GlobalHashable) HasResolvedEnvVars() bool

func (GlobalHashable) HasRootExternalDepsHash

func (s GlobalHashable) HasRootExternalDepsHash() bool

func (GlobalHashable) IsValid

func (s GlobalHashable) IsValid() bool

func (GlobalHashable) Message

func (s GlobalHashable) Message() *capnp.Message

func (GlobalHashable) NewDotEnv

func (s GlobalHashable) NewDotEnv(n int32) (capnp.TextList, error)

NewDotEnv sets the dotEnv field to a newly allocated capnp.TextList, preferring placement in s's segment.

func (GlobalHashable) NewEnv

func (s GlobalHashable) NewEnv(n int32) (capnp.TextList, error)

NewEnv sets the env field to a newly allocated capnp.TextList, preferring placement in s's segment.

func (GlobalHashable) NewGlobalFileHashMap

func (s GlobalHashable) NewGlobalFileHashMap(n int32) (GlobalHashable_Entry_List, error)

NewGlobalFileHashMap sets the globalFileHashMap field to a newly allocated GlobalHashable_Entry_List, preferring placement in s's segment.

func (GlobalHashable) NewPassThroughEnv

func (s GlobalHashable) NewPassThroughEnv(n int32) (capnp.TextList, error)

NewPassThroughEnv sets the passThroughEnv field to a newly allocated capnp.TextList, preferring placement in s's segment.

func (GlobalHashable) NewResolvedEnvVars

func (s GlobalHashable) NewResolvedEnvVars(n int32) (capnp.TextList, error)

NewResolvedEnvVars sets the resolvedEnvVars field to a newly allocated capnp.TextList, preferring placement in s's segment.

func (GlobalHashable) PassThroughEnv

func (s GlobalHashable) PassThroughEnv() (capnp.TextList, error)

func (GlobalHashable) ResolvedEnvVars

func (s GlobalHashable) ResolvedEnvVars() (capnp.TextList, error)

func (GlobalHashable) RootExternalDepsHash

func (s GlobalHashable) RootExternalDepsHash() (string, error)

func (GlobalHashable) RootExternalDepsHashBytes

func (s GlobalHashable) RootExternalDepsHashBytes() ([]byte, error)

func (GlobalHashable) Segment

func (s GlobalHashable) Segment() *capnp.Segment

func (GlobalHashable) SetDotEnv

func (s GlobalHashable) SetDotEnv(v capnp.TextList) error

func (GlobalHashable) SetEnv

func (s GlobalHashable) SetEnv(v capnp.TextList) error

func (GlobalHashable) SetEnvMode

func (s GlobalHashable) SetEnvMode(v GlobalHashable_EnvMode)

func (GlobalHashable) SetFrameworkInference

func (s GlobalHashable) SetFrameworkInference(v bool)

func (GlobalHashable) SetGlobalCacheKey

func (s GlobalHashable) SetGlobalCacheKey(v string) error

func (GlobalHashable) SetGlobalFileHashMap

func (s GlobalHashable) SetGlobalFileHashMap(v GlobalHashable_Entry_List) error

func (GlobalHashable) SetPassThroughEnv

func (s GlobalHashable) SetPassThroughEnv(v capnp.TextList) error

func (GlobalHashable) SetResolvedEnvVars

func (s GlobalHashable) SetResolvedEnvVars(v capnp.TextList) error

func (GlobalHashable) SetRootExternalDepsHash

func (s GlobalHashable) SetRootExternalDepsHash(v string) error

func (GlobalHashable) String

func (s GlobalHashable) String() string

func (GlobalHashable) ToPtr

func (s GlobalHashable) ToPtr() capnp.Ptr

type GlobalHashable_Entry

type GlobalHashable_Entry capnp.Struct

func NewGlobalHashable_Entry

func NewGlobalHashable_Entry(s *capnp.Segment) (GlobalHashable_Entry, error)

func NewRootGlobalHashable_Entry

func NewRootGlobalHashable_Entry(s *capnp.Segment) (GlobalHashable_Entry, error)

func ReadRootGlobalHashable_Entry

func ReadRootGlobalHashable_Entry(msg *capnp.Message) (GlobalHashable_Entry, error)

func (GlobalHashable_Entry) DecodeFromPtr

func (GlobalHashable_Entry) EncodeAsPtr

func (s GlobalHashable_Entry) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (GlobalHashable_Entry) HasKey

func (s GlobalHashable_Entry) HasKey() bool

func (GlobalHashable_Entry) HasValue

func (s GlobalHashable_Entry) HasValue() bool

func (GlobalHashable_Entry) IsValid

func (s GlobalHashable_Entry) IsValid() bool

func (GlobalHashable_Entry) Key

func (s GlobalHashable_Entry) Key() (string, error)

func (GlobalHashable_Entry) KeyBytes

func (s GlobalHashable_Entry) KeyBytes() ([]byte, error)

func (GlobalHashable_Entry) Message

func (s GlobalHashable_Entry) Message() *capnp.Message

func (GlobalHashable_Entry) Segment

func (s GlobalHashable_Entry) Segment() *capnp.Segment

func (GlobalHashable_Entry) SetKey

func (s GlobalHashable_Entry) SetKey(v string) error

func (GlobalHashable_Entry) SetValue

func (s GlobalHashable_Entry) SetValue(v string) error

func (GlobalHashable_Entry) String

func (s GlobalHashable_Entry) String() string

func (GlobalHashable_Entry) ToPtr

func (s GlobalHashable_Entry) ToPtr() capnp.Ptr

func (GlobalHashable_Entry) Value

func (s GlobalHashable_Entry) Value() (string, error)

func (GlobalHashable_Entry) ValueBytes

func (s GlobalHashable_Entry) ValueBytes() ([]byte, error)

type GlobalHashable_Entry_Future

type GlobalHashable_Entry_Future struct{ *capnp.Future }

GlobalHashable_Entry_Future is a wrapper for a GlobalHashable_Entry promised by a client call.

func (GlobalHashable_Entry_Future) Struct

type GlobalHashable_Entry_List

type GlobalHashable_Entry_List = capnp.StructList[GlobalHashable_Entry]

GlobalHashable_Entry_List is a list of GlobalHashable_Entry.

func NewGlobalHashable_Entry_List

func NewGlobalHashable_Entry_List(s *capnp.Segment, sz int32) (GlobalHashable_Entry_List, error)

NewGlobalHashable_Entry creates a new list of GlobalHashable_Entry.

type GlobalHashable_EnvMode

type GlobalHashable_EnvMode uint16
const (
	GlobalHashable_EnvMode_infer  GlobalHashable_EnvMode = 0
	GlobalHashable_EnvMode_loose  GlobalHashable_EnvMode = 1
	GlobalHashable_EnvMode_strict GlobalHashable_EnvMode = 2
)

Values of GlobalHashable_EnvMode.

func GlobalHashable_EnvModeFromString

func GlobalHashable_EnvModeFromString(c string) GlobalHashable_EnvMode

GlobalHashable_EnvModeFromString returns the enum value with a name, or the zero value if there's no such value.

func (GlobalHashable_EnvMode) String

func (c GlobalHashable_EnvMode) String() string

String returns the enum's constant name.

type GlobalHashable_EnvMode_List

type GlobalHashable_EnvMode_List = capnp.EnumList[GlobalHashable_EnvMode]

func NewGlobalHashable_EnvMode_List

func NewGlobalHashable_EnvMode_List(s *capnp.Segment, sz int32) (GlobalHashable_EnvMode_List, error)

type GlobalHashable_Future

type GlobalHashable_Future struct{ *capnp.Future }

GlobalHashable_Future is a wrapper for a GlobalHashable promised by a client call.

func (GlobalHashable_Future) Struct

type GlobalHashable_List

type GlobalHashable_List = capnp.StructList[GlobalHashable]

GlobalHashable_List is a list of GlobalHashable.

func NewGlobalHashable_List

func NewGlobalHashable_List(s *capnp.Segment, sz int32) (GlobalHashable_List, error)

NewGlobalHashable creates a new list of GlobalHashable.

type LockFilePackages

type LockFilePackages capnp.Struct

func NewLockFilePackages

func NewLockFilePackages(s *capnp.Segment) (LockFilePackages, error)

func NewRootLockFilePackages

func NewRootLockFilePackages(s *capnp.Segment) (LockFilePackages, error)

func ReadRootLockFilePackages

func ReadRootLockFilePackages(msg *capnp.Message) (LockFilePackages, error)

func (LockFilePackages) DecodeFromPtr

func (LockFilePackages) DecodeFromPtr(p capnp.Ptr) LockFilePackages

func (LockFilePackages) EncodeAsPtr

func (s LockFilePackages) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (LockFilePackages) HasPackages

func (s LockFilePackages) HasPackages() bool

func (LockFilePackages) IsValid

func (s LockFilePackages) IsValid() bool

func (LockFilePackages) Message

func (s LockFilePackages) Message() *capnp.Message

func (LockFilePackages) NewPackages

func (s LockFilePackages) NewPackages(n int32) (Package_List, error)

NewPackages sets the packages field to a newly allocated Package_List, preferring placement in s's segment.

func (LockFilePackages) Packages

func (s LockFilePackages) Packages() (Package_List, error)

func (LockFilePackages) Segment

func (s LockFilePackages) Segment() *capnp.Segment

func (LockFilePackages) SetPackages

func (s LockFilePackages) SetPackages(v Package_List) error

func (LockFilePackages) String

func (s LockFilePackages) String() string

func (LockFilePackages) ToPtr

func (s LockFilePackages) ToPtr() capnp.Ptr

type LockFilePackages_Future

type LockFilePackages_Future struct{ *capnp.Future }

LockFilePackages_Future is a wrapper for a LockFilePackages promised by a client call.

func (LockFilePackages_Future) Struct

type LockFilePackages_List

type LockFilePackages_List = capnp.StructList[LockFilePackages]

LockFilePackages_List is a list of LockFilePackages.

func NewLockFilePackages_List

func NewLockFilePackages_List(s *capnp.Segment, sz int32) (LockFilePackages_List, error)

NewLockFilePackages creates a new list of LockFilePackages.

type Package

type Package capnp.Struct

func NewPackage

func NewPackage(s *capnp.Segment) (Package, error)

func NewRootPackage

func NewRootPackage(s *capnp.Segment) (Package, error)

func ReadRootPackage

func ReadRootPackage(msg *capnp.Message) (Package, error)

func (Package) DecodeFromPtr

func (Package) DecodeFromPtr(p capnp.Ptr) Package

func (Package) EncodeAsPtr

func (s Package) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Package) Found

func (s Package) Found() bool

func (Package) HasKey

func (s Package) HasKey() bool

func (Package) HasVersion

func (s Package) HasVersion() bool

func (Package) IsValid

func (s Package) IsValid() bool

func (Package) Key

func (s Package) Key() (string, error)

func (Package) KeyBytes

func (s Package) KeyBytes() ([]byte, error)

func (Package) Message

func (s Package) Message() *capnp.Message

func (Package) Segment

func (s Package) Segment() *capnp.Segment

func (Package) SetFound

func (s Package) SetFound(v bool)

func (Package) SetKey

func (s Package) SetKey(v string) error

func (Package) SetVersion

func (s Package) SetVersion(v string) error

func (Package) String

func (s Package) String() string

func (Package) ToPtr

func (s Package) ToPtr() capnp.Ptr

func (Package) Version

func (s Package) Version() (string, error)

func (Package) VersionBytes

func (s Package) VersionBytes() ([]byte, error)

type Package_Future

type Package_Future struct{ *capnp.Future }

Package_Future is a wrapper for a Package promised by a client call.

func (Package_Future) Struct

func (f Package_Future) Struct() (Package, error)

type Package_List

type Package_List = capnp.StructList[Package]

Package_List is a list of Package.

func NewPackage_List

func NewPackage_List(s *capnp.Segment, sz int32) (Package_List, error)

NewPackage creates a new list of Package.

type TaskHashable

type TaskHashable capnp.Struct

func NewRootTaskHashable

func NewRootTaskHashable(s *capnp.Segment) (TaskHashable, error)

func NewTaskHashable

func NewTaskHashable(s *capnp.Segment) (TaskHashable, error)

func ReadRootTaskHashable

func ReadRootTaskHashable(msg *capnp.Message) (TaskHashable, error)

func (TaskHashable) DecodeFromPtr

func (TaskHashable) DecodeFromPtr(p capnp.Ptr) TaskHashable

func (TaskHashable) DotEnv

func (s TaskHashable) DotEnv() (capnp.TextList, error)

func (TaskHashable) EncodeAsPtr

func (s TaskHashable) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (TaskHashable) Env

func (s TaskHashable) Env() (capnp.TextList, error)

func (TaskHashable) EnvMode

func (s TaskHashable) EnvMode() TaskHashable_EnvMode

func (TaskHashable) ExternalDepsHash

func (s TaskHashable) ExternalDepsHash() (string, error)

func (TaskHashable) ExternalDepsHashBytes

func (s TaskHashable) ExternalDepsHashBytes() ([]byte, error)

func (TaskHashable) GlobalHash

func (s TaskHashable) GlobalHash() (string, error)

func (TaskHashable) GlobalHashBytes

func (s TaskHashable) GlobalHashBytes() ([]byte, error)

func (TaskHashable) HasDotEnv

func (s TaskHashable) HasDotEnv() bool

func (TaskHashable) HasEnv

func (s TaskHashable) HasEnv() bool

func (TaskHashable) HasExternalDepsHash

func (s TaskHashable) HasExternalDepsHash() bool

func (TaskHashable) HasGlobalHash

func (s TaskHashable) HasGlobalHash() bool

func (TaskHashable) HasHashOfFiles

func (s TaskHashable) HasHashOfFiles() bool

func (TaskHashable) HasOutputs

func (s TaskHashable) HasOutputs() bool

func (TaskHashable) HasPackageDir

func (s TaskHashable) HasPackageDir() bool

func (TaskHashable) HasPassThruArgs

func (s TaskHashable) HasPassThruArgs() bool

func (TaskHashable) HasPassThruEnv

func (s TaskHashable) HasPassThruEnv() bool

func (TaskHashable) HasResolvedEnvVars

func (s TaskHashable) HasResolvedEnvVars() bool

func (TaskHashable) HasTask

func (s TaskHashable) HasTask() bool

func (TaskHashable) HasTaskDependencyHashes

func (s TaskHashable) HasTaskDependencyHashes() bool

func (TaskHashable) HashOfFiles

func (s TaskHashable) HashOfFiles() (string, error)

func (TaskHashable) HashOfFilesBytes

func (s TaskHashable) HashOfFilesBytes() ([]byte, error)

func (TaskHashable) IsValid

func (s TaskHashable) IsValid() bool

func (TaskHashable) Message

func (s TaskHashable) Message() *capnp.Message

func (TaskHashable) NewDotEnv

func (s TaskHashable) NewDotEnv(n int32) (capnp.TextList, error)

NewDotEnv sets the dotEnv field to a newly allocated capnp.TextList, preferring placement in s's segment.

func (TaskHashable) NewEnv

func (s TaskHashable) NewEnv(n int32) (capnp.TextList, error)

NewEnv sets the env field to a newly allocated capnp.TextList, preferring placement in s's segment.

func (TaskHashable) NewOutputs

func (s TaskHashable) NewOutputs() (TaskOutputs, error)

NewOutputs sets the outputs field to a newly allocated TaskOutputs struct, preferring placement in s's segment.

func (TaskHashable) NewPassThruArgs

func (s TaskHashable) NewPassThruArgs(n int32) (capnp.TextList, error)

NewPassThruArgs sets the passThruArgs field to a newly allocated capnp.TextList, preferring placement in s's segment.

func (TaskHashable) NewPassThruEnv

func (s TaskHashable) NewPassThruEnv(n int32) (capnp.TextList, error)

NewPassThruEnv sets the passThruEnv field to a newly allocated capnp.TextList, preferring placement in s's segment.

func (TaskHashable) NewResolvedEnvVars

func (s TaskHashable) NewResolvedEnvVars(n int32) (capnp.TextList, error)

NewResolvedEnvVars sets the resolvedEnvVars field to a newly allocated capnp.TextList, preferring placement in s's segment.

func (TaskHashable) NewTaskDependencyHashes

func (s TaskHashable) NewTaskDependencyHashes(n int32) (capnp.TextList, error)

NewTaskDependencyHashes sets the taskDependencyHashes field to a newly allocated capnp.TextList, preferring placement in s's segment.

func (TaskHashable) Outputs

func (s TaskHashable) Outputs() (TaskOutputs, error)

func (TaskHashable) PackageDir

func (s TaskHashable) PackageDir() (string, error)

func (TaskHashable) PackageDirBytes

func (s TaskHashable) PackageDirBytes() ([]byte, error)

func (TaskHashable) PassThruArgs

func (s TaskHashable) PassThruArgs() (capnp.TextList, error)

func (TaskHashable) PassThruEnv

func (s TaskHashable) PassThruEnv() (capnp.TextList, error)

func (TaskHashable) ResolvedEnvVars

func (s TaskHashable) ResolvedEnvVars() (capnp.TextList, error)

func (TaskHashable) Segment

func (s TaskHashable) Segment() *capnp.Segment

func (TaskHashable) SetDotEnv

func (s TaskHashable) SetDotEnv(v capnp.TextList) error

func (TaskHashable) SetEnv

func (s TaskHashable) SetEnv(v capnp.TextList) error

func (TaskHashable) SetEnvMode

func (s TaskHashable) SetEnvMode(v TaskHashable_EnvMode)

func (TaskHashable) SetExternalDepsHash

func (s TaskHashable) SetExternalDepsHash(v string) error

func (TaskHashable) SetGlobalHash

func (s TaskHashable) SetGlobalHash(v string) error

func (TaskHashable) SetHashOfFiles

func (s TaskHashable) SetHashOfFiles(v string) error

func (TaskHashable) SetOutputs

func (s TaskHashable) SetOutputs(v TaskOutputs) error

func (TaskHashable) SetPackageDir

func (s TaskHashable) SetPackageDir(v string) error

func (TaskHashable) SetPassThruArgs

func (s TaskHashable) SetPassThruArgs(v capnp.TextList) error

func (TaskHashable) SetPassThruEnv

func (s TaskHashable) SetPassThruEnv(v capnp.TextList) error

func (TaskHashable) SetResolvedEnvVars

func (s TaskHashable) SetResolvedEnvVars(v capnp.TextList) error

func (TaskHashable) SetTask

func (s TaskHashable) SetTask(v string) error

func (TaskHashable) SetTaskDependencyHashes

func (s TaskHashable) SetTaskDependencyHashes(v capnp.TextList) error

func (TaskHashable) String

func (s TaskHashable) String() string

func (TaskHashable) Task

func (s TaskHashable) Task() (string, error)

func (TaskHashable) TaskBytes

func (s TaskHashable) TaskBytes() ([]byte, error)

func (TaskHashable) TaskDependencyHashes

func (s TaskHashable) TaskDependencyHashes() (capnp.TextList, error)

func (TaskHashable) ToPtr

func (s TaskHashable) ToPtr() capnp.Ptr

type TaskHashable_EnvMode

type TaskHashable_EnvMode uint16
const (
	TaskHashable_EnvMode_loose  TaskHashable_EnvMode = 0
	TaskHashable_EnvMode_strict TaskHashable_EnvMode = 1
)

Values of TaskHashable_EnvMode.

func TaskHashable_EnvModeFromString

func TaskHashable_EnvModeFromString(c string) TaskHashable_EnvMode

TaskHashable_EnvModeFromString returns the enum value with a name, or the zero value if there's no such value.

func (TaskHashable_EnvMode) String

func (c TaskHashable_EnvMode) String() string

String returns the enum's constant name.

type TaskHashable_EnvMode_List

type TaskHashable_EnvMode_List = capnp.EnumList[TaskHashable_EnvMode]

func NewTaskHashable_EnvMode_List

func NewTaskHashable_EnvMode_List(s *capnp.Segment, sz int32) (TaskHashable_EnvMode_List, error)

type TaskHashable_Future

type TaskHashable_Future struct{ *capnp.Future }

TaskHashable_Future is a wrapper for a TaskHashable promised by a client call.

func (TaskHashable_Future) Outputs

func (TaskHashable_Future) Struct

func (f TaskHashable_Future) Struct() (TaskHashable, error)

type TaskHashable_List

type TaskHashable_List = capnp.StructList[TaskHashable]

TaskHashable_List is a list of TaskHashable.

func NewTaskHashable_List

func NewTaskHashable_List(s *capnp.Segment, sz int32) (TaskHashable_List, error)

NewTaskHashable creates a new list of TaskHashable.

type TaskOutputs

type TaskOutputs capnp.Struct

func NewRootTaskOutputs

func NewRootTaskOutputs(s *capnp.Segment) (TaskOutputs, error)

func NewTaskOutputs

func NewTaskOutputs(s *capnp.Segment) (TaskOutputs, error)

func ReadRootTaskOutputs

func ReadRootTaskOutputs(msg *capnp.Message) (TaskOutputs, error)

func (TaskOutputs) DecodeFromPtr

func (TaskOutputs) DecodeFromPtr(p capnp.Ptr) TaskOutputs

func (TaskOutputs) EncodeAsPtr

func (s TaskOutputs) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (TaskOutputs) Exclusions

func (s TaskOutputs) Exclusions() (capnp.TextList, error)

func (TaskOutputs) HasExclusions

func (s TaskOutputs) HasExclusions() bool

func (TaskOutputs) HasInclusions

func (s TaskOutputs) HasInclusions() bool

func (TaskOutputs) Inclusions

func (s TaskOutputs) Inclusions() (capnp.TextList, error)

func (TaskOutputs) IsValid

func (s TaskOutputs) IsValid() bool

func (TaskOutputs) Message

func (s TaskOutputs) Message() *capnp.Message

func (TaskOutputs) NewExclusions

func (s TaskOutputs) NewExclusions(n int32) (capnp.TextList, error)

NewExclusions sets the exclusions field to a newly allocated capnp.TextList, preferring placement in s's segment.

func (TaskOutputs) NewInclusions

func (s TaskOutputs) NewInclusions(n int32) (capnp.TextList, error)

NewInclusions sets the inclusions field to a newly allocated capnp.TextList, preferring placement in s's segment.

func (TaskOutputs) Segment

func (s TaskOutputs) Segment() *capnp.Segment

func (TaskOutputs) SetExclusions

func (s TaskOutputs) SetExclusions(v capnp.TextList) error

func (TaskOutputs) SetInclusions

func (s TaskOutputs) SetInclusions(v capnp.TextList) error

func (TaskOutputs) String

func (s TaskOutputs) String() string

func (TaskOutputs) ToPtr

func (s TaskOutputs) ToPtr() capnp.Ptr

type TaskOutputs_Future

type TaskOutputs_Future struct{ *capnp.Future }

TaskOutputs_Future is a wrapper for a TaskOutputs promised by a client call.

func (TaskOutputs_Future) Struct

func (f TaskOutputs_Future) Struct() (TaskOutputs, error)

type TaskOutputs_List

type TaskOutputs_List = capnp.StructList[TaskOutputs]

TaskOutputs_List is a list of TaskOutputs.

func NewTaskOutputs_List

func NewTaskOutputs_List(s *capnp.Segment, sz int32) (TaskOutputs_List, error)

NewTaskOutputs creates a new list of TaskOutputs.

Jump to

Keyboard shortcuts

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