diff --git a/api/types/types.go b/api/types/types.go index 2844306c72..8457ca0411 100644 --- a/api/types/types.go +++ b/api/types/types.go @@ -1,19 +1,19 @@ package types const ( - // MediaTypeRawStream is vendor specific MIME-Type set for raw TTY streams + // MediaTypeRawStream is vendor specific MIME-Type set for raw TTY streams. MediaTypeRawStream = "application/vnd.docker.raw-stream" - // MediaTypeMultiplexedStream is vendor specific MIME-Type set for stdin/stdout/stderr multiplexed streams + // MediaTypeMultiplexedStream is vendor specific MIME-Type set for stdin/stdout/stderr multiplexed streams. MediaTypeMultiplexedStream = "application/vnd.docker.multiplexed-stream" - // MediaTypeJSON is the MIME-Type for JSON objects + // MediaTypeJSON is the MIME-Type for JSON objects. MediaTypeJSON = "application/json" - // MediaTypeNDJson is the MIME-Type for Newline Delimited JSON objects streams + // MediaTypeNDJSON is the MIME-Type for Newline Delimited JSON objects streams. MediaTypeNDJSON = "application/x-ndjson" - // MediaTypeJsonSequence is the MIME-Type for JSON Text Sequences (RFC7464) + // MediaTypeJSONSequence is the MIME-Type for JSON Text Sequences (RFC7464). MediaTypeJSONSequence = "application/json-seq" ) diff --git a/vendor/github.com/moby/moby/api/types/types.go b/vendor/github.com/moby/moby/api/types/types.go index 2844306c72..8457ca0411 100644 --- a/vendor/github.com/moby/moby/api/types/types.go +++ b/vendor/github.com/moby/moby/api/types/types.go @@ -1,19 +1,19 @@ package types const ( - // MediaTypeRawStream is vendor specific MIME-Type set for raw TTY streams + // MediaTypeRawStream is vendor specific MIME-Type set for raw TTY streams. MediaTypeRawStream = "application/vnd.docker.raw-stream" - // MediaTypeMultiplexedStream is vendor specific MIME-Type set for stdin/stdout/stderr multiplexed streams + // MediaTypeMultiplexedStream is vendor specific MIME-Type set for stdin/stdout/stderr multiplexed streams. MediaTypeMultiplexedStream = "application/vnd.docker.multiplexed-stream" - // MediaTypeJSON is the MIME-Type for JSON objects + // MediaTypeJSON is the MIME-Type for JSON objects. MediaTypeJSON = "application/json" - // MediaTypeNDJson is the MIME-Type for Newline Delimited JSON objects streams + // MediaTypeNDJSON is the MIME-Type for Newline Delimited JSON objects streams. MediaTypeNDJSON = "application/x-ndjson" - // MediaTypeJsonSequence is the MIME-Type for JSON Text Sequences (RFC7464) + // MediaTypeJSONSequence is the MIME-Type for JSON Text Sequences (RFC7464). MediaTypeJSONSequence = "application/json-seq" )