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: "#A6E3A1", Key: "#89B4FA", Group: "#F9E2AF", Running: "#A6E3A1", Warning: "#F9E2AF", Stopped: "#6C7086", Errored: "#F38BA8", Muted: "#6C7086", Label: "#9399B2", SelBg: "#313244", SelFg: "#CDD6F4"},
"catppuccin": {Accent: "183", Key: "111", Group: "223", Running: "151", Warning: "223", Stopped: "240", Errored: "211", Muted: "240", Label: "245", SelBg: "237", SelFg: "253"},
"dracula": {Accent: "141", Key: "117", Group: "228", Running: "84", Warning: "228", Stopped: "240", Errored: "212", Muted: "240", Label: "245", SelBg: "238", SelFg: "253"},
"tokyonight": {Accent: "111", Key: "117", Group: "222", Running: "149", Warning: "222", Stopped: "240", Errored: "210", Muted: "240", Label: "245", SelBg: "237", SelFg: "253"},
"nord": {Accent: "109", Key: "110", Group: "222", Running: "108", Warning: "222", Stopped: "240", Errored: "167", Muted: "240", Label: "245", SelBg: "238", SelFg: "253"},
"gruvbox": {Accent: "214", Key: "109", Group: "214", Running: "142", Warning: "214", Stopped: "245", Errored: "167", Muted: "243", Label: "246", SelBg: "237", SelFg: "223"},
"rosepine": {Accent: "116", Key: "110", Group: "180", Running: "108", Warning: "180", Stopped: "240", Errored: "174", Muted: "240", Label: "245", SelBg: "237", SelFg: "253"},
"solarized": {Accent: "37", Key: "33", Group: "136", Running: "100", Warning: "136", Stopped: "240", Errored: "160", Muted: "241", Label: "244", SelBg: "236", SelFg: "254"},
"monokai": {Accent: "197", Key: "81", Group: "186", Running: "148", Warning: "186", Stopped: "240", Errored: "208", Muted: "240", Label: "245", SelBg: "237", SelFg: "253"},
"mono": {Accent: "250", Key: "250", Group: "250", Running: "250", Warning: "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)
Volumes(ctx context.Context) ([]docker.Volume, error)
RemoveVolume(ctx context.Context, name string) error
Networks(ctx context.Context) ([]docker.Network, error)
RemoveNetwork(ctx context.Context, id string) error
}
Click to show internal directories.
Click to hide internal directories.