posixenviron

package
v0.9.4-8-g78be0b6d Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

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

View Source
const DefaultCompiledInLimit = 15
View Source
const LibraryName = "posix-environ"

Variables

View Source
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.

Jump to

Keyboard shortcuts

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