package socket

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

Index

Types

type Message

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

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

type Response

type Response struct {
	Message

	// 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 {
	Message

	// 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.6.0
Published
May 16, 2018
Platform
windows/amd64
Last checked
1 day ago

Tools for package owners.