Documentation
¶
Index ¶
- Variables
- type WpSecurityContextManagerV1
- func (obj *WpSecurityContextManagerV1) Base() *wire.Object
- func (obj *WpSecurityContextManagerV1) Dispatch(msg *wire.Message) error
- func (obj *WpSecurityContextManagerV1) Handler() WpSecurityContextManagerV1Handler
- func (obj *WpSecurityContextManagerV1) ProtocolError(code WpSecurityContextManagerV1Error, format string, args ...any) error
- type WpSecurityContextManagerV1Error
- type WpSecurityContextManagerV1Handler
- type WpSecurityContextV1
- type WpSecurityContextV1Error
- type WpSecurityContextV1Handler
Constants ¶
This section is empty.
Variables ¶
View Source
var WpSecurityContextManagerV1Interface = &wire.Interface{ Name: "wp_security_context_manager_v1", Version: 1, Requests: []wire.MessageSpec{ {Name: "destroy", Since: 1, Destructor: true}, {Name: "create_listener", Since: 1, Args: []wire.Arg{{Name: "id", Type: wire.ArgNewID, Interface: "wp_security_context_v1"}, {Name: "listen_fd", Type: wire.ArgFD}, {Name: "close_fd", Type: wire.ArgFD}}}, }, }
View Source
var WpSecurityContextV1Interface = &wire.Interface{ Name: "wp_security_context_v1", Version: 1, Requests: []wire.MessageSpec{ {Name: "destroy", Since: 1, Destructor: true}, {Name: "set_sandbox_engine", Since: 1, Args: []wire.Arg{{Name: "name", Type: wire.ArgString}}}, {Name: "set_app_id", Since: 1, Args: []wire.Arg{{Name: "app_id", Type: wire.ArgString}}}, {Name: "set_instance_id", Since: 1, Args: []wire.Arg{{Name: "instance_id", Type: wire.ArgString}}}, {Name: "commit", Since: 1}, }, }
Functions ¶
This section is empty.
Types ¶
type WpSecurityContextManagerV1 ¶
type WpSecurityContextManagerV1 struct {
// contains filtered or unexported fields
}
func CreateWpSecurityContextManagerV1 ¶
func CreateWpSecurityContextManagerV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*WpSecurityContextManagerV1) (WpSecurityContextManagerV1Handler, error)) (*WpSecurityContextManagerV1, error)
func NewWpSecurityContextManagerV1 ¶
func NewWpSecurityContextManagerV1(p wire.Peer, id wire.ObjectID, version uint32, h WpSecurityContextManagerV1Handler) (*WpSecurityContextManagerV1, error)
func (*WpSecurityContextManagerV1) Base ¶
func (obj *WpSecurityContextManagerV1) Base() *wire.Object
func (*WpSecurityContextManagerV1) Dispatch ¶
func (obj *WpSecurityContextManagerV1) Dispatch(msg *wire.Message) error
func (*WpSecurityContextManagerV1) Handler ¶
func (obj *WpSecurityContextManagerV1) Handler() WpSecurityContextManagerV1Handler
func (*WpSecurityContextManagerV1) ProtocolError ¶
func (obj *WpSecurityContextManagerV1) ProtocolError(code WpSecurityContextManagerV1Error, format string, args ...any) error
type WpSecurityContextManagerV1Error ¶
type WpSecurityContextManagerV1Error uint32
const ( WpSecurityContextManagerV1ErrorInvalidListenFD WpSecurityContextManagerV1Error = 1 WpSecurityContextManagerV1ErrorNested WpSecurityContextManagerV1Error = 2 )
func (WpSecurityContextManagerV1Error) Valid ¶
func (v WpSecurityContextManagerV1Error) Valid(version uint32) bool
type WpSecurityContextManagerV1Handler ¶
type WpSecurityContextManagerV1Handler interface {
Destroy(obj *WpSecurityContextManagerV1) error
CreateListener(obj *WpSecurityContextManagerV1, id *WpSecurityContextV1, listenFD int, closeFD int) (WpSecurityContextV1Handler, error)
}
type WpSecurityContextV1 ¶
type WpSecurityContextV1 struct {
// contains filtered or unexported fields
}
func CreateWpSecurityContextV1 ¶
func CreateWpSecurityContextV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*WpSecurityContextV1) (WpSecurityContextV1Handler, error)) (*WpSecurityContextV1, error)
func NewWpSecurityContextV1 ¶
func NewWpSecurityContextV1(p wire.Peer, id wire.ObjectID, version uint32, h WpSecurityContextV1Handler) (*WpSecurityContextV1, error)
func (*WpSecurityContextV1) Base ¶
func (obj *WpSecurityContextV1) Base() *wire.Object
func (*WpSecurityContextV1) Dispatch ¶
func (obj *WpSecurityContextV1) Dispatch(msg *wire.Message) error
func (*WpSecurityContextV1) Handler ¶
func (obj *WpSecurityContextV1) Handler() WpSecurityContextV1Handler
func (*WpSecurityContextV1) ProtocolError ¶
func (obj *WpSecurityContextV1) ProtocolError(code WpSecurityContextV1Error, format string, args ...any) error
type WpSecurityContextV1Error ¶
type WpSecurityContextV1Error uint32
const ( WpSecurityContextV1ErrorAlreadyUsed WpSecurityContextV1Error = 1 WpSecurityContextV1ErrorAlreadySet WpSecurityContextV1Error = 2 WpSecurityContextV1ErrorInvalidMetadata WpSecurityContextV1Error = 3 )
func (WpSecurityContextV1Error) Valid ¶
func (v WpSecurityContextV1Error) Valid(version uint32) bool
type WpSecurityContextV1Handler ¶
type WpSecurityContextV1Handler interface {
Destroy(obj *WpSecurityContextV1) error
SetSandboxEngine(obj *WpSecurityContextV1, name string) error
SetAppID(obj *WpSecurityContextV1, appID string) error
SetInstanceID(obj *WpSecurityContextV1, instanceID string) error
Commit(obj *WpSecurityContextV1) error
}
Click to show internal directories.
Click to hide internal directories.