update

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActivateSearch added in v0.1.7

func ActivateSearch(m *model.Model) *model.Model

ActivateSearch activates search mode

func CreateProvider added in v0.1.5

func CreateProvider(m *model.Model, name, profile, region string) (cloud.Provider, error)

CreateProvider creates a provider with the given name and configuration

func DeactivateSearch added in v0.1.7

func DeactivateSearch(m *model.Model) *model.Model

DeactivateSearch deactivates search mode

func ExecuteAction

func ExecuteAction(m *model.Model) error

ExecuteAction executes the selected action

func ExecuteApproval

func ExecuteApproval(m *model.Model) tea.Cmd

ExecuteApproval executes an approval action

func ExecutePipeline

func ExecutePipeline(m *model.Model) tea.Cmd

ExecutePipeline executes a pipeline

func FetchApprovals

func FetchApprovals(m *model.Model) tea.Cmd

FetchApprovals fetches pipeline approvals from the provider

func FetchNextApprovalsPage added in v0.1.7

func FetchNextApprovalsPage(m *model.Model) tea.Cmd

FetchNextApprovalsPage fetches the next page of pipeline approvals

func FetchNextFunctionsPage added in v0.1.7

func FetchNextFunctionsPage(m *model.Model) tea.Cmd

FetchNextFunctionsPage fetches the next page of Lambda functions

func FetchNextPage added in v0.1.7

func FetchNextPage(m *model.Model) tea.Cmd

FetchNextPage fetches the next page based on the current view

func FetchNextPipelinesPage added in v0.1.7

func FetchNextPipelinesPage(m *model.Model) tea.Cmd

FetchNextPipelinesPage fetches the next page of CodePipeline pipelines

func FetchPipelineStatus

func FetchPipelineStatus(m *model.Model) tea.Cmd

FetchPipelineStatus fetches pipeline status from the provider

func FetchPreviousPage added in v0.1.7

func FetchPreviousPage(m *model.Model) tea.Cmd

FetchPreviousPage fetches the previous page based on the current view

func HandleAWSConfigSelection

func HandleAWSConfigSelection(m *model.Model) (tea.Model, tea.Cmd)

HandleAWSConfigSelection handles the selection of AWS configuration options

func HandleApprovalResult

func HandleApprovalResult(m *model.Model, err error)

HandleApprovalResult handles the result of an approval action

func HandleApprovalsPagination added in v0.1.7

func HandleApprovalsPagination(m *model.Model, msg model.ApprovalsPageMsg) *model.Model

HandleApprovalsPagination handles the pagination of pipeline approvals

func HandleAuthConfigSelection

func HandleAuthConfigSelection(m *model.Model) (tea.Model, tea.Cmd)

HandleAuthConfigSelection handles the selection of authentication configuration options

func HandleAuthMethodSelection

func HandleAuthMethodSelection(m *model.Model) (tea.Model, tea.Cmd)

HandleAuthMethodSelection handles the selection of an authentication method

func HandleConfirmationSelection

func HandleConfirmationSelection(m *model.Model) (tea.Model, tea.Cmd)

HandleConfirmationSelection handles the selection of an approval action

func HandleEnter

func HandleEnter(m *model.Model) (tea.Model, tea.Cmd)

HandleEnter handles the Enter key press based on the current view

func HandleExecutionSelection

func HandleExecutionSelection(m *model.Model) (tea.Model, tea.Cmd)

HandleExecutionSelection handles the selection of an execution action

func HandleFunctionSelection

func HandleFunctionSelection(m *model.Model) (tea.Model, tea.Cmd)

HandleFunctionSelection handles the selection of a function

func HandleFunctionStatus

func HandleFunctionStatus(m *model.Model) (tea.Model, tea.Cmd)

HandleFunctionStatus handles the function status operation

func HandleFunctionStatusOperation

func HandleFunctionStatusOperation(m *model.Model) (tea.Model, tea.Cmd)

HandleFunctionStatusOperation handles the function status operation

func HandleFunctionStatusPagination added in v0.1.7

func HandleFunctionStatusPagination(m *model.Model, msg model.FunctionsPageMsg) *model.Model

HandleFunctionStatusPagination handles the pagination of Lambda functions

func HandleLambdaExecute added in v0.1.5

func HandleLambdaExecute(m *model.Model) (tea.Model, tea.Cmd)

HandleLambdaExecute handles the execution of a Lambda function

func HandleLambdaExecuteResult added in v0.1.5

func HandleLambdaExecuteResult(m *model.Model, result *model.LambdaExecuteResultMsg) *model.Model

HandleLambdaExecuteResult handles the result of a Lambda execution

func HandleLambdaExecuteSelection added in v0.1.5

func HandleLambdaExecuteSelection(m *model.Model) (tea.Model, tea.Cmd)

HandleLambdaExecuteSelection handles the selection to execute a Lambda function

func HandlePaginationKeyPress added in v0.1.7

func HandlePaginationKeyPress(m *model.Model, key string) (tea.Model, tea.Cmd)

HandlePaginationKeyPress handles pagination key presses (h for previous, l for next)

func HandlePipelineApprovals

func HandlePipelineApprovals(m *model.Model) (tea.Model, tea.Cmd)

HandlePipelineApprovals handles the pipeline approvals operation

func HandlePipelineExecution

func HandlePipelineExecution(m *model.Model, err error)

HandlePipelineExecution handles the result of a pipeline execution

func HandlePipelineSelection

func HandlePipelineSelection(m *model.Model) (tea.Model, tea.Cmd)

HandlePipelineSelection handles the selection of a pipeline

func HandlePipelineStatus

func HandlePipelineStatus(m *model.Model) (tea.Model, tea.Cmd)

HandlePipelineStatus handles the pipeline status operation

func HandlePipelineStatusPagination added in v0.1.7

func HandlePipelineStatusPagination(m *model.Model, msg model.PipelinesPageMsg) *model.Model

HandlePipelineStatusPagination handles the pagination of CodePipeline pipelines

func HandleProviderConfigSelection

func HandleProviderConfigSelection(m *model.Model) (tea.Model, tea.Cmd)

HandleProviderConfigSelection handles the selection of provider configuration options

func HandleProviderSelection

func HandleProviderSelection(m *model.Model) (tea.Model, tea.Cmd)

HandleProviderSelection handles the selection of a provider

func HandleSummaryConfirmation

func HandleSummaryConfirmation(m *model.Model) (tea.Model, tea.Cmd)

HandleSummaryConfirmation handles the confirmation of the summary

func HandleTableSelect

func HandleTableSelect(m *model.Model) (tea.Model, tea.Cmd)

HandleTableSelect handles table row selection based on the current view

func HandleTextInputSubmission

func HandleTextInputSubmission(m *model.Model) (tea.Model, tea.Cmd)

HandleTextInputSubmission handles the submission of text input

func InitializeProviders added in v0.1.5

func InitializeProviders(m *model.Model)

InitializeProviders initializes the providers in the registry

func InitializeTestRegistry added in v0.1.5

func InitializeTestRegistry(provider cloud.Provider) *cloud.ProviderRegistry

InitializeTestRegistry creates a registry with the given provider for testing

func IsPrintableChar added in v0.1.7

func IsPrintableChar(r rune) bool

IsPrintableChar checks if a character is printable

func NavigateBack(m *model.Model) *model.Model

NavigateBack handles navigation to the previous view

func SelectApproval

func SelectApproval(m *model.Model) (tea.Model, tea.Cmd)

SelectApproval handles the selection of a pipeline approval

func SelectCategory

func SelectCategory(m *model.Model) (tea.Model, tea.Cmd)

SelectCategory handles the selection of a category

func SelectOperation

func SelectOperation(m *model.Model) (tea.Model, tea.Cmd)

SelectOperation handles the selection of an operation

func SelectService

func SelectService(m *model.Model) (tea.Model, tea.Cmd)

SelectService handles the selection of a service

func UpdateModelForView

func UpdateModelForView(m *model.Model) error

UpdateModelForView updates the model based on the current view

func UpdateSearchQuery added in v0.1.7

func UpdateSearchQuery(m *model.Model, query string) *model.Model

UpdateSearchQuery updates the search query and filters items

Types

type ModelWrapper

type ModelWrapper struct {
	Model *model.Model
}

ModelWrapper wraps a core.Model to implement the tea.Model interface

func WrapModel

func WrapModel(m *model.Model) ModelWrapper

WrapModel wraps a core.Model in a ModelWrapper

func (ModelWrapper) Init

func (m ModelWrapper) Init() tea.Cmd

Init implements the tea.Model interface

func (ModelWrapper) Update

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

Update implements the tea.Model interface

func (ModelWrapper) View

func (m ModelWrapper) View() string

View implements the tea.Model interface

Jump to

Keyboard shortcuts

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