Versions in this module Expand all Collapse all v1 v1.1.0 Sep 5, 2026 v1.0.2 Sep 4, 2026 v1.0.1 Sep 4, 2026 v1.0.0 Sep 3, 2026 Changes in this version + const UnknownRole + func RoleFromTags(tags []string, key string) (role string, tagged bool) + func SortOutcomes(out []Outcome) + func ValidRoleName(name string) error + type Machine struct + Host string + Name string + Ref string + Running bool + Tags []string + type Outcome struct + CreatedRole bool + CreatedTarget bool + Existing bool + Granted bool + KeyUnchecked string + Machine Machine + Role string + Skipped string + Tagged bool + type Planner struct + Actor string + DB *store.Store + Port int + TagKey string + func (p Planner) Run(ctx context.Context, machines []Machine, apply bool) ([]Outcome, error) + type Proxmox struct + func NewProxmox(cfg ProxmoxConfig) (*Proxmox, error) + func (p *Proxmox) Machines(ctx context.Context) ([]Machine, error) + func (p *Proxmox) Name() string + type ProxmoxConfig struct + BaseURL string + CAFile string + Insecure bool + Node string + Timeout time.Duration + TokenID string + TokenSecret string + type Source interface + Machines func(ctx context.Context) ([]Machine, error) + Name func() string + type VSphere struct + func NewVSphere(cfg VSphereConfig) (*VSphere, error) + func (v *VSphere) Close(ctx context.Context) + func (v *VSphere) Machines(ctx context.Context) ([]Machine, error) + func (v *VSphere) Name() string + type VSphereConfig struct + BaseURL string + CAFile string + Insecure bool + Password string + Timeout time.Duration + Username string