package socket

import "github.com/opencontainers/runtime-tools/api/socket"

Index

Types

type Common

type Common struct {
	// Type of message being passed
	Type string `json:"type"`
}

Common is the normal data for messages passed on the console socket.

type Response

type Response struct {
	Common

	// Message is a phrase describing the response.
	Message string `json:"message,omitempty"`
}

Response is the normal data for response messages.

type TerminalRequest

type TerminalRequest struct {
	Common

	// Container ID for the container whose pseudoterminal master is being set.
	Container string `json:"container"`
}

TerminalRequest is the normal data for messages passing a pseudoterminal master.

Source Files

socket.go

Version
v0.9.0 (latest)
Published
Mar 6, 2019
Platform
linux/amd64
Last checked
1 week ago

Tools for package owners.