stack

package
v0.49.100 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager(cli *client.Client, ctx context.Context, contextName string) *Manager

func (*Manager) Deploy

func (m *Manager) Deploy(name string, composeFile string) error

func (*Manager) List

func (m *Manager) List() ([]common.Resource, error)

func (*Manager) PS

func (m *Manager) PS(name string) (string, error)

func (*Manager) Remove

func (m *Manager) Remove(name string) error

type Stack

type Stack struct {
	Name     string
	Services int
	Running  int
	Status   string
}

func (Stack) GetCells

func (s Stack) GetCells() []string

func (Stack) GetColumnValue

func (s Stack) GetColumnValue(column string) string

func (Stack) GetDefaultColumn

func (s Stack) GetDefaultColumn() string

func (Stack) GetDefaultSortColumn

func (s Stack) GetDefaultSortColumn() string

func (Stack) GetID

func (s Stack) GetID() string

func (Stack) GetStatusColor

func (s Stack) GetStatusColor() (tcell.Color, tcell.Color)

Jump to

Keyboard shortcuts

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