jupyterhelperbin

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package jupyterhelperbin without the embed_jupyter_helper tag is a stub that reports "not embedded" — this is the default for `go build ./...` and for dev workflows that don't want a long Makefile dance every time the api binary is rebuilt.

In this mode, the JupyterLab submit endpoint returns 503 with a clear "build with -tags embed_jupyter_helper" message.

Index

Constants

This section is empty.

Variables

View Source
var ErrNotEmbedded = errors.New("jupyterhelperbin: helper not embedded; rebuild with `make build` (which runs `build-jupyter-helper` first) or set -tags embed_jupyter_helper manually")

ErrNotEmbedded is returned when the binary was built without the embed_jupyter_helper tag, or when the requested GOOS variant wasn't built into the dist/ directory.

Functions

func BytesFor

func BytesFor(_, _ string) ([]byte, error)

BytesFor returns ErrNotEmbedded in dev builds for any (GOOS, GOARCH).

func IsEmbedded

func IsEmbedded() bool

IsEmbedded reports whether the helper binary is compiled into this binary.

Types

This section is empty.

Jump to

Keyboard shortcuts

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