models

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2025 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TrustAuditHeader = ui.Section{
		Name: "TrustAuditHeader",
		Model: ui.MessageLines{
			ui.Header(fmt.Sprintf("Audit CA Certificates in Your Local Trust Store(s) %s", ui.Whisper("`anchor trust audit`"))),
		},
	}

	TrustAuditHint = ui.Section{
		Name: "TrustAuditHint",
		Model: ui.MessageLines{
			ui.StepHint("We'll compare your CA certificates from Anchor and your local trust stores."),
		},
	}
)
View Source
var (
	TrustHeader = ui.Section{
		Name: "TrustHeader",
		Model: ui.MessageLines{
			ui.Header(fmt.Sprintf("Manage CA Certificates in your Local Trust Store(s) %s", ui.Whisper("`anchor trust`"))),
		},
	}

	TrustHint = ui.Section{
		Name: "TrustHint",
		Model: ui.MessageLines{
			ui.StepHint("We'll check your local trust stores and make any needed updates."),
		},
	}
)
View Source
var TrustCleanHeader = ui.Section{
	Name: "TrustCleanHeader",
	Model: ui.MessageLines{
		ui.Header(fmt.Sprintf("Clean CA Certificates from Local Trust Store(s) %s", ui.Whisper("`anchor trust clean`"))),
	},
}

Functions

This section is empty.

Types

type CACleanedMsg added in v0.0.13

type CACleanedMsg struct {
	truststore.Store
}

type CACleaningMsg added in v0.0.13

type CACleaningMsg struct {
	truststore.Store
}

type TrustAuditInfo added in v0.0.23

type TrustAuditInfo struct {
	AuditInfo *truststore.AuditInfo
	Stores    []truststore.Store
}

func (*TrustAuditInfo) Init added in v0.0.23

func (m *TrustAuditInfo) Init() tea.Cmd

func (*TrustAuditInfo) Update added in v0.0.23

func (m *TrustAuditInfo) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*TrustAuditInfo) View added in v0.0.23

func (m *TrustAuditInfo) View() string

type TrustCleanAudit added in v0.0.13

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

func (*TrustCleanAudit) Init added in v0.0.13

func (m *TrustCleanAudit) Init() tea.Cmd

func (*TrustCleanAudit) Update added in v0.0.13

func (m *TrustCleanAudit) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*TrustCleanAudit) View added in v0.0.13

func (m *TrustCleanAudit) View() string

type TrustCleanCA added in v0.0.13

type TrustCleanCA struct {
	Config *cli.Config

	CA *truststore.CA

	ConfirmCh chan<- struct{}
	// contains filtered or unexported fields
}

func (*TrustCleanCA) Init added in v0.0.13

func (m *TrustCleanCA) Init() tea.Cmd

func (*TrustCleanCA) Update added in v0.0.13

func (m *TrustCleanCA) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*TrustCleanCA) View added in v0.0.13

func (m *TrustCleanCA) View() string

type TrustCleanHint added in v0.0.13

type TrustCleanHint struct {
	CertStates, TrustStores []string
}

func (*TrustCleanHint) Init added in v0.0.13

func (c *TrustCleanHint) Init() tea.Cmd

func (*TrustCleanHint) Update added in v0.0.13

func (c *TrustCleanHint) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*TrustCleanHint) View added in v0.0.13

func (c *TrustCleanHint) View() string

type TrustStoreExistingCAMsg added in v0.1.7

type TrustStoreExistingCAMsg struct {
	truststore.CA
}

type TrustStoreInstalledCAMsg added in v0.0.10

type TrustStoreInstalledCAMsg struct {
	truststore.CA
}

type TrustStoreInstallingCAMsg added in v0.0.10

type TrustStoreInstallingCAMsg struct {
	truststore.CA
}

type TrustUpdateConfirm added in v0.0.33

type TrustUpdateConfirm struct {
	ConfirmCh chan<- struct{}
}

func (*TrustUpdateConfirm) Init added in v0.0.33

func (m *TrustUpdateConfirm) Init() tea.Cmd

func (*TrustUpdateConfirm) Update added in v0.0.33

func (m *TrustUpdateConfirm) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*TrustUpdateConfirm) View added in v0.0.33

func (m *TrustUpdateConfirm) View() string

type TrustUpdateStore added in v0.0.10

type TrustUpdateStore struct {
	Config *cli.Config

	MissingCount int
	Store        truststore.Store
	// contains filtered or unexported fields
}

func (*TrustUpdateStore) Init added in v0.0.10

func (m *TrustUpdateStore) Init() tea.Cmd

func (*TrustUpdateStore) Update added in v0.0.10

func (m *TrustUpdateStore) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*TrustUpdateStore) View added in v0.0.10

func (m *TrustUpdateStore) View() string

type VMHint added in v0.0.35

type VMHint struct{}

func (*VMHint) Init added in v0.0.35

func (m *VMHint) Init() tea.Cmd

func (*VMHint) Update added in v0.0.35

func (m *VMHint) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*VMHint) View added in v0.0.35

func (m *VMHint) View() string

Jump to

Keyboard shortcuts

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