interactive

package
v0.0.0-...-eda659f Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIResourceCreateModel

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

func NewAPIResourceCreateModel

func NewAPIResourceCreateModel(cli *core.CLI) *APIResourceCreateModel

func (*APIResourceCreateModel) Init

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

func (*APIResourceCreateModel) NextQuestion

func (m *APIResourceCreateModel) NextQuestion()

func (*APIResourceCreateModel) Update

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

func (*APIResourceCreateModel) Value

func (m *APIResourceCreateModel) Value() string

func (*APIResourceCreateModel) View

func (m *APIResourceCreateModel) View() string

type APIResourceCreateState

type APIResourceCreateState int
const (
	StateInitiated APIResourceCreateState = iota
	StateAddingScopes
	StateConfirmation
	StateCreatingInProgress
	StateCreatingCompleted
	StateCreatingError
)

type ApiResourceListModel

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

func NewApiResourceListModel

func NewApiResourceListModel(cli *core.CLI) *ApiResourceListModel

func (*ApiResourceListModel) Init

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

Init initializes the model and returns the initial command.

func (*ApiResourceListModel) Update

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

func (*ApiResourceListModel) View

func (m *ApiResourceListModel) View() string

type ApiResourceListState

type ApiResourceListState int

ApiResourceListState represents the current state of the ApiResource list view.

const (
	StateFetching ApiResourceListState = iota
	StateCompleted
	StateError
	StateApiResourceSelected
)

Jump to

Keyboard shortcuts

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