plugin

package
v0.0.0-...-e2de2ce Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartAll

func StartAll(ctx context.Context) error

func StopAll

func StopAll(ctx context.Context)

func WithPluginLogger

func WithPluginLogger(ctx context.Context, zl *zerolog.Logger) context.Context

Types

type ApplianceEnlistArgs

type ApplianceEnlistArgs struct {
	URL         string
	NamePattern string
}

type ApplianceEnlistReply

type ApplianceEnlistReply struct {
	Systems []EnlistedSystem
}

type ApplianceMultiplyArgs

type ApplianceMultiplyArgs struct {
	A, B int
}

type ApplianceMultiplyReply

type ApplianceMultiplyReply struct {
	C int
}

type AppliancePlugin

type AppliancePlugin struct {
	// contains filtered or unexported fields
}
var (
	Appliance *AppliancePlugin
)

func StartAppliance

func StartAppliance(ctx context.Context, commandName string, commandArgs ...string) (*AppliancePlugin, error)

func (*AppliancePlugin) Enlist

func (*AppliancePlugin) Multiply

func (*AppliancePlugin) Stop

func (plugin *AppliancePlugin) Stop(ctx context.Context) error

type EnlistedSystem

type EnlistedSystem struct {
	Name         string
	UID          string
	SerialNumber string
	MACs         []string
}

Jump to

Keyboard shortcuts

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