Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/carlmontanari/boxen
/ functions
Functions
380 in github.com/carlmontanari/boxen
⨍
Functions
380
◇
Types & classes
58
↓ 1 callers
Method
GetFields
()
proto/v1/server.pb.go:80
↓ 1 callers
Method
GetFile
()
proto/v1/server.pb.go:498
↓ 1 callers
Method
GetLevel
()
proto/v1/server.pb.go:66
↓ 1 callers
Method
GetMessage
()
proto/v1/server.pb.go:73
↓ 1 callers
Method
GetPackageInfoResponse
()
proto/v1/server.pb.go:334
↓ 1 callers
Method
GetProfile
()
proto/v1/server.pb.go:405
↓ 1 callers
Method
Handle
Handle cleans a copy of the record; prompt matching and recordings keep the original bytes.
logging/handler.go:47
↓ 1 callers
Function
NewBoxen
NewBoxen returns a new boxen instance.
boxen/boxen.go:32
↓ 1 callers
Method
Package
Package begins the packaging process for the container.
agent/package.go:37
↓ 1 callers
Method
Rm
( ctx context.Context, l *slog.Logger, containerID string, )
container/container.go:41
↓ 1 callers
Method
Run
Run runs the packaged container -- starting the vm, handling containerlab inputs, etc.
agent/run.go:27
↓ 1 callers
Method
TemplateData
TemplateData returns named values available to write content Go templates.
profile/formatters.go:238
↓ 1 callers
Method
WithGroup
WithGroup keeps display cleaning on grouped loggers.
logging/handler.go:69
↓ 1 callers
Function
adaptSlog
(l *slog.Logger)
agent/logging.go:18
↓ 1 callers
Function
anyToString
(v any)
agent/logging.go:95
↓ 1 callers
Method
bringTapUp
bringTapUp brings a tap interface up and sets the large MTU used for the datapath. This was previously done by the QEMU ifup script.
agent/tcservice.go:171
↓ 1 callers
Function
buildCommand
()
cmd/main.go:43
↓ 1 callers
Function
buildDataNic
( p *Profile, nicID, busID, busAddr int, paddedNicID string, )
profile/qemu.go:426
↓ 1 callers
Function
buildGetBuilderImage
()
boxen/build.go:261
↓ 1 callers
Method
buildProcessPackageDone
()
boxen/rpcbuilder.go:46
↓ 1 callers
Method
buildSendPackageInfo
()
boxen/rpcbuilder.go:30
↓ 1 callers
Function
ciscoMAC
ciscoMAC formats a MAC address in the dotted notation of Cisco CLIs, such as aabb.ccdd.eeff.
profile/formatters.go:197
↓ 1 callers
Function
cumulusLanes
(t *testing.T)
profile/cumulus_test.go:65
↓ 1 callers
Method
dataNICMACs
()
profile/formatters.go:269
↓ 1 callers
Function
fileBase64
fileBase64 keeps raw files out of template parsing and below console line limits.
profile/formatters.go:216
↓ 1 callers
Function
file_proto_v1_server_proto_init
()
proto/v1/server.pb.go:684
↓ 1 callers
Method
getAddr
()
boxen/net.go:39
↓ 1 callers
Method
getListener
(ctx context.Context)
boxen/net.go:13
↓ 1 callers
Method
getManagementFormatters
()
profile/formatters.go:279
↓ 1 callers
Function
healthCommand
()
cmd/main.go:214
↓ 1 callers
Function
isVMConsoleMode
()
agent/package.go:367
↓ 1 callers
Function
loadProfileFile
(filename string)
boxen/platform.go:109
↓ 1 callers
Method
openVMConsole
(ctx context.Context, containerID string)
boxen/build.go:221
↓ 1 callers
Function
packageCommand
()
cmd/main.go:133
↓ 1 callers
Method
packageGetFile
(ctx context.Context, filename string)
agent/package.go:322
↓ 1 callers
Method
packageGetProfile
(ctx context.Context)
agent/package.go:252
↓ 1 callers
Method
packagePostCommands
(ctx context.Context)
agent/package.go:444
↓ 1 callers
Method
packageProcess
(ctx context.Context)
agent/package.go:411
↓ 1 callers
Method
packageSparsify
(ctx context.Context)
agent/package.go:415
↓ 1 callers
Method
processStepPrompts
(ctx context.Context, step *boxenprofile.Step)
agent/process.go:25
↓ 1 callers
Method
processStepWait
(ctx context.Context, step *boxenprofile.Step)
agent/process.go:328
↓ 1 callers
Method
processStepWrite
( ctx context.Context, step *boxenprofile.Step, )
agent/process.go:248
↓ 1 callers
Function
qemuSerial
(p *Profile, isPackaging bool)
profile/qemu.go:269
↓ 1 callers
Method
readConsole
readConsole returns output put back by a previous step followed by everything the console session has buffered so far, without blocking.
agent/console.go:192
↓ 1 callers
Function
readWithRetry
(read func() ([]byte, error))
agent/console.go:171
↓ 1 callers
Method
replug
replug removes and adds an interface at once, as between two polls.
agent/tcservice_test.go:264
↓ 1 callers
Method
resolveVersion
()
boxen/platform.go:132
↓ 1 callers
Method
runClabNICProvisionDelay
(ctx context.Context)
agent/run.go:216
↓ 1 callers
Function
runCommand
()
cmd/main.go:165
↓ 1 callers
Function
runCumulusBreakoutCommands
(t *testing.T, transfer, apply string)
profile/cumulus_test.go:296
↓ 1 callers
Method
runLoadProfile
()
agent/run.go:163
↓ 1 callers
Method
runPrepare
runPrepare does everything that has to happen before the vm starts.
agent/run.go:141
↓ 1 callers
Method
runProcesses
(ctx context.Context)
agent/run.go:325
↓ 1 callers
Method
runStartupConfig
(ctx context.Context)
agent/run.go:329
↓ 1 callers
Function
runtimeDefaultGateway
runtimeDefaultGateway returns the default gateway for the given family on the given interface. Scoping the lookup to the management interface avoids p
profile/formatters.go:407
↓ 1 callers
Function
runtimeManagementFormatters
(ctx context.Context)
profile/formatters.go:325
↓ 1 callers
Method
setLogStream
( ctx context.Context, s boxenprotov1.BoxenServiceClient, )
agent/logging.go:44
↓ 1 callers
Method
setRuntimeAddresses
setRuntimeAddresses sets the runtime addresses for the managementFormatters struct. It reads the interface addresses and sets the management formatter
profile/formatters.go:344
↓ 1 callers
Method
setRuntimeGateways
setRuntimeGateways sets the runtime default gateways for the managementFormatters struct. It reads the default routes for IPv4 and IPv6 on the managem
profile/formatters.go:386
↓ 1 callers
Function
shellQuote
shellQuote protects one POSIX shell argument sent through a line-oriented console.
profile/formatters.go:180
↓ 1 callers
Function
sliceToMap
(args []any)
agent/logging.go:79
↓ 1 callers
Function
starlarkEnvironment
(isPackaging bool)
profile/starlark.go:20
↓ 1 callers
Method
startPackage
(ctx context.Context, errs chan error)
agent/package.go:107
↓ 1 callers
Method
startRun
(ctx context.Context, errs chan error)
agent/run.go:69
↓ 1 callers
Method
startTCService
startTCService launches the boxen tc service: a watcher goroutine per data NIC that stitches the container's ethN<->tapN with tc and reacts to hotplug
agent/tcservice.go:67
↓ 1 callers
Method
startVMForConsole
startVMForConsole prepares the disk and starts the VM for console access. It does not attempt the packaging process and is used for manual inspection
agent/package.go:211
↓ 1 callers
Method
testEmbeddedByValue
()
proto/v1/server_grpc.pb.go:113
↓ 1 callers
Method
toMap
toMap returns the management values keyed by their template names. It is the single source of truth for the values exposed to write content templates
profile/formatters.go:63
↓ 1 callers
Method
unreadConsole
unreadConsole puts output read past a step's match back, so the following steps see it.
agent/console.go:202
↓ 1 callers
Method
validate
()
profile/load.go:94
↓ 1 callers
Function
validateSteps
(phase string, steps []Step)
profile/load.go:136
↓ 1 callers
Function
waitFor
(t *testing.T, cond func() bool)
agent/tcservice_test.go:317
↓ 1 callers
Method
watchDataNIC
watchDataNIC stitches a data plane interface: tap{nicID} <-> ethN.
agent/tcservice.go:159
↓ 1 callers
Function
withoutWhitespace
withoutWhitespace returns b without whitespace, and without the NUL, bell, and backspace bytes that line editors emit, for example when wrapping a lin
agent/console.go:287
Method
Builder
(ctx context.Context, in *BuilderRequest, opts ...grpc.CallOption)
proto/v1/server_grpc.pb.go:57
Method
Builder
(context.Context, *BuilderRequest)
proto/v1/server_grpc.pb.go:91
Method
Builder
(context.Context, *BuilderRequest)
proto/v1/server_grpc.pb.go:106
Method
Builder
Builder is rpc endpoint for the builder to ask stuff of the server.
boxen/rpcbuilder.go:11
Function
ClabMgmtIntfName
ClabMgmtIntfName returns the containerlab management interface name. It honors the CLAB_MGMT_INTF environment variable when set, otherwise defaulting
util/env.go:61
Method
Commit
Commit commits any changes in the image to the image.
container/docker/commit.go:14
Method
Descriptor
Deprecated: Use LoggerRequest.ProtoReflect.Descriptor instead.
proto/v1/server.pb.go:62
Method
Descriptor
Deprecated: Use LoggerResponse.ProtoReflect.Descriptor instead.
proto/v1/server.pb.go:121
Method
Descriptor
Deprecated: Use BuilderRequest.ProtoReflect.Descriptor instead.
proto/v1/server.pb.go:166
Method
Descriptor
Deprecated: Use PackageInfoRequest.ProtoReflect.Descriptor instead.
proto/v1/server.pb.go:241
Method
Descriptor
Deprecated: Use PackageCompleteRequest.ProtoReflect.Descriptor instead.
proto/v1/server.pb.go:279
Method
Descriptor
Deprecated: Use BuilderResponse.ProtoReflect.Descriptor instead.
proto/v1/server.pb.go:323
Method
Descriptor
Deprecated: Use PackageInfoResponse.ProtoReflect.Descriptor instead.
proto/v1/server.pb.go:401
Method
Descriptor
Deprecated: Use PackageCompleteResponse.ProtoReflect.Descriptor instead.
proto/v1/server.pb.go:453
Method
Descriptor
Deprecated: Use FilerRequest.ProtoReflect.Descriptor instead.
proto/v1/server.pb.go:494
Method
Descriptor
Deprecated: Use FilerResponse.ProtoReflect.Descriptor instead.
proto/v1/server.pb.go:542
Function
EnvBoolTrue
EnvBoolTrue returns true if the environment variable k is set to "true", false otherwise.
util/env.go:40
Method
Exec
Exec runs a command in a container.
container/docker/exec.go:13
Method
Filer
(ctx context.Context, in *FilerRequest, opts ...grpc.CallOption)
proto/v1/server_grpc.pb.go:67
Method
Filer
(*FilerRequest, grpc.ServerStreamingServer[FilerResponse])
proto/v1/server_grpc.pb.go:92
Method
Filer
(*FilerRequest, grpc.ServerStreamingServer[FilerResponse])
proto/v1/server_grpc.pb.go:109
Function
GetEnvIntOrDefault
GetEnvIntOrDefault returns the value of the environment variable k as an int *or* the default d if casting fails or the env var is not set.
util/env.go:25
Method
GetPackageCompleteRequest
()
proto/v1/server.pb.go:184
Method
GetPackageCompleteResponse
()
proto/v1/server.pb.go:341
Method
GetPackageInfoRequest
()
proto/v1/server.pb.go:177
Function
Health
Health implements the container healthcheck. It returns nil (exit 0, healthy) only when the health file's status field is "0", otherwise an error (exi
agent/health.go:30
← previous
next →
101–200 of 380, ranked by callers