Help us shape the future of Go! Take the 2026 Go Developer Survey

components

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHeaderComponent

func NewHeaderComponent(root RootModel) tea.Model

Types

type RootModel

type RootModel interface {
	GetGlobal() *cli.GlobalContext

	GetCurrentProfile() *cli.Profile
	SetCurrentProfile(profile *cli.Profile) error

	GetCurrentInstallation() *cli.Installation
	SetCurrentInstallation(installation *cli.Installation) error

	GetAPIClient() graphql.Client

	Size() tea.WindowSizeMsg
	SetSize(size tea.WindowSizeMsg)

	View() string
	Height() int
}

Jump to

Keyboard shortcuts

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