action

package
v0.0.0-...-d13d548 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: MIT Imports: 1 Imported by: 2

Documentation

Overview

Package action defines actions that can be applied to the data model in store.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action interface{}

Action represents any of the supported actions.

type AppendRP

type AppendRP struct {
	RP *model.RepoPresentation
}

AppendRP is an action for appending a single update to the end.

type DoneCheckingUpdates

type DoneCheckingUpdates struct{}

DoneCheckingUpdates is an action for when the update checking process is completed.

type Response

type Response interface{}

Response represents any of the supported responses.

type SetUpdated

type SetUpdated struct {
	RepoRoot string
}

SetUpdated is an action for setting an update with RepoRoot to updated state.

type SetUpdating

type SetUpdating struct {
	RepoRoot string
}

SetUpdating is an action for setting an update with RepoRoot to updating state.

type SetUpdatingAll

type SetUpdatingAll struct{}

SetUpdatingAll is an action for setting all available updates to updating state.

type SetUpdatingAllResponse

type SetUpdatingAllResponse struct {
	RepoRoots []string
}

SetUpdatingAllResponse is the response from SetUpdatingAll action, listing RepoRoot of all updates that were affected.

Jump to

Keyboard shortcuts

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