Documentation ¶
Index ¶
- Variables
- type AuditResources
- type AuditResourcesFoundMsg
- type AuditResourcesNotFoundMsg
- type AuditUnauthenticated
- type DomainInput
- type DomainResolver
- type DomainStatusMsg
- type LclCleanHint
- type LclConfig
- type LclConfigSuccess
- type OpenSetupGuideMsg
- type OpenURLMsg
- type ProvisionService
- type ServiceProvisionedMsg
- type SetupCategory
- type SetupGuideHint
- type SetupGuidePrompt
- type SetupMethod
- type SetupName
- type SetupScan
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 begin by checking your system to determine what you need for your setup."), }, } )
View Source
var ( LclConfigSkip = ui.Section{ Name: "LclConfigSkip", Model: ui.MessageLines{ ui.Skip("Configure System for lcl.host Local Development `anchor lcl config`"), }, } LclConfigHeader = ui.Section{ Name: "LclConfigHeader", Model: ui.MessageLines{ ui.Header(fmt.Sprintf("Configure System for lcl.host HTTPS Local Development %s", ui.Whisper("`anchor lcl config`"))), }, } LclConfigHint = ui.Section{ Name: "LclConfigHint", Model: ui.MessageLines{ ui.StepHint("Before issuing HTTPS certificates for your local applications, we need to"), ui.StepHint("configure your browsers and OS to trust your personal certificates."), ui.Whisper(" |"), ui.StepHint("We'll start a local diagnostic web server to guide you through the process."), }, } 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 lcl.host HTTPS in your local development environment!"), ui.Hint(""), ui.Hint("lcl.host (made by the team at Anchor) adds HTTPS in a fast and totally free way"), ui.Hint("to local applications & services."), }, } 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("Once setup finishes, you'll have a secure context in your browsers and local"), ui.StepHint("system so you can use HTTPS locally."), }, } )
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 start by scanning your current directory, then ask you questions about"), ui.StepHint("your local application so that we can generate setup instructions for you."), }, } )
Functions ¶
This section is empty.
Types ¶
type AuditResources ¶ added in v0.0.11
type AuditResources struct {
// contains filtered or unexported fields
}
func (*AuditResources) Init ¶ added in v0.0.11
func (m *AuditResources) Init() tea.Cmd
func (*AuditResources) View ¶ added in v0.0.11
func (m *AuditResources) View() string
type AuditResourcesFoundMsg ¶ added in v0.0.11
type AuditResourcesFoundMsg struct{}
type AuditResourcesNotFoundMsg ¶ added in v0.0.11
type AuditResourcesNotFoundMsg struct{}
type AuditUnauthenticated ¶ added in v0.0.11
type AuditUnauthenticated bool
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 // contains filtered or unexported fields }
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 LclConfig ¶ added in v0.0.11
type LclConfig struct { ConfirmCh chan<- struct{} Domain, Port, Scheme string ShowHeader bool // contains filtered or unexported fields }
type LclConfigSuccess ¶ added in v0.0.11
type LclConfigSuccess struct {
Org, Realm, CA string
}
func (LclConfigSuccess) Init ¶ added in v0.0.11
func (LclConfigSuccess) Init() tea.Cmd
func (LclConfigSuccess) View ¶ added in v0.0.11
func (m LclConfigSuccess) 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 SetupName ¶ added in v0.0.11
type SetupName struct { InputCh chan<- string Default string // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.