remote

package
v1.5.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommitArgs

type CommitArgs struct {
	Handle exec2.Handle
}

type CopyToArgs

type CopyToArgs struct {
	Handle    exec2.Handle
	TargetDir string
	Fname     string
	Perms     int16
	Data      []byte
}

type CreateArgs

type CreateArgs struct {
	Name string
}

type PortLayerRPCClient

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

func (*PortLayerRPCClient) Commit

func (p *PortLayerRPCClient) Commit(handle exec2.Handle) (exec2.ID, error)

func (*PortLayerRPCClient) Connect

func (p *PortLayerRPCClient) Connect() error

func (*PortLayerRPCClient) CopyTo

func (p *PortLayerRPCClient) CopyTo(handle exec2.Handle, targetDir string, fname string, perms int16, data []byte) (exec2.Handle, error)

func (*PortLayerRPCClient) CreateContainer

func (p *PortLayerRPCClient) CreateContainer(name string) (exec2.Handle, error)

func (*PortLayerRPCClient) DestroyContainer

func (p *PortLayerRPCClient) DestroyContainer(cid exec2.ID) error

func (*PortLayerRPCClient) GetHandle

func (p *PortLayerRPCClient) GetHandle(cid exec2.ID) (exec2.Handle, error)

func (*PortLayerRPCClient) SetEntryPoint

func (p *PortLayerRPCClient) SetEntryPoint(handle exec2.Handle, workDir string, execPath string, args string) (exec2.Handle, error)

func (*PortLayerRPCClient) SetLimits

func (p *PortLayerRPCClient) SetLimits(handle exec2.Handle, memoryMb int, cpuMhz int) (exec2.Handle, error)

func (*PortLayerRPCClient) SetRunState

func (p *PortLayerRPCClient) SetRunState(handle exec2.Handle, runState exec2.RunState) (exec2.Handle, error)

type SetEntryPointArgs

type SetEntryPointArgs struct {
	Handle   exec2.Handle
	WorkDir  string
	ExecPath string
	Args     string
}

type SetLimitsArgs

type SetLimitsArgs struct {
	Handle   exec2.Handle
	MemoryMb int
	CPUMhz   int
}

type SetRunStateArgs

type SetRunStateArgs struct {
	Handle   exec2.Handle
	RunState exec2.RunState
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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