Documentation
¶
Index ¶
- Constants
- type Bake
- type Cluster
- type ClusterConfig
- type Cmd
- type Config
- type Container
- type Error
- type ExitCoder
- type Helmfile
- type Image
- type Kevin
- func (k *Kevin) Close() error
- func (k *Kevin) FindFile(ctx context.Context, name string) (dir string, file *os.File, err error)
- func (k *Kevin) HelmfileApply(ctx context.Context) error
- func (k *Kevin) LoadImages(ctx context.Context) error
- func (k *Kevin) Main(ctx context.Context, args ...string) error
- func (k *Kevin) TempFile(ctx context.Context, name string) (string, error)
- type Kind
- func (k *Kind) Context(context.Context) (string, error)
- func (k *Kind) Create(ctx context.Context, kevin *Kevin) error
- func (k *Kind) Delete(ctx context.Context, _ *Kevin) error
- func (k *Kind) Init(context.Context, *Kevin) (err error)
- func (k *Kind) Load(ctx context.Context, _ *Kevin, image Image) error
- func (k Kind) LogValue() slog.Value
- type KindConfig
- type KubeConfig
- type Lazy
- type MetaData
- type Values
Constants ¶
View Source
const (
KeyCommand = "command"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster interface {
slog.LogValuer
Context(context.Context) (string, error)
Create(context.Context, *Kevin) error
Delete(context.Context, *Kevin) error
Init(context.Context, *Kevin) error
Load(context.Context, *Kevin, Image) error
}
func NewCluster ¶
type ClusterConfig ¶
type ClusterConfig struct {
// TODO Helmfile Helmfile (merge)
Kind KindConfig
}
type Config ¶
type Config struct {
Bake Bake
Clusters map[string]ClusterConfig
Helmfile Helmfile
// TODO Kind Kind (merge clusters’)
Path string `yaml:"-"`
}
type Container ¶
type Container struct {
// Command string `json:"Command,omitempty"`
CreatedAt string `json:"CreatedAt,omitempty"`
ID string `json:"ID,omitempty"`
// Image string `json:"Image,omitempty"`
// Labels string `json:"Labels,omitempty"`
// LocalVolumes string `json:"LocalVolumes,omitempty"`
// Mounts string `json:"Mounts,omitempty"`
Names string `json:"Names,omitempty"`
// Networks string `json:"Networks,omitempty"`
// Platform any `json:"Platform,omitempty"`
// Ports string `json:"Ports,omitempty"`
// RunningFor string `json:"RunningFor,omitempty"`
// Size string `json:"Size,omitempty"`
State string `json:"State,omitempty"`
Status string `json:"Status,omitempty"`
}
type Kevin ¶
type Kevin struct {
// contains filtered or unexported fields
}
type Kind ¶
type Kind struct {
ClusterConfig
Name string
}
type KindConfig ¶
type KindConfig struct {
Config *string
}
type KubeConfig ¶
type Lazy ¶
Click to show internal directories.
Click to hide internal directories.