scaledialog

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	Visible     bool
	ServiceName string
	Replicas    uint64
	Width       int
	Height      int
}

func New

func New(width, height int) *Model

func (*Model) Hide

func (m *Model) Hide() *Model

func (*Model) Init

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

func (*Model) Show

func (m *Model) Show(serviceName string, currentReplicas uint64) *Model

func (*Model) Update

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

func (*Model) View

func (m *Model) View() string

type ResultMsg

type ResultMsg struct {
	Confirmed bool
	Replicas  uint64
}

Jump to

Keyboard shortcuts

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