MCPcopy Create free account
hub / github.com/devspace-sh/devspace / remoteLogsHook

Struct remoteLogsHook

pkg/devspace/hook/logs.go:18–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18type remoteLogsHook struct {
19 Writer io.Writer
20}
21
22func (r *remoteLogsHook) ExecuteRemotely(ctx devspacecontext.Context, hook *latest.HookConfig, podContainer *selector.SelectedPodContainer) error {
23 ctx.Log().Infof("Execute hook '%s' in container '%s/%s/%s'", ansi.Color(hookName(hook), "white+b"), podContainer.Pod.Namespace, podContainer.Pod.Name, podContainer.Container.Name)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected