remote

package
v1.5.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2019 License: Apache-2.0 Imports: 4 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

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