kubernetes/vendor/github.com/containerd/console
David Porter b5dd78da3d vendor: cadvisor v0.39.0
Main upgrades:
- github.com/opencontainers/runc v1.0.0-rc93
- github.com/containerd/containerd v1.4.4
- github.com/docker/docker v20.10.2
- github.com/mrunalp/fileutils v0.5.0
- github.com/opencontainers/selinux v1.8.0
- github.com/cilium/ebpf v0.2.0
2021-03-08 22:10:29 -08:00
..
.golangci.yml vendor: cadvisor v0.39.0 2021-03-08 22:10:29 -08:00
console_linux.go update vendor 2020-03-25 17:11:16 -04:00
console_unix.go vendor: cadvisor v0.39.0 2021-03-08 22:10:29 -08:00
console_windows.go update vendor 2020-03-25 17:11:16 -04:00
console.go vendor: cadvisor v0.39.0 2021-03-08 22:10:29 -08:00
go.mod vendor: cadvisor v0.39.0 2021-03-08 22:10:29 -08:00
go.sum vendor: cadvisor v0.39.0 2021-03-08 22:10:29 -08:00
LICENSE update vendor 2020-03-25 17:11:16 -04:00
README.md update vendor 2020-03-25 17:11:16 -04:00
tc_darwin.go vendor: cadvisor v0.39.0 2021-03-08 22:10:29 -08:00
tc_freebsd.go Updating dependency github.com/containerd/console to version v0.0.0-20180822173158-c12b1e7919c1 2020-03-25 12:01:19 -04:00
tc_linux.go vendor: cadvisor v0.39.0 2021-03-08 22:10:29 -08:00
tc_netbsd.go vendor: cadvisor v0.39.0 2021-03-08 22:10:29 -08:00
tc_openbsd_cgo.go Updating dependency github.com/containerd/console to version v0.0.0-20180822173158-c12b1e7919c1 2020-03-25 12:01:19 -04:00
tc_openbsd_nocgo.go Updating dependency github.com/containerd/console to version v0.0.0-20180822173158-c12b1e7919c1 2020-03-25 12:01:19 -04:00
tc_solaris_cgo.go Updating dependency github.com/containerd/console to version v0.0.0-20180822173158-c12b1e7919c1 2020-03-25 12:01:19 -04:00
tc_solaris_nocgo.go Updating dependency github.com/containerd/console to version v0.0.0-20180822173158-c12b1e7919c1 2020-03-25 12:01:19 -04:00
tc_unix.go vendor: cadvisor v0.39.0 2021-03-08 22:10:29 -08:00

console

Build Status

Golang package for dealing with consoles. Light on deps and a simple API.

Modifying the current process

current := console.Current()
defer current.Reset()

if err := current.SetRaw(); err != nil {
}
ws, err := current.Size()
current.Resize(ws)

Project details

console is a containerd sub-project, licensed under the Apache 2.0 license. As a containerd sub-project, you will find the:

information in our containerd/project repository.