profiles

package
v0.17.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2026 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IntegrationStatuser

type IntegrationStatuser interface {
	IntegrationStatus(ctx context.Context) ([]byte, error)
}

type Profile

type Profile struct {
	ID    string   `json:"id"`
	Label string   `json:"label"`
	Kind  string   `json:"-"`
	Argv  []string `json:"-"`
}

type Resolver

type Resolver struct {
	// contains filtered or unexported fields
}

func NewResolver

func NewResolver(configHome string, herdr IntegrationStatuser) *Resolver

func (*Resolver) AgentVersion

func (r *Resolver) AgentVersion(profileID string) string

func (*Resolver) CommandConfig

func (r *Resolver) CommandConfig(profileID string) ([]string, string, bool)

func (*Resolver) Forget

func (r *Resolver) Forget(paneID string)

func (*Resolver) Profile

func (r *Resolver) Profile(id string) (Profile, bool)

func (*Resolver) ProfileIDForAgent

func (r *Resolver) ProfileIDForAgent(agent string) string

func (*Resolver) Profiles

func (r *Resolver) Profiles() []Profile

func (*Resolver) Reload

func (r *Resolver) Reload()

func (*Resolver) Remember

func (r *Resolver) Remember(paneID, profileID string)

func (*Resolver) ResolvePane

func (r *Resolver) ResolvePane(paneID, reportedAgent string) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL