Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CurrentTheme = "default"
View Source
var ThemeNames = []string{"default", "catppuccin", "dracula", "tokyonight", "nord", "gruvbox", "rosepine", "solarized", "monokai", "mono"}
View Source
var Themes = map[string]Theme{
"default": {Accent: "42", Running: "42", Stopped: "240", Errored: "196", Muted: "240", Label: "245", SelBg: "237", SelFg: "252"},
"catppuccin": {Accent: "183", Running: "151", Stopped: "240", Errored: "211", Muted: "240", Label: "245", SelBg: "237", SelFg: "253"},
"dracula": {Accent: "141", Running: "84", Stopped: "240", Errored: "212", Muted: "240", Label: "245", SelBg: "238", SelFg: "253"},
"tokyonight": {Accent: "111", Running: "149", Stopped: "240", Errored: "210", Muted: "240", Label: "245", SelBg: "237", SelFg: "253"},
"nord": {Accent: "109", Running: "108", Stopped: "240", Errored: "167", Muted: "240", Label: "245", SelBg: "238", SelFg: "253"},
"gruvbox": {Accent: "214", Running: "142", Stopped: "245", Errored: "167", Muted: "243", Label: "246", SelBg: "237", SelFg: "223"},
"rosepine": {Accent: "116", Running: "108", Stopped: "240", Errored: "174", Muted: "240", Label: "245", SelBg: "237", SelFg: "253"},
"solarized": {Accent: "37", Running: "100", Stopped: "240", Errored: "160", Muted: "241", Label: "244", SelBg: "236", SelFg: "254"},
"monokai": {Accent: "197", Running: "148", Stopped: "240", Errored: "208", Muted: "240", Label: "245", SelBg: "237", SelFg: "253"},
"mono": {Accent: "250", Running: "250", Stopped: "241", Errored: "244", Muted: "240", Label: "245", SelBg: "237", SelFg: "253"},
}
Functions ¶
func ApplyTheme ¶ added in v0.4.0
func ApplyTheme(name string)
Types ¶
type Engine ¶
type Engine interface {
List(ctx context.Context) ([]docker.Container, error)
Logs(ctx context.Context, id string) (<-chan string, error)
Stats(ctx context.Context, id string) (<-chan docker.Stats, error)
Start(ctx context.Context, id string) error
Stop(ctx context.Context, id string) error
Restart(ctx context.Context, id string) error
Remove(ctx context.Context, id string) error
Images(ctx context.Context) ([]docker.Image, error)
RemoveImage(ctx context.Context, id string) error
PruneImages(ctx context.Context) (uint64, error)
}
Click to show internal directories.
Click to hide internal directories.