models

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ServiceEnvHeader = ui.Section{
		Name: "ServiceEnvHeader",
		Model: ui.MessageLines{
			ui.Header(fmt.Sprintf("Fetch Environment Variables for Service %s", ui.Whisper("`anchor service env`"))),
		},
	}

	ServiceEnvHint = ui.Section{
		Name: "ServiceEnvHint",
		Model: ui.MessageLines{
			ui.StepHint("We'll set your environment variables to provide configuration and credentials."),
		},
	}
)
View Source
var (
	VerifyHeader = ui.Section{
		Name: "VerifyHeader",
		Model: ui.MessageLines{
			ui.Header(fmt.Sprintf("Verify Service TLS Setup and Configuration %s", ui.Whisper("`anchor service verify`"))),
		},
	}

	VerifyHint = ui.Section{
		Name: "VerifyHint",
		Model: ui.MessageLines{
			ui.StepHint("We'll check your running app to ensure TLS works as expected."),
		},
	}
)

Functions

This section is empty.

Types

type Checker added in v0.1.5

type Checker struct {
	Name string
	// contains filtered or unexported fields
}

func (*Checker) Fail added in v0.1.5

func (m *Checker) Fail(err error) tea.Msg

func (*Checker) Init added in v0.1.5

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

func (*Checker) Pass added in v0.1.5

func (m *Checker) Pass() tea.Msg

func (*Checker) Update added in v0.1.5

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

func (*Checker) View added in v0.1.5

func (m *Checker) View() string

type EnvClipboard

type EnvClipboard struct {
	InClipboard bool
	Service     string
}

func (*EnvClipboard) Init

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

func (*EnvClipboard) Update

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

func (*EnvClipboard) View

func (m *EnvClipboard) View() string

type EnvDisplay added in v0.0.39

type EnvDisplay struct {
	EnvString string
	Service   string
}

func (*EnvDisplay) Init added in v0.0.39

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

func (*EnvDisplay) Update added in v0.0.39

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

func (*EnvDisplay) View added in v0.0.39

func (m *EnvDisplay) View() string

type EnvDotenv

type EnvDotenv struct {
	InClipboard bool
	Service     string
}

func (*EnvDotenv) Init

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

func (*EnvDotenv) Update

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

func (*EnvDotenv) View

func (m *EnvDotenv) View() string

type EnvFetch

type EnvFetch struct {
	Service string
	// contains filtered or unexported fields
}

func (*EnvFetch) Init

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

func (*EnvFetch) Update

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

func (*EnvFetch) View

func (m *EnvFetch) View() string

type EnvFetchedMsg

type EnvFetchedMsg struct{}

type EnvMethod

type EnvMethod struct {
	ChoiceCh chan<- string
	// contains filtered or unexported fields
}

func (*EnvMethod) Init

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

func (*EnvMethod) Update

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

func (*EnvMethod) View

func (m *EnvMethod) View() string

type EnvNextSteps

type EnvNextSteps struct {
	LclUrl, OrgApid, RealmApid, ServiceApid string
}

func (*EnvNextSteps) Init

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

func (*EnvNextSteps) Update

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

func (*EnvNextSteps) View

func (m *EnvNextSteps) View() string

Jump to

Keyboard shortcuts

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