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 CreateWpSecurityContextManagerV1

func CreateWpSecurityContextManagerV1(p wire.Peer, id wire.ObjectID, version uint32) (*WpSecurityContextManagerV1, error)

func NewWpSecurityContextManagerV1

func NewWpSecurityContextManagerV1(p wire.Peer, version uint32) (*WpSecurityContextManagerV1, error)

func (*WpSecurityContextManagerV1) Base

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

func (*WpSecurityContextManagerV1) CreateListener

func (obj *WpSecurityContextManagerV1) CreateListener(listenFD int, closeFD int) (*WpSecurityContextV1, error)

func (*WpSecurityContextManagerV1) Destroy

func (obj *WpSecurityContextManagerV1) Destroy() error

func (*WpSecurityContextManagerV1) Dispatch

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

type WpSecurityContextManagerV1Error

type WpSecurityContextManagerV1Error uint32
const (
	WpSecurityContextManagerV1ErrorInvalidListenFD WpSecurityContextManagerV1Error = 1
	WpSecurityContextManagerV1ErrorNested          WpSecurityContextManagerV1Error = 2
)

func (WpSecurityContextManagerV1Error) Valid

func (v WpSecurityContextManagerV1Error) Valid(version uint32) bool

type WpSecurityContextV1

type WpSecurityContextV1 struct {
	// contains filtered or unexported fields
}

func CreateWpSecurityContextV1

func CreateWpSecurityContextV1(p wire.Peer, id wire.ObjectID, version uint32) (*WpSecurityContextV1, error)

func NewWpSecurityContextV1

func NewWpSecurityContextV1(p wire.Peer, version uint32) (*WpSecurityContextV1, error)

func (*WpSecurityContextV1) Base

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

func (*WpSecurityContextV1) Commit

func (obj *WpSecurityContextV1) Commit() error

func (*WpSecurityContextV1) Destroy

func (obj *WpSecurityContextV1) Destroy() error

func (*WpSecurityContextV1) Dispatch

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

func (*WpSecurityContextV1) SetAppID

func (obj *WpSecurityContextV1) SetAppID(appID string) error

func (*WpSecurityContextV1) SetInstanceID

func (obj *WpSecurityContextV1) SetInstanceID(instanceID string) error

func (*WpSecurityContextV1) SetSandboxEngine

func (obj *WpSecurityContextV1) SetSandboxEngine(name string) 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

Jump to

Keyboard shortcuts

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