update

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 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 FetchPipelineStatus

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

FetchPipelineStatus fetches pipeline status from the provider

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 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 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 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 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 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

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