spk

package
v0.0.0-...-e2e80d8 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const AppId_TypeID = 0x880c6c7782a33310

AppId_TypeID is the unique identifier for the type AppId.

View Source
const Archive_File_TypeID = 0xd92313d72a1ab4d0

Archive_File_TypeID is the unique identifier for the type Archive_File.

View Source
const Archive_TypeID = 0xf153ba7dee1c9118

Archive_TypeID is the unique identifier for the type Archive.

View Source
const BridgeConfig_PowerboxApi_TypeID = 0xc9702c7dbfc6d7e4

BridgeConfig_PowerboxApi_TypeID is the unique identifier for the type BridgeConfig_PowerboxApi.

View Source
const BridgeConfig_TypeID = 0xdd8c82383168c096

BridgeConfig_TypeID is the unique identifier for the type BridgeConfig.

View Source
const CategoryInfoAnnotation = uint64(0x8d51dd236606d205)
View Source
const CategoryInfo_TypeID = 0xb9d2951d34ca391c

CategoryInfo_TypeID is the unique identifier for the type CategoryInfo.

View Source
const Category_TypeID = 0x938e7e53b106e1c0

Category_TypeID is the unique identifier for the type Category.

View Source
const KeyFile_TypeID = 0xe47ce2b3aab90f74

KeyFile_TypeID is the unique identifier for the type KeyFile.

View Source
const Manifest_Action_TypeID = 0xe5c59b9296375a00

Manifest_Action_TypeID is the unique identifier for the type Manifest_Action.

View Source
const Manifest_Command_TypeID = 0xc64951b2a02886cf

Manifest_Command_TypeID is the unique identifier for the type Manifest_Command.

View Source
const Manifest_TypeID = 0x855f296a69e6e1ca

Manifest_TypeID is the unique identifier for the type Manifest.

View Source
const (
	Manifest_sizeLimitInWords = uint64(1048576)
)

Constants defined in package.capnp.

View Source
const Metadata_Icon_TypeID = 0xe492a2981208ad0b

Metadata_Icon_TypeID is the unique identifier for the type Metadata_Icon.

View Source
const Metadata_Screenshot_TypeID = 0x8bc9f4365959348e

Metadata_Screenshot_TypeID is the unique identifier for the type Metadata_Screenshot.

View Source
const Metadata_TypeID = 0xe0c5892a5448f4ee

Metadata_TypeID is the unique identifier for the type Metadata.

View Source
const OpenSourceLicense_TypeID = 0xd86e43f42c8b0f74

OpenSourceLicense_TypeID is the unique identifier for the type OpenSourceLicense.

View Source
const OsiInfo = uint64(0x9476412d0315d869)
View Source
const OsiLicenseInfo_TypeID = 0xb755d258845a4a8f

OsiLicenseInfo_TypeID is the unique identifier for the type OsiLicenseInfo.

View Source
const PackageDefinition_TypeID = 0x9f149fa71489be0b

PackageDefinition_TypeID is the unique identifier for the type PackageDefinition.

View Source
const PackageId_TypeID = 0xe2e344d346ffda6b

PackageId_TypeID is the unique identifier for the type PackageId.

View Source
const Signature_TypeID = 0xeca8b9277cb36488

Signature_TypeID is the unique identifier for the type Signature.

View Source
const SourceMap_Mapping_TypeID = 0x87dcf1b1edcb3eaf

SourceMap_Mapping_TypeID is the unique identifier for the type SourceMap_Mapping.

View Source
const SourceMap_TypeID = 0xe3d7ba482b2e470b

SourceMap_TypeID is the unique identifier for the type SourceMap.

View Source
const VerifiedInfo_TypeID = 0x987ef3040a0342a9

VerifiedInfo_TypeID is the unique identifier for the type VerifiedInfo.

Variables

View Source
var (
	MagicNumber = []byte{143, 198, 205, 239, 69, 26, 234, 150}
)

Constants defined in package.capnp.

Functions

This section is empty.

Types

type AppId

type AppId capnp.Struct

func NewAppId

func NewAppId(s *capnp.Segment) (AppId, error)

func NewRootAppId

func NewRootAppId(s *capnp.Segment) (AppId, error)

func ReadRootAppId

func ReadRootAppId(msg *capnp.Message) (AppId, error)

func (AppId) DecodeFromPtr

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

func (AppId) EncodeAsPtr

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

func (AppId) Id0

func (s AppId) Id0() uint64

func (AppId) Id1

func (s AppId) Id1() uint64

func (AppId) Id2

func (s AppId) Id2() uint64

func (AppId) Id3

func (s AppId) Id3() uint64

func (AppId) IsValid

func (s AppId) IsValid() bool

func (AppId) Message

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

func (AppId) Segment

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

func (AppId) SetId0

func (s AppId) SetId0(v uint64)

func (AppId) SetId1

func (s AppId) SetId1(v uint64)

func (AppId) SetId2

func (s AppId) SetId2(v uint64)

func (AppId) SetId3

func (s AppId) SetId3(v uint64)

func (AppId) String

func (s AppId) String() string

func (AppId) ToPtr

func (s AppId) ToPtr() capnp.Ptr

type AppId_Future

type AppId_Future struct{ *capnp.Future }

AppId_Future is a wrapper for a AppId promised by a client call.

func (AppId_Future) Struct

func (f AppId_Future) Struct() (AppId, error)

type AppId_List

type AppId_List = capnp.StructList[AppId]

AppId_List is a list of AppId.

func NewAppId_List

func NewAppId_List(s *capnp.Segment, sz int32) (AppId_List, error)

NewAppId creates a new list of AppId.

type Archive

type Archive capnp.Struct

func NewArchive

func NewArchive(s *capnp.Segment) (Archive, error)

func NewRootArchive

func NewRootArchive(s *capnp.Segment) (Archive, error)

func ReadRootArchive

func ReadRootArchive(msg *capnp.Message) (Archive, error)

func (Archive) DecodeFromPtr

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

func (Archive) EncodeAsPtr

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

func (Archive) Files

func (s Archive) Files() (Archive_File_List, error)

func (Archive) HasFiles

func (s Archive) HasFiles() bool

func (Archive) IsValid

func (s Archive) IsValid() bool

func (Archive) Message

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

func (Archive) NewFiles

func (s Archive) NewFiles(n int32) (Archive_File_List, error)

NewFiles sets the files field to a newly allocated Archive_File_List, preferring placement in s's segment.

func (Archive) Segment

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

func (Archive) SetFiles

func (s Archive) SetFiles(v Archive_File_List) error

func (Archive) String

func (s Archive) String() string

func (Archive) ToPtr

func (s Archive) ToPtr() capnp.Ptr

type Archive_File

type Archive_File capnp.Struct

func NewArchive_File

func NewArchive_File(s *capnp.Segment) (Archive_File, error)

func NewRootArchive_File

func NewRootArchive_File(s *capnp.Segment) (Archive_File, error)

func ReadRootArchive_File

func ReadRootArchive_File(msg *capnp.Message) (Archive_File, error)

func (Archive_File) DecodeFromPtr

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

func (Archive_File) Directory

func (s Archive_File) Directory() (Archive_File_List, error)

func (Archive_File) EncodeAsPtr

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

func (Archive_File) Executable

func (s Archive_File) Executable() ([]byte, error)

func (Archive_File) HasDirectory

func (s Archive_File) HasDirectory() bool

func (Archive_File) HasExecutable

func (s Archive_File) HasExecutable() bool

func (Archive_File) HasName

func (s Archive_File) HasName() bool

func (Archive_File) HasRegular

func (s Archive_File) HasRegular() bool
func (s Archive_File) HasSymlink() bool

func (Archive_File) IsValid

func (s Archive_File) IsValid() bool

func (Archive_File) LastModificationTimeNs

func (s Archive_File) LastModificationTimeNs() int64

func (Archive_File) Message

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

func (Archive_File) Name

func (s Archive_File) Name() (string, error)

func (Archive_File) NameBytes

func (s Archive_File) NameBytes() ([]byte, error)

func (Archive_File) NewDirectory

func (s Archive_File) NewDirectory(n int32) (Archive_File_List, error)

NewDirectory sets the directory field to a newly allocated Archive_File_List, preferring placement in s's segment.

func (Archive_File) Regular

func (s Archive_File) Regular() ([]byte, error)

func (Archive_File) Segment

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

func (Archive_File) SetDirectory

func (s Archive_File) SetDirectory(v Archive_File_List) error

func (Archive_File) SetExecutable

func (s Archive_File) SetExecutable(v []byte) error

func (Archive_File) SetLastModificationTimeNs

func (s Archive_File) SetLastModificationTimeNs(v int64)

func (Archive_File) SetName

func (s Archive_File) SetName(v string) error

func (Archive_File) SetRegular

func (s Archive_File) SetRegular(v []byte) error
func (s Archive_File) SetSymlink(v string) error

func (Archive_File) String

func (s Archive_File) String() string
func (s Archive_File) Symlink() (string, error)

func (Archive_File) SymlinkBytes

func (s Archive_File) SymlinkBytes() ([]byte, error)

func (Archive_File) ToPtr

func (s Archive_File) ToPtr() capnp.Ptr

func (Archive_File) Which

func (s Archive_File) Which() Archive_File_Which

type Archive_File_Future

type Archive_File_Future struct{ *capnp.Future }

Archive_File_Future is a wrapper for a Archive_File promised by a client call.

func (Archive_File_Future) Struct

func (f Archive_File_Future) Struct() (Archive_File, error)

type Archive_File_List

type Archive_File_List = capnp.StructList[Archive_File]

Archive_File_List is a list of Archive_File.

func NewArchive_File_List

func NewArchive_File_List(s *capnp.Segment, sz int32) (Archive_File_List, error)

NewArchive_File creates a new list of Archive_File.

type Archive_File_Which

type Archive_File_Which uint16
const (
	Archive_File_Which_regular    Archive_File_Which = 0
	Archive_File_Which_executable Archive_File_Which = 1
	Archive_File_Which_symlink    Archive_File_Which = 2
	Archive_File_Which_directory  Archive_File_Which = 3
)

func (Archive_File_Which) String

func (w Archive_File_Which) String() string

type Archive_Future

type Archive_Future struct{ *capnp.Future }

Archive_Future is a wrapper for a Archive promised by a client call.

func (Archive_Future) Struct

func (f Archive_Future) Struct() (Archive, error)

type Archive_List

type Archive_List = capnp.StructList[Archive]

Archive_List is a list of Archive.

func NewArchive_List

func NewArchive_List(s *capnp.Segment, sz int32) (Archive_List, error)

NewArchive creates a new list of Archive.

type BridgeConfig

type BridgeConfig capnp.Struct

func NewBridgeConfig

func NewBridgeConfig(s *capnp.Segment) (BridgeConfig, error)

func NewRootBridgeConfig

func NewRootBridgeConfig(s *capnp.Segment) (BridgeConfig, error)

func ReadRootBridgeConfig

func ReadRootBridgeConfig(msg *capnp.Message) (BridgeConfig, error)

func (BridgeConfig) ApiPath

func (s BridgeConfig) ApiPath() (string, error)

func (BridgeConfig) ApiPathBytes

func (s BridgeConfig) ApiPathBytes() ([]byte, error)

func (BridgeConfig) DecodeFromPtr

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

func (BridgeConfig) EncodeAsPtr

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

func (BridgeConfig) ExpectAppHooks

func (s BridgeConfig) ExpectAppHooks() bool

func (BridgeConfig) HasApiPath

func (s BridgeConfig) HasApiPath() bool

func (BridgeConfig) HasPowerboxApis

func (s BridgeConfig) HasPowerboxApis() bool

func (BridgeConfig) HasViewInfo

func (s BridgeConfig) HasViewInfo() bool

func (BridgeConfig) IsValid

func (s BridgeConfig) IsValid() bool

func (BridgeConfig) Message

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

func (BridgeConfig) NewPowerboxApis

func (s BridgeConfig) NewPowerboxApis(n int32) (BridgeConfig_PowerboxApi_List, error)

NewPowerboxApis sets the powerboxApis field to a newly allocated BridgeConfig_PowerboxApi_List, preferring placement in s's segment.

func (BridgeConfig) NewViewInfo

func (s BridgeConfig) NewViewInfo() (grain.UiView_ViewInfo, error)

NewViewInfo sets the viewInfo field to a newly allocated grain.UiView_ViewInfo struct, preferring placement in s's segment.

func (BridgeConfig) PowerboxApis

func (s BridgeConfig) PowerboxApis() (BridgeConfig_PowerboxApi_List, error)

func (BridgeConfig) SaveIdentityCaps

func (s BridgeConfig) SaveIdentityCaps() bool

func (BridgeConfig) Segment

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

func (BridgeConfig) SetApiPath

func (s BridgeConfig) SetApiPath(v string) error

func (BridgeConfig) SetExpectAppHooks

func (s BridgeConfig) SetExpectAppHooks(v bool)

func (BridgeConfig) SetPowerboxApis

func (s BridgeConfig) SetPowerboxApis(v BridgeConfig_PowerboxApi_List) error

func (BridgeConfig) SetSaveIdentityCaps

func (s BridgeConfig) SetSaveIdentityCaps(v bool)

func (BridgeConfig) SetViewInfo

func (s BridgeConfig) SetViewInfo(v grain.UiView_ViewInfo) error

func (BridgeConfig) String

func (s BridgeConfig) String() string

func (BridgeConfig) ToPtr

func (s BridgeConfig) ToPtr() capnp.Ptr

func (BridgeConfig) ViewInfo

func (s BridgeConfig) ViewInfo() (grain.UiView_ViewInfo, error)

type BridgeConfig_Future

type BridgeConfig_Future struct{ *capnp.Future }

BridgeConfig_Future is a wrapper for a BridgeConfig promised by a client call.

func (BridgeConfig_Future) Struct

func (f BridgeConfig_Future) Struct() (BridgeConfig, error)

func (BridgeConfig_Future) ViewInfo

type BridgeConfig_List

type BridgeConfig_List = capnp.StructList[BridgeConfig]

BridgeConfig_List is a list of BridgeConfig.

func NewBridgeConfig_List

func NewBridgeConfig_List(s *capnp.Segment, sz int32) (BridgeConfig_List, error)

NewBridgeConfig creates a new list of BridgeConfig.

type BridgeConfig_PowerboxApi

type BridgeConfig_PowerboxApi capnp.Struct

func NewBridgeConfig_PowerboxApi

func NewBridgeConfig_PowerboxApi(s *capnp.Segment) (BridgeConfig_PowerboxApi, error)

func NewRootBridgeConfig_PowerboxApi

func NewRootBridgeConfig_PowerboxApi(s *capnp.Segment) (BridgeConfig_PowerboxApi, error)

func ReadRootBridgeConfig_PowerboxApi

func ReadRootBridgeConfig_PowerboxApi(msg *capnp.Message) (BridgeConfig_PowerboxApi, error)

func (BridgeConfig_PowerboxApi) DecodeFromPtr

func (BridgeConfig_PowerboxApi) DisplayInfo

func (BridgeConfig_PowerboxApi) EncodeAsPtr

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

func (BridgeConfig_PowerboxApi) HasDisplayInfo

func (s BridgeConfig_PowerboxApi) HasDisplayInfo() bool

func (BridgeConfig_PowerboxApi) HasName

func (s BridgeConfig_PowerboxApi) HasName() bool

func (BridgeConfig_PowerboxApi) HasPath

func (s BridgeConfig_PowerboxApi) HasPath() bool

func (BridgeConfig_PowerboxApi) HasPermissions

func (s BridgeConfig_PowerboxApi) HasPermissions() bool

func (BridgeConfig_PowerboxApi) HasTag

func (s BridgeConfig_PowerboxApi) HasTag() bool

func (BridgeConfig_PowerboxApi) IsValid

func (s BridgeConfig_PowerboxApi) IsValid() bool

func (BridgeConfig_PowerboxApi) Message

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

func (BridgeConfig_PowerboxApi) Name

func (BridgeConfig_PowerboxApi) NameBytes

func (s BridgeConfig_PowerboxApi) NameBytes() ([]byte, error)

func (BridgeConfig_PowerboxApi) NewDisplayInfo

NewDisplayInfo sets the displayInfo field to a newly allocated powerbox.PowerboxDisplayInfo struct, preferring placement in s's segment.

func (BridgeConfig_PowerboxApi) NewPermissions

func (s BridgeConfig_PowerboxApi) NewPermissions(n int32) (capnp.BitList, error)

NewPermissions sets the permissions field to a newly allocated capnp.BitList, preferring placement in s's segment.

func (BridgeConfig_PowerboxApi) NewTag

NewTag sets the tag field to a newly allocated apisession.ApiSession_PowerboxTag struct, preferring placement in s's segment.

func (BridgeConfig_PowerboxApi) Path

func (BridgeConfig_PowerboxApi) PathBytes

func (s BridgeConfig_PowerboxApi) PathBytes() ([]byte, error)

func (BridgeConfig_PowerboxApi) Permissions

func (s BridgeConfig_PowerboxApi) Permissions() (capnp.BitList, error)

func (BridgeConfig_PowerboxApi) Segment

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

func (BridgeConfig_PowerboxApi) SetDisplayInfo

func (BridgeConfig_PowerboxApi) SetName

func (s BridgeConfig_PowerboxApi) SetName(v string) error

func (BridgeConfig_PowerboxApi) SetPath

func (s BridgeConfig_PowerboxApi) SetPath(v string) error

func (BridgeConfig_PowerboxApi) SetPermissions

func (s BridgeConfig_PowerboxApi) SetPermissions(v capnp.BitList) error

func (BridgeConfig_PowerboxApi) SetTag

func (BridgeConfig_PowerboxApi) String

func (s BridgeConfig_PowerboxApi) String() string

func (BridgeConfig_PowerboxApi) Tag

func (BridgeConfig_PowerboxApi) ToPtr

type BridgeConfig_PowerboxApi_Future

type BridgeConfig_PowerboxApi_Future struct{ *capnp.Future }

BridgeConfig_PowerboxApi_Future is a wrapper for a BridgeConfig_PowerboxApi promised by a client call.

func (BridgeConfig_PowerboxApi_Future) DisplayInfo

func (BridgeConfig_PowerboxApi_Future) Struct

func (BridgeConfig_PowerboxApi_Future) Tag

type BridgeConfig_PowerboxApi_List

type BridgeConfig_PowerboxApi_List = capnp.StructList[BridgeConfig_PowerboxApi]

BridgeConfig_PowerboxApi_List is a list of BridgeConfig_PowerboxApi.

func NewBridgeConfig_PowerboxApi_List

func NewBridgeConfig_PowerboxApi_List(s *capnp.Segment, sz int32) (BridgeConfig_PowerboxApi_List, error)

NewBridgeConfig_PowerboxApi creates a new list of BridgeConfig_PowerboxApi.

type Category

type Category uint16
const (
	Category_productivity   Category = 1
	Category_communications Category = 2
	Category_social         Category = 3
	Category_webPublishing  Category = 4
	Category_office         Category = 5
	Category_developerTools Category = 6
	Category_science        Category = 7
	Category_graphics       Category = 10
	Category_media          Category = 8
	Category_games          Category = 9
	Category_other          Category = 0
)

Values of Category.

func CategoryFromString

func CategoryFromString(c string) Category

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

func (Category) String

func (c Category) String() string

String returns the enum's constant name.

type CategoryInfo

type CategoryInfo capnp.Struct

func NewCategoryInfo

func NewCategoryInfo(s *capnp.Segment) (CategoryInfo, error)

func NewRootCategoryInfo

func NewRootCategoryInfo(s *capnp.Segment) (CategoryInfo, error)

func ReadRootCategoryInfo

func ReadRootCategoryInfo(msg *capnp.Message) (CategoryInfo, error)

func (CategoryInfo) DecodeFromPtr

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

func (CategoryInfo) EncodeAsPtr

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

func (CategoryInfo) HasTitle

func (s CategoryInfo) HasTitle() bool

func (CategoryInfo) IsValid

func (s CategoryInfo) IsValid() bool

func (CategoryInfo) Message

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

func (CategoryInfo) Segment

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

func (CategoryInfo) SetTitle

func (s CategoryInfo) SetTitle(v string) error

func (CategoryInfo) String

func (s CategoryInfo) String() string

func (CategoryInfo) Title

func (s CategoryInfo) Title() (string, error)

func (CategoryInfo) TitleBytes

func (s CategoryInfo) TitleBytes() ([]byte, error)

func (CategoryInfo) ToPtr

func (s CategoryInfo) ToPtr() capnp.Ptr

type CategoryInfo_Future

type CategoryInfo_Future struct{ *capnp.Future }

CategoryInfo_Future is a wrapper for a CategoryInfo promised by a client call.

func (CategoryInfo_Future) Struct

func (f CategoryInfo_Future) Struct() (CategoryInfo, error)

type CategoryInfo_List

type CategoryInfo_List = capnp.StructList[CategoryInfo]

CategoryInfo_List is a list of CategoryInfo.

func NewCategoryInfo_List

func NewCategoryInfo_List(s *capnp.Segment, sz int32) (CategoryInfo_List, error)

NewCategoryInfo creates a new list of CategoryInfo.

type Category_List

type Category_List = capnp.EnumList[Category]

func NewCategory_List

func NewCategory_List(s *capnp.Segment, sz int32) (Category_List, error)

type KeyFile

type KeyFile capnp.Struct

func NewKeyFile

func NewKeyFile(s *capnp.Segment) (KeyFile, error)

func NewRootKeyFile

func NewRootKeyFile(s *capnp.Segment) (KeyFile, error)

func ReadRootKeyFile

func ReadRootKeyFile(msg *capnp.Message) (KeyFile, error)

func (KeyFile) DecodeFromPtr

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

func (KeyFile) EncodeAsPtr

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

func (KeyFile) HasPrivateKey

func (s KeyFile) HasPrivateKey() bool

func (KeyFile) HasPublicKey

func (s KeyFile) HasPublicKey() bool

func (KeyFile) IsValid

func (s KeyFile) IsValid() bool

func (KeyFile) Message

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

func (KeyFile) PrivateKey

func (s KeyFile) PrivateKey() ([]byte, error)

func (KeyFile) PublicKey

func (s KeyFile) PublicKey() ([]byte, error)

func (KeyFile) Segment

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

func (KeyFile) SetPrivateKey

func (s KeyFile) SetPrivateKey(v []byte) error

func (KeyFile) SetPublicKey

func (s KeyFile) SetPublicKey(v []byte) error

func (KeyFile) String

func (s KeyFile) String() string

func (KeyFile) ToPtr

func (s KeyFile) ToPtr() capnp.Ptr

type KeyFile_Future

type KeyFile_Future struct{ *capnp.Future }

KeyFile_Future is a wrapper for a KeyFile promised by a client call.

func (KeyFile_Future) Struct

func (f KeyFile_Future) Struct() (KeyFile, error)

type KeyFile_List

type KeyFile_List = capnp.StructList[KeyFile]

KeyFile_List is a list of KeyFile.

func NewKeyFile_List

func NewKeyFile_List(s *capnp.Segment, sz int32) (KeyFile_List, error)

NewKeyFile creates a new list of KeyFile.

type Manifest

type Manifest capnp.Struct

func NewManifest

func NewManifest(s *capnp.Segment) (Manifest, error)

func NewRootManifest

func NewRootManifest(s *capnp.Segment) (Manifest, error)

func ReadRootManifest

func ReadRootManifest(msg *capnp.Message) (Manifest, error)

func (Manifest) Actions

func (s Manifest) Actions() (Manifest_Action_List, error)

func (Manifest) AppMarketingVersion

func (s Manifest) AppMarketingVersion() (util.LocalizedText, error)

func (Manifest) AppTitle

func (s Manifest) AppTitle() (util.LocalizedText, error)

func (Manifest) AppVersion

func (s Manifest) AppVersion() uint32

func (Manifest) ContinueCommand

func (s Manifest) ContinueCommand() (Manifest_Command, error)

func (Manifest) DecodeFromPtr

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

func (Manifest) EncodeAsPtr

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

func (Manifest) HasActions

func (s Manifest) HasActions() bool

func (Manifest) HasAppMarketingVersion

func (s Manifest) HasAppMarketingVersion() bool

func (Manifest) HasAppTitle

func (s Manifest) HasAppTitle() bool

func (Manifest) HasContinueCommand

func (s Manifest) HasContinueCommand() bool

func (Manifest) HasMetadata

func (s Manifest) HasMetadata() bool

func (Manifest) IsValid

func (s Manifest) IsValid() bool

func (Manifest) MaxApiVersion

func (s Manifest) MaxApiVersion() uint32

func (Manifest) Message

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

func (Manifest) Metadata

func (s Manifest) Metadata() (Metadata, error)

func (Manifest) MinApiVersion

func (s Manifest) MinApiVersion() uint32

func (Manifest) MinUpgradableAppVersion

func (s Manifest) MinUpgradableAppVersion() uint32

func (Manifest) NewActions

func (s Manifest) NewActions(n int32) (Manifest_Action_List, error)

NewActions sets the actions field to a newly allocated Manifest_Action_List, preferring placement in s's segment.

func (Manifest) NewAppMarketingVersion

func (s Manifest) NewAppMarketingVersion() (util.LocalizedText, error)

NewAppMarketingVersion sets the appMarketingVersion field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.

func (Manifest) NewAppTitle

func (s Manifest) NewAppTitle() (util.LocalizedText, error)

NewAppTitle sets the appTitle field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.

func (Manifest) NewContinueCommand

func (s Manifest) NewContinueCommand() (Manifest_Command, error)

NewContinueCommand sets the continueCommand field to a newly allocated Manifest_Command struct, preferring placement in s's segment.

func (Manifest) NewMetadata

func (s Manifest) NewMetadata() (Metadata, error)

NewMetadata sets the metadata field to a newly allocated Metadata struct, preferring placement in s's segment.

func (Manifest) Segment

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

func (Manifest) SetActions

func (s Manifest) SetActions(v Manifest_Action_List) error

func (Manifest) SetAppMarketingVersion

func (s Manifest) SetAppMarketingVersion(v util.LocalizedText) error

func (Manifest) SetAppTitle

func (s Manifest) SetAppTitle(v util.LocalizedText) error

func (Manifest) SetAppVersion

func (s Manifest) SetAppVersion(v uint32)

func (Manifest) SetContinueCommand

func (s Manifest) SetContinueCommand(v Manifest_Command) error

func (Manifest) SetMaxApiVersion

func (s Manifest) SetMaxApiVersion(v uint32)

func (Manifest) SetMetadata

func (s Manifest) SetMetadata(v Metadata) error

func (Manifest) SetMinApiVersion

func (s Manifest) SetMinApiVersion(v uint32)

func (Manifest) SetMinUpgradableAppVersion

func (s Manifest) SetMinUpgradableAppVersion(v uint32)

func (Manifest) String

func (s Manifest) String() string

func (Manifest) ToPtr

func (s Manifest) ToPtr() capnp.Ptr

type Manifest_Action

type Manifest_Action capnp.Struct

func NewManifest_Action

func NewManifest_Action(s *capnp.Segment) (Manifest_Action, error)

func NewRootManifest_Action

func NewRootManifest_Action(s *capnp.Segment) (Manifest_Action, error)

func ReadRootManifest_Action

func ReadRootManifest_Action(msg *capnp.Message) (Manifest_Action, error)

func (Manifest_Action) Command

func (s Manifest_Action) Command() (Manifest_Command, error)

func (Manifest_Action) DecodeFromPtr

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

func (Manifest_Action) Description

func (s Manifest_Action) Description() (util.LocalizedText, error)

func (Manifest_Action) EncodeAsPtr

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

func (Manifest_Action) HasCommand

func (s Manifest_Action) HasCommand() bool

func (Manifest_Action) HasDescription

func (s Manifest_Action) HasDescription() bool

func (Manifest_Action) HasNounPhrase

func (s Manifest_Action) HasNounPhrase() bool

func (Manifest_Action) HasTitle

func (s Manifest_Action) HasTitle() bool

func (Manifest_Action) Input

func (Manifest_Action) IsValid

func (s Manifest_Action) IsValid() bool

func (Manifest_Action) Message

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

func (Manifest_Action) NewCommand

func (s Manifest_Action) NewCommand() (Manifest_Command, error)

NewCommand sets the command field to a newly allocated Manifest_Command struct, preferring placement in s's segment.

func (Manifest_Action) NewDescription

func (s Manifest_Action) NewDescription() (util.LocalizedText, error)

NewDescription sets the description field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.

func (Manifest_Action) NewNounPhrase

func (s Manifest_Action) NewNounPhrase() (util.LocalizedText, error)

NewNounPhrase sets the nounPhrase field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.

func (Manifest_Action) NewTitle

func (s Manifest_Action) NewTitle() (util.LocalizedText, error)

NewTitle sets the title field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.

func (Manifest_Action) NounPhrase

func (s Manifest_Action) NounPhrase() (util.LocalizedText, error)

func (Manifest_Action) Segment

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

func (Manifest_Action) SetCommand

func (s Manifest_Action) SetCommand(v Manifest_Command) error

func (Manifest_Action) SetDescription

func (s Manifest_Action) SetDescription(v util.LocalizedText) error

func (Manifest_Action) SetNounPhrase

func (s Manifest_Action) SetNounPhrase(v util.LocalizedText) error

func (Manifest_Action) SetTitle

func (s Manifest_Action) SetTitle(v util.LocalizedText) error

func (Manifest_Action) String

func (s Manifest_Action) String() string

func (Manifest_Action) Title

func (s Manifest_Action) Title() (util.LocalizedText, error)

func (Manifest_Action) ToPtr

func (s Manifest_Action) ToPtr() capnp.Ptr

type Manifest_Action_Future

type Manifest_Action_Future struct{ *capnp.Future }

Manifest_Action_Future is a wrapper for a Manifest_Action promised by a client call.

func (Manifest_Action_Future) Command

func (Manifest_Action_Future) Description

func (Manifest_Action_Future) Input

func (Manifest_Action_Future) NounPhrase

func (Manifest_Action_Future) Struct

func (Manifest_Action_Future) Title

type Manifest_Action_List

type Manifest_Action_List = capnp.StructList[Manifest_Action]

Manifest_Action_List is a list of Manifest_Action.

func NewManifest_Action_List

func NewManifest_Action_List(s *capnp.Segment, sz int32) (Manifest_Action_List, error)

NewManifest_Action creates a new list of Manifest_Action.

type Manifest_Action_input

type Manifest_Action_input Manifest_Action

func (Manifest_Action_input) Capability

func (Manifest_Action_input) HasCapability

func (s Manifest_Action_input) HasCapability() bool

func (Manifest_Action_input) IsValid

func (s Manifest_Action_input) IsValid() bool

func (Manifest_Action_input) Message

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

func (Manifest_Action_input) NewCapability

NewCapability sets the capability field to a newly allocated powerbox.PowerboxDescriptor_List, preferring placement in s's segment.

func (Manifest_Action_input) Segment

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

func (Manifest_Action_input) SetCapability

func (Manifest_Action_input) SetNone

func (s Manifest_Action_input) SetNone()

func (Manifest_Action_input) Which

type Manifest_Action_input_Future

type Manifest_Action_input_Future struct{ *capnp.Future }

Manifest_Action_input_Future is a wrapper for a Manifest_Action_input promised by a client call.

func (Manifest_Action_input_Future) Struct

type Manifest_Action_input_Which

type Manifest_Action_input_Which uint16
const (
	Manifest_Action_input_Which_none       Manifest_Action_input_Which = 0
	Manifest_Action_input_Which_capability Manifest_Action_input_Which = 1
)

func (Manifest_Action_input_Which) String

type Manifest_Command

type Manifest_Command capnp.Struct

func NewManifest_Command

func NewManifest_Command(s *capnp.Segment) (Manifest_Command, error)

func NewRootManifest_Command

func NewRootManifest_Command(s *capnp.Segment) (Manifest_Command, error)

func ReadRootManifest_Command

func ReadRootManifest_Command(msg *capnp.Message) (Manifest_Command, error)

func (Manifest_Command) Argv

func (s Manifest_Command) Argv() (capnp.TextList, error)

func (Manifest_Command) DecodeFromPtr

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

func (Manifest_Command) DeprecatedExecutablePath

func (s Manifest_Command) DeprecatedExecutablePath() (string, error)

func (Manifest_Command) DeprecatedExecutablePathBytes

func (s Manifest_Command) DeprecatedExecutablePathBytes() ([]byte, error)

func (Manifest_Command) EncodeAsPtr

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

func (Manifest_Command) Environ

func (s Manifest_Command) Environ() (util.KeyValue_List, error)

func (Manifest_Command) HasArgv

func (s Manifest_Command) HasArgv() bool

func (Manifest_Command) HasDeprecatedExecutablePath

func (s Manifest_Command) HasDeprecatedExecutablePath() bool

func (Manifest_Command) HasEnviron

func (s Manifest_Command) HasEnviron() bool

func (Manifest_Command) IsValid

func (s Manifest_Command) IsValid() bool

func (Manifest_Command) Message

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

func (Manifest_Command) NewArgv

func (s Manifest_Command) NewArgv(n int32) (capnp.TextList, error)

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

func (Manifest_Command) NewEnviron

func (s Manifest_Command) NewEnviron(n int32) (util.KeyValue_List, error)

NewEnviron sets the environ field to a newly allocated util.KeyValue_List, preferring placement in s's segment.

func (Manifest_Command) Segment

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

func (Manifest_Command) SetArgv

func (s Manifest_Command) SetArgv(v capnp.TextList) error

func (Manifest_Command) SetDeprecatedExecutablePath

func (s Manifest_Command) SetDeprecatedExecutablePath(v string) error

func (Manifest_Command) SetEnviron

func (s Manifest_Command) SetEnviron(v util.KeyValue_List) error

func (Manifest_Command) String

func (s Manifest_Command) String() string

func (Manifest_Command) ToPtr

func (s Manifest_Command) ToPtr() capnp.Ptr

type Manifest_Command_Future

type Manifest_Command_Future struct{ *capnp.Future }

Manifest_Command_Future is a wrapper for a Manifest_Command promised by a client call.

func (Manifest_Command_Future) Struct

type Manifest_Command_List

type Manifest_Command_List = capnp.StructList[Manifest_Command]

Manifest_Command_List is a list of Manifest_Command.

func NewManifest_Command_List

func NewManifest_Command_List(s *capnp.Segment, sz int32) (Manifest_Command_List, error)

NewManifest_Command creates a new list of Manifest_Command.

type Manifest_Future

type Manifest_Future struct{ *capnp.Future }

Manifest_Future is a wrapper for a Manifest promised by a client call.

func (Manifest_Future) AppMarketingVersion

func (p Manifest_Future) AppMarketingVersion() util.LocalizedText_Future

func (Manifest_Future) AppTitle

func (Manifest_Future) ContinueCommand

func (p Manifest_Future) ContinueCommand() Manifest_Command_Future

func (Manifest_Future) Metadata

func (p Manifest_Future) Metadata() Metadata_Future

func (Manifest_Future) Struct

func (f Manifest_Future) Struct() (Manifest, error)

type Manifest_List

type Manifest_List = capnp.StructList[Manifest]

Manifest_List is a list of Manifest.

func NewManifest_List

func NewManifest_List(s *capnp.Segment, sz int32) (Manifest_List, error)

NewManifest creates a new list of Manifest.

type Metadata

type Metadata capnp.Struct

func NewMetadata

func NewMetadata(s *capnp.Segment) (Metadata, error)

func NewRootMetadata

func NewRootMetadata(s *capnp.Segment) (Metadata, error)

func ReadRootMetadata

func ReadRootMetadata(msg *capnp.Message) (Metadata, error)

func (Metadata) Author

func (s Metadata) Author() Metadata_author

func (Metadata) Categories

func (s Metadata) Categories() (Category_List, error)

func (Metadata) ChangeLog

func (s Metadata) ChangeLog() (util.LocalizedText, error)

func (Metadata) CodeUrl

func (s Metadata) CodeUrl() (string, error)

func (Metadata) CodeUrlBytes

func (s Metadata) CodeUrlBytes() ([]byte, error)

func (Metadata) DecodeFromPtr

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

func (Metadata) Description

func (s Metadata) Description() (util.LocalizedText, error)

func (Metadata) EncodeAsPtr

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

func (Metadata) HasCategories

func (s Metadata) HasCategories() bool

func (Metadata) HasChangeLog

func (s Metadata) HasChangeLog() bool

func (Metadata) HasCodeUrl

func (s Metadata) HasCodeUrl() bool

func (Metadata) HasDescription

func (s Metadata) HasDescription() bool

func (Metadata) HasPgpKeyring

func (s Metadata) HasPgpKeyring() bool

func (Metadata) HasScreenshots

func (s Metadata) HasScreenshots() bool

func (Metadata) HasShortDescription

func (s Metadata) HasShortDescription() bool

func (Metadata) HasWebsite

func (s Metadata) HasWebsite() bool

func (Metadata) Icons

func (s Metadata) Icons() Metadata_icons

func (Metadata) IsValid

func (s Metadata) IsValid() bool

func (Metadata) License

func (s Metadata) License() Metadata_license

func (Metadata) Message

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

func (Metadata) NewCategories

func (s Metadata) NewCategories(n int32) (Category_List, error)

NewCategories sets the categories field to a newly allocated Category_List, preferring placement in s's segment.

func (Metadata) NewChangeLog

func (s Metadata) NewChangeLog() (util.LocalizedText, error)

NewChangeLog sets the changeLog field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.

func (Metadata) NewDescription

func (s Metadata) NewDescription() (util.LocalizedText, error)

NewDescription sets the description field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.

func (Metadata) NewScreenshots

func (s Metadata) NewScreenshots(n int32) (Metadata_Screenshot_List, error)

NewScreenshots sets the screenshots field to a newly allocated Metadata_Screenshot_List, preferring placement in s's segment.

func (Metadata) NewShortDescription

func (s Metadata) NewShortDescription() (util.LocalizedText, error)

NewShortDescription sets the shortDescription field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.

func (Metadata) PgpKeyring

func (s Metadata) PgpKeyring() ([]byte, error)

func (Metadata) Screenshots

func (s Metadata) Screenshots() (Metadata_Screenshot_List, error)

func (Metadata) Segment

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

func (Metadata) SetCategories

func (s Metadata) SetCategories(v Category_List) error

func (Metadata) SetChangeLog

func (s Metadata) SetChangeLog(v util.LocalizedText) error

func (Metadata) SetCodeUrl

func (s Metadata) SetCodeUrl(v string) error

func (Metadata) SetDescription

func (s Metadata) SetDescription(v util.LocalizedText) error

func (Metadata) SetPgpKeyring

func (s Metadata) SetPgpKeyring(v []byte) error

func (Metadata) SetScreenshots

func (s Metadata) SetScreenshots(v Metadata_Screenshot_List) error

func (Metadata) SetShortDescription

func (s Metadata) SetShortDescription(v util.LocalizedText) error

func (Metadata) SetWebsite

func (s Metadata) SetWebsite(v string) error

func (Metadata) ShortDescription

func (s Metadata) ShortDescription() (util.LocalizedText, error)

func (Metadata) String

func (s Metadata) String() string

func (Metadata) ToPtr

func (s Metadata) ToPtr() capnp.Ptr

func (Metadata) Website

func (s Metadata) Website() (string, error)

func (Metadata) WebsiteBytes

func (s Metadata) WebsiteBytes() ([]byte, error)

type Metadata_Future

type Metadata_Future struct{ *capnp.Future }

Metadata_Future is a wrapper for a Metadata promised by a client call.

func (Metadata_Future) Author

func (Metadata_Future) ChangeLog

func (Metadata_Future) Description

func (p Metadata_Future) Description() util.LocalizedText_Future

func (Metadata_Future) Icons

func (Metadata_Future) License

func (Metadata_Future) ShortDescription

func (p Metadata_Future) ShortDescription() util.LocalizedText_Future

func (Metadata_Future) Struct

func (f Metadata_Future) Struct() (Metadata, error)

type Metadata_Icon

type Metadata_Icon capnp.Struct

func NewMetadata_Icon

func NewMetadata_Icon(s *capnp.Segment) (Metadata_Icon, error)

func NewRootMetadata_Icon

func NewRootMetadata_Icon(s *capnp.Segment) (Metadata_Icon, error)

func ReadRootMetadata_Icon

func ReadRootMetadata_Icon(msg *capnp.Message) (Metadata_Icon, error)

func (Metadata_Icon) DecodeFromPtr

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

func (Metadata_Icon) EncodeAsPtr

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

func (Metadata_Icon) HasSvg

func (s Metadata_Icon) HasSvg() bool

func (Metadata_Icon) IsValid

func (s Metadata_Icon) IsValid() bool

func (Metadata_Icon) Message

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

func (Metadata_Icon) Png

func (Metadata_Icon) Segment

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

func (Metadata_Icon) SetPng

func (s Metadata_Icon) SetPng()

func (Metadata_Icon) SetSvg

func (s Metadata_Icon) SetSvg(v string) error

func (Metadata_Icon) SetUnknown

func (s Metadata_Icon) SetUnknown()

func (Metadata_Icon) String

func (s Metadata_Icon) String() string

func (Metadata_Icon) Svg

func (s Metadata_Icon) Svg() (string, error)

func (Metadata_Icon) SvgBytes

func (s Metadata_Icon) SvgBytes() ([]byte, error)

func (Metadata_Icon) ToPtr

func (s Metadata_Icon) ToPtr() capnp.Ptr

func (Metadata_Icon) Which

type Metadata_Icon_Future

type Metadata_Icon_Future struct{ *capnp.Future }

Metadata_Icon_Future is a wrapper for a Metadata_Icon promised by a client call.

func (Metadata_Icon_Future) Png

func (Metadata_Icon_Future) Struct

type Metadata_Icon_List

type Metadata_Icon_List = capnp.StructList[Metadata_Icon]

Metadata_Icon_List is a list of Metadata_Icon.

func NewMetadata_Icon_List

func NewMetadata_Icon_List(s *capnp.Segment, sz int32) (Metadata_Icon_List, error)

NewMetadata_Icon creates a new list of Metadata_Icon.

type Metadata_Icon_Which

type Metadata_Icon_Which uint16
const (
	Metadata_Icon_Which_unknown Metadata_Icon_Which = 0
	Metadata_Icon_Which_svg     Metadata_Icon_Which = 1
	Metadata_Icon_Which_png     Metadata_Icon_Which = 2
)

func (Metadata_Icon_Which) String

func (w Metadata_Icon_Which) String() string

type Metadata_Icon_png

type Metadata_Icon_png Metadata_Icon

func (Metadata_Icon_png) Dpi1x

func (s Metadata_Icon_png) Dpi1x() ([]byte, error)

func (Metadata_Icon_png) Dpi2x

func (s Metadata_Icon_png) Dpi2x() ([]byte, error)

func (Metadata_Icon_png) HasDpi1x

func (s Metadata_Icon_png) HasDpi1x() bool

func (Metadata_Icon_png) HasDpi2x

func (s Metadata_Icon_png) HasDpi2x() bool

func (Metadata_Icon_png) IsValid

func (s Metadata_Icon_png) IsValid() bool

func (Metadata_Icon_png) Message

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

func (Metadata_Icon_png) Segment

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

func (Metadata_Icon_png) SetDpi1x

func (s Metadata_Icon_png) SetDpi1x(v []byte) error

func (Metadata_Icon_png) SetDpi2x

func (s Metadata_Icon_png) SetDpi2x(v []byte) error

type Metadata_Icon_png_Future

type Metadata_Icon_png_Future struct{ *capnp.Future }

Metadata_Icon_png_Future is a wrapper for a Metadata_Icon_png promised by a client call.

func (Metadata_Icon_png_Future) Struct

type Metadata_List

type Metadata_List = capnp.StructList[Metadata]

Metadata_List is a list of Metadata.

func NewMetadata_List

func NewMetadata_List(s *capnp.Segment, sz int32) (Metadata_List, error)

NewMetadata creates a new list of Metadata.

type Metadata_Screenshot

type Metadata_Screenshot capnp.Struct

func NewMetadata_Screenshot

func NewMetadata_Screenshot(s *capnp.Segment) (Metadata_Screenshot, error)

func NewRootMetadata_Screenshot

func NewRootMetadata_Screenshot(s *capnp.Segment) (Metadata_Screenshot, error)

func ReadRootMetadata_Screenshot

func ReadRootMetadata_Screenshot(msg *capnp.Message) (Metadata_Screenshot, error)

func (Metadata_Screenshot) DecodeFromPtr

func (Metadata_Screenshot) EncodeAsPtr

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

func (Metadata_Screenshot) HasJpeg

func (s Metadata_Screenshot) HasJpeg() bool

func (Metadata_Screenshot) HasPng

func (s Metadata_Screenshot) HasPng() bool

func (Metadata_Screenshot) Height

func (s Metadata_Screenshot) Height() uint32

func (Metadata_Screenshot) IsValid

func (s Metadata_Screenshot) IsValid() bool

func (Metadata_Screenshot) Jpeg

func (s Metadata_Screenshot) Jpeg() ([]byte, error)

func (Metadata_Screenshot) Message

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

func (Metadata_Screenshot) Png

func (s Metadata_Screenshot) Png() ([]byte, error)

func (Metadata_Screenshot) Segment

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

func (Metadata_Screenshot) SetHeight

func (s Metadata_Screenshot) SetHeight(v uint32)

func (Metadata_Screenshot) SetJpeg

func (s Metadata_Screenshot) SetJpeg(v []byte) error

func (Metadata_Screenshot) SetPng

func (s Metadata_Screenshot) SetPng(v []byte) error

func (Metadata_Screenshot) SetUnknown

func (s Metadata_Screenshot) SetUnknown()

func (Metadata_Screenshot) SetWidth

func (s Metadata_Screenshot) SetWidth(v uint32)

func (Metadata_Screenshot) String

func (s Metadata_Screenshot) String() string

func (Metadata_Screenshot) ToPtr

func (s Metadata_Screenshot) ToPtr() capnp.Ptr

func (Metadata_Screenshot) Which

func (Metadata_Screenshot) Width

func (s Metadata_Screenshot) Width() uint32

type Metadata_Screenshot_Future

type Metadata_Screenshot_Future struct{ *capnp.Future }

Metadata_Screenshot_Future is a wrapper for a Metadata_Screenshot promised by a client call.

func (Metadata_Screenshot_Future) Struct

type Metadata_Screenshot_List

type Metadata_Screenshot_List = capnp.StructList[Metadata_Screenshot]

Metadata_Screenshot_List is a list of Metadata_Screenshot.

func NewMetadata_Screenshot_List

func NewMetadata_Screenshot_List(s *capnp.Segment, sz int32) (Metadata_Screenshot_List, error)

NewMetadata_Screenshot creates a new list of Metadata_Screenshot.

type Metadata_Screenshot_Which

type Metadata_Screenshot_Which uint16
const (
	Metadata_Screenshot_Which_unknown Metadata_Screenshot_Which = 0
	Metadata_Screenshot_Which_png     Metadata_Screenshot_Which = 1
	Metadata_Screenshot_Which_jpeg    Metadata_Screenshot_Which = 2
)

func (Metadata_Screenshot_Which) String

func (w Metadata_Screenshot_Which) String() string

type Metadata_author

type Metadata_author Metadata

func (Metadata_author) ContactEmail

func (s Metadata_author) ContactEmail() (string, error)

func (Metadata_author) ContactEmailBytes

func (s Metadata_author) ContactEmailBytes() ([]byte, error)

func (Metadata_author) HasContactEmail

func (s Metadata_author) HasContactEmail() bool

func (Metadata_author) HasPgpSignature

func (s Metadata_author) HasPgpSignature() bool

func (Metadata_author) HasUpstreamAuthor

func (s Metadata_author) HasUpstreamAuthor() bool

func (Metadata_author) IsValid

func (s Metadata_author) IsValid() bool

func (Metadata_author) Message

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

func (Metadata_author) PgpSignature

func (s Metadata_author) PgpSignature() ([]byte, error)

func (Metadata_author) Segment

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

func (Metadata_author) SetContactEmail

func (s Metadata_author) SetContactEmail(v string) error

func (Metadata_author) SetPgpSignature

func (s Metadata_author) SetPgpSignature(v []byte) error

func (Metadata_author) SetUpstreamAuthor

func (s Metadata_author) SetUpstreamAuthor(v string) error

func (Metadata_author) UpstreamAuthor

func (s Metadata_author) UpstreamAuthor() (string, error)

func (Metadata_author) UpstreamAuthorBytes

func (s Metadata_author) UpstreamAuthorBytes() ([]byte, error)

type Metadata_author_Future

type Metadata_author_Future struct{ *capnp.Future }

Metadata_author_Future is a wrapper for a Metadata_author promised by a client call.

func (Metadata_author_Future) Struct

type Metadata_icons

type Metadata_icons Metadata

func (Metadata_icons) AppGrid

func (s Metadata_icons) AppGrid() (Metadata_Icon, error)

func (Metadata_icons) Grain

func (s Metadata_icons) Grain() (Metadata_Icon, error)

func (Metadata_icons) HasAppGrid

func (s Metadata_icons) HasAppGrid() bool

func (Metadata_icons) HasGrain

func (s Metadata_icons) HasGrain() bool

func (Metadata_icons) HasMarket

func (s Metadata_icons) HasMarket() bool

func (Metadata_icons) HasMarketBig

func (s Metadata_icons) HasMarketBig() bool

func (Metadata_icons) IsValid

func (s Metadata_icons) IsValid() bool

func (Metadata_icons) Market

func (s Metadata_icons) Market() (Metadata_Icon, error)

func (Metadata_icons) MarketBig

func (s Metadata_icons) MarketBig() (Metadata_Icon, error)

func (Metadata_icons) Message

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

func (Metadata_icons) NewAppGrid

func (s Metadata_icons) NewAppGrid() (Metadata_Icon, error)

NewAppGrid sets the appGrid field to a newly allocated Metadata_Icon struct, preferring placement in s's segment.

func (Metadata_icons) NewGrain

func (s Metadata_icons) NewGrain() (Metadata_Icon, error)

NewGrain sets the grain field to a newly allocated Metadata_Icon struct, preferring placement in s's segment.

func (Metadata_icons) NewMarket

func (s Metadata_icons) NewMarket() (Metadata_Icon, error)

NewMarket sets the market field to a newly allocated Metadata_Icon struct, preferring placement in s's segment.

func (Metadata_icons) NewMarketBig

func (s Metadata_icons) NewMarketBig() (Metadata_Icon, error)

NewMarketBig sets the marketBig field to a newly allocated Metadata_Icon struct, preferring placement in s's segment.

func (Metadata_icons) Segment

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

func (Metadata_icons) SetAppGrid

func (s Metadata_icons) SetAppGrid(v Metadata_Icon) error

func (Metadata_icons) SetGrain

func (s Metadata_icons) SetGrain(v Metadata_Icon) error

func (Metadata_icons) SetMarket

func (s Metadata_icons) SetMarket(v Metadata_Icon) error

func (Metadata_icons) SetMarketBig

func (s Metadata_icons) SetMarketBig(v Metadata_Icon) error

type Metadata_icons_Future

type Metadata_icons_Future struct{ *capnp.Future }

Metadata_icons_Future is a wrapper for a Metadata_icons promised by a client call.

func (Metadata_icons_Future) AppGrid

func (Metadata_icons_Future) Grain

func (Metadata_icons_Future) Market

func (Metadata_icons_Future) MarketBig

func (Metadata_icons_Future) Struct

type Metadata_license

type Metadata_license Metadata

func (Metadata_license) HasNotices

func (s Metadata_license) HasNotices() bool

func (Metadata_license) HasProprietary

func (s Metadata_license) HasProprietary() bool

func (Metadata_license) HasPublicDomain

func (s Metadata_license) HasPublicDomain() bool

func (Metadata_license) IsValid

func (s Metadata_license) IsValid() bool

func (Metadata_license) Message

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

func (Metadata_license) NewNotices

func (s Metadata_license) NewNotices() (util.LocalizedText, error)

NewNotices sets the notices field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.

func (Metadata_license) NewProprietary

func (s Metadata_license) NewProprietary() (util.LocalizedText, error)

NewProprietary sets the proprietary field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.

func (Metadata_license) NewPublicDomain

func (s Metadata_license) NewPublicDomain() (util.LocalizedText, error)

NewPublicDomain sets the publicDomain field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.

func (Metadata_license) Notices

func (s Metadata_license) Notices() (util.LocalizedText, error)

func (Metadata_license) OpenSource

func (s Metadata_license) OpenSource() OpenSourceLicense

func (Metadata_license) Proprietary

func (s Metadata_license) Proprietary() (util.LocalizedText, error)

func (Metadata_license) PublicDomain

func (s Metadata_license) PublicDomain() (util.LocalizedText, error)

func (Metadata_license) Segment

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

func (Metadata_license) SetNone

func (s Metadata_license) SetNone()

func (Metadata_license) SetNotices

func (s Metadata_license) SetNotices(v util.LocalizedText) error

func (Metadata_license) SetOpenSource

func (s Metadata_license) SetOpenSource(v OpenSourceLicense)

func (Metadata_license) SetProprietary

func (s Metadata_license) SetProprietary(v util.LocalizedText) error

func (Metadata_license) SetPublicDomain

func (s Metadata_license) SetPublicDomain(v util.LocalizedText) error

func (Metadata_license) Which

type Metadata_license_Future

type Metadata_license_Future struct{ *capnp.Future }

Metadata_license_Future is a wrapper for a Metadata_license promised by a client call.

func (Metadata_license_Future) Notices

func (Metadata_license_Future) Proprietary

func (Metadata_license_Future) PublicDomain

func (Metadata_license_Future) Struct

type Metadata_license_Which

type Metadata_license_Which uint16
const (
	Metadata_license_Which_none         Metadata_license_Which = 0
	Metadata_license_Which_openSource   Metadata_license_Which = 1
	Metadata_license_Which_proprietary  Metadata_license_Which = 2
	Metadata_license_Which_publicDomain Metadata_license_Which = 3
)

func (Metadata_license_Which) String

func (w Metadata_license_Which) String() string

type OpenSourceLicense

type OpenSourceLicense uint16
const (
	OpenSourceLicense_invalid    OpenSourceLicense = 0
	OpenSourceLicense_mit        OpenSourceLicense = 1
	OpenSourceLicense_apache2    OpenSourceLicense = 2
	OpenSourceLicense_gpl3       OpenSourceLicense = 3
	OpenSourceLicense_agpl3      OpenSourceLicense = 4
	OpenSourceLicense_bsd3Clause OpenSourceLicense = 5
	OpenSourceLicense_bsd2Clause OpenSourceLicense = 6
	OpenSourceLicense_gpl2       OpenSourceLicense = 7
	OpenSourceLicense_lgpl2      OpenSourceLicense = 8
	OpenSourceLicense_lgpl3      OpenSourceLicense = 9
	OpenSourceLicense_isc        OpenSourceLicense = 10
	OpenSourceLicense_artistic2  OpenSourceLicense = 11
	OpenSourceLicense_python2    OpenSourceLicense = 12
	OpenSourceLicense_php3       OpenSourceLicense = 13
	OpenSourceLicense_mpl2       OpenSourceLicense = 14
	OpenSourceLicense_cddl       OpenSourceLicense = 15
	OpenSourceLicense_epl        OpenSourceLicense = 16
	OpenSourceLicense_cpal       OpenSourceLicense = 17
	OpenSourceLicense_zlib       OpenSourceLicense = 18
)

Values of OpenSourceLicense.

func OpenSourceLicenseFromString

func OpenSourceLicenseFromString(c string) OpenSourceLicense

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

func (OpenSourceLicense) String

func (c OpenSourceLicense) String() string

String returns the enum's constant name.

type OpenSourceLicense_List

type OpenSourceLicense_List = capnp.EnumList[OpenSourceLicense]

func NewOpenSourceLicense_List

func NewOpenSourceLicense_List(s *capnp.Segment, sz int32) (OpenSourceLicense_List, error)

type OsiLicenseInfo

type OsiLicenseInfo capnp.Struct

func NewOsiLicenseInfo

func NewOsiLicenseInfo(s *capnp.Segment) (OsiLicenseInfo, error)

func NewRootOsiLicenseInfo

func NewRootOsiLicenseInfo(s *capnp.Segment) (OsiLicenseInfo, error)

func ReadRootOsiLicenseInfo

func ReadRootOsiLicenseInfo(msg *capnp.Message) (OsiLicenseInfo, error)

func (OsiLicenseInfo) DecodeFromPtr

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

func (OsiLicenseInfo) EncodeAsPtr

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

func (OsiLicenseInfo) HasId

func (s OsiLicenseInfo) HasId() bool

func (OsiLicenseInfo) HasTitle

func (s OsiLicenseInfo) HasTitle() bool

func (OsiLicenseInfo) Id

func (s OsiLicenseInfo) Id() (string, error)

func (OsiLicenseInfo) IdBytes

func (s OsiLicenseInfo) IdBytes() ([]byte, error)

func (OsiLicenseInfo) IsValid

func (s OsiLicenseInfo) IsValid() bool

func (OsiLicenseInfo) Message

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

func (OsiLicenseInfo) RequireSource

func (s OsiLicenseInfo) RequireSource() bool

func (OsiLicenseInfo) Segment

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

func (OsiLicenseInfo) SetId

func (s OsiLicenseInfo) SetId(v string) error

func (OsiLicenseInfo) SetRequireSource

func (s OsiLicenseInfo) SetRequireSource(v bool)

func (OsiLicenseInfo) SetTitle

func (s OsiLicenseInfo) SetTitle(v string) error

func (OsiLicenseInfo) String

func (s OsiLicenseInfo) String() string

func (OsiLicenseInfo) Title

func (s OsiLicenseInfo) Title() (string, error)

func (OsiLicenseInfo) TitleBytes

func (s OsiLicenseInfo) TitleBytes() ([]byte, error)

func (OsiLicenseInfo) ToPtr

func (s OsiLicenseInfo) ToPtr() capnp.Ptr

type OsiLicenseInfo_Future

type OsiLicenseInfo_Future struct{ *capnp.Future }

OsiLicenseInfo_Future is a wrapper for a OsiLicenseInfo promised by a client call.

func (OsiLicenseInfo_Future) Struct

type OsiLicenseInfo_List

type OsiLicenseInfo_List = capnp.StructList[OsiLicenseInfo]

OsiLicenseInfo_List is a list of OsiLicenseInfo.

func NewOsiLicenseInfo_List

func NewOsiLicenseInfo_List(s *capnp.Segment, sz int32) (OsiLicenseInfo_List, error)

NewOsiLicenseInfo creates a new list of OsiLicenseInfo.

type PackageDefinition

type PackageDefinition capnp.Struct

func NewPackageDefinition

func NewPackageDefinition(s *capnp.Segment) (PackageDefinition, error)

func NewRootPackageDefinition

func NewRootPackageDefinition(s *capnp.Segment) (PackageDefinition, error)

func ReadRootPackageDefinition

func ReadRootPackageDefinition(msg *capnp.Message) (PackageDefinition, error)

func (PackageDefinition) AlwaysInclude

func (s PackageDefinition) AlwaysInclude() (capnp.TextList, error)

func (PackageDefinition) BridgeConfig

func (s PackageDefinition) BridgeConfig() (BridgeConfig, error)

func (PackageDefinition) DecodeFromPtr

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

func (PackageDefinition) EncodeAsPtr

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

func (PackageDefinition) FileList

func (s PackageDefinition) FileList() (string, error)

func (PackageDefinition) FileListBytes

func (s PackageDefinition) FileListBytes() ([]byte, error)

func (PackageDefinition) HasAlwaysInclude

func (s PackageDefinition) HasAlwaysInclude() bool

func (PackageDefinition) HasBridgeConfig

func (s PackageDefinition) HasBridgeConfig() bool

func (PackageDefinition) HasFileList

func (s PackageDefinition) HasFileList() bool

func (PackageDefinition) HasId

func (s PackageDefinition) HasId() bool

func (PackageDefinition) HasManifest

func (s PackageDefinition) HasManifest() bool

func (PackageDefinition) HasSourceMap

func (s PackageDefinition) HasSourceMap() bool

func (PackageDefinition) Id

func (s PackageDefinition) Id() (string, error)

func (PackageDefinition) IdBytes

func (s PackageDefinition) IdBytes() ([]byte, error)

func (PackageDefinition) IsValid

func (s PackageDefinition) IsValid() bool

func (PackageDefinition) Manifest

func (s PackageDefinition) Manifest() (Manifest, error)

func (PackageDefinition) Message

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

func (PackageDefinition) NewAlwaysInclude

func (s PackageDefinition) NewAlwaysInclude(n int32) (capnp.TextList, error)

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

func (PackageDefinition) NewBridgeConfig

func (s PackageDefinition) NewBridgeConfig() (BridgeConfig, error)

NewBridgeConfig sets the bridgeConfig field to a newly allocated BridgeConfig struct, preferring placement in s's segment.

func (PackageDefinition) NewManifest

func (s PackageDefinition) NewManifest() (Manifest, error)

NewManifest sets the manifest field to a newly allocated Manifest struct, preferring placement in s's segment.

func (PackageDefinition) NewSourceMap

func (s PackageDefinition) NewSourceMap() (SourceMap, error)

NewSourceMap sets the sourceMap field to a newly allocated SourceMap struct, preferring placement in s's segment.

func (PackageDefinition) Segment

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

func (PackageDefinition) SetAlwaysInclude

func (s PackageDefinition) SetAlwaysInclude(v capnp.TextList) error

func (PackageDefinition) SetBridgeConfig

func (s PackageDefinition) SetBridgeConfig(v BridgeConfig) error

func (PackageDefinition) SetFileList

func (s PackageDefinition) SetFileList(v string) error

func (PackageDefinition) SetId

func (s PackageDefinition) SetId(v string) error

func (PackageDefinition) SetManifest

func (s PackageDefinition) SetManifest(v Manifest) error

func (PackageDefinition) SetSourceMap

func (s PackageDefinition) SetSourceMap(v SourceMap) error

func (PackageDefinition) SourceMap

func (s PackageDefinition) SourceMap() (SourceMap, error)

func (PackageDefinition) String

func (s PackageDefinition) String() string

func (PackageDefinition) ToPtr

func (s PackageDefinition) ToPtr() capnp.Ptr

type PackageDefinition_Future

type PackageDefinition_Future struct{ *capnp.Future }

PackageDefinition_Future is a wrapper for a PackageDefinition promised by a client call.

func (PackageDefinition_Future) BridgeConfig

func (PackageDefinition_Future) Manifest

func (PackageDefinition_Future) SourceMap

func (PackageDefinition_Future) Struct

type PackageDefinition_List

type PackageDefinition_List = capnp.StructList[PackageDefinition]

PackageDefinition_List is a list of PackageDefinition.

func NewPackageDefinition_List

func NewPackageDefinition_List(s *capnp.Segment, sz int32) (PackageDefinition_List, error)

NewPackageDefinition creates a new list of PackageDefinition.

type PackageId

type PackageId capnp.Struct

func NewPackageId

func NewPackageId(s *capnp.Segment) (PackageId, error)

func NewRootPackageId

func NewRootPackageId(s *capnp.Segment) (PackageId, error)

func ReadRootPackageId

func ReadRootPackageId(msg *capnp.Message) (PackageId, error)

func (PackageId) DecodeFromPtr

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

func (PackageId) EncodeAsPtr

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

func (PackageId) Id0

func (s PackageId) Id0() uint64

func (PackageId) Id1

func (s PackageId) Id1() uint64

func (PackageId) IsValid

func (s PackageId) IsValid() bool

func (PackageId) Message

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

func (PackageId) Segment

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

func (PackageId) SetId0

func (s PackageId) SetId0(v uint64)

func (PackageId) SetId1

func (s PackageId) SetId1(v uint64)

func (PackageId) String

func (s PackageId) String() string

func (PackageId) ToPtr

func (s PackageId) ToPtr() capnp.Ptr

type PackageId_Future

type PackageId_Future struct{ *capnp.Future }

PackageId_Future is a wrapper for a PackageId promised by a client call.

func (PackageId_Future) Struct

func (f PackageId_Future) Struct() (PackageId, error)

type PackageId_List

type PackageId_List = capnp.StructList[PackageId]

PackageId_List is a list of PackageId.

func NewPackageId_List

func NewPackageId_List(s *capnp.Segment, sz int32) (PackageId_List, error)

NewPackageId creates a new list of PackageId.

type Signature

type Signature capnp.Struct

func NewRootSignature

func NewRootSignature(s *capnp.Segment) (Signature, error)

func NewSignature

func NewSignature(s *capnp.Segment) (Signature, error)

func ReadRootSignature

func ReadRootSignature(msg *capnp.Message) (Signature, error)

func (Signature) DecodeFromPtr

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

func (Signature) EncodeAsPtr

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

func (Signature) HasPublicKey

func (s Signature) HasPublicKey() bool

func (Signature) HasSignature

func (s Signature) HasSignature() bool

func (Signature) IsValid

func (s Signature) IsValid() bool

func (Signature) Message

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

func (Signature) PublicKey

func (s Signature) PublicKey() ([]byte, error)

func (Signature) Segment

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

func (Signature) SetPublicKey

func (s Signature) SetPublicKey(v []byte) error

func (Signature) SetSignature

func (s Signature) SetSignature(v []byte) error

func (Signature) Signature

func (s Signature) Signature() ([]byte, error)

func (Signature) String

func (s Signature) String() string

func (Signature) ToPtr

func (s Signature) ToPtr() capnp.Ptr

type Signature_Future

type Signature_Future struct{ *capnp.Future }

Signature_Future is a wrapper for a Signature promised by a client call.

func (Signature_Future) Struct

func (f Signature_Future) Struct() (Signature, error)

type Signature_List

type Signature_List = capnp.StructList[Signature]

Signature_List is a list of Signature.

func NewSignature_List

func NewSignature_List(s *capnp.Segment, sz int32) (Signature_List, error)

NewSignature creates a new list of Signature.

type SourceMap

type SourceMap capnp.Struct

func NewRootSourceMap

func NewRootSourceMap(s *capnp.Segment) (SourceMap, error)

func NewSourceMap

func NewSourceMap(s *capnp.Segment) (SourceMap, error)

func ReadRootSourceMap

func ReadRootSourceMap(msg *capnp.Message) (SourceMap, error)

func (SourceMap) DecodeFromPtr

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

func (SourceMap) EncodeAsPtr

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

func (SourceMap) HasSearchPath

func (s SourceMap) HasSearchPath() bool

func (SourceMap) IsValid

func (s SourceMap) IsValid() bool

func (SourceMap) Message

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

func (SourceMap) NewSearchPath

func (s SourceMap) NewSearchPath(n int32) (SourceMap_Mapping_List, error)

NewSearchPath sets the searchPath field to a newly allocated SourceMap_Mapping_List, preferring placement in s's segment.

func (SourceMap) SearchPath

func (s SourceMap) SearchPath() (SourceMap_Mapping_List, error)

func (SourceMap) Segment

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

func (SourceMap) SetSearchPath

func (s SourceMap) SetSearchPath(v SourceMap_Mapping_List) error

func (SourceMap) String

func (s SourceMap) String() string

func (SourceMap) ToPtr

func (s SourceMap) ToPtr() capnp.Ptr

type SourceMap_Future

type SourceMap_Future struct{ *capnp.Future }

SourceMap_Future is a wrapper for a SourceMap promised by a client call.

func (SourceMap_Future) Struct

func (f SourceMap_Future) Struct() (SourceMap, error)

type SourceMap_List

type SourceMap_List = capnp.StructList[SourceMap]

SourceMap_List is a list of SourceMap.

func NewSourceMap_List

func NewSourceMap_List(s *capnp.Segment, sz int32) (SourceMap_List, error)

NewSourceMap creates a new list of SourceMap.

type SourceMap_Mapping

type SourceMap_Mapping capnp.Struct

func NewRootSourceMap_Mapping

func NewRootSourceMap_Mapping(s *capnp.Segment) (SourceMap_Mapping, error)

func NewSourceMap_Mapping

func NewSourceMap_Mapping(s *capnp.Segment) (SourceMap_Mapping, error)

func ReadRootSourceMap_Mapping

func ReadRootSourceMap_Mapping(msg *capnp.Message) (SourceMap_Mapping, error)

func (SourceMap_Mapping) DecodeFromPtr

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

func (SourceMap_Mapping) EncodeAsPtr

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

func (SourceMap_Mapping) HasHidePaths

func (s SourceMap_Mapping) HasHidePaths() bool

func (SourceMap_Mapping) HasPackagePath

func (s SourceMap_Mapping) HasPackagePath() bool

func (SourceMap_Mapping) HasSourcePath

func (s SourceMap_Mapping) HasSourcePath() bool

func (SourceMap_Mapping) HidePaths

func (s SourceMap_Mapping) HidePaths() (capnp.TextList, error)

func (SourceMap_Mapping) IsValid

func (s SourceMap_Mapping) IsValid() bool

func (SourceMap_Mapping) Message

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

func (SourceMap_Mapping) NewHidePaths

func (s SourceMap_Mapping) NewHidePaths(n int32) (capnp.TextList, error)

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

func (SourceMap_Mapping) PackagePath

func (s SourceMap_Mapping) PackagePath() (string, error)

func (SourceMap_Mapping) PackagePathBytes

func (s SourceMap_Mapping) PackagePathBytes() ([]byte, error)

func (SourceMap_Mapping) Segment

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

func (SourceMap_Mapping) SetHidePaths

func (s SourceMap_Mapping) SetHidePaths(v capnp.TextList) error

func (SourceMap_Mapping) SetPackagePath

func (s SourceMap_Mapping) SetPackagePath(v string) error

func (SourceMap_Mapping) SetSourcePath

func (s SourceMap_Mapping) SetSourcePath(v string) error

func (SourceMap_Mapping) SourcePath

func (s SourceMap_Mapping) SourcePath() (string, error)

func (SourceMap_Mapping) SourcePathBytes

func (s SourceMap_Mapping) SourcePathBytes() ([]byte, error)

func (SourceMap_Mapping) String

func (s SourceMap_Mapping) String() string

func (SourceMap_Mapping) ToPtr

func (s SourceMap_Mapping) ToPtr() capnp.Ptr

type SourceMap_Mapping_Future

type SourceMap_Mapping_Future struct{ *capnp.Future }

SourceMap_Mapping_Future is a wrapper for a SourceMap_Mapping promised by a client call.

func (SourceMap_Mapping_Future) Struct

type SourceMap_Mapping_List

type SourceMap_Mapping_List = capnp.StructList[SourceMap_Mapping]

SourceMap_Mapping_List is a list of SourceMap_Mapping.

func NewSourceMap_Mapping_List

func NewSourceMap_Mapping_List(s *capnp.Segment, sz int32) (SourceMap_Mapping_List, error)

NewSourceMap_Mapping creates a new list of SourceMap_Mapping.

type VerifiedInfo

type VerifiedInfo capnp.Struct

func NewRootVerifiedInfo

func NewRootVerifiedInfo(s *capnp.Segment) (VerifiedInfo, error)

func NewVerifiedInfo

func NewVerifiedInfo(s *capnp.Segment) (VerifiedInfo, error)

func ReadRootVerifiedInfo

func ReadRootVerifiedInfo(msg *capnp.Message) (VerifiedInfo, error)

func (VerifiedInfo) AppId

func (s VerifiedInfo) AppId() (AppId, error)

func (VerifiedInfo) AuthorPgpKeyFingerprint

func (s VerifiedInfo) AuthorPgpKeyFingerprint() (string, error)

func (VerifiedInfo) AuthorPgpKeyFingerprintBytes

func (s VerifiedInfo) AuthorPgpKeyFingerprintBytes() ([]byte, error)

func (VerifiedInfo) DecodeFromPtr

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

func (VerifiedInfo) EncodeAsPtr

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

func (VerifiedInfo) HasAppId

func (s VerifiedInfo) HasAppId() bool

func (VerifiedInfo) HasAuthorPgpKeyFingerprint

func (s VerifiedInfo) HasAuthorPgpKeyFingerprint() bool

func (VerifiedInfo) HasMarketingVersion

func (s VerifiedInfo) HasMarketingVersion() bool

func (VerifiedInfo) HasMetadata

func (s VerifiedInfo) HasMetadata() bool

func (VerifiedInfo) HasPackageId

func (s VerifiedInfo) HasPackageId() bool

func (VerifiedInfo) HasTitle

func (s VerifiedInfo) HasTitle() bool

func (VerifiedInfo) IsValid

func (s VerifiedInfo) IsValid() bool

func (VerifiedInfo) MarketingVersion

func (s VerifiedInfo) MarketingVersion() (util.LocalizedText, error)

func (VerifiedInfo) Message

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

func (VerifiedInfo) Metadata

func (s VerifiedInfo) Metadata() (Metadata, error)

func (VerifiedInfo) NewAppId

func (s VerifiedInfo) NewAppId() (AppId, error)

NewAppId sets the appId field to a newly allocated AppId struct, preferring placement in s's segment.

func (VerifiedInfo) NewMarketingVersion

func (s VerifiedInfo) NewMarketingVersion() (util.LocalizedText, error)

NewMarketingVersion sets the marketingVersion field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.

func (VerifiedInfo) NewMetadata

func (s VerifiedInfo) NewMetadata() (Metadata, error)

NewMetadata sets the metadata field to a newly allocated Metadata struct, preferring placement in s's segment.

func (VerifiedInfo) NewPackageId

func (s VerifiedInfo) NewPackageId() (PackageId, error)

NewPackageId sets the packageId field to a newly allocated PackageId struct, preferring placement in s's segment.

func (VerifiedInfo) NewTitle

func (s VerifiedInfo) NewTitle() (util.LocalizedText, error)

NewTitle sets the title field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.

func (VerifiedInfo) PackageId

func (s VerifiedInfo) PackageId() (PackageId, error)

func (VerifiedInfo) Segment

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

func (VerifiedInfo) SetAppId

func (s VerifiedInfo) SetAppId(v AppId) error

func (VerifiedInfo) SetAuthorPgpKeyFingerprint

func (s VerifiedInfo) SetAuthorPgpKeyFingerprint(v string) error

func (VerifiedInfo) SetMarketingVersion

func (s VerifiedInfo) SetMarketingVersion(v util.LocalizedText) error

func (VerifiedInfo) SetMetadata

func (s VerifiedInfo) SetMetadata(v Metadata) error

func (VerifiedInfo) SetPackageId

func (s VerifiedInfo) SetPackageId(v PackageId) error

func (VerifiedInfo) SetTitle

func (s VerifiedInfo) SetTitle(v util.LocalizedText) error

func (VerifiedInfo) SetVersion

func (s VerifiedInfo) SetVersion(v uint32)

func (VerifiedInfo) String

func (s VerifiedInfo) String() string

func (VerifiedInfo) Title

func (s VerifiedInfo) Title() (util.LocalizedText, error)

func (VerifiedInfo) ToPtr

func (s VerifiedInfo) ToPtr() capnp.Ptr

func (VerifiedInfo) Version

func (s VerifiedInfo) Version() uint32

type VerifiedInfo_Future

type VerifiedInfo_Future struct{ *capnp.Future }

VerifiedInfo_Future is a wrapper for a VerifiedInfo promised by a client call.

func (VerifiedInfo_Future) AppId

func (VerifiedInfo_Future) MarketingVersion

func (p VerifiedInfo_Future) MarketingVersion() util.LocalizedText_Future

func (VerifiedInfo_Future) Metadata

func (p VerifiedInfo_Future) Metadata() Metadata_Future

func (VerifiedInfo_Future) PackageId

func (p VerifiedInfo_Future) PackageId() PackageId_Future

func (VerifiedInfo_Future) Struct

func (f VerifiedInfo_Future) Struct() (VerifiedInfo, error)

func (VerifiedInfo_Future) Title

type VerifiedInfo_List

type VerifiedInfo_List = capnp.StructList[VerifiedInfo]

VerifiedInfo_List is a list of VerifiedInfo.

func NewVerifiedInfo_List

func NewVerifiedInfo_List(s *capnp.Segment, sz int32) (VerifiedInfo_List, error)

NewVerifiedInfo creates a new list of VerifiedInfo.

Jump to

Keyboard shortcuts

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