Documentation ¶
Index ¶
- Variables
- type AuditUnauthenticated
- type Bootstrap
- type BootstrapDiagnostic
- type BootstrapDiagnosticFoundMsg
- type BootstrapDiagnosticNotFoundMsg
- type BootstrapSuccess
- type DomainInput
- type DomainResolver
- type DomainStatusMsg
- type LclCleanHint
- type OpenSetupGuideMsg
- type OpenURLMsg
- type ProvisionService
- type ServiceProvisionedMsg
- type SetupCategory
- type SetupGuideHint
- type SetupGuidePrompt
- type SetupMethod
- type SetupOrgName
- type SetupScan
- type SetupServiceName
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AuditHeader = ui.Section{ Name: "AuditHeader", Model: ui.MessageLines{ ui.Header(fmt.Sprintf("Audit lcl.host HTTPS Local Development Environment %s", ui.Whisper("`anchor lcl audit`"))), }, } AuditHint = ui.Section{ Name: "AuditHint", Model: ui.MessageLines{ ui.StepHint("We'll compare your local development CA certificates from Anchor and your local trust stores."), }, } )
View Source
var ( BootstrapSkip = ui.Section{ Name: "BootstrapSkip", Model: ui.MessageLines{ ui.Skip("Initial System Configuration for lcl.host Local HTTPS Development `anchor lcl bootstrap`"), }, } BootstrapHeader = ui.Section{ Name: "BootstrapHeader", Model: ui.MessageLines{ ui.Header(fmt.Sprintf("Initial System Configuration for lcl.host Local HTTPS Development %s", ui.Whisper("`anchor lcl bootstrap`"))), }, } BootstrapHint = ui.Section{ Name: "BootstrapHint", Model: ui.MessageLines{ ui.StepHint("We'll configure your browsers and OS to trust your local development certificates."), }, } Browserless = ui.Section{ Name: "Browserless", Model: ui.MessageLines{ ui.Warning("Unable to open browser, skipping browser-based verification."), }, } )
View Source
var ( LclSignInHint = ui.Section{ Name: "LclSignInHint", Model: ui.MessageLines{ ui.StepHint("Please sign up or sign in with your Anchor account."), ui.StepHint(""), ui.StepHint("Once authenticated, we can provision your personalized Anchor resources to"), ui.StepHint("power HTTPS in your local development environment."), }, } LclPreamble = ui.Section{ Name: "LclPreamble", Model: ui.MessageLines{ ui.Hint("Let's set up fast and totally free lcl.host HTTPS!"), }, } LclHeader = ui.Section{ Name: "LclHeader", Model: ui.MessageLines{ ui.Header(fmt.Sprintf("Setup lcl.host HTTPS Local Development Environment %s", ui.Whisper("`anchor lcl`"))), }, } LclHint = ui.Section{ Name: "LclHint", Model: ui.MessageLines{ ui.StepHint("We'll set you up to use HTTPS locally in your browsers and other programs."), }, } 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 lcl 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 ( SetupHeader = ui.Section{ Name: "SetupHeader", Model: ui.MessageLines{ ui.Header(fmt.Sprintf("Setup lcl.host Application %s", ui.Whisper("`anchor lcl setup`"))), }, } SetupHint = ui.Section{ Name: "SetupHint", Model: ui.MessageLines{ ui.StepHint("We'll integrate your application and system for HTTPS local development."), }, } SetupAnchorTOML = ui.Section{ Name: "AnchorTOML", Model: ui.MessageLines{ ui.StepNext("Be sure to add anchor.toml to your version control system."), }, } )
Functions ¶
This section is empty.
Types ¶
type AuditUnauthenticated ¶ added in v0.0.11
type AuditUnauthenticated bool
type Bootstrap ¶ added in v0.1.0
type Bootstrap struct { ConfirmCh chan<- struct{} Domain, Port, Scheme string ShowHeader bool // contains filtered or unexported fields }
type BootstrapDiagnostic ¶ added in v0.1.0
type BootstrapDiagnostic struct {
// contains filtered or unexported fields
}
func (*BootstrapDiagnostic) Init ¶ added in v0.1.0
func (m *BootstrapDiagnostic) Init() tea.Cmd
func (*BootstrapDiagnostic) View ¶ added in v0.1.0
func (m *BootstrapDiagnostic) View() string
type BootstrapDiagnosticFoundMsg ¶ added in v0.1.0
type BootstrapDiagnosticFoundMsg struct{}
type BootstrapDiagnosticNotFoundMsg ¶ added in v0.1.0
type BootstrapDiagnosticNotFoundMsg struct{}
type BootstrapSuccess ¶ added in v0.1.0
func (BootstrapSuccess) Init ¶ added in v0.1.0
func (BootstrapSuccess) Init() tea.Cmd
func (BootstrapSuccess) View ¶ added in v0.1.0
func (m BootstrapSuccess) View() string
type DomainInput ¶
type DomainInput struct { InputCh chan<- string Default, Domain, TLD string Prompt, Done string // contains filtered or unexported fields }
func (*DomainInput) Init ¶
func (m *DomainInput) Init() tea.Cmd
func (*DomainInput) View ¶
func (m *DomainInput) View() string
type DomainResolver ¶ added in v0.0.13
type DomainResolver struct { Domain string // contains filtered or unexported fields }
func (*DomainResolver) Init ¶ added in v0.0.13
func (m *DomainResolver) Init() tea.Cmd
func (*DomainResolver) View ¶ added in v0.0.13
func (m *DomainResolver) View() string
type DomainStatusMsg ¶ added in v0.0.13
type DomainStatusMsg bool
type LclCleanHint ¶ added in v0.0.13
type LclCleanHint struct {
TrustStores []string
}
func (*LclCleanHint) Init ¶ added in v0.0.13
func (c *LclCleanHint) Init() tea.Cmd
func (*LclCleanHint) View ¶ added in v0.0.13
func (c *LclCleanHint) View() string
type OpenSetupGuideMsg ¶
type OpenSetupGuideMsg string
type OpenURLMsg ¶
type OpenURLMsg string
type ProvisionService ¶
type ProvisionService struct {
Name, ServerType string
Domains []string
// contains filtered or unexported fields
}
func (*ProvisionService) Init ¶
func (m *ProvisionService) Init() tea.Cmd
func (*ProvisionService) View ¶
func (m *ProvisionService) View() string
type ServiceProvisionedMsg ¶
type ServiceProvisionedMsg struct{}
type SetupCategory ¶ added in v0.0.11
type SetupCategory struct { ChoiceCh chan<- string Results detection.Results // contains filtered or unexported fields }
func (*SetupCategory) Init ¶ added in v0.0.11
func (m *SetupCategory) Init() tea.Cmd
func (*SetupCategory) View ¶ added in v0.0.11
func (m *SetupCategory) View() string
type SetupGuideHint ¶ added in v0.0.36
type SetupGuideHint struct {
LclUrl string
}
func (*SetupGuideHint) Init ¶ added in v0.0.36
func (m *SetupGuideHint) Init() tea.Cmd
func (*SetupGuideHint) View ¶ added in v0.0.36
func (m *SetupGuideHint) View() string
type SetupGuidePrompt ¶
type SetupGuidePrompt struct { ConfirmCh chan<- struct{} // contains filtered or unexported fields }
func (SetupGuidePrompt) Init ¶
func (SetupGuidePrompt) Init() tea.Cmd
func (SetupGuidePrompt) View ¶
func (m SetupGuidePrompt) View() string
type SetupMethod ¶ added in v0.0.36
type SetupMethod struct { ChoiceCh chan<- string // contains filtered or unexported fields }
func (*SetupMethod) Init ¶ added in v0.0.36
func (m *SetupMethod) Init() tea.Cmd
func (*SetupMethod) View ¶ added in v0.0.36
func (m *SetupMethod) View() string
type SetupOrgName ¶ added in v0.1.7
type SetupOrgName struct { InputCh chan<- string // contains filtered or unexported fields }
func (*SetupOrgName) Init ¶ added in v0.1.7
func (m *SetupOrgName) Init() tea.Cmd
func (*SetupOrgName) View ¶ added in v0.1.7
func (m *SetupOrgName) View() string
type SetupScan ¶ added in v0.0.11
type SetupScan struct {
// contains filtered or unexported fields
}
type SetupServiceName ¶ added in v0.1.7
type SetupServiceName struct { InputCh chan<- string Default string // contains filtered or unexported fields }
func (*SetupServiceName) Init ¶ added in v0.1.7
func (m *SetupServiceName) Init() tea.Cmd
func (*SetupServiceName) View ¶ added in v0.1.7
func (m *SetupServiceName) View() string
Click to show internal directories.
Click to hide internal directories.