snapenv

package
v0.0.0-...-677ed08 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2016 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecEnv

func ExecEnv(info *snap.Info) []string

ExecEnv returns the full environment that is required for snap-{confine,exec}(like SNAP_{NAME,REVISION} etc are all set).

It merges it with the existing os.Environ() and ensures the SNAP_* overrides the any pre-existing environment variables.

Types

This section is empty.

Jump to

Keyboard shortcuts

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