MCPcopy Create free account

hub / github.com/carlmontanari/boxen / functions

Functions380 in github.com/carlmontanari/boxen

↓ 1 callersMethodGetFields
()
proto/v1/server.pb.go:80
↓ 1 callersMethodGetFile
()
proto/v1/server.pb.go:498
↓ 1 callersMethodGetLevel
()
proto/v1/server.pb.go:66
↓ 1 callersMethodGetMessage
()
proto/v1/server.pb.go:73
↓ 1 callersMethodGetPackageInfoResponse
()
proto/v1/server.pb.go:334
↓ 1 callersMethodGetProfile
()
proto/v1/server.pb.go:405
↓ 1 callersMethodHandle
Handle cleans a copy of the record; prompt matching and recordings keep the original bytes.
logging/handler.go:47
↓ 1 callersFunctionNewBoxen
NewBoxen returns a new boxen instance.
boxen/boxen.go:32
↓ 1 callersMethodPackage
Package begins the packaging process for the container.
agent/package.go:37
↓ 1 callersMethodRm
( ctx context.Context, l *slog.Logger, containerID string, )
container/container.go:41
↓ 1 callersMethodRun
Run runs the packaged container -- starting the vm, handling containerlab inputs, etc.
agent/run.go:27
↓ 1 callersMethodTemplateData
TemplateData returns named values available to write content Go templates.
profile/formatters.go:238
↓ 1 callersMethodWithGroup
WithGroup keeps display cleaning on grouped loggers.
logging/handler.go:69
↓ 1 callersFunctionadaptSlog
(l *slog.Logger)
agent/logging.go:18
↓ 1 callersFunctionanyToString
(v any)
agent/logging.go:95
↓ 1 callersMethodbringTapUp
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 callersFunctionbuildCommand
()
cmd/main.go:43
↓ 1 callersFunctionbuildDataNic
( p *Profile, nicID, busID, busAddr int, paddedNicID string, )
profile/qemu.go:426
↓ 1 callersFunctionbuildGetBuilderImage
()
boxen/build.go:261
↓ 1 callersMethodbuildProcessPackageDone
()
boxen/rpcbuilder.go:46
↓ 1 callersMethodbuildSendPackageInfo
()
boxen/rpcbuilder.go:30
↓ 1 callersFunctionciscoMAC
ciscoMAC formats a MAC address in the dotted notation of Cisco CLIs, such as aabb.ccdd.eeff.
profile/formatters.go:197
↓ 1 callersFunctioncumulusLanes
(t *testing.T)
profile/cumulus_test.go:65
↓ 1 callersMethoddataNICMACs
()
profile/formatters.go:269
↓ 1 callersFunctionfileBase64
fileBase64 keeps raw files out of template parsing and below console line limits.
profile/formatters.go:216
↓ 1 callersFunctionfile_proto_v1_server_proto_init
()
proto/v1/server.pb.go:684
↓ 1 callersMethodgetAddr
()
boxen/net.go:39
↓ 1 callersMethodgetListener
(ctx context.Context)
boxen/net.go:13
↓ 1 callersMethodgetManagementFormatters
()
profile/formatters.go:279
↓ 1 callersFunctionhealthCommand
()
cmd/main.go:214
↓ 1 callersFunctionisVMConsoleMode
()
agent/package.go:367
↓ 1 callersFunctionloadProfileFile
(filename string)
boxen/platform.go:109
↓ 1 callersMethodopenVMConsole
(ctx context.Context, containerID string)
boxen/build.go:221
↓ 1 callersFunctionpackageCommand
()
cmd/main.go:133
↓ 1 callersMethodpackageGetFile
(ctx context.Context, filename string)
agent/package.go:322
↓ 1 callersMethodpackageGetProfile
(ctx context.Context)
agent/package.go:252
↓ 1 callersMethodpackagePostCommands
(ctx context.Context)
agent/package.go:444
↓ 1 callersMethodpackageProcess
(ctx context.Context)
agent/package.go:411
↓ 1 callersMethodpackageSparsify
(ctx context.Context)
agent/package.go:415
↓ 1 callersMethodprocessStepPrompts
(ctx context.Context, step *boxenprofile.Step)
agent/process.go:25
↓ 1 callersMethodprocessStepWait
(ctx context.Context, step *boxenprofile.Step)
agent/process.go:328
↓ 1 callersMethodprocessStepWrite
( ctx context.Context, step *boxenprofile.Step, )
agent/process.go:248
↓ 1 callersFunctionqemuSerial
(p *Profile, isPackaging bool)
profile/qemu.go:269
↓ 1 callersMethodreadConsole
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 callersFunctionreadWithRetry
(read func() ([]byte, error))
agent/console.go:171
↓ 1 callersMethodreplug
replug removes and adds an interface at once, as between two polls.
agent/tcservice_test.go:264
↓ 1 callersMethodresolveVersion
()
boxen/platform.go:132
↓ 1 callersMethodrunClabNICProvisionDelay
(ctx context.Context)
agent/run.go:216
↓ 1 callersFunctionrunCommand
()
cmd/main.go:165
↓ 1 callersFunctionrunCumulusBreakoutCommands
(t *testing.T, transfer, apply string)
profile/cumulus_test.go:296
↓ 1 callersMethodrunLoadProfile
()
agent/run.go:163
↓ 1 callersMethodrunPrepare
runPrepare does everything that has to happen before the vm starts.
agent/run.go:141
↓ 1 callersMethodrunProcesses
(ctx context.Context)
agent/run.go:325
↓ 1 callersMethodrunStartupConfig
(ctx context.Context)
agent/run.go:329
↓ 1 callersFunctionruntimeDefaultGateway
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 callersFunctionruntimeManagementFormatters
(ctx context.Context)
profile/formatters.go:325
↓ 1 callersMethodsetLogStream
( ctx context.Context, s boxenprotov1.BoxenServiceClient, )
agent/logging.go:44
↓ 1 callersMethodsetRuntimeAddresses
setRuntimeAddresses sets the runtime addresses for the managementFormatters struct. It reads the interface addresses and sets the management formatter
profile/formatters.go:344
↓ 1 callersMethodsetRuntimeGateways
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 callersFunctionshellQuote
shellQuote protects one POSIX shell argument sent through a line-oriented console.
profile/formatters.go:180
↓ 1 callersFunctionsliceToMap
(args []any)
agent/logging.go:79
↓ 1 callersFunctionstarlarkEnvironment
(isPackaging bool)
profile/starlark.go:20
↓ 1 callersMethodstartPackage
(ctx context.Context, errs chan error)
agent/package.go:107
↓ 1 callersMethodstartRun
(ctx context.Context, errs chan error)
agent/run.go:69
↓ 1 callersMethodstartTCService
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 callersMethodstartVMForConsole
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 callersMethodtestEmbeddedByValue
()
proto/v1/server_grpc.pb.go:113
↓ 1 callersMethodtoMap
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 callersMethodunreadConsole
unreadConsole puts output read past a step's match back, so the following steps see it.
agent/console.go:202
↓ 1 callersMethodvalidate
()
profile/load.go:94
↓ 1 callersFunctionvalidateSteps
(phase string, steps []Step)
profile/load.go:136
↓ 1 callersFunctionwaitFor
(t *testing.T, cond func() bool)
agent/tcservice_test.go:317
↓ 1 callersMethodwatchDataNIC
watchDataNIC stitches a data plane interface: tap{nicID} <-> ethN.
agent/tcservice.go:159
↓ 1 callersFunctionwithoutWhitespace
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
MethodBuilder
(ctx context.Context, in *BuilderRequest, opts ...grpc.CallOption)
proto/v1/server_grpc.pb.go:57
MethodBuilder
(context.Context, *BuilderRequest)
proto/v1/server_grpc.pb.go:91
MethodBuilder
(context.Context, *BuilderRequest)
proto/v1/server_grpc.pb.go:106
MethodBuilder
Builder is rpc endpoint for the builder to ask stuff of the server.
boxen/rpcbuilder.go:11
FunctionClabMgmtIntfName
ClabMgmtIntfName returns the containerlab management interface name. It honors the CLAB_MGMT_INTF environment variable when set, otherwise defaulting
util/env.go:61
MethodCommit
Commit commits any changes in the image to the image.
container/docker/commit.go:14
MethodDescriptor
Deprecated: Use LoggerRequest.ProtoReflect.Descriptor instead.
proto/v1/server.pb.go:62
MethodDescriptor
Deprecated: Use LoggerResponse.ProtoReflect.Descriptor instead.
proto/v1/server.pb.go:121
MethodDescriptor
Deprecated: Use BuilderRequest.ProtoReflect.Descriptor instead.
proto/v1/server.pb.go:166
MethodDescriptor
Deprecated: Use PackageInfoRequest.ProtoReflect.Descriptor instead.
proto/v1/server.pb.go:241
MethodDescriptor
Deprecated: Use PackageCompleteRequest.ProtoReflect.Descriptor instead.
proto/v1/server.pb.go:279
MethodDescriptor
Deprecated: Use BuilderResponse.ProtoReflect.Descriptor instead.
proto/v1/server.pb.go:323
MethodDescriptor
Deprecated: Use PackageInfoResponse.ProtoReflect.Descriptor instead.
proto/v1/server.pb.go:401
MethodDescriptor
Deprecated: Use PackageCompleteResponse.ProtoReflect.Descriptor instead.
proto/v1/server.pb.go:453
MethodDescriptor
Deprecated: Use FilerRequest.ProtoReflect.Descriptor instead.
proto/v1/server.pb.go:494
MethodDescriptor
Deprecated: Use FilerResponse.ProtoReflect.Descriptor instead.
proto/v1/server.pb.go:542
FunctionEnvBoolTrue
EnvBoolTrue returns true if the environment variable k is set to "true", false otherwise.
util/env.go:40
MethodExec
Exec runs a command in a container.
container/docker/exec.go:13
MethodFiler
(ctx context.Context, in *FilerRequest, opts ...grpc.CallOption)
proto/v1/server_grpc.pb.go:67
MethodFiler
(*FilerRequest, grpc.ServerStreamingServer[FilerResponse])
proto/v1/server_grpc.pb.go:92
MethodFiler
(*FilerRequest, grpc.ServerStreamingServer[FilerResponse])
proto/v1/server_grpc.pb.go:109
FunctionGetEnvIntOrDefault
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
MethodGetPackageCompleteRequest
()
proto/v1/server.pb.go:184
MethodGetPackageCompleteResponse
()
proto/v1/server.pb.go:341
MethodGetPackageInfoRequest
()
proto/v1/server.pb.go:177
FunctionHealth
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
← previousnext →101–200 of 380, ranked by callers