Documentation
¶
Index ¶
- func ActivateSearch(m *model.Model) *model.Model
- func CreateProvider(m *model.Model, name, profile, region string) (cloud.Provider, error)
- func DeactivateSearch(m *model.Model) *model.Model
- func ExecuteAction(m *model.Model) error
- func ExecuteApproval(m *model.Model) tea.Cmd
- func ExecutePipeline(m *model.Model) tea.Cmd
- func FetchApprovals(m *model.Model) tea.Cmd
- func FetchNextApprovalsPage(m *model.Model) tea.Cmd
- func FetchNextFunctionsPage(m *model.Model) tea.Cmd
- func FetchNextPage(m *model.Model) tea.Cmd
- func FetchNextPipelinesPage(m *model.Model) tea.Cmd
- func FetchPipelineStatus(m *model.Model) tea.Cmd
- func FetchPreviousPage(m *model.Model) tea.Cmd
- func HandleAWSConfigSelection(m *model.Model) (tea.Model, tea.Cmd)
- func HandleApprovalResult(m *model.Model, err error)
- func HandleApprovalsPagination(m *model.Model, msg model.ApprovalsPageMsg) *model.Model
- func HandleAuthConfigSelection(m *model.Model) (tea.Model, tea.Cmd)
- func HandleAuthMethodSelection(m *model.Model) (tea.Model, tea.Cmd)
- func HandleConfirmationSelection(m *model.Model) (tea.Model, tea.Cmd)
- func HandleEnter(m *model.Model) (tea.Model, tea.Cmd)
- func HandleExecutionSelection(m *model.Model) (tea.Model, tea.Cmd)
- func HandleFunctionSelection(m *model.Model) (tea.Model, tea.Cmd)
- func HandleFunctionStatus(m *model.Model) (tea.Model, tea.Cmd)
- func HandleFunctionStatusOperation(m *model.Model) (tea.Model, tea.Cmd)
- func HandleFunctionStatusPagination(m *model.Model, msg model.FunctionsPageMsg) *model.Model
- func HandleLambdaExecute(m *model.Model) (tea.Model, tea.Cmd)
- func HandleLambdaExecuteResult(m *model.Model, result *model.LambdaExecuteResultMsg) *model.Model
- func HandleLambdaExecuteSelection(m *model.Model) (tea.Model, tea.Cmd)
- func HandlePaginationKeyPress(m *model.Model, key string) (tea.Model, tea.Cmd)
- func HandlePipelineApprovals(m *model.Model) (tea.Model, tea.Cmd)
- func HandlePipelineExecution(m *model.Model, err error)
- func HandlePipelineSelection(m *model.Model) (tea.Model, tea.Cmd)
- func HandlePipelineStatus(m *model.Model) (tea.Model, tea.Cmd)
- func HandlePipelineStatusPagination(m *model.Model, msg model.PipelinesPageMsg) *model.Model
- func HandleProviderConfigSelection(m *model.Model) (tea.Model, tea.Cmd)
- func HandleProviderSelection(m *model.Model) (tea.Model, tea.Cmd)
- func HandleSummaryConfirmation(m *model.Model) (tea.Model, tea.Cmd)
- func HandleTableSelect(m *model.Model) (tea.Model, tea.Cmd)
- func HandleTextInputSubmission(m *model.Model) (tea.Model, tea.Cmd)
- func InitializeProviders(m *model.Model)
- func InitializeTestRegistry(provider cloud.Provider) *cloud.ProviderRegistry
- func IsPrintableChar(r rune) bool
- func NavigateBack(m *model.Model) *model.Model
- func SelectApproval(m *model.Model) (tea.Model, tea.Cmd)
- func SelectCategory(m *model.Model) (tea.Model, tea.Cmd)
- func SelectOperation(m *model.Model) (tea.Model, tea.Cmd)
- func SelectService(m *model.Model) (tea.Model, tea.Cmd)
- func UpdateModelForView(m *model.Model) error
- func UpdateSearchQuery(m *model.Model, query string) *model.Model
- type ModelWrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivateSearch ¶ added in v0.1.7
ActivateSearch activates search mode
func CreateProvider ¶ added in v0.1.5
CreateProvider creates a provider with the given name and configuration
func DeactivateSearch ¶ added in v0.1.7
DeactivateSearch deactivates search mode
func ExecuteAction ¶
ExecuteAction executes the selected action
func ExecuteApproval ¶
ExecuteApproval executes an approval action
func ExecutePipeline ¶
ExecutePipeline executes a pipeline
func FetchApprovals ¶
FetchApprovals fetches pipeline approvals from the provider
func FetchNextApprovalsPage ¶ added in v0.1.7
FetchNextApprovalsPage fetches the next page of pipeline approvals
func FetchNextFunctionsPage ¶ added in v0.1.7
FetchNextFunctionsPage fetches the next page of Lambda functions
func FetchNextPage ¶ added in v0.1.7
FetchNextPage fetches the next page based on the current view
func FetchNextPipelinesPage ¶ added in v0.1.7
FetchNextPipelinesPage fetches the next page of CodePipeline pipelines
func FetchPipelineStatus ¶
FetchPipelineStatus fetches pipeline status from the provider
func FetchPreviousPage ¶ added in v0.1.7
FetchPreviousPage fetches the previous page based on the current view
func HandleAWSConfigSelection ¶
HandleAWSConfigSelection handles the selection of AWS configuration options
func HandleApprovalResult ¶
HandleApprovalResult handles the result of an approval action
func HandleApprovalsPagination ¶ added in v0.1.7
HandleApprovalsPagination handles the pagination of pipeline approvals
func HandleAuthConfigSelection ¶
HandleAuthConfigSelection handles the selection of authentication configuration options
func HandleAuthMethodSelection ¶
HandleAuthMethodSelection handles the selection of an authentication method
func HandleConfirmationSelection ¶
HandleConfirmationSelection handles the selection of an approval action
func HandleEnter ¶
HandleEnter handles the Enter key press based on the current view
func HandleExecutionSelection ¶
HandleExecutionSelection handles the selection of an execution action
func HandleFunctionSelection ¶
HandleFunctionSelection handles the selection of a function
func HandleFunctionStatus ¶
HandleFunctionStatus handles the function status operation
func HandleFunctionStatusOperation ¶
HandleFunctionStatusOperation handles the function status operation
func HandleFunctionStatusPagination ¶ added in v0.1.7
HandleFunctionStatusPagination handles the pagination of Lambda functions
func HandleLambdaExecute ¶ added in v0.1.5
HandleLambdaExecute handles the execution of a Lambda function
func HandleLambdaExecuteResult ¶ added in v0.1.5
HandleLambdaExecuteResult handles the result of a Lambda execution
func HandleLambdaExecuteSelection ¶ added in v0.1.5
HandleLambdaExecuteSelection handles the selection to execute a Lambda function
func HandlePaginationKeyPress ¶ added in v0.1.7
HandlePaginationKeyPress handles pagination key presses (h for previous, l for next)
func HandlePipelineApprovals ¶
HandlePipelineApprovals handles the pipeline approvals operation
func HandlePipelineExecution ¶
HandlePipelineExecution handles the result of a pipeline execution
func HandlePipelineSelection ¶
HandlePipelineSelection handles the selection of a pipeline
func HandlePipelineStatus ¶
HandlePipelineStatus handles the pipeline status operation
func HandlePipelineStatusPagination ¶ added in v0.1.7
HandlePipelineStatusPagination handles the pagination of CodePipeline pipelines
func HandleProviderConfigSelection ¶
HandleProviderConfigSelection handles the selection of provider configuration options
func HandleProviderSelection ¶
HandleProviderSelection handles the selection of a provider
func HandleSummaryConfirmation ¶
HandleSummaryConfirmation handles the confirmation of the summary
func HandleTableSelect ¶
HandleTableSelect handles table row selection based on the current view
func HandleTextInputSubmission ¶
HandleTextInputSubmission handles the submission of text input
func InitializeProviders ¶ added in v0.1.5
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
IsPrintableChar checks if a character is printable
func NavigateBack ¶
NavigateBack handles navigation to the previous view
func SelectApproval ¶
SelectApproval handles the selection of a pipeline approval
func SelectCategory ¶
SelectCategory handles the selection of a category
func SelectOperation ¶
SelectOperation handles the selection of an operation
func SelectService ¶
SelectService handles the selection of a service
func UpdateModelForView ¶
UpdateModelForView updates the model based on the current view
Types ¶
type ModelWrapper ¶
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) View ¶
func (m ModelWrapper) View() string
View implements the tea.Model interface