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 InitializeState(runCtx *runcontext.RunContext) (func() error, error)
- func LogSkaffoldMetadata(info *version.Info)
- func PortForwarded(localPort, remotePort int32, podName, containerName, namespace string, ...)
- func SetupRPCClient(opts *config.SkaffoldOptions) error
Constants ¶
View Source
const ( NotStarted = "Not Started" InProgress = "In Progress" Complete = "Complete" Failed = "Failed" )
Variables ¶
This section is empty.
Functions ¶
func BuildComplete ¶
func BuildComplete(imageName string)
BuildComplete notifies that a build has completed.
func BuildFailed ¶
BuildFailed notifies that a build has failed.
func BuildInProgress ¶
func BuildInProgress(imageName string)
BuildInProgress notifies that a build has been started.
func DeployComplete ¶
func DeployComplete()
DeployComplete notifies that a deployment has completed.
func DeployFailed ¶
func DeployFailed(err error)
DeployFailed notifies that a deployment has failed.
func DeployInProgress ¶
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 PortForwarded ¶
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.
Click to show internal directories.
Click to hide internal directories.