Documentation ¶
Index ¶
- type CommitArgs
- type CopyToArgs
- type CreateArgs
- type PortLayerRPCClient
- func (p *PortLayerRPCClient) Commit(handle exec2.Handle) (exec2.ID, error)
- func (p *PortLayerRPCClient) Connect() error
- func (p *PortLayerRPCClient) CopyTo(handle exec2.Handle, targetDir string, fname string, perms int16, data []byte) (exec2.Handle, error)
- func (p *PortLayerRPCClient) CreateContainer(name string) (exec2.Handle, error)
- func (p *PortLayerRPCClient) DestroyContainer(cid exec2.ID) error
- func (p *PortLayerRPCClient) GetHandle(cid exec2.ID) (exec2.Handle, error)
- func (p *PortLayerRPCClient) SetEntryPoint(handle exec2.Handle, workDir string, execPath string, args string) (exec2.Handle, error)
- func (p *PortLayerRPCClient) SetLimits(handle exec2.Handle, memoryMb int, cpuMhz int) (exec2.Handle, error)
- func (p *PortLayerRPCClient) SetRunState(handle exec2.Handle, runState exec2.RunState) (exec2.Handle, error)
- type SetEntryPointArgs
- type SetLimitsArgs
- type SetRunStateArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitArgs ¶
type CopyToArgs ¶
type CreateArgs ¶
type CreateArgs struct {
Name string
}
type PortLayerRPCClient ¶
type PortLayerRPCClient struct {
// contains filtered or unexported fields
}
func (*PortLayerRPCClient) Connect ¶
func (p *PortLayerRPCClient) Connect() 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) SetEntryPoint ¶
func (*PortLayerRPCClient) SetRunState ¶
type SetEntryPointArgs ¶
Click to show internal directories.
Click to hide internal directories.