controlsocket

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

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

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

Documentation

Index

Constants

View Source
const Controller_TypeID = 0xd2279138704f4cad

Controller_TypeID is the unique identifier for the type Controller.

View Source
const Controller_devShell_Params_TypeID = 0x9780c0aba70a923b

Controller_devShell_Params_TypeID is the unique identifier for the type Controller_devShell_Params.

View Source
const Controller_devShell_Results_TypeID = 0xc98eacc122f91e21

Controller_devShell_Results_TypeID is the unique identifier for the type Controller_devShell_Results.

View Source
const Controller_dev_Params_TypeID = 0xaf8f237f68a73560

Controller_dev_Params_TypeID is the unique identifier for the type Controller_dev_Params.

View Source
const Controller_dev_Results_TypeID = 0xd4a47427f5ca501b

Controller_dev_Results_TypeID is the unique identifier for the type Controller_dev_Results.

View Source
const (
	Controller_socketPath = "/var/sandstorm/socket/control"
)

Constants defined in control-socket.capnp.

View Source
const DevSession_TypeID = 0xc0433f3776e7c305

DevSession_TypeID is the unique identifier for the type DevSession.

View Source
const DevSession_updateManifest_Params_TypeID = 0xbff8c51eccea5f2d

DevSession_updateManifest_Params_TypeID is the unique identifier for the type DevSession_updateManifest_Params.

View Source
const DevSession_updateManifest_Results_TypeID = 0x93f10e053f665a30

DevSession_updateManifest_Results_TypeID is the unique identifier for the type DevSession_updateManifest_Results.

View Source
const FileDescriptor_TypeID = 0xd9ccfac7d7a20cc0

FileDescriptor_TypeID is the unique identifier for the type FileDescriptor.

View Source
const ShellFDs_TypeID = 0xa58abe200abe0444

ShellFDs_TypeID is the unique identifier for the type ShellFDs.

Variables

This section is empty.

Functions

func Controller_Methods

func Controller_Methods(methods []server.Method, s Controller_Server) []server.Method

Controller_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func Controller_NewServer

func Controller_NewServer(s Controller_Server) *server.Server

Controller_NewServer creates a new Server from an implementation of Controller_Server.

func DevSession_Methods

func DevSession_Methods(methods []server.Method, s DevSession_Server) []server.Method

DevSession_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func DevSession_NewServer

func DevSession_NewServer(s DevSession_Server) *server.Server

DevSession_NewServer creates a new Server from an implementation of DevSession_Server.

func FileDescriptor_Methods

func FileDescriptor_Methods(methods []server.Method, s FileDescriptor_Server) []server.Method

FileDescriptor_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func FileDescriptor_NewServer

func FileDescriptor_NewServer(s FileDescriptor_Server) *server.Server

FileDescriptor_NewServer creates a new Server from an implementation of FileDescriptor_Server.

Types

type Controller

type Controller capnp.Client

func Controller_ServerToClient

func Controller_ServerToClient(s Controller_Server) Controller

Controller_ServerToClient creates a new Client from an implementation of Controller_Server. The caller is responsible for calling Release on the returned Client.

func (Controller) AddRef

func (c Controller) AddRef() Controller

AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.

func (Controller) DecodeFromPtr

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

func (Controller) Dev

func (Controller) DevShell

func (Controller) EncodeAsPtr

func (c Controller) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Controller) GetFlowLimiter

func (c Controller) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (Controller) IsSame

func (c Controller) IsSame(other Controller) bool

IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.

func (Controller) IsValid

func (c Controller) IsValid() bool

IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.

func (Controller) Release

func (c Controller) Release()

Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.

Release will panic if c has already been released, but not if c is nil or resolved to null.

func (Controller) Resolve

func (c Controller) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (Controller) SetFlowLimiter

func (c Controller) SetFlowLimiter(lim fc.FlowLimiter)

Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.

func (Controller) String

func (c Controller) String() string

String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.

type Controller_List

type Controller_List = capnp.CapList[Controller]

Controller_List is a list of Controller.

func NewController_List

func NewController_List(s *capnp.Segment, sz int32) (Controller_List, error)

NewController creates a new list of Controller.

type Controller_Server

type Controller_Server interface {
	DevShell(context.Context, Controller_devShell) error

	Dev(context.Context, Controller_dev) error
}

type Controller_dev

type Controller_dev struct {
	*server.Call
}

Controller_dev holds the state for a server call to Controller.dev. See server.Call for documentation.

func (Controller_dev) AllocResults

func (c Controller_dev) AllocResults() (Controller_dev_Results, error)

AllocResults allocates the results struct.

func (Controller_dev) Args

Args returns the call's arguments.

type Controller_devShell

type Controller_devShell struct {
	*server.Call
}

Controller_devShell holds the state for a server call to Controller.devShell. See server.Call for documentation.

func (Controller_devShell) AllocResults

AllocResults allocates the results struct.

func (Controller_devShell) Args

Args returns the call's arguments.

type Controller_devShell_Params

type Controller_devShell_Params capnp.Struct

func NewController_devShell_Params

func NewController_devShell_Params(s *capnp.Segment) (Controller_devShell_Params, error)

func NewRootController_devShell_Params

func NewRootController_devShell_Params(s *capnp.Segment) (Controller_devShell_Params, error)

func ReadRootController_devShell_Params

func ReadRootController_devShell_Params(msg *capnp.Message) (Controller_devShell_Params, error)

func (Controller_devShell_Params) DecodeFromPtr

func (Controller_devShell_Params) EncodeAsPtr

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

func (Controller_devShell_Params) IsValid

func (s Controller_devShell_Params) IsValid() bool

func (Controller_devShell_Params) Message

func (Controller_devShell_Params) Segment

func (Controller_devShell_Params) String

func (Controller_devShell_Params) ToPtr

type Controller_devShell_Params_Future

type Controller_devShell_Params_Future struct{ *capnp.Future }

Controller_devShell_Params_Future is a wrapper for a Controller_devShell_Params promised by a client call.

func (Controller_devShell_Params_Future) Struct

type Controller_devShell_Params_List

type Controller_devShell_Params_List = capnp.StructList[Controller_devShell_Params]

Controller_devShell_Params_List is a list of Controller_devShell_Params.

func NewController_devShell_Params_List

func NewController_devShell_Params_List(s *capnp.Segment, sz int32) (Controller_devShell_Params_List, error)

NewController_devShell_Params creates a new list of Controller_devShell_Params.

type Controller_devShell_Results

type Controller_devShell_Results capnp.Struct

func NewController_devShell_Results

func NewController_devShell_Results(s *capnp.Segment) (Controller_devShell_Results, error)

func NewRootController_devShell_Results

func NewRootController_devShell_Results(s *capnp.Segment) (Controller_devShell_Results, error)

func ReadRootController_devShell_Results

func ReadRootController_devShell_Results(msg *capnp.Message) (Controller_devShell_Results, error)

func (Controller_devShell_Results) DecodeFromPtr

func (Controller_devShell_Results) EncodeAsPtr

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

func (Controller_devShell_Results) Handle

func (Controller_devShell_Results) HasHandle

func (s Controller_devShell_Results) HasHandle() bool

func (Controller_devShell_Results) HasShellFds

func (s Controller_devShell_Results) HasShellFds() bool

func (Controller_devShell_Results) IsValid

func (s Controller_devShell_Results) IsValid() bool

func (Controller_devShell_Results) Message

func (Controller_devShell_Results) NewShellFds

func (s Controller_devShell_Results) NewShellFds() (ShellFDs, error)

NewShellFds sets the shellFds field to a newly allocated ShellFDs struct, preferring placement in s's segment.

func (Controller_devShell_Results) Segment

func (Controller_devShell_Results) SetHandle

func (Controller_devShell_Results) SetShellFds

func (s Controller_devShell_Results) SetShellFds(v ShellFDs) error

func (Controller_devShell_Results) ShellFds

func (s Controller_devShell_Results) ShellFds() (ShellFDs, error)

func (Controller_devShell_Results) String

func (Controller_devShell_Results) ToPtr

type Controller_devShell_Results_Future

type Controller_devShell_Results_Future struct{ *capnp.Future }

Controller_devShell_Results_Future is a wrapper for a Controller_devShell_Results promised by a client call.

func (Controller_devShell_Results_Future) Handle

func (Controller_devShell_Results_Future) ShellFds

func (Controller_devShell_Results_Future) Struct

type Controller_devShell_Results_List

type Controller_devShell_Results_List = capnp.StructList[Controller_devShell_Results]

Controller_devShell_Results_List is a list of Controller_devShell_Results.

func NewController_devShell_Results_List

func NewController_devShell_Results_List(s *capnp.Segment, sz int32) (Controller_devShell_Results_List, error)

NewController_devShell_Results creates a new list of Controller_devShell_Results.

type Controller_dev_Params

type Controller_dev_Params capnp.Struct

func NewController_dev_Params

func NewController_dev_Params(s *capnp.Segment) (Controller_dev_Params, error)

func NewRootController_dev_Params

func NewRootController_dev_Params(s *capnp.Segment) (Controller_dev_Params, error)

func ReadRootController_dev_Params

func ReadRootController_dev_Params(msg *capnp.Message) (Controller_dev_Params, error)

func (Controller_dev_Params) AppId

func (s Controller_dev_Params) AppId() (string, error)

func (Controller_dev_Params) AppIdBytes

func (s Controller_dev_Params) AppIdBytes() ([]byte, error)

func (Controller_dev_Params) DecodeFromPtr

func (Controller_dev_Params) EncodeAsPtr

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

func (Controller_dev_Params) HasAppId

func (s Controller_dev_Params) HasAppId() bool

func (Controller_dev_Params) IsValid

func (s Controller_dev_Params) IsValid() bool

func (Controller_dev_Params) Message

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

func (Controller_dev_Params) Segment

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

func (Controller_dev_Params) SetAppId

func (s Controller_dev_Params) SetAppId(v string) error

func (Controller_dev_Params) String

func (s Controller_dev_Params) String() string

func (Controller_dev_Params) ToPtr

func (s Controller_dev_Params) ToPtr() capnp.Ptr

type Controller_dev_Params_Future

type Controller_dev_Params_Future struct{ *capnp.Future }

Controller_dev_Params_Future is a wrapper for a Controller_dev_Params promised by a client call.

func (Controller_dev_Params_Future) Struct

type Controller_dev_Params_List

type Controller_dev_Params_List = capnp.StructList[Controller_dev_Params]

Controller_dev_Params_List is a list of Controller_dev_Params.

func NewController_dev_Params_List

func NewController_dev_Params_List(s *capnp.Segment, sz int32) (Controller_dev_Params_List, error)

NewController_dev_Params creates a new list of Controller_dev_Params.

type Controller_dev_Results

type Controller_dev_Results capnp.Struct

func NewController_dev_Results

func NewController_dev_Results(s *capnp.Segment) (Controller_dev_Results, error)

func NewRootController_dev_Results

func NewRootController_dev_Results(s *capnp.Segment) (Controller_dev_Results, error)

func ReadRootController_dev_Results

func ReadRootController_dev_Results(msg *capnp.Message) (Controller_dev_Results, error)

func (Controller_dev_Results) DecodeFromPtr

func (Controller_dev_Results) EncodeAsPtr

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

func (Controller_dev_Results) FuseFd

func (Controller_dev_Results) HasFuseFd

func (s Controller_dev_Results) HasFuseFd() bool

func (Controller_dev_Results) HasSession

func (s Controller_dev_Results) HasSession() bool

func (Controller_dev_Results) IsValid

func (s Controller_dev_Results) IsValid() bool

func (Controller_dev_Results) Message

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

func (Controller_dev_Results) Segment

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

func (Controller_dev_Results) Session

func (s Controller_dev_Results) Session() DevSession

func (Controller_dev_Results) SetFuseFd

func (Controller_dev_Results) SetSession

func (s Controller_dev_Results) SetSession(v DevSession) error

func (Controller_dev_Results) String

func (s Controller_dev_Results) String() string

func (Controller_dev_Results) ToPtr

func (s Controller_dev_Results) ToPtr() capnp.Ptr

type Controller_dev_Results_Future

type Controller_dev_Results_Future struct{ *capnp.Future }

Controller_dev_Results_Future is a wrapper for a Controller_dev_Results promised by a client call.

func (Controller_dev_Results_Future) FuseFd

func (Controller_dev_Results_Future) Session

func (Controller_dev_Results_Future) Struct

type Controller_dev_Results_List

type Controller_dev_Results_List = capnp.StructList[Controller_dev_Results]

Controller_dev_Results_List is a list of Controller_dev_Results.

func NewController_dev_Results_List

func NewController_dev_Results_List(s *capnp.Segment, sz int32) (Controller_dev_Results_List, error)

NewController_dev_Results creates a new list of Controller_dev_Results.

type DevSession

type DevSession capnp.Client

func DevSession_ServerToClient

func DevSession_ServerToClient(s DevSession_Server) DevSession

DevSession_ServerToClient creates a new Client from an implementation of DevSession_Server. The caller is responsible for calling Release on the returned Client.

func (DevSession) AddRef

func (c DevSession) AddRef() DevSession

AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.

func (DevSession) DecodeFromPtr

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

func (DevSession) EncodeAsPtr

func (c DevSession) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (DevSession) GetFlowLimiter

func (c DevSession) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (DevSession) IsSame

func (c DevSession) IsSame(other DevSession) bool

IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.

func (DevSession) IsValid

func (c DevSession) IsValid() bool

IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.

func (DevSession) Release

func (c DevSession) Release()

Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.

Release will panic if c has already been released, but not if c is nil or resolved to null.

func (DevSession) Resolve

func (c DevSession) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (DevSession) SetFlowLimiter

func (c DevSession) SetFlowLimiter(lim fc.FlowLimiter)

Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.

func (DevSession) String

func (c DevSession) String() string

String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.

func (DevSession) UpdateManifest

type DevSession_List

type DevSession_List = capnp.CapList[DevSession]

DevSession_List is a list of DevSession.

func NewDevSession_List

func NewDevSession_List(s *capnp.Segment, sz int32) (DevSession_List, error)

NewDevSession creates a new list of DevSession.

type DevSession_Server

type DevSession_Server interface {
	UpdateManifest(context.Context, DevSession_updateManifest) error
}

type DevSession_updateManifest

type DevSession_updateManifest struct {
	*server.Call
}

DevSession_updateManifest holds the state for a server call to DevSession.updateManifest. See server.Call for documentation.

func (DevSession_updateManifest) AllocResults

AllocResults allocates the results struct.

func (DevSession_updateManifest) Args

Args returns the call's arguments.

type DevSession_updateManifest_Params

type DevSession_updateManifest_Params capnp.Struct

func NewDevSession_updateManifest_Params

func NewDevSession_updateManifest_Params(s *capnp.Segment) (DevSession_updateManifest_Params, error)

func NewRootDevSession_updateManifest_Params

func NewRootDevSession_updateManifest_Params(s *capnp.Segment) (DevSession_updateManifest_Params, error)

func ReadRootDevSession_updateManifest_Params

func ReadRootDevSession_updateManifest_Params(msg *capnp.Message) (DevSession_updateManifest_Params, error)

func (DevSession_updateManifest_Params) DecodeFromPtr

func (DevSession_updateManifest_Params) EncodeAsPtr

func (DevSession_updateManifest_Params) IsValid

func (DevSession_updateManifest_Params) Message

func (DevSession_updateManifest_Params) Segment

func (DevSession_updateManifest_Params) String

func (DevSession_updateManifest_Params) ToPtr

type DevSession_updateManifest_Params_Future

type DevSession_updateManifest_Params_Future struct{ *capnp.Future }

DevSession_updateManifest_Params_Future is a wrapper for a DevSession_updateManifest_Params promised by a client call.

func (DevSession_updateManifest_Params_Future) Struct

type DevSession_updateManifest_Params_List

type DevSession_updateManifest_Params_List = capnp.StructList[DevSession_updateManifest_Params]

DevSession_updateManifest_Params_List is a list of DevSession_updateManifest_Params.

func NewDevSession_updateManifest_Params_List

func NewDevSession_updateManifest_Params_List(s *capnp.Segment, sz int32) (DevSession_updateManifest_Params_List, error)

NewDevSession_updateManifest_Params creates a new list of DevSession_updateManifest_Params.

type DevSession_updateManifest_Results

type DevSession_updateManifest_Results capnp.Struct

func NewDevSession_updateManifest_Results

func NewDevSession_updateManifest_Results(s *capnp.Segment) (DevSession_updateManifest_Results, error)

func NewRootDevSession_updateManifest_Results

func NewRootDevSession_updateManifest_Results(s *capnp.Segment) (DevSession_updateManifest_Results, error)

func ReadRootDevSession_updateManifest_Results

func ReadRootDevSession_updateManifest_Results(msg *capnp.Message) (DevSession_updateManifest_Results, error)

func (DevSession_updateManifest_Results) DecodeFromPtr

func (DevSession_updateManifest_Results) EncodeAsPtr

func (DevSession_updateManifest_Results) IsValid

func (DevSession_updateManifest_Results) Message

func (DevSession_updateManifest_Results) Segment

func (DevSession_updateManifest_Results) String

func (DevSession_updateManifest_Results) ToPtr

type DevSession_updateManifest_Results_Future

type DevSession_updateManifest_Results_Future struct{ *capnp.Future }

DevSession_updateManifest_Results_Future is a wrapper for a DevSession_updateManifest_Results promised by a client call.

func (DevSession_updateManifest_Results_Future) Struct

type DevSession_updateManifest_Results_List

type DevSession_updateManifest_Results_List = capnp.StructList[DevSession_updateManifest_Results]

DevSession_updateManifest_Results_List is a list of DevSession_updateManifest_Results.

func NewDevSession_updateManifest_Results_List

func NewDevSession_updateManifest_Results_List(s *capnp.Segment, sz int32) (DevSession_updateManifest_Results_List, error)

NewDevSession_updateManifest_Results creates a new list of DevSession_updateManifest_Results.

type FileDescriptor

type FileDescriptor capnp.Client

func FileDescriptor_ServerToClient

func FileDescriptor_ServerToClient(s FileDescriptor_Server) FileDescriptor

FileDescriptor_ServerToClient creates a new Client from an implementation of FileDescriptor_Server. The caller is responsible for calling Release on the returned Client.

func (FileDescriptor) AddRef

func (c FileDescriptor) AddRef() FileDescriptor

AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.

func (FileDescriptor) DecodeFromPtr

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

func (FileDescriptor) EncodeAsPtr

func (c FileDescriptor) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (FileDescriptor) GetFlowLimiter

func (c FileDescriptor) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (FileDescriptor) IsSame

func (c FileDescriptor) IsSame(other FileDescriptor) bool

IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.

func (FileDescriptor) IsValid

func (c FileDescriptor) IsValid() bool

IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.

func (FileDescriptor) Release

func (c FileDescriptor) Release()

Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.

Release will panic if c has already been released, but not if c is nil or resolved to null.

func (FileDescriptor) Resolve

func (c FileDescriptor) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (FileDescriptor) SetFlowLimiter

func (c FileDescriptor) SetFlowLimiter(lim fc.FlowLimiter)

Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.

func (FileDescriptor) String

func (c FileDescriptor) String() string

String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.

type FileDescriptor_List

type FileDescriptor_List = capnp.CapList[FileDescriptor]

FileDescriptor_List is a list of FileDescriptor.

func NewFileDescriptor_List

func NewFileDescriptor_List(s *capnp.Segment, sz int32) (FileDescriptor_List, error)

NewFileDescriptor creates a new list of FileDescriptor.

type FileDescriptor_Server

type FileDescriptor_Server interface {
}

type ShellFDs

type ShellFDs capnp.Struct

func NewRootShellFDs

func NewRootShellFDs(s *capnp.Segment) (ShellFDs, error)

func NewShellFDs

func NewShellFDs(s *capnp.Segment) (ShellFDs, error)

func ReadRootShellFDs

func ReadRootShellFDs(msg *capnp.Message) (ShellFDs, error)

func (ShellFDs) AcceptHttp

func (s ShellFDs) AcceptHttp() FileDescriptor

func (ShellFDs) AcceptSmtp

func (s ShellFDs) AcceptSmtp() FileDescriptor

func (ShellFDs) ConnectBackend

func (s ShellFDs) ConnectBackend() FileDescriptor

func (ShellFDs) DecodeFromPtr

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

func (ShellFDs) EncodeAsPtr

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

func (ShellFDs) HasAcceptHttp

func (s ShellFDs) HasAcceptHttp() bool

func (ShellFDs) HasAcceptSmtp

func (s ShellFDs) HasAcceptSmtp() bool

func (ShellFDs) HasConnectBackend

func (s ShellFDs) HasConnectBackend() bool

func (ShellFDs) IsValid

func (s ShellFDs) IsValid() bool

func (ShellFDs) Message

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

func (ShellFDs) Segment

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

func (ShellFDs) SetAcceptHttp

func (s ShellFDs) SetAcceptHttp(v FileDescriptor) error

func (ShellFDs) SetAcceptSmtp

func (s ShellFDs) SetAcceptSmtp(v FileDescriptor) error

func (ShellFDs) SetConnectBackend

func (s ShellFDs) SetConnectBackend(v FileDescriptor) error

func (ShellFDs) String

func (s ShellFDs) String() string

func (ShellFDs) ToPtr

func (s ShellFDs) ToPtr() capnp.Ptr

type ShellFDs_Future

type ShellFDs_Future struct{ *capnp.Future }

ShellFDs_Future is a wrapper for a ShellFDs promised by a client call.

func (ShellFDs_Future) AcceptHttp

func (p ShellFDs_Future) AcceptHttp() FileDescriptor

func (ShellFDs_Future) AcceptSmtp

func (p ShellFDs_Future) AcceptSmtp() FileDescriptor

func (ShellFDs_Future) ConnectBackend

func (p ShellFDs_Future) ConnectBackend() FileDescriptor

func (ShellFDs_Future) Struct

func (f ShellFDs_Future) Struct() (ShellFDs, error)

type ShellFDs_List

type ShellFDs_List = capnp.StructList[ShellFDs]

ShellFDs_List is a list of ShellFDs.

func NewShellFDs_List

func NewShellFDs_List(s *capnp.Segment, sz int32) (ShellFDs_List, error)

NewShellFDs creates a new list of ShellFDs.

Jump to

Keyboard shortcuts

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