Versions in this module Expand all Collapse all v0 v0.1.0 Jul 25, 2024 Changes in this version + type Config struct + Alias map[string]string + Groups map[string][]string + MetadataDir string + type History struct + Path string + Records []*HistoryRecord + func (h *History) Add(name, namespace string) + func (h *History) ClearAll() + func (h *History) ClearKubeConfig(name string) + func (h *History) GetLastKubeConfig(current string) *string + func (h *History) GetLastNamespace(name, currentNamespace string) *string + func (h *History) Save() error + type HistoryRecord struct + Name string + Namespace string + Timestamp int64 + type Metadata struct + Config *Config + History *History + KubeConfigDir string + TempDir string + func Load(configPath string) (*Metadata, error)