Documentation ¶
Index ¶
- Constants
- func AutoTriggerDiff(phase constants.Phase, val bool) (bool, error)
- func BuildFailed(id int, artifact string, err error)
- func BuildInProgress(id int, artifact string)
- func BuildSucceeded(id int, artifact string)
- func ForEachEvent(callback func(*proto.Event) error) error
- func GetIteration() int
- func GetState() (*proto.State, error)
- func Handle(event *proto.Event) error
- func InitializeState(cfg event.Config)
- func ResetStateOnBuild()
- func ResetStateOnDeploy()
- func ResetStateOnTest()
- func SaveEventsToFile(fp string) error
- func TaskFailed(task constants.Phase, err error)
- func TaskInProgress(task constants.Phase)
- func TaskSucceeded(task constants.Phase)
- func UpdateStateAutoBuildTrigger(t bool)
- func UpdateStateAutoDeployTrigger(t bool)
- func UpdateStateAutoSyncTrigger(t bool)
Constants ¶
View Source
const ( NotStarted = "NotStarted" InProgress = "InProgress" Complete = "Complete" Failed = "Failed" Info = "Information" Started = "Started" Succeeded = "Succeeded" Terminated = "Terminated" Canceled = "Canceled" )
Variables ¶
This section is empty.
Functions ¶
func BuildFailed ¶ added in v1.23.0
func BuildInProgress ¶ added in v1.23.0
func BuildSucceeded ¶ added in v1.23.0
func GetIteration ¶ added in v1.23.0
func GetIteration() int
func InitializeState ¶ added in v1.23.0
InitializeState instantiates the global state of the skaffold runner, as well as the event log.
func ResetStateOnBuild ¶
func ResetStateOnBuild()
ResetStateOnBuild resets the build, test, deploy and sync state
func ResetStateOnDeploy ¶
func ResetStateOnDeploy()
ResetStateOnDeploy resets the deploy, sync and status check state
func ResetStateOnTest ¶
func ResetStateOnTest()
ResetStateOnTest resets the test, deploy, sync and status check state
func SaveEventsToFile ¶
SaveEventsToFile saves the current event log to the filepath provided
func TaskFailed ¶
func TaskInProgress ¶
func TaskSucceeded ¶
func UpdateStateAutoBuildTrigger ¶
func UpdateStateAutoBuildTrigger(t bool)
func UpdateStateAutoDeployTrigger ¶
func UpdateStateAutoDeployTrigger(t bool)
func UpdateStateAutoSyncTrigger ¶
func UpdateStateAutoSyncTrigger(t bool)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.