kubernetes/vendor/github.com/daviddengcn/go-colortext/ct.go

type Color

const None

const Black

const Red

const Green

const Yellow

const Blue

const Magenta

const Cyan

const White

var Writer

// ResetColor resets the foreground and background to original colors
func ResetColor() {}

// ChangeColor sets the foreground and background colors. If the value of the color is None,
// the corresponding color keeps unchanged.
// If fgBright or bgBright is set true, corresponding color use bright color. bgBright may be
// ignored in some OS environment.
func ChangeColor(fg Color, fgBright bool, bg Color, bgBright bool) {}

// Foreground changes the foreground color.
func Foreground(cl Color, bright bool) {}

// Background changes the background color.
func Background(cl Color, bright bool) {}