workerdconfig

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package workerdconfig contains generated Go bindings for workerd's config schema.

Index

Constants

View Source
const Config_TypeID = 0x8794486c76aaa7d6

Config_TypeID is the unique identifier for the type Config.

View Source
const DiskDirectory_TypeID = 0x9048ab22835f51c3

DiskDirectory_TypeID is the unique identifier for the type DiskDirectory.

View Source
const Extension_Module_TypeID = 0xd5d16e76fdedc37d

Extension_Module_TypeID is the unique identifier for the type Extension_Module.

View Source
const Extension_TypeID = 0xe390128a861973a6

Extension_TypeID is the unique identifier for the type Extension.

View Source
const ExternalServer_TypeID = 0xff209f9aa352f5a4

ExternalServer_TypeID is the unique identifier for the type ExternalServer.

View Source
const FallbackServiceRequest_Attribute_TypeID = 0xecfe563249c01f75

FallbackServiceRequest_Attribute_TypeID is the unique identifier for the type FallbackServiceRequest_Attribute.

View Source
const FallbackServiceRequest_TypeID = 0xdaf79e36b3f32800

FallbackServiceRequest_TypeID is the unique identifier for the type FallbackServiceRequest.

View Source
const HttpOptions_Header_TypeID = 0xdc0394b5a6f3417e

HttpOptions_Header_TypeID is the unique identifier for the type HttpOptions_Header.

View Source
const HttpOptions_Style_TypeID = 0xaaa6607496d7a1c2

HttpOptions_Style_TypeID is the unique identifier for the type HttpOptions_Style.

View Source
const HttpOptions_TypeID = 0xaa8dc6885da78f19

HttpOptions_TypeID is the unique identifier for the type HttpOptions.

View Source
const LoggingOptions_TypeID = 0xc62297899c35d548

LoggingOptions_TypeID is the unique identifier for the type LoggingOptions.

View Source
const Network_TypeID = 0xfa42244f950c9b9c

Network_TypeID is the unique identifier for the type Network.

View Source
const ServiceDesignator_TypeID = 0xae8ec91cee724450

ServiceDesignator_TypeID is the unique identifier for the type ServiceDesignator.

View Source
const Service_TypeID = 0xe5c88e8bb7bcb6b9

Service_TypeID is the unique identifier for the type Service.

View Source
const Socket_TypeID = 0x9a0eba45530ee79f

Socket_TypeID is the unique identifier for the type Socket.

View Source
const TlsOptions_Keypair_TypeID = 0xf546bf2d5d8bd13e

TlsOptions_Keypair_TypeID is the unique identifier for the type TlsOptions_Keypair.

View Source
const TlsOptions_TypeID = 0xaabb3c3778ac4311

TlsOptions_TypeID is the unique identifier for the type TlsOptions.

View Source
const TlsOptions_Version_TypeID = 0xf02813486876d580

TlsOptions_Version_TypeID is the unique identifier for the type TlsOptions_Version.

View Source
const Worker_Binding_CryptoKey_TypeID = 0xb5e1bff0e57d6eb0

Worker_Binding_CryptoKey_TypeID is the unique identifier for the type Worker_Binding_CryptoKey.

View Source
const Worker_Binding_CryptoKey_Usage_TypeID = 0xa86360dd4d20d99e

Worker_Binding_CryptoKey_Usage_TypeID is the unique identifier for the type Worker_Binding_CryptoKey_Usage.

View Source
const Worker_Binding_DurableObjectNamespaceDesignator_TypeID = 0x804f144ff477aac7

Worker_Binding_DurableObjectNamespaceDesignator_TypeID is the unique identifier for the type Worker_Binding_DurableObjectNamespaceDesignator.

View Source
const Worker_Binding_MemoryCacheLimits_TypeID = 0x8d66725b0867e634

Worker_Binding_MemoryCacheLimits_TypeID is the unique identifier for the type Worker_Binding_MemoryCacheLimits.

View Source
const Worker_Binding_TypeID = 0x8e7e492fd7e35f3e

Worker_Binding_TypeID is the unique identifier for the type Worker_Binding.

View Source
const Worker_Binding_Type_TypeID = 0x8906a1296519bf8a

Worker_Binding_Type_TypeID is the unique identifier for the type Worker_Binding_Type.

View Source
const Worker_Binding_WrappedBinding_TypeID = 0xe6f066b75f0ea113

Worker_Binding_WrappedBinding_TypeID is the unique identifier for the type Worker_Binding_WrappedBinding.

View Source
const Worker_DockerConfiguration_TypeID = 0xe62f96c20d9fb872

Worker_DockerConfiguration_TypeID is the unique identifier for the type Worker_DockerConfiguration.

View Source
const Worker_DurableObjectNamespace_ContainerOptions_TypeID = 0xa609621a4d236cd7

Worker_DurableObjectNamespace_ContainerOptions_TypeID is the unique identifier for the type Worker_DurableObjectNamespace_ContainerOptions.

View Source
const Worker_DurableObjectNamespace_TypeID = 0xb429dd547d15747d

Worker_DurableObjectNamespace_TypeID is the unique identifier for the type Worker_DurableObjectNamespace.

View Source
const Worker_Module_TypeID = 0xd9d87a63770a12f3

Worker_Module_TypeID is the unique identifier for the type Worker_Module.

View Source
const Worker_TypeID = 0xacfa77e88fd97d1c

Worker_TypeID is the unique identifier for the type Worker.

Variables

This section is empty.

Functions

func RegisterSchema

func RegisterSchema(reg *schemas.Registry)

Types

type Config

type Config capnp.Struct

func NewConfig

func NewConfig(s *capnp.Segment) (Config, error)

func NewRootConfig

func NewRootConfig(s *capnp.Segment) (Config, error)

func ReadRootConfig

func ReadRootConfig(msg *capnp.Message) (Config, error)

func (Config) Autogates

func (s Config) Autogates() (capnp.TextList, error)

func (Config) DecodeFromPtr

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

func (Config) EncodeAsPtr

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

func (Config) Extensions

func (s Config) Extensions() (Extension_List, error)

func (Config) HasAutogates

func (s Config) HasAutogates() bool

func (Config) HasExtensions

func (s Config) HasExtensions() bool

func (Config) HasLogging

func (s Config) HasLogging() bool

func (Config) HasServices

func (s Config) HasServices() bool

func (Config) HasSockets

func (s Config) HasSockets() bool

func (Config) HasV8Flags

func (s Config) HasV8Flags() bool

func (Config) IsValid

func (s Config) IsValid() bool

func (Config) Logging

func (s Config) Logging() (LoggingOptions, error)

func (Config) Message

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

func (Config) NewAutogates

func (s Config) NewAutogates(n int32) (capnp.TextList, error)

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

func (Config) NewExtensions

func (s Config) NewExtensions(n int32) (Extension_List, error)

NewExtensions sets the extensions field to a newly allocated Extension_List, preferring placement in s's segment.

func (Config) NewLogging

func (s Config) NewLogging() (LoggingOptions, error)

NewLogging sets the logging field to a newly allocated LoggingOptions struct, preferring placement in s's segment.

func (Config) NewServices

func (s Config) NewServices(n int32) (Service_List, error)

NewServices sets the services field to a newly allocated Service_List, preferring placement in s's segment.

func (Config) NewSockets

func (s Config) NewSockets(n int32) (Socket_List, error)

NewSockets sets the sockets field to a newly allocated Socket_List, preferring placement in s's segment.

func (Config) NewV8Flags

func (s Config) NewV8Flags(n int32) (capnp.TextList, error)

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

func (Config) Segment

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

func (Config) Services

func (s Config) Services() (Service_List, error)

func (Config) SetAutogates

func (s Config) SetAutogates(v capnp.TextList) error

func (Config) SetExtensions

func (s Config) SetExtensions(v Extension_List) error

func (Config) SetLogging

func (s Config) SetLogging(v LoggingOptions) error

func (Config) SetServices

func (s Config) SetServices(v Service_List) error

func (Config) SetSockets

func (s Config) SetSockets(v Socket_List) error

func (Config) SetStructuredLogging

func (s Config) SetStructuredLogging(v bool)

func (Config) SetV8Flags

func (s Config) SetV8Flags(v capnp.TextList) error

func (Config) Sockets

func (s Config) Sockets() (Socket_List, error)

func (Config) String

func (s Config) String() string

func (Config) StructuredLogging

func (s Config) StructuredLogging() bool

func (Config) ToPtr

func (s Config) ToPtr() capnp.Ptr

func (Config) V8Flags

func (s Config) V8Flags() (capnp.TextList, error)

type Config_Future

type Config_Future struct{ *capnp.Future }

Config_Future is a wrapper for a Config promised by a client call.

func (Config_Future) Logging

func (Config_Future) Struct

func (f Config_Future) Struct() (Config, error)

type Config_List

type Config_List = capnp.StructList[Config]

Config_List is a list of Config.

func NewConfig_List

func NewConfig_List(s *capnp.Segment, sz int32) (Config_List, error)

NewConfig creates a new list of Config.

type DiskDirectory

type DiskDirectory capnp.Struct

func NewDiskDirectory

func NewDiskDirectory(s *capnp.Segment) (DiskDirectory, error)

func NewRootDiskDirectory

func NewRootDiskDirectory(s *capnp.Segment) (DiskDirectory, error)

func ReadRootDiskDirectory

func ReadRootDiskDirectory(msg *capnp.Message) (DiskDirectory, error)

func (DiskDirectory) AllowDotfiles

func (s DiskDirectory) AllowDotfiles() bool

func (DiskDirectory) DecodeFromPtr

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

func (DiskDirectory) EncodeAsPtr

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

func (DiskDirectory) HasPath

func (s DiskDirectory) HasPath() bool

func (DiskDirectory) IsValid

func (s DiskDirectory) IsValid() bool

func (DiskDirectory) Message

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

func (DiskDirectory) Path

func (s DiskDirectory) Path() (string, error)

func (DiskDirectory) PathBytes

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

func (DiskDirectory) Segment

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

func (DiskDirectory) SetAllowDotfiles

func (s DiskDirectory) SetAllowDotfiles(v bool)

func (DiskDirectory) SetPath

func (s DiskDirectory) SetPath(v string) error

func (DiskDirectory) SetWritable

func (s DiskDirectory) SetWritable(v bool)

func (DiskDirectory) String

func (s DiskDirectory) String() string

func (DiskDirectory) ToPtr

func (s DiskDirectory) ToPtr() capnp.Ptr

func (DiskDirectory) Writable

func (s DiskDirectory) Writable() bool

type DiskDirectory_Future

type DiskDirectory_Future struct{ *capnp.Future }

DiskDirectory_Future is a wrapper for a DiskDirectory promised by a client call.

func (DiskDirectory_Future) Struct

type DiskDirectory_List

type DiskDirectory_List = capnp.StructList[DiskDirectory]

DiskDirectory_List is a list of DiskDirectory.

func NewDiskDirectory_List

func NewDiskDirectory_List(s *capnp.Segment, sz int32) (DiskDirectory_List, error)

NewDiskDirectory creates a new list of DiskDirectory.

type Extension

type Extension capnp.Struct

func NewExtension

func NewExtension(s *capnp.Segment) (Extension, error)

func NewRootExtension

func NewRootExtension(s *capnp.Segment) (Extension, error)

func ReadRootExtension

func ReadRootExtension(msg *capnp.Message) (Extension, error)

func (Extension) DecodeFromPtr

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

func (Extension) EncodeAsPtr

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

func (Extension) HasModules

func (s Extension) HasModules() bool

func (Extension) IsValid

func (s Extension) IsValid() bool

func (Extension) Message

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

func (Extension) Modules

func (s Extension) Modules() (Extension_Module_List, error)

func (Extension) NewModules

func (s Extension) NewModules(n int32) (Extension_Module_List, error)

NewModules sets the modules field to a newly allocated Extension_Module_List, preferring placement in s's segment.

func (Extension) Segment

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

func (Extension) SetModules

func (s Extension) SetModules(v Extension_Module_List) error

func (Extension) String

func (s Extension) String() string

func (Extension) ToPtr

func (s Extension) ToPtr() capnp.Ptr

type Extension_Future

type Extension_Future struct{ *capnp.Future }

Extension_Future is a wrapper for a Extension promised by a client call.

func (Extension_Future) Struct

func (f Extension_Future) Struct() (Extension, error)

type Extension_List

type Extension_List = capnp.StructList[Extension]

Extension_List is a list of Extension.

func NewExtension_List

func NewExtension_List(s *capnp.Segment, sz int32) (Extension_List, error)

NewExtension creates a new list of Extension.

type Extension_Module

type Extension_Module capnp.Struct

func NewExtension_Module

func NewExtension_Module(s *capnp.Segment) (Extension_Module, error)

func NewRootExtension_Module

func NewRootExtension_Module(s *capnp.Segment) (Extension_Module, error)

func ReadRootExtension_Module

func ReadRootExtension_Module(msg *capnp.Message) (Extension_Module, error)

func (Extension_Module) DecodeFromPtr

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

func (Extension_Module) EncodeAsPtr

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

func (Extension_Module) EsModule

func (s Extension_Module) EsModule() (string, error)

func (Extension_Module) EsModuleBytes

func (s Extension_Module) EsModuleBytes() ([]byte, error)

func (Extension_Module) HasEsModule

func (s Extension_Module) HasEsModule() bool

func (Extension_Module) HasName

func (s Extension_Module) HasName() bool

func (Extension_Module) Internal

func (s Extension_Module) Internal() bool

func (Extension_Module) IsValid

func (s Extension_Module) IsValid() bool

func (Extension_Module) Message

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

func (Extension_Module) Name

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

func (Extension_Module) NameBytes

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

func (Extension_Module) Segment

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

func (Extension_Module) SetEsModule

func (s Extension_Module) SetEsModule(v string) error

func (Extension_Module) SetInternal

func (s Extension_Module) SetInternal(v bool)

func (Extension_Module) SetName

func (s Extension_Module) SetName(v string) error

func (Extension_Module) String

func (s Extension_Module) String() string

func (Extension_Module) ToPtr

func (s Extension_Module) ToPtr() capnp.Ptr

type Extension_Module_Future

type Extension_Module_Future struct{ *capnp.Future }

Extension_Module_Future is a wrapper for a Extension_Module promised by a client call.

func (Extension_Module_Future) Struct

type Extension_Module_List

type Extension_Module_List = capnp.StructList[Extension_Module]

Extension_Module_List is a list of Extension_Module.

func NewExtension_Module_List

func NewExtension_Module_List(s *capnp.Segment, sz int32) (Extension_Module_List, error)

NewExtension_Module creates a new list of Extension_Module.

type ExternalServer

type ExternalServer capnp.Struct

func NewExternalServer

func NewExternalServer(s *capnp.Segment) (ExternalServer, error)

func NewRootExternalServer

func NewRootExternalServer(s *capnp.Segment) (ExternalServer, error)

func ReadRootExternalServer

func ReadRootExternalServer(msg *capnp.Message) (ExternalServer, error)

func (ExternalServer) Address

func (s ExternalServer) Address() (string, error)

func (ExternalServer) AddressBytes

func (s ExternalServer) AddressBytes() ([]byte, error)

func (ExternalServer) DecodeFromPtr

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

func (ExternalServer) EncodeAsPtr

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

func (ExternalServer) HasAddress

func (s ExternalServer) HasAddress() bool

func (ExternalServer) HasHttp

func (s ExternalServer) HasHttp() bool

func (ExternalServer) Http

func (s ExternalServer) Http() (HttpOptions, error)

func (ExternalServer) Https

func (ExternalServer) IsValid

func (s ExternalServer) IsValid() bool

func (ExternalServer) Message

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

func (ExternalServer) NewHttp

func (s ExternalServer) NewHttp() (HttpOptions, error)

NewHttp sets the http field to a newly allocated HttpOptions struct, preferring placement in s's segment.

func (ExternalServer) Segment

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

func (ExternalServer) SetAddress

func (s ExternalServer) SetAddress(v string) error

func (ExternalServer) SetHttp

func (s ExternalServer) SetHttp(v HttpOptions) error

func (ExternalServer) SetHttps

func (s ExternalServer) SetHttps()

func (ExternalServer) SetTcp

func (s ExternalServer) SetTcp()

func (ExternalServer) String

func (s ExternalServer) String() string

func (ExternalServer) Tcp

func (ExternalServer) ToPtr

func (s ExternalServer) ToPtr() capnp.Ptr

func (ExternalServer) Which

type ExternalServer_Future

type ExternalServer_Future struct{ *capnp.Future }

ExternalServer_Future is a wrapper for a ExternalServer promised by a client call.

func (ExternalServer_Future) Http

func (ExternalServer_Future) Https

func (ExternalServer_Future) Struct

func (ExternalServer_Future) Tcp

type ExternalServer_List

type ExternalServer_List = capnp.StructList[ExternalServer]

ExternalServer_List is a list of ExternalServer.

func NewExternalServer_List

func NewExternalServer_List(s *capnp.Segment, sz int32) (ExternalServer_List, error)

NewExternalServer creates a new list of ExternalServer.

type ExternalServer_Which

type ExternalServer_Which uint16
const (
	ExternalServer_Which_http  ExternalServer_Which = 0
	ExternalServer_Which_https ExternalServer_Which = 1
	ExternalServer_Which_tcp   ExternalServer_Which = 2
)

func (ExternalServer_Which) String

func (w ExternalServer_Which) String() string

type ExternalServer_https

type ExternalServer_https ExternalServer

func (ExternalServer_https) CertificateHost

func (s ExternalServer_https) CertificateHost() (string, error)

func (ExternalServer_https) CertificateHostBytes

func (s ExternalServer_https) CertificateHostBytes() ([]byte, error)

func (ExternalServer_https) HasCertificateHost

func (s ExternalServer_https) HasCertificateHost() bool

func (ExternalServer_https) HasOptions

func (s ExternalServer_https) HasOptions() bool

func (ExternalServer_https) HasTlsOptions

func (s ExternalServer_https) HasTlsOptions() bool

func (ExternalServer_https) IsValid

func (s ExternalServer_https) IsValid() bool

func (ExternalServer_https) Message

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

func (ExternalServer_https) NewOptions

func (s ExternalServer_https) NewOptions() (HttpOptions, error)

NewOptions sets the options field to a newly allocated HttpOptions struct, preferring placement in s's segment.

func (ExternalServer_https) NewTlsOptions

func (s ExternalServer_https) NewTlsOptions() (TlsOptions, error)

NewTlsOptions sets the tlsOptions field to a newly allocated TlsOptions struct, preferring placement in s's segment.

func (ExternalServer_https) Options

func (s ExternalServer_https) Options() (HttpOptions, error)

func (ExternalServer_https) Segment

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

func (ExternalServer_https) SetCertificateHost

func (s ExternalServer_https) SetCertificateHost(v string) error

func (ExternalServer_https) SetOptions

func (s ExternalServer_https) SetOptions(v HttpOptions) error

func (ExternalServer_https) SetTlsOptions

func (s ExternalServer_https) SetTlsOptions(v TlsOptions) error

func (ExternalServer_https) TlsOptions

func (s ExternalServer_https) TlsOptions() (TlsOptions, error)

type ExternalServer_https_Future

type ExternalServer_https_Future struct{ *capnp.Future }

ExternalServer_https_Future is a wrapper for a ExternalServer_https promised by a client call.

func (ExternalServer_https_Future) Options

func (ExternalServer_https_Future) Struct

func (ExternalServer_https_Future) TlsOptions

type ExternalServer_tcp

type ExternalServer_tcp ExternalServer

func (ExternalServer_tcp) CertificateHost

func (s ExternalServer_tcp) CertificateHost() (string, error)

func (ExternalServer_tcp) CertificateHostBytes

func (s ExternalServer_tcp) CertificateHostBytes() ([]byte, error)

func (ExternalServer_tcp) HasCertificateHost

func (s ExternalServer_tcp) HasCertificateHost() bool

func (ExternalServer_tcp) HasTlsOptions

func (s ExternalServer_tcp) HasTlsOptions() bool

func (ExternalServer_tcp) IsValid

func (s ExternalServer_tcp) IsValid() bool

func (ExternalServer_tcp) Message

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

func (ExternalServer_tcp) NewTlsOptions

func (s ExternalServer_tcp) NewTlsOptions() (TlsOptions, error)

NewTlsOptions sets the tlsOptions field to a newly allocated TlsOptions struct, preferring placement in s's segment.

func (ExternalServer_tcp) Segment

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

func (ExternalServer_tcp) SetCertificateHost

func (s ExternalServer_tcp) SetCertificateHost(v string) error

func (ExternalServer_tcp) SetTlsOptions

func (s ExternalServer_tcp) SetTlsOptions(v TlsOptions) error

func (ExternalServer_tcp) TlsOptions

func (s ExternalServer_tcp) TlsOptions() (TlsOptions, error)

type ExternalServer_tcp_Future

type ExternalServer_tcp_Future struct{ *capnp.Future }

ExternalServer_tcp_Future is a wrapper for a ExternalServer_tcp promised by a client call.

func (ExternalServer_tcp_Future) Struct

func (ExternalServer_tcp_Future) TlsOptions

type FallbackServiceRequest

type FallbackServiceRequest capnp.Struct

func NewFallbackServiceRequest

func NewFallbackServiceRequest(s *capnp.Segment) (FallbackServiceRequest, error)

func NewRootFallbackServiceRequest

func NewRootFallbackServiceRequest(s *capnp.Segment) (FallbackServiceRequest, error)

func ReadRootFallbackServiceRequest

func ReadRootFallbackServiceRequest(msg *capnp.Message) (FallbackServiceRequest, error)

func (FallbackServiceRequest) Attributes

func (FallbackServiceRequest) DecodeFromPtr

func (FallbackServiceRequest) EncodeAsPtr

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

func (FallbackServiceRequest) HasAttributes

func (s FallbackServiceRequest) HasAttributes() bool

func (FallbackServiceRequest) HasRawSpecifier

func (s FallbackServiceRequest) HasRawSpecifier() bool

func (FallbackServiceRequest) HasReferrer

func (s FallbackServiceRequest) HasReferrer() bool

func (FallbackServiceRequest) HasSpecifier

func (s FallbackServiceRequest) HasSpecifier() bool

func (FallbackServiceRequest) HasType

func (s FallbackServiceRequest) HasType() bool

func (FallbackServiceRequest) IsValid

func (s FallbackServiceRequest) IsValid() bool

func (FallbackServiceRequest) Message

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

func (FallbackServiceRequest) NewAttributes

NewAttributes sets the attributes field to a newly allocated FallbackServiceRequest_Attribute_List, preferring placement in s's segment.

func (FallbackServiceRequest) RawSpecifier

func (s FallbackServiceRequest) RawSpecifier() (string, error)

func (FallbackServiceRequest) RawSpecifierBytes

func (s FallbackServiceRequest) RawSpecifierBytes() ([]byte, error)

func (FallbackServiceRequest) Referrer

func (s FallbackServiceRequest) Referrer() (string, error)

func (FallbackServiceRequest) ReferrerBytes

func (s FallbackServiceRequest) ReferrerBytes() ([]byte, error)

func (FallbackServiceRequest) Segment

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

func (FallbackServiceRequest) SetAttributes

func (FallbackServiceRequest) SetRawSpecifier

func (s FallbackServiceRequest) SetRawSpecifier(v string) error

func (FallbackServiceRequest) SetReferrer

func (s FallbackServiceRequest) SetReferrer(v string) error

func (FallbackServiceRequest) SetSpecifier

func (s FallbackServiceRequest) SetSpecifier(v string) error

func (FallbackServiceRequest) SetType

func (s FallbackServiceRequest) SetType(v string) error

func (FallbackServiceRequest) Specifier

func (s FallbackServiceRequest) Specifier() (string, error)

func (FallbackServiceRequest) SpecifierBytes

func (s FallbackServiceRequest) SpecifierBytes() ([]byte, error)

func (FallbackServiceRequest) String

func (s FallbackServiceRequest) String() string

func (FallbackServiceRequest) ToPtr

func (s FallbackServiceRequest) ToPtr() capnp.Ptr

func (FallbackServiceRequest) Type

func (s FallbackServiceRequest) Type() (string, error)

func (FallbackServiceRequest) TypeBytes

func (s FallbackServiceRequest) TypeBytes() ([]byte, error)

type FallbackServiceRequest_Attribute

type FallbackServiceRequest_Attribute capnp.Struct

func NewFallbackServiceRequest_Attribute

func NewFallbackServiceRequest_Attribute(s *capnp.Segment) (FallbackServiceRequest_Attribute, error)

func NewRootFallbackServiceRequest_Attribute

func NewRootFallbackServiceRequest_Attribute(s *capnp.Segment) (FallbackServiceRequest_Attribute, error)

func ReadRootFallbackServiceRequest_Attribute

func ReadRootFallbackServiceRequest_Attribute(msg *capnp.Message) (FallbackServiceRequest_Attribute, error)

func (FallbackServiceRequest_Attribute) DecodeFromPtr

func (FallbackServiceRequest_Attribute) EncodeAsPtr

func (FallbackServiceRequest_Attribute) HasName

func (FallbackServiceRequest_Attribute) HasValue

func (FallbackServiceRequest_Attribute) IsValid

func (FallbackServiceRequest_Attribute) Message

func (FallbackServiceRequest_Attribute) Name

func (FallbackServiceRequest_Attribute) NameBytes

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

func (FallbackServiceRequest_Attribute) Segment

func (FallbackServiceRequest_Attribute) SetName

func (FallbackServiceRequest_Attribute) SetValue

func (FallbackServiceRequest_Attribute) String

func (FallbackServiceRequest_Attribute) ToPtr

func (FallbackServiceRequest_Attribute) Value

func (FallbackServiceRequest_Attribute) ValueBytes

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

type FallbackServiceRequest_Attribute_Future

type FallbackServiceRequest_Attribute_Future struct{ *capnp.Future }

FallbackServiceRequest_Attribute_Future is a wrapper for a FallbackServiceRequest_Attribute promised by a client call.

func (FallbackServiceRequest_Attribute_Future) Struct

type FallbackServiceRequest_Attribute_List

type FallbackServiceRequest_Attribute_List = capnp.StructList[FallbackServiceRequest_Attribute]

FallbackServiceRequest_Attribute_List is a list of FallbackServiceRequest_Attribute.

func NewFallbackServiceRequest_Attribute_List

func NewFallbackServiceRequest_Attribute_List(s *capnp.Segment, sz int32) (FallbackServiceRequest_Attribute_List, error)

NewFallbackServiceRequest_Attribute creates a new list of FallbackServiceRequest_Attribute.

type FallbackServiceRequest_Future

type FallbackServiceRequest_Future struct{ *capnp.Future }

FallbackServiceRequest_Future is a wrapper for a FallbackServiceRequest promised by a client call.

func (FallbackServiceRequest_Future) Struct

type FallbackServiceRequest_List

type FallbackServiceRequest_List = capnp.StructList[FallbackServiceRequest]

FallbackServiceRequest_List is a list of FallbackServiceRequest.

func NewFallbackServiceRequest_List

func NewFallbackServiceRequest_List(s *capnp.Segment, sz int32) (FallbackServiceRequest_List, error)

NewFallbackServiceRequest creates a new list of FallbackServiceRequest.

type HttpOptions

type HttpOptions capnp.Struct

func NewHttpOptions

func NewHttpOptions(s *capnp.Segment) (HttpOptions, error)

func NewRootHttpOptions

func NewRootHttpOptions(s *capnp.Segment) (HttpOptions, error)

func ReadRootHttpOptions

func ReadRootHttpOptions(msg *capnp.Message) (HttpOptions, error)

func (HttpOptions) CapnpConnectHost

func (s HttpOptions) CapnpConnectHost() (string, error)

func (HttpOptions) CapnpConnectHostBytes

func (s HttpOptions) CapnpConnectHostBytes() ([]byte, error)

func (HttpOptions) CfBlobHeader

func (s HttpOptions) CfBlobHeader() (string, error)

func (HttpOptions) CfBlobHeaderBytes

func (s HttpOptions) CfBlobHeaderBytes() ([]byte, error)

func (HttpOptions) DecodeFromPtr

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

func (HttpOptions) EncodeAsPtr

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

func (HttpOptions) ForwardedProtoHeader

func (s HttpOptions) ForwardedProtoHeader() (string, error)

func (HttpOptions) ForwardedProtoHeaderBytes

func (s HttpOptions) ForwardedProtoHeaderBytes() ([]byte, error)

func (HttpOptions) HasCapnpConnectHost

func (s HttpOptions) HasCapnpConnectHost() bool

func (HttpOptions) HasCfBlobHeader

func (s HttpOptions) HasCfBlobHeader() bool

func (HttpOptions) HasForwardedProtoHeader

func (s HttpOptions) HasForwardedProtoHeader() bool

func (HttpOptions) HasInjectRequestHeaders

func (s HttpOptions) HasInjectRequestHeaders() bool

func (HttpOptions) HasInjectResponseHeaders

func (s HttpOptions) HasInjectResponseHeaders() bool

func (HttpOptions) InjectRequestHeaders

func (s HttpOptions) InjectRequestHeaders() (HttpOptions_Header_List, error)

func (HttpOptions) InjectResponseHeaders

func (s HttpOptions) InjectResponseHeaders() (HttpOptions_Header_List, error)

func (HttpOptions) IsValid

func (s HttpOptions) IsValid() bool

func (HttpOptions) Message

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

func (HttpOptions) NewInjectRequestHeaders

func (s HttpOptions) NewInjectRequestHeaders(n int32) (HttpOptions_Header_List, error)

NewInjectRequestHeaders sets the injectRequestHeaders field to a newly allocated HttpOptions_Header_List, preferring placement in s's segment.

func (HttpOptions) NewInjectResponseHeaders

func (s HttpOptions) NewInjectResponseHeaders(n int32) (HttpOptions_Header_List, error)

NewInjectResponseHeaders sets the injectResponseHeaders field to a newly allocated HttpOptions_Header_List, preferring placement in s's segment.

func (HttpOptions) Segment

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

func (HttpOptions) SetCapnpConnectHost

func (s HttpOptions) SetCapnpConnectHost(v string) error

func (HttpOptions) SetCfBlobHeader

func (s HttpOptions) SetCfBlobHeader(v string) error

func (HttpOptions) SetForwardedProtoHeader

func (s HttpOptions) SetForwardedProtoHeader(v string) error

func (HttpOptions) SetInjectRequestHeaders

func (s HttpOptions) SetInjectRequestHeaders(v HttpOptions_Header_List) error

func (HttpOptions) SetInjectResponseHeaders

func (s HttpOptions) SetInjectResponseHeaders(v HttpOptions_Header_List) error

func (HttpOptions) SetStyle

func (s HttpOptions) SetStyle(v HttpOptions_Style)

func (HttpOptions) String

func (s HttpOptions) String() string

func (HttpOptions) Style

func (s HttpOptions) Style() HttpOptions_Style

func (HttpOptions) ToPtr

func (s HttpOptions) ToPtr() capnp.Ptr

type HttpOptions_Future

type HttpOptions_Future struct{ *capnp.Future }

HttpOptions_Future is a wrapper for a HttpOptions promised by a client call.

func (HttpOptions_Future) Struct

func (f HttpOptions_Future) Struct() (HttpOptions, error)

type HttpOptions_Header

type HttpOptions_Header capnp.Struct

func NewHttpOptions_Header

func NewHttpOptions_Header(s *capnp.Segment) (HttpOptions_Header, error)

func NewRootHttpOptions_Header

func NewRootHttpOptions_Header(s *capnp.Segment) (HttpOptions_Header, error)

func ReadRootHttpOptions_Header

func ReadRootHttpOptions_Header(msg *capnp.Message) (HttpOptions_Header, error)

func (HttpOptions_Header) DecodeFromPtr

func (HttpOptions_Header) EncodeAsPtr

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

func (HttpOptions_Header) HasName

func (s HttpOptions_Header) HasName() bool

func (HttpOptions_Header) HasValue

func (s HttpOptions_Header) HasValue() bool

func (HttpOptions_Header) IsValid

func (s HttpOptions_Header) IsValid() bool

func (HttpOptions_Header) Message

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

func (HttpOptions_Header) Name

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

func (HttpOptions_Header) NameBytes

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

func (HttpOptions_Header) Segment

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

func (HttpOptions_Header) SetName

func (s HttpOptions_Header) SetName(v string) error

func (HttpOptions_Header) SetValue

func (s HttpOptions_Header) SetValue(v string) error

func (HttpOptions_Header) String

func (s HttpOptions_Header) String() string

func (HttpOptions_Header) ToPtr

func (s HttpOptions_Header) ToPtr() capnp.Ptr

func (HttpOptions_Header) Value

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

func (HttpOptions_Header) ValueBytes

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

type HttpOptions_Header_Future

type HttpOptions_Header_Future struct{ *capnp.Future }

HttpOptions_Header_Future is a wrapper for a HttpOptions_Header promised by a client call.

func (HttpOptions_Header_Future) Struct

type HttpOptions_Header_List

type HttpOptions_Header_List = capnp.StructList[HttpOptions_Header]

HttpOptions_Header_List is a list of HttpOptions_Header.

func NewHttpOptions_Header_List

func NewHttpOptions_Header_List(s *capnp.Segment, sz int32) (HttpOptions_Header_List, error)

NewHttpOptions_Header creates a new list of HttpOptions_Header.

type HttpOptions_List

type HttpOptions_List = capnp.StructList[HttpOptions]

HttpOptions_List is a list of HttpOptions.

func NewHttpOptions_List

func NewHttpOptions_List(s *capnp.Segment, sz int32) (HttpOptions_List, error)

NewHttpOptions creates a new list of HttpOptions.

type HttpOptions_Style

type HttpOptions_Style uint16
const (
	HttpOptions_Style_host  HttpOptions_Style = 0
	HttpOptions_Style_proxy HttpOptions_Style = 1
)

Values of HttpOptions_Style.

func HttpOptions_StyleFromString

func HttpOptions_StyleFromString(c string) HttpOptions_Style

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

func (HttpOptions_Style) String

func (c HttpOptions_Style) String() string

String returns the enum's constant name.

type HttpOptions_Style_List

type HttpOptions_Style_List = capnp.EnumList[HttpOptions_Style]

func NewHttpOptions_Style_List

func NewHttpOptions_Style_List(s *capnp.Segment, sz int32) (HttpOptions_Style_List, error)

type LoggingOptions

type LoggingOptions capnp.Struct

func NewLoggingOptions

func NewLoggingOptions(s *capnp.Segment) (LoggingOptions, error)

func NewRootLoggingOptions

func NewRootLoggingOptions(s *capnp.Segment) (LoggingOptions, error)

func ReadRootLoggingOptions

func ReadRootLoggingOptions(msg *capnp.Message) (LoggingOptions, error)

func (LoggingOptions) DecodeFromPtr

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

func (LoggingOptions) EncodeAsPtr

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

func (LoggingOptions) HasStderrPrefix

func (s LoggingOptions) HasStderrPrefix() bool

func (LoggingOptions) HasStdoutPrefix

func (s LoggingOptions) HasStdoutPrefix() bool

func (LoggingOptions) IsValid

func (s LoggingOptions) IsValid() bool

func (LoggingOptions) Message

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

func (LoggingOptions) Segment

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

func (LoggingOptions) SetStderrPrefix

func (s LoggingOptions) SetStderrPrefix(v string) error

func (LoggingOptions) SetStdoutPrefix

func (s LoggingOptions) SetStdoutPrefix(v string) error

func (LoggingOptions) SetStructuredLogging

func (s LoggingOptions) SetStructuredLogging(v bool)

func (LoggingOptions) StderrPrefix

func (s LoggingOptions) StderrPrefix() (string, error)

func (LoggingOptions) StderrPrefixBytes

func (s LoggingOptions) StderrPrefixBytes() ([]byte, error)

func (LoggingOptions) StdoutPrefix

func (s LoggingOptions) StdoutPrefix() (string, error)

func (LoggingOptions) StdoutPrefixBytes

func (s LoggingOptions) StdoutPrefixBytes() ([]byte, error)

func (LoggingOptions) String

func (s LoggingOptions) String() string

func (LoggingOptions) StructuredLogging

func (s LoggingOptions) StructuredLogging() bool

func (LoggingOptions) ToPtr

func (s LoggingOptions) ToPtr() capnp.Ptr

type LoggingOptions_Future

type LoggingOptions_Future struct{ *capnp.Future }

LoggingOptions_Future is a wrapper for a LoggingOptions promised by a client call.

func (LoggingOptions_Future) Struct

type LoggingOptions_List

type LoggingOptions_List = capnp.StructList[LoggingOptions]

LoggingOptions_List is a list of LoggingOptions.

func NewLoggingOptions_List

func NewLoggingOptions_List(s *capnp.Segment, sz int32) (LoggingOptions_List, error)

NewLoggingOptions creates a new list of LoggingOptions.

type Network

type Network capnp.Struct

func NewNetwork

func NewNetwork(s *capnp.Segment) (Network, error)

func NewRootNetwork

func NewRootNetwork(s *capnp.Segment) (Network, error)

func ReadRootNetwork

func ReadRootNetwork(msg *capnp.Message) (Network, error)

func (Network) Allow

func (s Network) Allow() (capnp.TextList, error)

func (Network) DecodeFromPtr

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

func (Network) Deny

func (s Network) Deny() (capnp.TextList, error)

func (Network) EncodeAsPtr

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

func (Network) HasAllow

func (s Network) HasAllow() bool

func (Network) HasDeny

func (s Network) HasDeny() bool

func (Network) HasTlsOptions

func (s Network) HasTlsOptions() bool

func (Network) IsValid

func (s Network) IsValid() bool

func (Network) Message

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

func (Network) NewAllow

func (s Network) NewAllow(n int32) (capnp.TextList, error)

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

func (Network) NewDeny

func (s Network) NewDeny(n int32) (capnp.TextList, error)

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

func (Network) NewTlsOptions

func (s Network) NewTlsOptions() (TlsOptions, error)

NewTlsOptions sets the tlsOptions field to a newly allocated TlsOptions struct, preferring placement in s's segment.

func (Network) Segment

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

func (Network) SetAllow

func (s Network) SetAllow(v capnp.TextList) error

func (Network) SetDeny

func (s Network) SetDeny(v capnp.TextList) error

func (Network) SetTlsOptions

func (s Network) SetTlsOptions(v TlsOptions) error

func (Network) String

func (s Network) String() string

func (Network) TlsOptions

func (s Network) TlsOptions() (TlsOptions, error)

func (Network) ToPtr

func (s Network) ToPtr() capnp.Ptr

type Network_Future

type Network_Future struct{ *capnp.Future }

Network_Future is a wrapper for a Network promised by a client call.

func (Network_Future) Struct

func (f Network_Future) Struct() (Network, error)

func (Network_Future) TlsOptions

func (p Network_Future) TlsOptions() TlsOptions_Future

type Network_List

type Network_List = capnp.StructList[Network]

Network_List is a list of Network.

func NewNetwork_List

func NewNetwork_List(s *capnp.Segment, sz int32) (Network_List, error)

NewNetwork creates a new list of Network.

type Service

type Service capnp.Struct

func NewRootService

func NewRootService(s *capnp.Segment) (Service, error)

func NewService

func NewService(s *capnp.Segment) (Service, error)

func ReadRootService

func ReadRootService(msg *capnp.Message) (Service, error)

func (Service) DecodeFromPtr

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

func (Service) Disk

func (s Service) Disk() (DiskDirectory, error)

func (Service) EncodeAsPtr

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

func (Service) External

func (s Service) External() (ExternalServer, error)

func (Service) HasDisk

func (s Service) HasDisk() bool

func (Service) HasExternal

func (s Service) HasExternal() bool

func (Service) HasName

func (s Service) HasName() bool

func (Service) HasNetwork

func (s Service) HasNetwork() bool

func (Service) HasWorker

func (s Service) HasWorker() bool

func (Service) IsValid

func (s Service) IsValid() bool

func (Service) Message

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

func (Service) Name

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

func (Service) NameBytes

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

func (Service) Network

func (s Service) Network() (Network, error)

func (Service) NewDisk

func (s Service) NewDisk() (DiskDirectory, error)

NewDisk sets the disk field to a newly allocated DiskDirectory struct, preferring placement in s's segment.

func (Service) NewExternal

func (s Service) NewExternal() (ExternalServer, error)

NewExternal sets the external field to a newly allocated ExternalServer struct, preferring placement in s's segment.

func (Service) NewNetwork

func (s Service) NewNetwork() (Network, error)

NewNetwork sets the network field to a newly allocated Network struct, preferring placement in s's segment.

func (Service) NewWorker

func (s Service) NewWorker() (Worker, error)

NewWorker sets the worker field to a newly allocated Worker struct, preferring placement in s's segment.

func (Service) Segment

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

func (Service) SetDisk

func (s Service) SetDisk(v DiskDirectory) error

func (Service) SetExternal

func (s Service) SetExternal(v ExternalServer) error

func (Service) SetName

func (s Service) SetName(v string) error

func (Service) SetNetwork

func (s Service) SetNetwork(v Network) error

func (Service) SetUnspecified

func (s Service) SetUnspecified()

func (Service) SetWorker

func (s Service) SetWorker(v Worker) error

func (Service) String

func (s Service) String() string

func (Service) ToPtr

func (s Service) ToPtr() capnp.Ptr

func (Service) Which

func (s Service) Which() Service_Which

func (Service) Worker

func (s Service) Worker() (Worker, error)

type ServiceDesignator

type ServiceDesignator capnp.Struct

func NewRootServiceDesignator

func NewRootServiceDesignator(s *capnp.Segment) (ServiceDesignator, error)

func NewServiceDesignator

func NewServiceDesignator(s *capnp.Segment) (ServiceDesignator, error)

func ReadRootServiceDesignator

func ReadRootServiceDesignator(msg *capnp.Message) (ServiceDesignator, error)

func (ServiceDesignator) DecodeFromPtr

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

func (ServiceDesignator) EncodeAsPtr

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

func (ServiceDesignator) Entrypoint

func (s ServiceDesignator) Entrypoint() (string, error)

func (ServiceDesignator) EntrypointBytes

func (s ServiceDesignator) EntrypointBytes() ([]byte, error)

func (ServiceDesignator) HasEntrypoint

func (s ServiceDesignator) HasEntrypoint() bool

func (ServiceDesignator) HasName

func (s ServiceDesignator) HasName() bool

func (ServiceDesignator) IsValid

func (s ServiceDesignator) IsValid() bool

func (ServiceDesignator) Message

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

func (ServiceDesignator) Name

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

func (ServiceDesignator) NameBytes

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

func (ServiceDesignator) Props

func (ServiceDesignator) Segment

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

func (ServiceDesignator) SetEntrypoint

func (s ServiceDesignator) SetEntrypoint(v string) error

func (ServiceDesignator) SetName

func (s ServiceDesignator) SetName(v string) error

func (ServiceDesignator) String

func (s ServiceDesignator) String() string

func (ServiceDesignator) ToPtr

func (s ServiceDesignator) ToPtr() capnp.Ptr

type ServiceDesignator_Future

type ServiceDesignator_Future struct{ *capnp.Future }

ServiceDesignator_Future is a wrapper for a ServiceDesignator promised by a client call.

func (ServiceDesignator_Future) Props

func (ServiceDesignator_Future) Struct

type ServiceDesignator_List

type ServiceDesignator_List = capnp.StructList[ServiceDesignator]

ServiceDesignator_List is a list of ServiceDesignator.

func NewServiceDesignator_List

func NewServiceDesignator_List(s *capnp.Segment, sz int32) (ServiceDesignator_List, error)

NewServiceDesignator creates a new list of ServiceDesignator.

type ServiceDesignator_props

type ServiceDesignator_props ServiceDesignator

func (ServiceDesignator_props) HasJson

func (s ServiceDesignator_props) HasJson() bool

func (ServiceDesignator_props) IsValid

func (s ServiceDesignator_props) IsValid() bool

func (ServiceDesignator_props) Json

func (s ServiceDesignator_props) Json() (string, error)

func (ServiceDesignator_props) JsonBytes

func (s ServiceDesignator_props) JsonBytes() ([]byte, error)

func (ServiceDesignator_props) Message

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

func (ServiceDesignator_props) Segment

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

func (ServiceDesignator_props) SetEmpty

func (s ServiceDesignator_props) SetEmpty()

func (ServiceDesignator_props) SetJson

func (s ServiceDesignator_props) SetJson(v string) error

func (ServiceDesignator_props) Which

type ServiceDesignator_props_Future

type ServiceDesignator_props_Future struct{ *capnp.Future }

ServiceDesignator_props_Future is a wrapper for a ServiceDesignator_props promised by a client call.

func (ServiceDesignator_props_Future) Struct

type ServiceDesignator_props_Which

type ServiceDesignator_props_Which uint16
const (
	ServiceDesignator_props_Which_empty ServiceDesignator_props_Which = 0
	ServiceDesignator_props_Which_json  ServiceDesignator_props_Which = 1
)

func (ServiceDesignator_props_Which) String

type Service_Future

type Service_Future struct{ *capnp.Future }

Service_Future is a wrapper for a Service promised by a client call.

func (Service_Future) Disk

func (Service_Future) External

func (Service_Future) Network

func (p Service_Future) Network() Network_Future

func (Service_Future) Struct

func (f Service_Future) Struct() (Service, error)

func (Service_Future) Worker

func (p Service_Future) Worker() Worker_Future

type Service_List

type Service_List = capnp.StructList[Service]

Service_List is a list of Service.

func NewService_List

func NewService_List(s *capnp.Segment, sz int32) (Service_List, error)

NewService creates a new list of Service.

type Service_Which

type Service_Which uint16
const (
	Service_Which_unspecified Service_Which = 0
	Service_Which_worker      Service_Which = 1
	Service_Which_network     Service_Which = 2
	Service_Which_external    Service_Which = 3
	Service_Which_disk        Service_Which = 4
)

func (Service_Which) String

func (w Service_Which) String() string

type Socket

type Socket capnp.Struct

func NewRootSocket

func NewRootSocket(s *capnp.Segment) (Socket, error)

func NewSocket

func NewSocket(s *capnp.Segment) (Socket, error)

func ReadRootSocket

func ReadRootSocket(msg *capnp.Message) (Socket, error)

func (Socket) Address

func (s Socket) Address() (string, error)

func (Socket) AddressBytes

func (s Socket) AddressBytes() ([]byte, error)

func (Socket) DecodeFromPtr

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

func (Socket) EncodeAsPtr

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

func (Socket) HasAddress

func (s Socket) HasAddress() bool

func (Socket) HasHttp

func (s Socket) HasHttp() bool

func (Socket) HasName

func (s Socket) HasName() bool

func (Socket) HasService

func (s Socket) HasService() bool

func (Socket) Http

func (s Socket) Http() (HttpOptions, error)

func (Socket) Https

func (s Socket) Https() Socket_https

func (Socket) IsValid

func (s Socket) IsValid() bool

func (Socket) Message

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

func (Socket) Name

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

func (Socket) NameBytes

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

func (Socket) NewHttp

func (s Socket) NewHttp() (HttpOptions, error)

NewHttp sets the http field to a newly allocated HttpOptions struct, preferring placement in s's segment.

func (Socket) NewService

func (s Socket) NewService() (ServiceDesignator, error)

NewService sets the service field to a newly allocated ServiceDesignator struct, preferring placement in s's segment.

func (Socket) Segment

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

func (Socket) Service

func (s Socket) Service() (ServiceDesignator, error)

func (Socket) SetAddress

func (s Socket) SetAddress(v string) error

func (Socket) SetHttp

func (s Socket) SetHttp(v HttpOptions) error

func (Socket) SetHttps

func (s Socket) SetHttps()

func (Socket) SetName

func (s Socket) SetName(v string) error

func (Socket) SetService

func (s Socket) SetService(v ServiceDesignator) error

func (Socket) SetTcp

func (s Socket) SetTcp()

func (Socket) String

func (s Socket) String() string

func (Socket) Tcp

func (s Socket) Tcp() Socket_tcp

func (Socket) ToPtr

func (s Socket) ToPtr() capnp.Ptr

func (Socket) Which

func (s Socket) Which() Socket_Which

type Socket_Future

type Socket_Future struct{ *capnp.Future }

Socket_Future is a wrapper for a Socket promised by a client call.

func (Socket_Future) Http

func (Socket_Future) Https

func (Socket_Future) Service

func (Socket_Future) Struct

func (f Socket_Future) Struct() (Socket, error)

func (Socket_Future) Tcp

type Socket_List

type Socket_List = capnp.StructList[Socket]

Socket_List is a list of Socket.

func NewSocket_List

func NewSocket_List(s *capnp.Segment, sz int32) (Socket_List, error)

NewSocket creates a new list of Socket.

type Socket_Which

type Socket_Which uint16
const (
	Socket_Which_http  Socket_Which = 0
	Socket_Which_https Socket_Which = 1
	Socket_Which_tcp   Socket_Which = 2
)

func (Socket_Which) String

func (w Socket_Which) String() string

type Socket_https

type Socket_https Socket

func (Socket_https) HasOptions

func (s Socket_https) HasOptions() bool

func (Socket_https) HasTlsOptions

func (s Socket_https) HasTlsOptions() bool

func (Socket_https) IsValid

func (s Socket_https) IsValid() bool

func (Socket_https) Message

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

func (Socket_https) NewOptions

func (s Socket_https) NewOptions() (HttpOptions, error)

NewOptions sets the options field to a newly allocated HttpOptions struct, preferring placement in s's segment.

func (Socket_https) NewTlsOptions

func (s Socket_https) NewTlsOptions() (TlsOptions, error)

NewTlsOptions sets the tlsOptions field to a newly allocated TlsOptions struct, preferring placement in s's segment.

func (Socket_https) Options

func (s Socket_https) Options() (HttpOptions, error)

func (Socket_https) Segment

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

func (Socket_https) SetOptions

func (s Socket_https) SetOptions(v HttpOptions) error

func (Socket_https) SetTlsOptions

func (s Socket_https) SetTlsOptions(v TlsOptions) error

func (Socket_https) TlsOptions

func (s Socket_https) TlsOptions() (TlsOptions, error)

type Socket_https_Future

type Socket_https_Future struct{ *capnp.Future }

Socket_https_Future is a wrapper for a Socket_https promised by a client call.

func (Socket_https_Future) Options

func (Socket_https_Future) Struct

func (f Socket_https_Future) Struct() (Socket_https, error)

func (Socket_https_Future) TlsOptions

func (p Socket_https_Future) TlsOptions() TlsOptions_Future

type Socket_tcp

type Socket_tcp Socket

func (Socket_tcp) HasTlsOptions

func (s Socket_tcp) HasTlsOptions() bool

func (Socket_tcp) IsValid

func (s Socket_tcp) IsValid() bool

func (Socket_tcp) Message

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

func (Socket_tcp) NewTlsOptions

func (s Socket_tcp) NewTlsOptions() (TlsOptions, error)

NewTlsOptions sets the tlsOptions field to a newly allocated TlsOptions struct, preferring placement in s's segment.

func (Socket_tcp) Segment

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

func (Socket_tcp) SetTlsOptions

func (s Socket_tcp) SetTlsOptions(v TlsOptions) error

func (Socket_tcp) TlsOptions

func (s Socket_tcp) TlsOptions() (TlsOptions, error)

type Socket_tcp_Future

type Socket_tcp_Future struct{ *capnp.Future }

Socket_tcp_Future is a wrapper for a Socket_tcp promised by a client call.

func (Socket_tcp_Future) Struct

func (f Socket_tcp_Future) Struct() (Socket_tcp, error)

func (Socket_tcp_Future) TlsOptions

func (p Socket_tcp_Future) TlsOptions() TlsOptions_Future

type TlsOptions

type TlsOptions capnp.Struct

func NewRootTlsOptions

func NewRootTlsOptions(s *capnp.Segment) (TlsOptions, error)

func NewTlsOptions

func NewTlsOptions(s *capnp.Segment) (TlsOptions, error)

func ReadRootTlsOptions

func ReadRootTlsOptions(msg *capnp.Message) (TlsOptions, error)

func (TlsOptions) CipherList

func (s TlsOptions) CipherList() (string, error)

func (TlsOptions) CipherListBytes

func (s TlsOptions) CipherListBytes() ([]byte, error)

func (TlsOptions) DecodeFromPtr

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

func (TlsOptions) EncodeAsPtr

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

func (TlsOptions) HasCipherList

func (s TlsOptions) HasCipherList() bool

func (TlsOptions) HasKeypair

func (s TlsOptions) HasKeypair() bool

func (TlsOptions) HasTrustedCertificates

func (s TlsOptions) HasTrustedCertificates() bool

func (TlsOptions) IsValid

func (s TlsOptions) IsValid() bool

func (TlsOptions) Keypair

func (s TlsOptions) Keypair() (TlsOptions_Keypair, error)

func (TlsOptions) Message

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

func (TlsOptions) MinVersion

func (s TlsOptions) MinVersion() TlsOptions_Version

func (TlsOptions) NewKeypair

func (s TlsOptions) NewKeypair() (TlsOptions_Keypair, error)

NewKeypair sets the keypair field to a newly allocated TlsOptions_Keypair struct, preferring placement in s's segment.

func (TlsOptions) NewTrustedCertificates

func (s TlsOptions) NewTrustedCertificates(n int32) (capnp.TextList, error)

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

func (TlsOptions) RequireClientCerts

func (s TlsOptions) RequireClientCerts() bool

func (TlsOptions) Segment

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

func (TlsOptions) SetCipherList

func (s TlsOptions) SetCipherList(v string) error

func (TlsOptions) SetKeypair

func (s TlsOptions) SetKeypair(v TlsOptions_Keypair) error

func (TlsOptions) SetMinVersion

func (s TlsOptions) SetMinVersion(v TlsOptions_Version)

func (TlsOptions) SetRequireClientCerts

func (s TlsOptions) SetRequireClientCerts(v bool)

func (TlsOptions) SetTrustBrowserCas

func (s TlsOptions) SetTrustBrowserCas(v bool)

func (TlsOptions) SetTrustedCertificates

func (s TlsOptions) SetTrustedCertificates(v capnp.TextList) error

func (TlsOptions) String

func (s TlsOptions) String() string

func (TlsOptions) ToPtr

func (s TlsOptions) ToPtr() capnp.Ptr

func (TlsOptions) TrustBrowserCas

func (s TlsOptions) TrustBrowserCas() bool

func (TlsOptions) TrustedCertificates

func (s TlsOptions) TrustedCertificates() (capnp.TextList, error)

type TlsOptions_Future

type TlsOptions_Future struct{ *capnp.Future }

TlsOptions_Future is a wrapper for a TlsOptions promised by a client call.

func (TlsOptions_Future) Keypair

func (TlsOptions_Future) Struct

func (f TlsOptions_Future) Struct() (TlsOptions, error)

type TlsOptions_Keypair

type TlsOptions_Keypair capnp.Struct

func NewRootTlsOptions_Keypair

func NewRootTlsOptions_Keypair(s *capnp.Segment) (TlsOptions_Keypair, error)

func NewTlsOptions_Keypair

func NewTlsOptions_Keypair(s *capnp.Segment) (TlsOptions_Keypair, error)

func ReadRootTlsOptions_Keypair

func ReadRootTlsOptions_Keypair(msg *capnp.Message) (TlsOptions_Keypair, error)

func (TlsOptions_Keypair) CertificateChain

func (s TlsOptions_Keypair) CertificateChain() (string, error)

func (TlsOptions_Keypair) CertificateChainBytes

func (s TlsOptions_Keypair) CertificateChainBytes() ([]byte, error)

func (TlsOptions_Keypair) DecodeFromPtr

func (TlsOptions_Keypair) EncodeAsPtr

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

func (TlsOptions_Keypair) HasCertificateChain

func (s TlsOptions_Keypair) HasCertificateChain() bool

func (TlsOptions_Keypair) HasPrivateKey

func (s TlsOptions_Keypair) HasPrivateKey() bool

func (TlsOptions_Keypair) IsValid

func (s TlsOptions_Keypair) IsValid() bool

func (TlsOptions_Keypair) Message

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

func (TlsOptions_Keypair) PrivateKey

func (s TlsOptions_Keypair) PrivateKey() (string, error)

func (TlsOptions_Keypair) PrivateKeyBytes

func (s TlsOptions_Keypair) PrivateKeyBytes() ([]byte, error)

func (TlsOptions_Keypair) Segment

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

func (TlsOptions_Keypair) SetCertificateChain

func (s TlsOptions_Keypair) SetCertificateChain(v string) error

func (TlsOptions_Keypair) SetPrivateKey

func (s TlsOptions_Keypair) SetPrivateKey(v string) error

func (TlsOptions_Keypair) String

func (s TlsOptions_Keypair) String() string

func (TlsOptions_Keypair) ToPtr

func (s TlsOptions_Keypair) ToPtr() capnp.Ptr

type TlsOptions_Keypair_Future

type TlsOptions_Keypair_Future struct{ *capnp.Future }

TlsOptions_Keypair_Future is a wrapper for a TlsOptions_Keypair promised by a client call.

func (TlsOptions_Keypair_Future) Struct

type TlsOptions_Keypair_List

type TlsOptions_Keypair_List = capnp.StructList[TlsOptions_Keypair]

TlsOptions_Keypair_List is a list of TlsOptions_Keypair.

func NewTlsOptions_Keypair_List

func NewTlsOptions_Keypair_List(s *capnp.Segment, sz int32) (TlsOptions_Keypair_List, error)

NewTlsOptions_Keypair creates a new list of TlsOptions_Keypair.

type TlsOptions_List

type TlsOptions_List = capnp.StructList[TlsOptions]

TlsOptions_List is a list of TlsOptions.

func NewTlsOptions_List

func NewTlsOptions_List(s *capnp.Segment, sz int32) (TlsOptions_List, error)

NewTlsOptions creates a new list of TlsOptions.

type TlsOptions_Version

type TlsOptions_Version uint16
const (
	TlsOptions_Version_goodDefault TlsOptions_Version = 0
	TlsOptions_Version_ssl3        TlsOptions_Version = 1
	TlsOptions_Version_tls1Dot0    TlsOptions_Version = 2
	TlsOptions_Version_tls1Dot1    TlsOptions_Version = 3
	TlsOptions_Version_tls1Dot2    TlsOptions_Version = 4
	TlsOptions_Version_tls1Dot3    TlsOptions_Version = 5
)

Values of TlsOptions_Version.

func TlsOptions_VersionFromString

func TlsOptions_VersionFromString(c string) TlsOptions_Version

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

func (TlsOptions_Version) String

func (c TlsOptions_Version) String() string

String returns the enum's constant name.

type TlsOptions_Version_List

type TlsOptions_Version_List = capnp.EnumList[TlsOptions_Version]

func NewTlsOptions_Version_List

func NewTlsOptions_Version_List(s *capnp.Segment, sz int32) (TlsOptions_Version_List, error)

type Worker

type Worker capnp.Struct

func NewRootWorker

func NewRootWorker(s *capnp.Segment) (Worker, error)

func NewWorker

func NewWorker(s *capnp.Segment) (Worker, error)

func ReadRootWorker

func ReadRootWorker(msg *capnp.Message) (Worker, error)

func (Worker) Bindings

func (s Worker) Bindings() (Worker_Binding_List, error)

func (Worker) CacheApiOutbound

func (s Worker) CacheApiOutbound() (ServiceDesignator, error)

func (Worker) CompatibilityDate

func (s Worker) CompatibilityDate() (string, error)

func (Worker) CompatibilityDateBytes

func (s Worker) CompatibilityDateBytes() ([]byte, error)

func (Worker) CompatibilityFlags

func (s Worker) CompatibilityFlags() (capnp.TextList, error)

func (Worker) ContainerEngine

func (s Worker) ContainerEngine() Worker_containerEngine

func (Worker) DecodeFromPtr

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

func (Worker) DurableObjectNamespaces

func (s Worker) DurableObjectNamespaces() (Worker_DurableObjectNamespace_List, error)

func (Worker) DurableObjectStorage

func (s Worker) DurableObjectStorage() Worker_durableObjectStorage

func (Worker) DurableObjectUniqueKeyModifier

func (s Worker) DurableObjectUniqueKeyModifier() (string, error)

func (Worker) DurableObjectUniqueKeyModifierBytes

func (s Worker) DurableObjectUniqueKeyModifierBytes() ([]byte, error)

func (Worker) EncodeAsPtr

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

func (Worker) GlobalOutbound

func (s Worker) GlobalOutbound() (ServiceDesignator, error)

func (Worker) HasBindings

func (s Worker) HasBindings() bool

func (Worker) HasCacheApiOutbound

func (s Worker) HasCacheApiOutbound() bool

func (Worker) HasCompatibilityDate

func (s Worker) HasCompatibilityDate() bool

func (Worker) HasCompatibilityFlags

func (s Worker) HasCompatibilityFlags() bool

func (Worker) HasDurableObjectNamespaces

func (s Worker) HasDurableObjectNamespaces() bool

func (Worker) HasDurableObjectUniqueKeyModifier

func (s Worker) HasDurableObjectUniqueKeyModifier() bool

func (Worker) HasGlobalOutbound

func (s Worker) HasGlobalOutbound() bool

func (Worker) HasInherit

func (s Worker) HasInherit() bool

func (Worker) HasModuleFallback

func (s Worker) HasModuleFallback() bool

func (Worker) HasModules

func (s Worker) HasModules() bool

func (Worker) HasServiceWorkerScript

func (s Worker) HasServiceWorkerScript() bool

func (Worker) HasStreamingTails

func (s Worker) HasStreamingTails() bool

func (Worker) HasTails

func (s Worker) HasTails() bool

func (Worker) Inherit

func (s Worker) Inherit() (string, error)

func (Worker) InheritBytes

func (s Worker) InheritBytes() ([]byte, error)

func (Worker) IsValid

func (s Worker) IsValid() bool

func (Worker) Message

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

func (Worker) ModuleFallback

func (s Worker) ModuleFallback() (string, error)

func (Worker) ModuleFallbackBytes

func (s Worker) ModuleFallbackBytes() ([]byte, error)

func (Worker) Modules

func (s Worker) Modules() (Worker_Module_List, error)

func (Worker) NewBindings

func (s Worker) NewBindings(n int32) (Worker_Binding_List, error)

NewBindings sets the bindings field to a newly allocated Worker_Binding_List, preferring placement in s's segment.

func (Worker) NewCacheApiOutbound

func (s Worker) NewCacheApiOutbound() (ServiceDesignator, error)

NewCacheApiOutbound sets the cacheApiOutbound field to a newly allocated ServiceDesignator struct, preferring placement in s's segment.

func (Worker) NewCompatibilityFlags

func (s Worker) NewCompatibilityFlags(n int32) (capnp.TextList, error)

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

func (Worker) NewDurableObjectNamespaces

func (s Worker) NewDurableObjectNamespaces(n int32) (Worker_DurableObjectNamespace_List, error)

NewDurableObjectNamespaces sets the durableObjectNamespaces field to a newly allocated Worker_DurableObjectNamespace_List, preferring placement in s's segment.

func (Worker) NewGlobalOutbound

func (s Worker) NewGlobalOutbound() (ServiceDesignator, error)

NewGlobalOutbound sets the globalOutbound field to a newly allocated ServiceDesignator struct, preferring placement in s's segment.

func (Worker) NewModules

func (s Worker) NewModules(n int32) (Worker_Module_List, error)

NewModules sets the modules field to a newly allocated Worker_Module_List, preferring placement in s's segment.

func (Worker) NewStreamingTails

func (s Worker) NewStreamingTails(n int32) (ServiceDesignator_List, error)

NewStreamingTails sets the streamingTails field to a newly allocated ServiceDesignator_List, preferring placement in s's segment.

func (Worker) NewTails

func (s Worker) NewTails(n int32) (ServiceDesignator_List, error)

NewTails sets the tails field to a newly allocated ServiceDesignator_List, preferring placement in s's segment.

func (Worker) Segment

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

func (Worker) ServiceWorkerScript

func (s Worker) ServiceWorkerScript() (string, error)

func (Worker) ServiceWorkerScriptBytes

func (s Worker) ServiceWorkerScriptBytes() ([]byte, error)

func (Worker) SetBindings

func (s Worker) SetBindings(v Worker_Binding_List) error

func (Worker) SetCacheApiOutbound

func (s Worker) SetCacheApiOutbound(v ServiceDesignator) error

func (Worker) SetCompatibilityDate

func (s Worker) SetCompatibilityDate(v string) error

func (Worker) SetCompatibilityFlags

func (s Worker) SetCompatibilityFlags(v capnp.TextList) error

func (Worker) SetDurableObjectNamespaces

func (s Worker) SetDurableObjectNamespaces(v Worker_DurableObjectNamespace_List) error

func (Worker) SetDurableObjectUniqueKeyModifier

func (s Worker) SetDurableObjectUniqueKeyModifier(v string) error

func (Worker) SetGlobalOutbound

func (s Worker) SetGlobalOutbound(v ServiceDesignator) error

func (Worker) SetInherit

func (s Worker) SetInherit(v string) error

func (Worker) SetModuleFallback

func (s Worker) SetModuleFallback(v string) error

func (Worker) SetModules

func (s Worker) SetModules(v Worker_Module_List) error

func (Worker) SetServiceWorkerScript

func (s Worker) SetServiceWorkerScript(v string) error

func (Worker) SetStreamingTails

func (s Worker) SetStreamingTails(v ServiceDesignator_List) error

func (Worker) SetTails

func (s Worker) SetTails(v ServiceDesignator_List) error

func (Worker) StreamingTails

func (s Worker) StreamingTails() (ServiceDesignator_List, error)

func (Worker) String

func (s Worker) String() string

func (Worker) Tails

func (s Worker) Tails() (ServiceDesignator_List, error)

func (Worker) ToPtr

func (s Worker) ToPtr() capnp.Ptr

func (Worker) Which

func (s Worker) Which() Worker_Which

type Worker_Binding

type Worker_Binding capnp.Struct

func NewRootWorker_Binding

func NewRootWorker_Binding(s *capnp.Segment) (Worker_Binding, error)

func NewWorker_Binding

func NewWorker_Binding(s *capnp.Segment) (Worker_Binding, error)

func ReadRootWorker_Binding

func ReadRootWorker_Binding(msg *capnp.Message) (Worker_Binding, error)

func (Worker_Binding) AnalyticsEngine

func (s Worker_Binding) AnalyticsEngine() (ServiceDesignator, error)

func (Worker_Binding) CryptoKey

func (Worker_Binding) Data

func (s Worker_Binding) Data() ([]byte, error)

func (Worker_Binding) DecodeFromPtr

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

func (Worker_Binding) DurableObjectClass

func (s Worker_Binding) DurableObjectClass() (ServiceDesignator, error)

func (Worker_Binding) DurableObjectNamespace

func (Worker_Binding) EncodeAsPtr

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

func (Worker_Binding) FromEnvironment

func (s Worker_Binding) FromEnvironment() (string, error)

func (Worker_Binding) FromEnvironmentBytes

func (s Worker_Binding) FromEnvironmentBytes() ([]byte, error)

func (Worker_Binding) HasAnalyticsEngine

func (s Worker_Binding) HasAnalyticsEngine() bool

func (Worker_Binding) HasCryptoKey

func (s Worker_Binding) HasCryptoKey() bool

func (Worker_Binding) HasData

func (s Worker_Binding) HasData() bool

func (Worker_Binding) HasDurableObjectClass

func (s Worker_Binding) HasDurableObjectClass() bool

func (Worker_Binding) HasDurableObjectNamespace

func (s Worker_Binding) HasDurableObjectNamespace() bool

func (Worker_Binding) HasFromEnvironment

func (s Worker_Binding) HasFromEnvironment() bool

func (Worker_Binding) HasJson

func (s Worker_Binding) HasJson() bool

func (Worker_Binding) HasKvNamespace

func (s Worker_Binding) HasKvNamespace() bool

func (Worker_Binding) HasName

func (s Worker_Binding) HasName() bool

func (Worker_Binding) HasObsolete0

func (s Worker_Binding) HasObsolete0() bool

func (Worker_Binding) HasQueue

func (s Worker_Binding) HasQueue() bool

func (Worker_Binding) HasR2Bucket

func (s Worker_Binding) HasR2Bucket() bool

func (Worker_Binding) HasService

func (s Worker_Binding) HasService() bool

func (Worker_Binding) HasText

func (s Worker_Binding) HasText() bool

func (Worker_Binding) HasWasmModule

func (s Worker_Binding) HasWasmModule() bool

func (Worker_Binding) HasWrapped

func (s Worker_Binding) HasWrapped() bool

func (Worker_Binding) Hyperdrive

func (Worker_Binding) IsValid

func (s Worker_Binding) IsValid() bool

func (Worker_Binding) Json

func (s Worker_Binding) Json() (string, error)

func (Worker_Binding) JsonBytes

func (s Worker_Binding) JsonBytes() ([]byte, error)

func (Worker_Binding) KvNamespace

func (s Worker_Binding) KvNamespace() (ServiceDesignator, error)

func (Worker_Binding) MemoryCache

func (Worker_Binding) Message

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

func (Worker_Binding) Name

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

func (Worker_Binding) NameBytes

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

func (Worker_Binding) NewAnalyticsEngine

func (s Worker_Binding) NewAnalyticsEngine() (ServiceDesignator, error)

NewAnalyticsEngine sets the analyticsEngine field to a newly allocated ServiceDesignator struct, preferring placement in s's segment.

func (Worker_Binding) NewCryptoKey

func (s Worker_Binding) NewCryptoKey() (Worker_Binding_CryptoKey, error)

NewCryptoKey sets the cryptoKey field to a newly allocated Worker_Binding_CryptoKey struct, preferring placement in s's segment.

func (Worker_Binding) NewDurableObjectClass

func (s Worker_Binding) NewDurableObjectClass() (ServiceDesignator, error)

NewDurableObjectClass sets the durableObjectClass field to a newly allocated ServiceDesignator struct, preferring placement in s's segment.

func (Worker_Binding) NewDurableObjectNamespace

func (s Worker_Binding) NewDurableObjectNamespace() (Worker_Binding_DurableObjectNamespaceDesignator, error)

NewDurableObjectNamespace sets the durableObjectNamespace field to a newly allocated Worker_Binding_DurableObjectNamespaceDesignator struct, preferring placement in s's segment.

func (Worker_Binding) NewKvNamespace

func (s Worker_Binding) NewKvNamespace() (ServiceDesignator, error)

NewKvNamespace sets the kvNamespace field to a newly allocated ServiceDesignator struct, preferring placement in s's segment.

func (Worker_Binding) NewObsolete0

func (s Worker_Binding) NewObsolete0() (ServiceDesignator, error)

NewObsolete0 sets the obsolete0 field to a newly allocated ServiceDesignator struct, preferring placement in s's segment.

func (Worker_Binding) NewQueue

func (s Worker_Binding) NewQueue() (ServiceDesignator, error)

NewQueue sets the queue field to a newly allocated ServiceDesignator struct, preferring placement in s's segment.

func (Worker_Binding) NewR2Bucket

func (s Worker_Binding) NewR2Bucket() (ServiceDesignator, error)

NewR2Bucket sets the r2Bucket field to a newly allocated ServiceDesignator struct, preferring placement in s's segment.

func (Worker_Binding) NewService

func (s Worker_Binding) NewService() (ServiceDesignator, error)

NewService sets the service field to a newly allocated ServiceDesignator struct, preferring placement in s's segment.

func (Worker_Binding) NewWrapped

NewWrapped sets the wrapped field to a newly allocated Worker_Binding_WrappedBinding struct, preferring placement in s's segment.

func (Worker_Binding) Obsolete0

func (s Worker_Binding) Obsolete0() (ServiceDesignator, error)

func (Worker_Binding) Parameter

func (Worker_Binding) Queue

func (s Worker_Binding) Queue() (ServiceDesignator, error)

func (Worker_Binding) R2Bucket

func (s Worker_Binding) R2Bucket() (ServiceDesignator, error)

func (Worker_Binding) Segment

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

func (Worker_Binding) Service

func (s Worker_Binding) Service() (ServiceDesignator, error)

func (Worker_Binding) SetAnalyticsEngine

func (s Worker_Binding) SetAnalyticsEngine(v ServiceDesignator) error

func (Worker_Binding) SetCryptoKey

func (s Worker_Binding) SetCryptoKey(v Worker_Binding_CryptoKey) error

func (Worker_Binding) SetData

func (s Worker_Binding) SetData(v []byte) error

func (Worker_Binding) SetDurableObjectClass

func (s Worker_Binding) SetDurableObjectClass(v ServiceDesignator) error

func (Worker_Binding) SetDurableObjectNamespace

func (Worker_Binding) SetFromEnvironment

func (s Worker_Binding) SetFromEnvironment(v string) error

func (Worker_Binding) SetHyperdrive

func (s Worker_Binding) SetHyperdrive()

func (Worker_Binding) SetJson

func (s Worker_Binding) SetJson(v string) error

func (Worker_Binding) SetKvNamespace

func (s Worker_Binding) SetKvNamespace(v ServiceDesignator) error

func (Worker_Binding) SetMemoryCache

func (s Worker_Binding) SetMemoryCache()

func (Worker_Binding) SetName

func (s Worker_Binding) SetName(v string) error

func (Worker_Binding) SetObsolete0

func (s Worker_Binding) SetObsolete0(v ServiceDesignator) error

func (Worker_Binding) SetParameter

func (s Worker_Binding) SetParameter()

func (Worker_Binding) SetQueue

func (s Worker_Binding) SetQueue(v ServiceDesignator) error

func (Worker_Binding) SetR2Bucket

func (s Worker_Binding) SetR2Bucket(v ServiceDesignator) error

func (Worker_Binding) SetService

func (s Worker_Binding) SetService(v ServiceDesignator) error

func (Worker_Binding) SetText

func (s Worker_Binding) SetText(v string) error

func (Worker_Binding) SetUnsafeEval

func (s Worker_Binding) SetUnsafeEval()

func (Worker_Binding) SetUnspecified

func (s Worker_Binding) SetUnspecified()

func (Worker_Binding) SetWasmModule

func (s Worker_Binding) SetWasmModule(v []byte) error

func (Worker_Binding) SetWorkerLoader

func (s Worker_Binding) SetWorkerLoader()

func (Worker_Binding) SetWorkerdDebugPort

func (s Worker_Binding) SetWorkerdDebugPort()

func (Worker_Binding) SetWrapped

func (Worker_Binding) String

func (s Worker_Binding) String() string

func (Worker_Binding) Text

func (s Worker_Binding) Text() (string, error)

func (Worker_Binding) TextBytes

func (s Worker_Binding) TextBytes() ([]byte, error)

func (Worker_Binding) ToPtr

func (s Worker_Binding) ToPtr() capnp.Ptr

func (Worker_Binding) WasmModule

func (s Worker_Binding) WasmModule() ([]byte, error)

func (Worker_Binding) Which

func (Worker_Binding) WorkerLoader

func (Worker_Binding) Wrapped

type Worker_Binding_CryptoKey

type Worker_Binding_CryptoKey capnp.Struct

func NewRootWorker_Binding_CryptoKey

func NewRootWorker_Binding_CryptoKey(s *capnp.Segment) (Worker_Binding_CryptoKey, error)

func NewWorker_Binding_CryptoKey

func NewWorker_Binding_CryptoKey(s *capnp.Segment) (Worker_Binding_CryptoKey, error)

func ReadRootWorker_Binding_CryptoKey

func ReadRootWorker_Binding_CryptoKey(msg *capnp.Message) (Worker_Binding_CryptoKey, error)

func (Worker_Binding_CryptoKey) Algorithm

func (Worker_Binding_CryptoKey) Base64

func (s Worker_Binding_CryptoKey) Base64() (string, error)

func (Worker_Binding_CryptoKey) Base64Bytes

func (s Worker_Binding_CryptoKey) Base64Bytes() ([]byte, error)

func (Worker_Binding_CryptoKey) DecodeFromPtr

func (Worker_Binding_CryptoKey) EncodeAsPtr

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

func (Worker_Binding_CryptoKey) Extractable

func (s Worker_Binding_CryptoKey) Extractable() bool

func (Worker_Binding_CryptoKey) HasBase64

func (s Worker_Binding_CryptoKey) HasBase64() bool

func (Worker_Binding_CryptoKey) HasHex

func (s Worker_Binding_CryptoKey) HasHex() bool

func (Worker_Binding_CryptoKey) HasJwk

func (s Worker_Binding_CryptoKey) HasJwk() bool

func (Worker_Binding_CryptoKey) HasPkcs8

func (s Worker_Binding_CryptoKey) HasPkcs8() bool

func (Worker_Binding_CryptoKey) HasRaw

func (s Worker_Binding_CryptoKey) HasRaw() bool

func (Worker_Binding_CryptoKey) HasSpki

func (s Worker_Binding_CryptoKey) HasSpki() bool

func (Worker_Binding_CryptoKey) HasUsages

func (s Worker_Binding_CryptoKey) HasUsages() bool

func (Worker_Binding_CryptoKey) Hex

func (Worker_Binding_CryptoKey) HexBytes

func (s Worker_Binding_CryptoKey) HexBytes() ([]byte, error)

func (Worker_Binding_CryptoKey) IsValid

func (s Worker_Binding_CryptoKey) IsValid() bool

func (Worker_Binding_CryptoKey) Jwk

func (Worker_Binding_CryptoKey) JwkBytes

func (s Worker_Binding_CryptoKey) JwkBytes() ([]byte, error)

func (Worker_Binding_CryptoKey) Message

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

func (Worker_Binding_CryptoKey) NewUsages

NewUsages sets the usages field to a newly allocated Worker_Binding_CryptoKey_Usage_List, preferring placement in s's segment.

func (Worker_Binding_CryptoKey) Pkcs8

func (s Worker_Binding_CryptoKey) Pkcs8() (string, error)

func (Worker_Binding_CryptoKey) Pkcs8Bytes

func (s Worker_Binding_CryptoKey) Pkcs8Bytes() ([]byte, error)

func (Worker_Binding_CryptoKey) Raw

func (s Worker_Binding_CryptoKey) Raw() ([]byte, error)

func (Worker_Binding_CryptoKey) Segment

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

func (Worker_Binding_CryptoKey) SetBase64

func (s Worker_Binding_CryptoKey) SetBase64(v string) error

func (Worker_Binding_CryptoKey) SetExtractable

func (s Worker_Binding_CryptoKey) SetExtractable(v bool)

func (Worker_Binding_CryptoKey) SetHex

func (Worker_Binding_CryptoKey) SetJwk

func (Worker_Binding_CryptoKey) SetPkcs8

func (s Worker_Binding_CryptoKey) SetPkcs8(v string) error

func (Worker_Binding_CryptoKey) SetRaw

func (s Worker_Binding_CryptoKey) SetRaw(v []byte) error

func (Worker_Binding_CryptoKey) SetSpki

func (s Worker_Binding_CryptoKey) SetSpki(v string) error

func (Worker_Binding_CryptoKey) SetUsages

func (Worker_Binding_CryptoKey) Spki

func (Worker_Binding_CryptoKey) SpkiBytes

func (s Worker_Binding_CryptoKey) SpkiBytes() ([]byte, error)

func (Worker_Binding_CryptoKey) String

func (s Worker_Binding_CryptoKey) String() string

func (Worker_Binding_CryptoKey) ToPtr

func (Worker_Binding_CryptoKey) Usages

func (Worker_Binding_CryptoKey) Which

type Worker_Binding_CryptoKey_Future

type Worker_Binding_CryptoKey_Future struct{ *capnp.Future }

Worker_Binding_CryptoKey_Future is a wrapper for a Worker_Binding_CryptoKey promised by a client call.

func (Worker_Binding_CryptoKey_Future) Algorithm

func (Worker_Binding_CryptoKey_Future) Struct

type Worker_Binding_CryptoKey_List

type Worker_Binding_CryptoKey_List = capnp.StructList[Worker_Binding_CryptoKey]

Worker_Binding_CryptoKey_List is a list of Worker_Binding_CryptoKey.

func NewWorker_Binding_CryptoKey_List

func NewWorker_Binding_CryptoKey_List(s *capnp.Segment, sz int32) (Worker_Binding_CryptoKey_List, error)

NewWorker_Binding_CryptoKey creates a new list of Worker_Binding_CryptoKey.

type Worker_Binding_CryptoKey_Usage

type Worker_Binding_CryptoKey_Usage uint16
const (
	Worker_Binding_CryptoKey_Usage_encrypt    Worker_Binding_CryptoKey_Usage = 0
	Worker_Binding_CryptoKey_Usage_decrypt    Worker_Binding_CryptoKey_Usage = 1
	Worker_Binding_CryptoKey_Usage_sign       Worker_Binding_CryptoKey_Usage = 2
	Worker_Binding_CryptoKey_Usage_verify     Worker_Binding_CryptoKey_Usage = 3
	Worker_Binding_CryptoKey_Usage_deriveKey  Worker_Binding_CryptoKey_Usage = 4
	Worker_Binding_CryptoKey_Usage_deriveBits Worker_Binding_CryptoKey_Usage = 5
	Worker_Binding_CryptoKey_Usage_wrapKey    Worker_Binding_CryptoKey_Usage = 6
	Worker_Binding_CryptoKey_Usage_unwrapKey  Worker_Binding_CryptoKey_Usage = 7
)

Values of Worker_Binding_CryptoKey_Usage.

func Worker_Binding_CryptoKey_UsageFromString

func Worker_Binding_CryptoKey_UsageFromString(c string) Worker_Binding_CryptoKey_Usage

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

func (Worker_Binding_CryptoKey_Usage) String

String returns the enum's constant name.

type Worker_Binding_CryptoKey_Usage_List

type Worker_Binding_CryptoKey_Usage_List = capnp.EnumList[Worker_Binding_CryptoKey_Usage]

func NewWorker_Binding_CryptoKey_Usage_List

func NewWorker_Binding_CryptoKey_Usage_List(s *capnp.Segment, sz int32) (Worker_Binding_CryptoKey_Usage_List, error)

type Worker_Binding_CryptoKey_Which

type Worker_Binding_CryptoKey_Which uint16
const (
	Worker_Binding_CryptoKey_Which_raw    Worker_Binding_CryptoKey_Which = 0
	Worker_Binding_CryptoKey_Which_hex    Worker_Binding_CryptoKey_Which = 1
	Worker_Binding_CryptoKey_Which_base64 Worker_Binding_CryptoKey_Which = 2
	Worker_Binding_CryptoKey_Which_pkcs8  Worker_Binding_CryptoKey_Which = 3
	Worker_Binding_CryptoKey_Which_spki   Worker_Binding_CryptoKey_Which = 4
	Worker_Binding_CryptoKey_Which_jwk    Worker_Binding_CryptoKey_Which = 5
)

func (Worker_Binding_CryptoKey_Which) String

type Worker_Binding_CryptoKey_algorithm

type Worker_Binding_CryptoKey_algorithm Worker_Binding_CryptoKey

func (Worker_Binding_CryptoKey_algorithm) HasJson

func (Worker_Binding_CryptoKey_algorithm) HasName

func (Worker_Binding_CryptoKey_algorithm) IsValid

func (Worker_Binding_CryptoKey_algorithm) Json

func (Worker_Binding_CryptoKey_algorithm) JsonBytes

func (s Worker_Binding_CryptoKey_algorithm) JsonBytes() ([]byte, error)

func (Worker_Binding_CryptoKey_algorithm) Message

func (Worker_Binding_CryptoKey_algorithm) Name

func (Worker_Binding_CryptoKey_algorithm) NameBytes

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

func (Worker_Binding_CryptoKey_algorithm) Segment

func (Worker_Binding_CryptoKey_algorithm) SetJson

func (Worker_Binding_CryptoKey_algorithm) SetName

func (Worker_Binding_CryptoKey_algorithm) Which

type Worker_Binding_CryptoKey_algorithm_Future

type Worker_Binding_CryptoKey_algorithm_Future struct{ *capnp.Future }

Worker_Binding_CryptoKey_algorithm_Future is a wrapper for a Worker_Binding_CryptoKey_algorithm promised by a client call.

func (Worker_Binding_CryptoKey_algorithm_Future) Struct

type Worker_Binding_CryptoKey_algorithm_Which

type Worker_Binding_CryptoKey_algorithm_Which uint16
const (
	Worker_Binding_CryptoKey_algorithm_Which_name Worker_Binding_CryptoKey_algorithm_Which = 0
	Worker_Binding_CryptoKey_algorithm_Which_json Worker_Binding_CryptoKey_algorithm_Which = 1
)

func (Worker_Binding_CryptoKey_algorithm_Which) String

type Worker_Binding_DurableObjectNamespaceDesignator

type Worker_Binding_DurableObjectNamespaceDesignator capnp.Struct

func ReadRootWorker_Binding_DurableObjectNamespaceDesignator

func ReadRootWorker_Binding_DurableObjectNamespaceDesignator(msg *capnp.Message) (Worker_Binding_DurableObjectNamespaceDesignator, error)

func (Worker_Binding_DurableObjectNamespaceDesignator) ClassName

func (Worker_Binding_DurableObjectNamespaceDesignator) ClassNameBytes

func (Worker_Binding_DurableObjectNamespaceDesignator) DecodeFromPtr

func (Worker_Binding_DurableObjectNamespaceDesignator) EncodeAsPtr

func (Worker_Binding_DurableObjectNamespaceDesignator) HasClassName

func (Worker_Binding_DurableObjectNamespaceDesignator) HasServiceName

func (Worker_Binding_DurableObjectNamespaceDesignator) IsValid

func (Worker_Binding_DurableObjectNamespaceDesignator) Message

func (Worker_Binding_DurableObjectNamespaceDesignator) Segment

func (Worker_Binding_DurableObjectNamespaceDesignator) ServiceName

func (Worker_Binding_DurableObjectNamespaceDesignator) ServiceNameBytes

func (Worker_Binding_DurableObjectNamespaceDesignator) SetClassName

func (Worker_Binding_DurableObjectNamespaceDesignator) SetServiceName

func (Worker_Binding_DurableObjectNamespaceDesignator) String

func (Worker_Binding_DurableObjectNamespaceDesignator) ToPtr

type Worker_Binding_DurableObjectNamespaceDesignator_Future

type Worker_Binding_DurableObjectNamespaceDesignator_Future struct{ *capnp.Future }

Worker_Binding_DurableObjectNamespaceDesignator_Future is a wrapper for a Worker_Binding_DurableObjectNamespaceDesignator promised by a client call.

func (Worker_Binding_DurableObjectNamespaceDesignator_Future) Struct

type Worker_Binding_DurableObjectNamespaceDesignator_List

type Worker_Binding_DurableObjectNamespaceDesignator_List = capnp.StructList[Worker_Binding_DurableObjectNamespaceDesignator]

Worker_Binding_DurableObjectNamespaceDesignator_List is a list of Worker_Binding_DurableObjectNamespaceDesignator.

func NewWorker_Binding_DurableObjectNamespaceDesignator_List

func NewWorker_Binding_DurableObjectNamespaceDesignator_List(s *capnp.Segment, sz int32) (Worker_Binding_DurableObjectNamespaceDesignator_List, error)

NewWorker_Binding_DurableObjectNamespaceDesignator creates a new list of Worker_Binding_DurableObjectNamespaceDesignator.

type Worker_Binding_Future

type Worker_Binding_Future struct{ *capnp.Future }

Worker_Binding_Future is a wrapper for a Worker_Binding promised by a client call.

func (Worker_Binding_Future) AnalyticsEngine

func (p Worker_Binding_Future) AnalyticsEngine() ServiceDesignator_Future

func (Worker_Binding_Future) CryptoKey

func (Worker_Binding_Future) DurableObjectClass

func (p Worker_Binding_Future) DurableObjectClass() ServiceDesignator_Future

func (Worker_Binding_Future) DurableObjectNamespace

func (Worker_Binding_Future) Hyperdrive

func (Worker_Binding_Future) KvNamespace

func (Worker_Binding_Future) MemoryCache

func (Worker_Binding_Future) Obsolete0

func (Worker_Binding_Future) Parameter

func (Worker_Binding_Future) Queue

func (Worker_Binding_Future) R2Bucket

func (Worker_Binding_Future) Service

func (Worker_Binding_Future) Struct

func (Worker_Binding_Future) WorkerLoader

func (Worker_Binding_Future) Wrapped

type Worker_Binding_List

type Worker_Binding_List = capnp.StructList[Worker_Binding]

Worker_Binding_List is a list of Worker_Binding.

func NewWorker_Binding_List

func NewWorker_Binding_List(s *capnp.Segment, sz int32) (Worker_Binding_List, error)

NewWorker_Binding creates a new list of Worker_Binding.

type Worker_Binding_MemoryCacheLimits

type Worker_Binding_MemoryCacheLimits capnp.Struct

func NewRootWorker_Binding_MemoryCacheLimits

func NewRootWorker_Binding_MemoryCacheLimits(s *capnp.Segment) (Worker_Binding_MemoryCacheLimits, error)

func NewWorker_Binding_MemoryCacheLimits

func NewWorker_Binding_MemoryCacheLimits(s *capnp.Segment) (Worker_Binding_MemoryCacheLimits, error)

func ReadRootWorker_Binding_MemoryCacheLimits

func ReadRootWorker_Binding_MemoryCacheLimits(msg *capnp.Message) (Worker_Binding_MemoryCacheLimits, error)

func (Worker_Binding_MemoryCacheLimits) DecodeFromPtr

func (Worker_Binding_MemoryCacheLimits) EncodeAsPtr

func (Worker_Binding_MemoryCacheLimits) IsValid

func (Worker_Binding_MemoryCacheLimits) MaxKeys

func (Worker_Binding_MemoryCacheLimits) MaxTotalValueSize

func (s Worker_Binding_MemoryCacheLimits) MaxTotalValueSize() uint64

func (Worker_Binding_MemoryCacheLimits) MaxValueSize

func (s Worker_Binding_MemoryCacheLimits) MaxValueSize() uint32

func (Worker_Binding_MemoryCacheLimits) Message

func (Worker_Binding_MemoryCacheLimits) Segment

func (Worker_Binding_MemoryCacheLimits) SetMaxKeys

func (s Worker_Binding_MemoryCacheLimits) SetMaxKeys(v uint32)

func (Worker_Binding_MemoryCacheLimits) SetMaxTotalValueSize

func (s Worker_Binding_MemoryCacheLimits) SetMaxTotalValueSize(v uint64)

func (Worker_Binding_MemoryCacheLimits) SetMaxValueSize

func (s Worker_Binding_MemoryCacheLimits) SetMaxValueSize(v uint32)

func (Worker_Binding_MemoryCacheLimits) String

func (Worker_Binding_MemoryCacheLimits) ToPtr

type Worker_Binding_MemoryCacheLimits_Future

type Worker_Binding_MemoryCacheLimits_Future struct{ *capnp.Future }

Worker_Binding_MemoryCacheLimits_Future is a wrapper for a Worker_Binding_MemoryCacheLimits promised by a client call.

func (Worker_Binding_MemoryCacheLimits_Future) Struct

type Worker_Binding_MemoryCacheLimits_List

type Worker_Binding_MemoryCacheLimits_List = capnp.StructList[Worker_Binding_MemoryCacheLimits]

Worker_Binding_MemoryCacheLimits_List is a list of Worker_Binding_MemoryCacheLimits.

func NewWorker_Binding_MemoryCacheLimits_List

func NewWorker_Binding_MemoryCacheLimits_List(s *capnp.Segment, sz int32) (Worker_Binding_MemoryCacheLimits_List, error)

NewWorker_Binding_MemoryCacheLimits creates a new list of Worker_Binding_MemoryCacheLimits.

type Worker_Binding_Type

type Worker_Binding_Type capnp.Struct

func NewRootWorker_Binding_Type

func NewRootWorker_Binding_Type(s *capnp.Segment) (Worker_Binding_Type, error)

func NewWorker_Binding_Type

func NewWorker_Binding_Type(s *capnp.Segment) (Worker_Binding_Type, error)

func ReadRootWorker_Binding_Type

func ReadRootWorker_Binding_Type(msg *capnp.Message) (Worker_Binding_Type, error)

func (Worker_Binding_Type) CryptoKey

func (Worker_Binding_Type) DecodeFromPtr

func (Worker_Binding_Type) EncodeAsPtr

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

func (Worker_Binding_Type) HasCryptoKey

func (s Worker_Binding_Type) HasCryptoKey() bool

func (Worker_Binding_Type) IsValid

func (s Worker_Binding_Type) IsValid() bool

func (Worker_Binding_Type) Message

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

func (Worker_Binding_Type) NewCryptoKey

NewCryptoKey sets the cryptoKey field to a newly allocated Worker_Binding_CryptoKey_Usage_List, preferring placement in s's segment.

func (Worker_Binding_Type) Segment

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

func (Worker_Binding_Type) SetAnalyticsEngine

func (s Worker_Binding_Type) SetAnalyticsEngine()

func (Worker_Binding_Type) SetCryptoKey

func (Worker_Binding_Type) SetData

func (s Worker_Binding_Type) SetData()

func (Worker_Binding_Type) SetDurableObjectClass

func (s Worker_Binding_Type) SetDurableObjectClass()

func (Worker_Binding_Type) SetDurableObjectNamespace

func (s Worker_Binding_Type) SetDurableObjectNamespace()

func (Worker_Binding_Type) SetHyperdrive

func (s Worker_Binding_Type) SetHyperdrive()

func (Worker_Binding_Type) SetJson

func (s Worker_Binding_Type) SetJson()

func (Worker_Binding_Type) SetKvNamespace

func (s Worker_Binding_Type) SetKvNamespace()

func (Worker_Binding_Type) SetObsolete0

func (s Worker_Binding_Type) SetObsolete0()

func (Worker_Binding_Type) SetQueue

func (s Worker_Binding_Type) SetQueue()

func (Worker_Binding_Type) SetR2Bucket

func (s Worker_Binding_Type) SetR2Bucket()

func (Worker_Binding_Type) SetService

func (s Worker_Binding_Type) SetService()

func (Worker_Binding_Type) SetText

func (s Worker_Binding_Type) SetText()

func (Worker_Binding_Type) SetUnspecified

func (s Worker_Binding_Type) SetUnspecified()

func (Worker_Binding_Type) SetWasm

func (s Worker_Binding_Type) SetWasm()

func (Worker_Binding_Type) SetWorkerdDebugPort

func (s Worker_Binding_Type) SetWorkerdDebugPort()

func (Worker_Binding_Type) String

func (s Worker_Binding_Type) String() string

func (Worker_Binding_Type) ToPtr

func (s Worker_Binding_Type) ToPtr() capnp.Ptr

func (Worker_Binding_Type) Which

type Worker_Binding_Type_Future

type Worker_Binding_Type_Future struct{ *capnp.Future }

Worker_Binding_Type_Future is a wrapper for a Worker_Binding_Type promised by a client call.

func (Worker_Binding_Type_Future) Struct

type Worker_Binding_Type_List

type Worker_Binding_Type_List = capnp.StructList[Worker_Binding_Type]

Worker_Binding_Type_List is a list of Worker_Binding_Type.

func NewWorker_Binding_Type_List

func NewWorker_Binding_Type_List(s *capnp.Segment, sz int32) (Worker_Binding_Type_List, error)

NewWorker_Binding_Type creates a new list of Worker_Binding_Type.

type Worker_Binding_Type_Which

type Worker_Binding_Type_Which uint16
const (
	Worker_Binding_Type_Which_unspecified            Worker_Binding_Type_Which = 0
	Worker_Binding_Type_Which_text                   Worker_Binding_Type_Which = 1
	Worker_Binding_Type_Which_data                   Worker_Binding_Type_Which = 2
	Worker_Binding_Type_Which_json                   Worker_Binding_Type_Which = 3
	Worker_Binding_Type_Which_wasm                   Worker_Binding_Type_Which = 4
	Worker_Binding_Type_Which_cryptoKey              Worker_Binding_Type_Which = 5
	Worker_Binding_Type_Which_service                Worker_Binding_Type_Which = 6
	Worker_Binding_Type_Which_durableObjectNamespace Worker_Binding_Type_Which = 7
	Worker_Binding_Type_Which_kvNamespace            Worker_Binding_Type_Which = 8
	Worker_Binding_Type_Which_r2Bucket               Worker_Binding_Type_Which = 9
	Worker_Binding_Type_Which_obsolete0              Worker_Binding_Type_Which = 10
	Worker_Binding_Type_Which_queue                  Worker_Binding_Type_Which = 11
	Worker_Binding_Type_Which_analyticsEngine        Worker_Binding_Type_Which = 12
	Worker_Binding_Type_Which_hyperdrive             Worker_Binding_Type_Which = 13
	Worker_Binding_Type_Which_durableObjectClass     Worker_Binding_Type_Which = 14
	Worker_Binding_Type_Which_workerdDebugPort       Worker_Binding_Type_Which = 15
)

func (Worker_Binding_Type_Which) String

func (w Worker_Binding_Type_Which) String() string

type Worker_Binding_Which

type Worker_Binding_Which uint16
const (
	Worker_Binding_Which_unspecified            Worker_Binding_Which = 0
	Worker_Binding_Which_parameter              Worker_Binding_Which = 1
	Worker_Binding_Which_text                   Worker_Binding_Which = 2
	Worker_Binding_Which_data                   Worker_Binding_Which = 3
	Worker_Binding_Which_json                   Worker_Binding_Which = 4
	Worker_Binding_Which_wasmModule             Worker_Binding_Which = 5
	Worker_Binding_Which_cryptoKey              Worker_Binding_Which = 6
	Worker_Binding_Which_service                Worker_Binding_Which = 7
	Worker_Binding_Which_durableObjectClass     Worker_Binding_Which = 19
	Worker_Binding_Which_durableObjectNamespace Worker_Binding_Which = 8
	Worker_Binding_Which_kvNamespace            Worker_Binding_Which = 9
	Worker_Binding_Which_r2Bucket               Worker_Binding_Which = 10
	Worker_Binding_Which_obsolete0              Worker_Binding_Which = 11
	Worker_Binding_Which_wrapped                Worker_Binding_Which = 12
	Worker_Binding_Which_queue                  Worker_Binding_Which = 13
	Worker_Binding_Which_fromEnvironment        Worker_Binding_Which = 14
	Worker_Binding_Which_analyticsEngine        Worker_Binding_Which = 15
	Worker_Binding_Which_hyperdrive             Worker_Binding_Which = 16
	Worker_Binding_Which_unsafeEval             Worker_Binding_Which = 17
	Worker_Binding_Which_memoryCache            Worker_Binding_Which = 18
	Worker_Binding_Which_workerLoader           Worker_Binding_Which = 20
	Worker_Binding_Which_workerdDebugPort       Worker_Binding_Which = 21
)

func (Worker_Binding_Which) String

func (w Worker_Binding_Which) String() string

type Worker_Binding_WrappedBinding

type Worker_Binding_WrappedBinding capnp.Struct

func NewRootWorker_Binding_WrappedBinding

func NewRootWorker_Binding_WrappedBinding(s *capnp.Segment) (Worker_Binding_WrappedBinding, error)

func NewWorker_Binding_WrappedBinding

func NewWorker_Binding_WrappedBinding(s *capnp.Segment) (Worker_Binding_WrappedBinding, error)

func ReadRootWorker_Binding_WrappedBinding

func ReadRootWorker_Binding_WrappedBinding(msg *capnp.Message) (Worker_Binding_WrappedBinding, error)

func (Worker_Binding_WrappedBinding) DecodeFromPtr

func (Worker_Binding_WrappedBinding) EncodeAsPtr

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

func (Worker_Binding_WrappedBinding) Entrypoint

func (s Worker_Binding_WrappedBinding) Entrypoint() (string, error)

func (Worker_Binding_WrappedBinding) EntrypointBytes

func (s Worker_Binding_WrappedBinding) EntrypointBytes() ([]byte, error)

func (Worker_Binding_WrappedBinding) HasEntrypoint

func (s Worker_Binding_WrappedBinding) HasEntrypoint() bool

func (Worker_Binding_WrappedBinding) HasInnerBindings

func (s Worker_Binding_WrappedBinding) HasInnerBindings() bool

func (Worker_Binding_WrappedBinding) HasModuleName

func (s Worker_Binding_WrappedBinding) HasModuleName() bool

func (Worker_Binding_WrappedBinding) InnerBindings

func (Worker_Binding_WrappedBinding) IsValid

func (s Worker_Binding_WrappedBinding) IsValid() bool

func (Worker_Binding_WrappedBinding) Message

func (Worker_Binding_WrappedBinding) ModuleName

func (s Worker_Binding_WrappedBinding) ModuleName() (string, error)

func (Worker_Binding_WrappedBinding) ModuleNameBytes

func (s Worker_Binding_WrappedBinding) ModuleNameBytes() ([]byte, error)

func (Worker_Binding_WrappedBinding) NewInnerBindings

NewInnerBindings sets the innerBindings field to a newly allocated Worker_Binding_List, preferring placement in s's segment.

func (Worker_Binding_WrappedBinding) Segment

func (Worker_Binding_WrappedBinding) SetEntrypoint

func (s Worker_Binding_WrappedBinding) SetEntrypoint(v string) error

func (Worker_Binding_WrappedBinding) SetInnerBindings

func (Worker_Binding_WrappedBinding) SetModuleName

func (s Worker_Binding_WrappedBinding) SetModuleName(v string) error

func (Worker_Binding_WrappedBinding) String

func (Worker_Binding_WrappedBinding) ToPtr

type Worker_Binding_WrappedBinding_Future

type Worker_Binding_WrappedBinding_Future struct{ *capnp.Future }

Worker_Binding_WrappedBinding_Future is a wrapper for a Worker_Binding_WrappedBinding promised by a client call.

func (Worker_Binding_WrappedBinding_Future) Struct

type Worker_Binding_WrappedBinding_List

type Worker_Binding_WrappedBinding_List = capnp.StructList[Worker_Binding_WrappedBinding]

Worker_Binding_WrappedBinding_List is a list of Worker_Binding_WrappedBinding.

func NewWorker_Binding_WrappedBinding_List

func NewWorker_Binding_WrappedBinding_List(s *capnp.Segment, sz int32) (Worker_Binding_WrappedBinding_List, error)

NewWorker_Binding_WrappedBinding creates a new list of Worker_Binding_WrappedBinding.

type Worker_Binding_hyperdrive

type Worker_Binding_hyperdrive Worker_Binding

func (Worker_Binding_hyperdrive) Database

func (s Worker_Binding_hyperdrive) Database() (string, error)

func (Worker_Binding_hyperdrive) DatabaseBytes

func (s Worker_Binding_hyperdrive) DatabaseBytes() ([]byte, error)

func (Worker_Binding_hyperdrive) Designator

func (Worker_Binding_hyperdrive) HasDatabase

func (s Worker_Binding_hyperdrive) HasDatabase() bool

func (Worker_Binding_hyperdrive) HasDesignator

func (s Worker_Binding_hyperdrive) HasDesignator() bool

func (Worker_Binding_hyperdrive) HasPassword

func (s Worker_Binding_hyperdrive) HasPassword() bool

func (Worker_Binding_hyperdrive) HasScheme

func (s Worker_Binding_hyperdrive) HasScheme() bool

func (Worker_Binding_hyperdrive) HasUser

func (s Worker_Binding_hyperdrive) HasUser() bool

func (Worker_Binding_hyperdrive) IsValid

func (s Worker_Binding_hyperdrive) IsValid() bool

func (Worker_Binding_hyperdrive) Message

func (Worker_Binding_hyperdrive) NewDesignator

func (s Worker_Binding_hyperdrive) NewDesignator() (ServiceDesignator, error)

NewDesignator sets the designator field to a newly allocated ServiceDesignator struct, preferring placement in s's segment.

func (Worker_Binding_hyperdrive) Password

func (s Worker_Binding_hyperdrive) Password() (string, error)

func (Worker_Binding_hyperdrive) PasswordBytes

func (s Worker_Binding_hyperdrive) PasswordBytes() ([]byte, error)

func (Worker_Binding_hyperdrive) Scheme

func (s Worker_Binding_hyperdrive) Scheme() (string, error)

func (Worker_Binding_hyperdrive) SchemeBytes

func (s Worker_Binding_hyperdrive) SchemeBytes() ([]byte, error)

func (Worker_Binding_hyperdrive) Segment

func (Worker_Binding_hyperdrive) SetDatabase

func (s Worker_Binding_hyperdrive) SetDatabase(v string) error

func (Worker_Binding_hyperdrive) SetDesignator

func (Worker_Binding_hyperdrive) SetPassword

func (s Worker_Binding_hyperdrive) SetPassword(v string) error

func (Worker_Binding_hyperdrive) SetScheme

func (s Worker_Binding_hyperdrive) SetScheme(v string) error

func (Worker_Binding_hyperdrive) SetUser

func (s Worker_Binding_hyperdrive) SetUser(v string) error

func (Worker_Binding_hyperdrive) User

func (Worker_Binding_hyperdrive) UserBytes

func (s Worker_Binding_hyperdrive) UserBytes() ([]byte, error)

type Worker_Binding_hyperdrive_Future

type Worker_Binding_hyperdrive_Future struct{ *capnp.Future }

Worker_Binding_hyperdrive_Future is a wrapper for a Worker_Binding_hyperdrive promised by a client call.

func (Worker_Binding_hyperdrive_Future) Designator

func (Worker_Binding_hyperdrive_Future) Struct

type Worker_Binding_memoryCache

type Worker_Binding_memoryCache Worker_Binding

func (Worker_Binding_memoryCache) HasId

func (s Worker_Binding_memoryCache) HasId() bool

func (Worker_Binding_memoryCache) HasLimits

func (s Worker_Binding_memoryCache) HasLimits() bool

func (Worker_Binding_memoryCache) Id

func (Worker_Binding_memoryCache) IdBytes

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

func (Worker_Binding_memoryCache) IsValid

func (s Worker_Binding_memoryCache) IsValid() bool

func (Worker_Binding_memoryCache) Limits

func (Worker_Binding_memoryCache) Message

func (Worker_Binding_memoryCache) NewLimits

NewLimits sets the limits field to a newly allocated Worker_Binding_MemoryCacheLimits struct, preferring placement in s's segment.

func (Worker_Binding_memoryCache) Segment

func (Worker_Binding_memoryCache) SetId

func (Worker_Binding_memoryCache) SetLimits

type Worker_Binding_memoryCache_Future

type Worker_Binding_memoryCache_Future struct{ *capnp.Future }

Worker_Binding_memoryCache_Future is a wrapper for a Worker_Binding_memoryCache promised by a client call.

func (Worker_Binding_memoryCache_Future) Limits

func (Worker_Binding_memoryCache_Future) Struct

type Worker_Binding_parameter

type Worker_Binding_parameter Worker_Binding

func (Worker_Binding_parameter) HasType

func (s Worker_Binding_parameter) HasType() bool

func (Worker_Binding_parameter) IsValid

func (s Worker_Binding_parameter) IsValid() bool

func (Worker_Binding_parameter) Message

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

func (Worker_Binding_parameter) NewType

NewType sets the type field to a newly allocated Worker_Binding_Type struct, preferring placement in s's segment.

func (Worker_Binding_parameter) Optional

func (s Worker_Binding_parameter) Optional() bool

func (Worker_Binding_parameter) Segment

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

func (Worker_Binding_parameter) SetOptional

func (s Worker_Binding_parameter) SetOptional(v bool)

func (Worker_Binding_parameter) SetType

func (Worker_Binding_parameter) Type

type Worker_Binding_parameter_Future

type Worker_Binding_parameter_Future struct{ *capnp.Future }

Worker_Binding_parameter_Future is a wrapper for a Worker_Binding_parameter promised by a client call.

func (Worker_Binding_parameter_Future) Struct

func (Worker_Binding_parameter_Future) Type

type Worker_Binding_workerLoader

type Worker_Binding_workerLoader Worker_Binding

func (Worker_Binding_workerLoader) HasId

func (Worker_Binding_workerLoader) Id

func (Worker_Binding_workerLoader) IdBytes

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

func (Worker_Binding_workerLoader) IsValid

func (s Worker_Binding_workerLoader) IsValid() bool

func (Worker_Binding_workerLoader) Message

func (Worker_Binding_workerLoader) Segment

func (Worker_Binding_workerLoader) SetId

type Worker_Binding_workerLoader_Future

type Worker_Binding_workerLoader_Future struct{ *capnp.Future }

Worker_Binding_workerLoader_Future is a wrapper for a Worker_Binding_workerLoader promised by a client call.

func (Worker_Binding_workerLoader_Future) Struct

type Worker_DockerConfiguration

type Worker_DockerConfiguration capnp.Struct

func NewRootWorker_DockerConfiguration

func NewRootWorker_DockerConfiguration(s *capnp.Segment) (Worker_DockerConfiguration, error)

func NewWorker_DockerConfiguration

func NewWorker_DockerConfiguration(s *capnp.Segment) (Worker_DockerConfiguration, error)

func ReadRootWorker_DockerConfiguration

func ReadRootWorker_DockerConfiguration(msg *capnp.Message) (Worker_DockerConfiguration, error)

func (Worker_DockerConfiguration) ContainerEgressInterceptorImage

func (s Worker_DockerConfiguration) ContainerEgressInterceptorImage() (string, error)

func (Worker_DockerConfiguration) ContainerEgressInterceptorImageBytes

func (s Worker_DockerConfiguration) ContainerEgressInterceptorImageBytes() ([]byte, error)

func (Worker_DockerConfiguration) DecodeFromPtr

func (Worker_DockerConfiguration) EncodeAsPtr

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

func (Worker_DockerConfiguration) HasContainerEgressInterceptorImage

func (s Worker_DockerConfiguration) HasContainerEgressInterceptorImage() bool

func (Worker_DockerConfiguration) HasSocketPath

func (s Worker_DockerConfiguration) HasSocketPath() bool

func (Worker_DockerConfiguration) IsValid

func (s Worker_DockerConfiguration) IsValid() bool

func (Worker_DockerConfiguration) Message

func (Worker_DockerConfiguration) Segment

func (Worker_DockerConfiguration) SetContainerEgressInterceptorImage

func (s Worker_DockerConfiguration) SetContainerEgressInterceptorImage(v string) error

func (Worker_DockerConfiguration) SetSocketPath

func (s Worker_DockerConfiguration) SetSocketPath(v string) error

func (Worker_DockerConfiguration) SocketPath

func (s Worker_DockerConfiguration) SocketPath() (string, error)

func (Worker_DockerConfiguration) SocketPathBytes

func (s Worker_DockerConfiguration) SocketPathBytes() ([]byte, error)

func (Worker_DockerConfiguration) String

func (Worker_DockerConfiguration) ToPtr

type Worker_DockerConfiguration_Future

type Worker_DockerConfiguration_Future struct{ *capnp.Future }

Worker_DockerConfiguration_Future is a wrapper for a Worker_DockerConfiguration promised by a client call.

func (Worker_DockerConfiguration_Future) Struct

type Worker_DockerConfiguration_List

type Worker_DockerConfiguration_List = capnp.StructList[Worker_DockerConfiguration]

Worker_DockerConfiguration_List is a list of Worker_DockerConfiguration.

func NewWorker_DockerConfiguration_List

func NewWorker_DockerConfiguration_List(s *capnp.Segment, sz int32) (Worker_DockerConfiguration_List, error)

NewWorker_DockerConfiguration creates a new list of Worker_DockerConfiguration.

type Worker_DurableObjectNamespace

type Worker_DurableObjectNamespace capnp.Struct

func NewRootWorker_DurableObjectNamespace

func NewRootWorker_DurableObjectNamespace(s *capnp.Segment) (Worker_DurableObjectNamespace, error)

func NewWorker_DurableObjectNamespace

func NewWorker_DurableObjectNamespace(s *capnp.Segment) (Worker_DurableObjectNamespace, error)

func ReadRootWorker_DurableObjectNamespace

func ReadRootWorker_DurableObjectNamespace(msg *capnp.Message) (Worker_DurableObjectNamespace, error)

func (Worker_DurableObjectNamespace) ClassName

func (s Worker_DurableObjectNamespace) ClassName() (string, error)

func (Worker_DurableObjectNamespace) ClassNameBytes

func (s Worker_DurableObjectNamespace) ClassNameBytes() ([]byte, error)

func (Worker_DurableObjectNamespace) Container

func (Worker_DurableObjectNamespace) DecodeFromPtr

func (Worker_DurableObjectNamespace) EnableSql

func (s Worker_DurableObjectNamespace) EnableSql() bool

func (Worker_DurableObjectNamespace) EncodeAsPtr

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

func (Worker_DurableObjectNamespace) HasClassName

func (s Worker_DurableObjectNamespace) HasClassName() bool

func (Worker_DurableObjectNamespace) HasContainer

func (s Worker_DurableObjectNamespace) HasContainer() bool

func (Worker_DurableObjectNamespace) HasUniqueKey

func (s Worker_DurableObjectNamespace) HasUniqueKey() bool

func (Worker_DurableObjectNamespace) IsValid

func (s Worker_DurableObjectNamespace) IsValid() bool

func (Worker_DurableObjectNamespace) Message

func (Worker_DurableObjectNamespace) NewContainer

NewContainer sets the container field to a newly allocated Worker_DurableObjectNamespace_ContainerOptions struct, preferring placement in s's segment.

func (Worker_DurableObjectNamespace) PreventEviction

func (s Worker_DurableObjectNamespace) PreventEviction() bool

func (Worker_DurableObjectNamespace) Segment

func (Worker_DurableObjectNamespace) SetClassName

func (s Worker_DurableObjectNamespace) SetClassName(v string) error

func (Worker_DurableObjectNamespace) SetContainer

func (Worker_DurableObjectNamespace) SetEnableSql

func (s Worker_DurableObjectNamespace) SetEnableSql(v bool)

func (Worker_DurableObjectNamespace) SetEphemeralLocal

func (s Worker_DurableObjectNamespace) SetEphemeralLocal()

func (Worker_DurableObjectNamespace) SetPreventEviction

func (s Worker_DurableObjectNamespace) SetPreventEviction(v bool)

func (Worker_DurableObjectNamespace) SetUniqueKey

func (s Worker_DurableObjectNamespace) SetUniqueKey(v string) error

func (Worker_DurableObjectNamespace) String

func (Worker_DurableObjectNamespace) ToPtr

func (Worker_DurableObjectNamespace) UniqueKey

func (s Worker_DurableObjectNamespace) UniqueKey() (string, error)

func (Worker_DurableObjectNamespace) UniqueKeyBytes

func (s Worker_DurableObjectNamespace) UniqueKeyBytes() ([]byte, error)

func (Worker_DurableObjectNamespace) Which

type Worker_DurableObjectNamespace_ContainerOptions

type Worker_DurableObjectNamespace_ContainerOptions capnp.Struct

func ReadRootWorker_DurableObjectNamespace_ContainerOptions

func ReadRootWorker_DurableObjectNamespace_ContainerOptions(msg *capnp.Message) (Worker_DurableObjectNamespace_ContainerOptions, error)

func (Worker_DurableObjectNamespace_ContainerOptions) DecodeFromPtr

func (Worker_DurableObjectNamespace_ContainerOptions) EncodeAsPtr

func (Worker_DurableObjectNamespace_ContainerOptions) HasImageName

func (Worker_DurableObjectNamespace_ContainerOptions) ImageName

func (Worker_DurableObjectNamespace_ContainerOptions) ImageNameBytes

func (Worker_DurableObjectNamespace_ContainerOptions) IsValid

func (Worker_DurableObjectNamespace_ContainerOptions) Message

func (Worker_DurableObjectNamespace_ContainerOptions) Segment

func (Worker_DurableObjectNamespace_ContainerOptions) SetImageName

func (Worker_DurableObjectNamespace_ContainerOptions) String

func (Worker_DurableObjectNamespace_ContainerOptions) ToPtr

type Worker_DurableObjectNamespace_ContainerOptions_Future

type Worker_DurableObjectNamespace_ContainerOptions_Future struct{ *capnp.Future }

Worker_DurableObjectNamespace_ContainerOptions_Future is a wrapper for a Worker_DurableObjectNamespace_ContainerOptions promised by a client call.

func (Worker_DurableObjectNamespace_ContainerOptions_Future) Struct

type Worker_DurableObjectNamespace_ContainerOptions_List

type Worker_DurableObjectNamespace_ContainerOptions_List = capnp.StructList[Worker_DurableObjectNamespace_ContainerOptions]

Worker_DurableObjectNamespace_ContainerOptions_List is a list of Worker_DurableObjectNamespace_ContainerOptions.

func NewWorker_DurableObjectNamespace_ContainerOptions_List

func NewWorker_DurableObjectNamespace_ContainerOptions_List(s *capnp.Segment, sz int32) (Worker_DurableObjectNamespace_ContainerOptions_List, error)

NewWorker_DurableObjectNamespace_ContainerOptions creates a new list of Worker_DurableObjectNamespace_ContainerOptions.

type Worker_DurableObjectNamespace_Future

type Worker_DurableObjectNamespace_Future struct{ *capnp.Future }

Worker_DurableObjectNamespace_Future is a wrapper for a Worker_DurableObjectNamespace promised by a client call.

func (Worker_DurableObjectNamespace_Future) Container

func (Worker_DurableObjectNamespace_Future) Struct

type Worker_DurableObjectNamespace_List

type Worker_DurableObjectNamespace_List = capnp.StructList[Worker_DurableObjectNamespace]

Worker_DurableObjectNamespace_List is a list of Worker_DurableObjectNamespace.

func NewWorker_DurableObjectNamespace_List

func NewWorker_DurableObjectNamespace_List(s *capnp.Segment, sz int32) (Worker_DurableObjectNamespace_List, error)

NewWorker_DurableObjectNamespace creates a new list of Worker_DurableObjectNamespace.

type Worker_DurableObjectNamespace_Which

type Worker_DurableObjectNamespace_Which uint16
const (
	Worker_DurableObjectNamespace_Which_uniqueKey      Worker_DurableObjectNamespace_Which = 0
	Worker_DurableObjectNamespace_Which_ephemeralLocal Worker_DurableObjectNamespace_Which = 1
)

func (Worker_DurableObjectNamespace_Which) String

type Worker_Future

type Worker_Future struct{ *capnp.Future }

Worker_Future is a wrapper for a Worker promised by a client call.

func (Worker_Future) CacheApiOutbound

func (p Worker_Future) CacheApiOutbound() ServiceDesignator_Future

func (Worker_Future) ContainerEngine

func (p Worker_Future) ContainerEngine() Worker_containerEngine_Future

func (Worker_Future) DurableObjectStorage

func (p Worker_Future) DurableObjectStorage() Worker_durableObjectStorage_Future

func (Worker_Future) GlobalOutbound

func (p Worker_Future) GlobalOutbound() ServiceDesignator_Future

func (Worker_Future) Struct

func (f Worker_Future) Struct() (Worker, error)

type Worker_List

type Worker_List = capnp.StructList[Worker]

Worker_List is a list of Worker.

func NewWorker_List

func NewWorker_List(s *capnp.Segment, sz int32) (Worker_List, error)

NewWorker creates a new list of Worker.

type Worker_Module

type Worker_Module capnp.Struct

func NewRootWorker_Module

func NewRootWorker_Module(s *capnp.Segment) (Worker_Module, error)

func NewWorker_Module

func NewWorker_Module(s *capnp.Segment) (Worker_Module, error)

func ReadRootWorker_Module

func ReadRootWorker_Module(msg *capnp.Message) (Worker_Module, error)

func (Worker_Module) CommonJsModule

func (s Worker_Module) CommonJsModule() (string, error)

func (Worker_Module) CommonJsModuleBytes

func (s Worker_Module) CommonJsModuleBytes() ([]byte, error)

func (Worker_Module) Data

func (s Worker_Module) Data() ([]byte, error)

func (Worker_Module) DecodeFromPtr

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

func (Worker_Module) EncodeAsPtr

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

func (Worker_Module) EsModule

func (s Worker_Module) EsModule() (string, error)

func (Worker_Module) EsModuleBytes

func (s Worker_Module) EsModuleBytes() ([]byte, error)

func (Worker_Module) HasCommonJsModule

func (s Worker_Module) HasCommonJsModule() bool

func (Worker_Module) HasData

func (s Worker_Module) HasData() bool

func (Worker_Module) HasEsModule

func (s Worker_Module) HasEsModule() bool

func (Worker_Module) HasJson

func (s Worker_Module) HasJson() bool

func (Worker_Module) HasName

func (s Worker_Module) HasName() bool

func (Worker_Module) HasNamedExports

func (s Worker_Module) HasNamedExports() bool

func (Worker_Module) HasObsolete

func (s Worker_Module) HasObsolete() bool

func (Worker_Module) HasObsoletePythonRequirement

func (s Worker_Module) HasObsoletePythonRequirement() bool

func (Worker_Module) HasPythonModule

func (s Worker_Module) HasPythonModule() bool

func (Worker_Module) HasText

func (s Worker_Module) HasText() bool

func (Worker_Module) HasWasm

func (s Worker_Module) HasWasm() bool

func (Worker_Module) IsValid

func (s Worker_Module) IsValid() bool

func (Worker_Module) Json

func (s Worker_Module) Json() (string, error)

func (Worker_Module) JsonBytes

func (s Worker_Module) JsonBytes() ([]byte, error)

func (Worker_Module) Message

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

func (Worker_Module) Name

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

func (Worker_Module) NameBytes

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

func (Worker_Module) NamedExports

func (s Worker_Module) NamedExports() (capnp.TextList, error)

func (Worker_Module) NewNamedExports

func (s Worker_Module) NewNamedExports(n int32) (capnp.TextList, error)

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

func (Worker_Module) Obsolete

func (s Worker_Module) Obsolete() (string, error)

func (Worker_Module) ObsoleteBytes

func (s Worker_Module) ObsoleteBytes() ([]byte, error)

func (Worker_Module) ObsoletePythonRequirement

func (s Worker_Module) ObsoletePythonRequirement() (string, error)

func (Worker_Module) ObsoletePythonRequirementBytes

func (s Worker_Module) ObsoletePythonRequirementBytes() ([]byte, error)

func (Worker_Module) PythonModule

func (s Worker_Module) PythonModule() (string, error)

func (Worker_Module) PythonModuleBytes

func (s Worker_Module) PythonModuleBytes() ([]byte, error)

func (Worker_Module) Segment

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

func (Worker_Module) SetCommonJsModule

func (s Worker_Module) SetCommonJsModule(v string) error

func (Worker_Module) SetData

func (s Worker_Module) SetData(v []byte) error

func (Worker_Module) SetEsModule

func (s Worker_Module) SetEsModule(v string) error

func (Worker_Module) SetJson

func (s Worker_Module) SetJson(v string) error

func (Worker_Module) SetName

func (s Worker_Module) SetName(v string) error

func (Worker_Module) SetNamedExports

func (s Worker_Module) SetNamedExports(v capnp.TextList) error

func (Worker_Module) SetObsolete

func (s Worker_Module) SetObsolete(v string) error

func (Worker_Module) SetObsoletePythonRequirement

func (s Worker_Module) SetObsoletePythonRequirement(v string) error

func (Worker_Module) SetPythonModule

func (s Worker_Module) SetPythonModule(v string) error

func (Worker_Module) SetText

func (s Worker_Module) SetText(v string) error

func (Worker_Module) SetWasm

func (s Worker_Module) SetWasm(v []byte) error

func (Worker_Module) String

func (s Worker_Module) String() string

func (Worker_Module) Text

func (s Worker_Module) Text() (string, error)

func (Worker_Module) TextBytes

func (s Worker_Module) TextBytes() ([]byte, error)

func (Worker_Module) ToPtr

func (s Worker_Module) ToPtr() capnp.Ptr

func (Worker_Module) Wasm

func (s Worker_Module) Wasm() ([]byte, error)

func (Worker_Module) Which

type Worker_Module_Future

type Worker_Module_Future struct{ *capnp.Future }

Worker_Module_Future is a wrapper for a Worker_Module promised by a client call.

func (Worker_Module_Future) Struct

type Worker_Module_List

type Worker_Module_List = capnp.StructList[Worker_Module]

Worker_Module_List is a list of Worker_Module.

func NewWorker_Module_List

func NewWorker_Module_List(s *capnp.Segment, sz int32) (Worker_Module_List, error)

NewWorker_Module creates a new list of Worker_Module.

type Worker_Module_Which

type Worker_Module_Which uint16
const (
	Worker_Module_Which_esModule                  Worker_Module_Which = 0
	Worker_Module_Which_commonJsModule            Worker_Module_Which = 1
	Worker_Module_Which_text                      Worker_Module_Which = 2
	Worker_Module_Which_data                      Worker_Module_Which = 3
	Worker_Module_Which_wasm                      Worker_Module_Which = 4
	Worker_Module_Which_json                      Worker_Module_Which = 5
	Worker_Module_Which_obsolete                  Worker_Module_Which = 6
	Worker_Module_Which_pythonModule              Worker_Module_Which = 7
	Worker_Module_Which_obsoletePythonRequirement Worker_Module_Which = 8
)

func (Worker_Module_Which) String

func (w Worker_Module_Which) String() string

type Worker_Which

type Worker_Which uint16
const (
	Worker_Which_modules             Worker_Which = 0
	Worker_Which_serviceWorkerScript Worker_Which = 1
	Worker_Which_inherit             Worker_Which = 2
)

func (Worker_Which) String

func (w Worker_Which) String() string

type Worker_containerEngine

type Worker_containerEngine Worker

func (Worker_containerEngine) HasLocalDocker

func (s Worker_containerEngine) HasLocalDocker() bool

func (Worker_containerEngine) IsValid

func (s Worker_containerEngine) IsValid() bool

func (Worker_containerEngine) LocalDocker

func (Worker_containerEngine) Message

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

func (Worker_containerEngine) NewLocalDocker

NewLocalDocker sets the localDocker field to a newly allocated Worker_DockerConfiguration struct, preferring placement in s's segment.

func (Worker_containerEngine) Segment

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

func (Worker_containerEngine) SetLocalDocker

func (Worker_containerEngine) SetNone

func (s Worker_containerEngine) SetNone()

func (Worker_containerEngine) Which

type Worker_containerEngine_Future

type Worker_containerEngine_Future struct{ *capnp.Future }

Worker_containerEngine_Future is a wrapper for a Worker_containerEngine promised by a client call.

func (Worker_containerEngine_Future) LocalDocker

func (Worker_containerEngine_Future) Struct

type Worker_containerEngine_Which

type Worker_containerEngine_Which uint16
const (
	Worker_containerEngine_Which_none        Worker_containerEngine_Which = 0
	Worker_containerEngine_Which_localDocker Worker_containerEngine_Which = 1
)

func (Worker_containerEngine_Which) String

type Worker_durableObjectStorage

type Worker_durableObjectStorage Worker

func (Worker_durableObjectStorage) HasLocalDisk

func (s Worker_durableObjectStorage) HasLocalDisk() bool

func (Worker_durableObjectStorage) IsValid

func (s Worker_durableObjectStorage) IsValid() bool

func (Worker_durableObjectStorage) LocalDisk

func (s Worker_durableObjectStorage) LocalDisk() (string, error)

func (Worker_durableObjectStorage) LocalDiskBytes

func (s Worker_durableObjectStorage) LocalDiskBytes() ([]byte, error)

func (Worker_durableObjectStorage) Message

func (Worker_durableObjectStorage) Segment

func (Worker_durableObjectStorage) SetInMemory

func (s Worker_durableObjectStorage) SetInMemory()

func (Worker_durableObjectStorage) SetLocalDisk

func (s Worker_durableObjectStorage) SetLocalDisk(v string) error

func (Worker_durableObjectStorage) SetNone

func (s Worker_durableObjectStorage) SetNone()

func (Worker_durableObjectStorage) Which

type Worker_durableObjectStorage_Future

type Worker_durableObjectStorage_Future struct{ *capnp.Future }

Worker_durableObjectStorage_Future is a wrapper for a Worker_durableObjectStorage promised by a client call.

func (Worker_durableObjectStorage_Future) Struct

type Worker_durableObjectStorage_Which

type Worker_durableObjectStorage_Which uint16
const (
	Worker_durableObjectStorage_Which_none      Worker_durableObjectStorage_Which = 0
	Worker_durableObjectStorage_Which_inMemory  Worker_durableObjectStorage_Which = 1
	Worker_durableObjectStorage_Which_localDisk Worker_durableObjectStorage_Which = 2
)

func (Worker_durableObjectStorage_Which) String

Jump to

Keyboard shortcuts

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