resource_sobject

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SharedObjectResource

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

SharedObjectResource wraps a core shared object for resource access.

func NewSharedObjectResource

func NewSharedObjectResource(
	le *logrus.Entry,
	b bus.Bus,
	so sobject.SharedObject,
	meta *sobject.SharedObjectMeta,
	ref *sobject.SharedObjectRef,
	sessionPeerID string,
) *SharedObjectResource

NewSharedObjectResource creates a new SharedObjectResource.

func NewSharedObjectResourceWithHostPluginID added in v0.51.3

func NewSharedObjectResourceWithHostPluginID(
	le *logrus.Entry,
	b bus.Bus,
	so sobject.SharedObject,
	meta *sobject.SharedObjectMeta,
	ref *sobject.SharedObjectRef,
	sessionPeerID string,
	hostPluginID string,
) *SharedObjectResource

NewSharedObjectResourceWithHostPluginID creates a new SharedObjectResource with the plugin id that owns the resource root.

func (*SharedObjectResource) GetMux

func (r *SharedObjectResource) GetMux() srpc.Invoker

GetMux returns the rpc mux.

func (*SharedObjectResource) MountSharedObjectBody

MountSharedObjectBody mounts the body of a shared object.

func (*SharedObjectResource) WatchSharedObjectHealth

WatchSharedObjectHealth streams health for the mounted shared object.

Jump to

Keyboard shortcuts

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