Documentation ¶
Overview ¶
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2024, Unikraft GmbH and The KraftKit Authors. Licensed under the BSD-3-Clause License (the "License"). You may not use this file except in compliance with the License.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2024, Unikraft GmbH and The KraftKit Authors. Licensed under the BSD-3-Clause License (the "License"). You may not use this file except in compliance with the License.
Index ¶
Constants ¶
const DefaultCompiledInLimit = 15
const LibraryName = "posix-environ"
Variables ¶
var ParamEnvVars = ukargparse.NewParamStrSlice("env", "vars", nil)
Functions ¶
func ExportedParams ¶
func ExportedParams() []ukargparse.Param
ExportedParams returns the parameters available by this exported library.
Types ¶
type EnvVarEntry ¶
type EnvVarEntry struct {
// contains filtered or unexported fields
}
EnvVarEntry is an environment variable entry.
func NewEnvVarEntry ¶
func NewEnvVarEntry(name, value string) EnvVarEntry
NewEnvVarEntry generates a structure that is representative of one of Unikraft's posix-environ variables.
func (EnvVarEntry) String ¶
func (entry EnvVarEntry) String() string
String implements fmt.Stringer and returns a valid posix-environ environment variable.