Documentation ¶
Index ¶
- Constants
- func BuildComplete(imageName string)
- func BuildFailed(imageName string, err error)
- func BuildInProgress(imageName string)
- func DeployComplete()
- func DeployFailed(err error)
- func DeployInProgress()
- func ForEachEvent(callback func(*proto.LogEntry) error) error
- func GetState() (*proto.State, error)
- func Handle(event *proto.Event) error
- func InitializeState(runCtx *runcontext.RunContext)
- func LogSkaffoldMetadata(info *version.Info)
- func PortForwarded(localPort, remotePort int32, podName, containerName, namespace string, ...)
Constants ¶
View Source
const ( NotStarted = "Not Started" InProgress = "In Progress" Complete = "Complete" Failed = "Failed" )
Variables ¶
This section is empty.
Functions ¶
func BuildComplete ¶ added in v0.26.0
func BuildComplete(imageName string)
BuildComplete notifies that a build has completed.
func BuildFailed ¶ added in v0.26.0
BuildFailed notifies that a build has failed.
func BuildInProgress ¶ added in v0.26.0
func BuildInProgress(imageName string)
BuildInProgress notifies that a build has been started.
func DeployComplete ¶ added in v0.26.0
func DeployComplete()
DeployComplete notifies that a deployment has completed.
func DeployFailed ¶ added in v0.26.0
func DeployFailed(err error)
DeployFailed notifies that a deployment has failed.
func DeployInProgress ¶ added in v0.26.0
func DeployInProgress()
DeployInProgress notifies that a deployment has been started.
func InitializeState ¶
func InitializeState(runCtx *runcontext.RunContext)
InitializeState instantiates the global state of the skaffold runner, as well as the event log.
func LogSkaffoldMetadata ¶
func PortForwarded ¶ added in v0.26.0
func PortForwarded(localPort, remotePort int32, podName, containerName, namespace string, portName string)
PortForwarded notifies that a remote port has been forwarded locally.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.