securitycontext

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: MIT, MIT Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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 (*WpSecurityContextManagerV1) Base

func (obj *WpSecurityContextManagerV1) Base() *wire.Object

func (*WpSecurityContextManagerV1) Dispatch

func (obj *WpSecurityContextManagerV1) Dispatch(msg *wire.Message) error

func (*WpSecurityContextManagerV1) Handler

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 (*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
}

Jump to

Keyboard shortcuts

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