Documentation ¶
Index ¶
- Constants
- func ApplicationLog(podName, containerName, message string)
- func AssignArtifactIDs(artifacts []*latestV1.Artifact)
- func AutoTriggerDiff(phase constants.Phase, val bool) (bool, error)
- func BuildFailed(artifact string, err error)
- func BuildInProgress(artifact string)
- func BuildSucceeded(artifact string)
- func CacheCheckHit(artifact string)
- func CacheCheckInProgress(artifact string)
- func CacheCheckMiss(artifact string)
- func DeployFailed(id int, err error)
- func DeployInProgress(id int)
- func DeploySucceeded(id int)
- func ForEachApplicationLog(callback func(*proto.Event) error) error
- func ForEachEvent(callback func(*proto.Event) error) error
- func ForEachSkaffoldLog(callback func(*proto.Event) error) error
- func GetIteration() int
- func GetState() (*proto.State, error)
- func Handle(event *proto.Event) error
- func InitializeState(cfg Config)
- func LogMetaEvent()
- func NewLogger(phase constants.Phase, subtaskID, origin string) io.Writer
- func ResetStateOnBuild()
- func ResetStateOnDeploy()
- func ResetStateOnTest()
- func ResourceStatusCheckEventCompleted(r string, ae proto.ActionableErr)
- func ResourceStatusCheckEventUpdated(r string, ae proto.ActionableErr)
- func SaveEventsToFile(fp string) error
- func TaskFailed(task constants.Phase, err error)
- func TaskInProgress(task constants.Phase, description string)
- func TaskSucceeded(task constants.Phase)
- func TesterFailed(id int, err error)
- func TesterInProgress(id int)
- func TesterSucceeded(id int)
- func UpdateStateAutoBuildTrigger(t bool)
- func UpdateStateAutoDeployTrigger(t bool)
- func UpdateStateAutoSyncTrigger(t bool)
- type Config
Constants ¶
View Source
const ( Cache = "Cache" Build = "Build" )
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 ApplicationLog ¶ added in v1.24.1
func ApplicationLog(podName, containerName, message string)
func AssignArtifactIDs ¶ added in v1.26.0
func BuildFailed ¶ added in v1.23.0
func BuildInProgress ¶ added in v1.23.0
func BuildInProgress(artifact string)
func BuildSucceeded ¶ added in v1.23.0
func BuildSucceeded(artifact string)
func CacheCheckHit ¶ added in v1.26.0
func CacheCheckHit(artifact string)
func CacheCheckInProgress ¶ added in v1.26.0
func CacheCheckInProgress(artifact string)
func CacheCheckMiss ¶ added in v1.26.0
func CacheCheckMiss(artifact string)
func DeployFailed ¶ added in v1.24.0
func DeployInProgress ¶ added in v1.24.0
func DeployInProgress(id int)
func DeploySucceeded ¶ added in v1.24.0
func DeploySucceeded(id int)
func ForEachApplicationLog ¶ added in v1.25.0
func ForEachSkaffoldLog ¶ added in v1.26.0
func GetIteration ¶ added in v1.23.0
func GetIteration() int
func InitializeState ¶ added in v1.23.0
func InitializeState(cfg Config)
InitializeState instantiates the global state of the skaffold runner, as well as the event log.
func LogMetaEvent ¶ added in v1.26.0
func LogMetaEvent()
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 ResourceStatusCheckEventCompleted ¶ added in v1.26.0
func ResourceStatusCheckEventCompleted(r string, ae proto.ActionableErr)
func ResourceStatusCheckEventUpdated ¶ added in v1.26.0
func ResourceStatusCheckEventUpdated(r string, ae proto.ActionableErr)
func SaveEventsToFile ¶
SaveEventsToFile saves the current event log to the filepath provided
func TaskFailed ¶
func TaskInProgress ¶
func TaskSucceeded ¶
func TesterFailed ¶ added in v1.24.0
func TesterInProgress ¶ added in v1.24.0
func TesterInProgress(id int)
func TesterSucceeded ¶ added in v1.24.0
func TesterSucceeded(id int)
func UpdateStateAutoBuildTrigger ¶
func UpdateStateAutoBuildTrigger(t bool)
func UpdateStateAutoDeployTrigger ¶
func UpdateStateAutoDeployTrigger(t bool)
func UpdateStateAutoSyncTrigger ¶
func UpdateStateAutoSyncTrigger(t bool)
Types ¶
Click to show internal directories.
Click to hide internal directories.