event

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2019 License: Apache-2.0 Imports: 19 Imported by: 4

Documentation

Index

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

func BuildFailed(imageName string, err error)

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) (func() error, error)

InitializeState instantiates the global state of the skaffold runner, as well as the event log. It returns a shutdown callback for tearing down the grpc server, which the runner is responsible for calling. This function can only be called once.

func LogSkaffoldMetadata

func LogSkaffoldMetadata(info *version.Info)

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.

func SetupRPCClient

func SetupRPCClient(opts *config.SkaffoldOptions) error

Types

This section is empty.

Directories

Path Synopsis
Package proto is a reverse proxy.
Package proto is a reverse proxy.

Jump to

Keyboard shortcuts

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