Documentation ¶
Index ¶
- Constants
- Variables
- func Main()
- type Client
- func (c *Client) Close()
- func (c *Client) GetPtyMaster() (*os.File, error)
- func (c *Client) GetState() (State, error)
- func (c *Client) GetStdin() (*os.File, error)
- func (c *Client) GetStreams() (*os.File, *os.File, *os.File, error)
- func (c *Client) Resume() error
- func (c *Client) Signal(signal int) error
- func (c *Client) StreamState() <-chan *StateChange
- type Config
- type ContainerInit
- func (c *ContainerInit) GetPtyMaster(arg struct{}, fd *fdrpc.FD) error
- func (c *ContainerInit) GetState(arg *struct{}, status *State) error
- func (c *ContainerInit) GetStdin(arg struct{}, f *os.File) error
- func (c *ContainerInit) GetStreams(arg struct{}, fds *[]fdrpc.FD) error
- func (c *ContainerInit) Resume(arg, res *struct{}) error
- func (c *ContainerInit) Signal(sig int, res *struct{}) error
- func (c *ContainerInit) StreamState(arg struct{}, stream rpcplus.Stream) error
- type State
- type StateChange
Constants ¶
Variables ¶
View Source
var SocketPath = filepath.Join(SharedPath, "rpc.sock")
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) StreamState ¶
func (c *Client) StreamState() <-chan *StateChange
type ContainerInit ¶
type ContainerInit struct {
// contains filtered or unexported fields
}
func (*ContainerInit) GetPtyMaster ¶
func (c *ContainerInit) GetPtyMaster(arg struct{}, fd *fdrpc.FD) error
func (*ContainerInit) GetState ¶
func (c *ContainerInit) GetState(arg *struct{}, status *State) error
func (*ContainerInit) GetStreams ¶
func (c *ContainerInit) GetStreams(arg struct{}, fds *[]fdrpc.FD) error
func (*ContainerInit) Resume ¶
func (c *ContainerInit) Resume(arg, res *struct{}) error
func (*ContainerInit) Signal ¶
func (c *ContainerInit) Signal(sig int, res *struct{}) error
func (*ContainerInit) StreamState ¶
func (c *ContainerInit) StreamState(arg struct{}, stream rpcplus.Stream) error
type StateChange ¶
Click to show internal directories.
Click to hide internal directories.