stack

package
v3.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand() *cobra.Command

func NewCreateCommand

func NewCreateCommand() *cobra.Command

func NewDeleteCommand

func NewDeleteCommand() *cobra.Command

func NewDisableCommand

func NewDisableCommand() *cobra.Command

func NewEnableCommand

func NewEnableCommand() *cobra.Command

func NewHistoryCommand

func NewHistoryCommand() *cobra.Command

func NewListCommand

func NewListCommand() *cobra.Command

func NewProxyCommand

func NewProxyCommand() *cobra.Command

func NewRestoreStackCommand

func NewRestoreStackCommand() *cobra.Command

func NewShowCommand

func NewShowCommand() *cobra.Command

func NewUpdateCommand

func NewUpdateCommand() *cobra.Command

func NewUpgradeCommand

func NewUpgradeCommand() *cobra.Command

Types

type CreateController

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

func NewStackCreateController

func NewStackCreateController() *CreateController

func (*CreateController) GetStore

func (c *CreateController) GetStore() *CreateStore

func (*CreateController) Render

func (c *CreateController) Render(cmd *cobra.Command, _ []string) error

func (*CreateController) Run

func (c *CreateController) Run(cmd *cobra.Command, args []string) (fctl.Renderable, error)

type CreateStore

type CreateStore struct {
	Stack    *components.Stack
	Versions *shared.GetVersionsResponse
}

func NewDefaultStackCreateStore

func NewDefaultStackCreateStore() *CreateStore

type DeletedStackStore

type DeletedStackStore struct {
	Stack  *components.Stack `json:"stack"`
	Status string            `json:"status"`
}

func NewDefaultDeletedStackStore

func NewDefaultDeletedStackStore() *DeletedStackStore

type DisableController

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

func NewDisableController

func NewDisableController() *DisableController

func (*DisableController) GetStore

func (c *DisableController) GetStore() *DisabledStore

func (*DisableController) Render

func (c *DisableController) Render(cmd *cobra.Command, args []string) error

func (*DisableController) Run

func (c *DisableController) Run(cmd *cobra.Command, args []string) (fctl.Renderable, error)

type DisabledStore

type DisabledStore struct {
	Stack  *components.Stack `json:"stack"`
	Status string            `json:"status"`
}

func NewDisableStore

func NewDisableStore() *DisabledStore

type EmptyRenderable

type EmptyRenderable struct{}

EmptyRenderable is a dummy implementation of the Renderable interface

func (*EmptyRenderable) Render

func (r *EmptyRenderable) Render(cmd *cobra.Command, args []string) error

type EnableController

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

func NewEnableController

func NewEnableController() *EnableController

func (*EnableController) GetStore

func (c *EnableController) GetStore() *EnableStore

func (*EnableController) Render

func (c *EnableController) Render(cmd *cobra.Command, args []string) error

func (*EnableController) Run

func (c *EnableController) Run(cmd *cobra.Command, args []string) (fctl.Renderable, error)

type EnableStore

type EnableStore struct {
	Stack  *components.Stack `json:"stack"`
	Status string            `json:"status"`
}

func NewEnableStore

func NewEnableStore() *EnableStore

type HistoryController

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

func NewHistoryController

func NewHistoryController() *HistoryController

func (*HistoryController) GetStore

func (c *HistoryController) GetStore() *HistoryStore

func (*HistoryController) Render

func (c *HistoryController) Render(cmd *cobra.Command, args []string) error

func (*HistoryController) Run

func (c *HistoryController) Run(cmd *cobra.Command, args []string) (fctl.Renderable, error)

type HistoryStore

type HistoryStore struct {
	Cursor *components.LogCursorData `json:"cursor"`
}

func NewDefaultHistoryStore

func NewDefaultHistoryStore() *HistoryStore

type ProxyController

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

func NewStackProxyController

func NewStackProxyController() *ProxyController

func (*ProxyController) GetStore

func (c *ProxyController) GetStore() *ProxyStore

func (*ProxyController) Run

func (c *ProxyController) Run(cmd *cobra.Command, _ []string) (fctl.Renderable, error)

type ProxyStore

type ProxyStore struct {
}

func NewDefaultStackProxyStore

func NewDefaultStackProxyStore() *ProxyStore

type Stack

type Stack struct {
	Id           string  `json:"id"`
	Name         string  `json:"name"`
	Dashboard    string  `json:"dashboard"`
	RegionID     string  `json:"region"`
	DisabledAt   *string `json:"disabledAt"`
	DeletedAt    *string `json:"deletedAt"`
	AuditEnabled string  `json:"auditEnabled"`
	Status       string  `json:"status"`
}

type StackDeleteController

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

func NewStackDeleteController

func NewStackDeleteController() *StackDeleteController

func (*StackDeleteController) GetStore

func (*StackDeleteController) Render

func (c *StackDeleteController) Render(cmd *cobra.Command, args []string) error

func (*StackDeleteController) Run

func (c *StackDeleteController) Run(cmd *cobra.Command, args []string) (fctl.Renderable, error)

type StackListController

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

func NewStackListController

func NewStackListController() *StackListController

func (*StackListController) GetStore

func (c *StackListController) GetStore() *StackListStore

func (*StackListController) Render

func (c *StackListController) Render(cmd *cobra.Command, args []string) error

func (*StackListController) Run

type StackListStore

type StackListStore struct {
	Stacks []Stack `json:"stacks"`
}

func NewDefaultStackListStore

func NewDefaultStackListStore() *StackListStore

type StackRestoreController

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

func NewStackRestoreController

func NewStackRestoreController() *StackRestoreController

func (*StackRestoreController) GetStore

func (*StackRestoreController) Render

func (c *StackRestoreController) Render(cmd *cobra.Command, _ []string) error

func (*StackRestoreController) Run

type StackRestoreStore

type StackRestoreStore struct {
	Stack    *components.Stack           `json:"stack"`
	Versions *shared.GetVersionsResponse `json:"versions"`
}

func NewDefaultVersionStore

func NewDefaultVersionStore() *StackRestoreStore

type StackShowController

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

func NewStackShowController

func NewStackShowController() *StackShowController

func (*StackShowController) GetStore

func (c *StackShowController) GetStore() *StackShowStore

func (*StackShowController) Render

func (c *StackShowController) Render(cmd *cobra.Command, args []string) error

func (*StackShowController) Run

func (c *StackShowController) Run(cmd *cobra.Command, args []string) (fctl.Renderable, error)

type StackShowStore

type StackShowStore struct {
	Stack    *components.Stack           `json:"stack"`
	Versions *shared.GetVersionsResponse `json:"versions"`
}

func NewDefaultStackShowStore

func NewDefaultStackShowStore() *StackShowStore

type UpdateController

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

func NewStackUpdateController

func NewStackUpdateController() *UpdateController

func (*UpdateController) GetStore

func (c *UpdateController) GetStore() *UpdateStore

func (*UpdateController) Render

func (c *UpdateController) Render(cmd *cobra.Command, _ []string) error

func (*UpdateController) Run

func (c *UpdateController) Run(cmd *cobra.Command, args []string) (fctl.Renderable, error)

type UpdateStore

type UpdateStore struct {
	Stack *components.Stack
}

func NewDefaultStackUpdateStore

func NewDefaultStackUpdateStore() *UpdateStore

type UpgradeController

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

func NewUpgradeController

func NewUpgradeController() *UpgradeController

func (*UpgradeController) GetStore

func (c *UpgradeController) GetStore() *UpgradeStore

func (*UpgradeController) Render

func (c *UpgradeController) Render(cmd *cobra.Command, args []string) error

func (*UpgradeController) Run

func (c *UpgradeController) Run(cmd *cobra.Command, args []string) (fctl.Renderable, error)

type UpgradeStore

type UpgradeStore struct {
	Stack *components.Stack
}

func NewDefaultUpgradeStore

func NewDefaultUpgradeStore() *UpgradeStore

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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