snapenv

package
v0.0.0-...-41dd8df Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2016 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Basic

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

Basic returns the app-level environment variables for a snap. Despite this being a bit snap-specific, this is in helpers.go because it's used by so many other modules, we run into circular dependencies if it's somewhere more reasonable like the snappy module.

func User

func User(info *snap.Info, home string) []string

User returns the user-level environment variables for a snap. Despite this being a bit snap-specific, this is in helpers.go because it's used by so many other modules, we run into circular dependencies if it's somewhere more reasonable like the snappy module.

Types

This section is empty.

Jump to

Keyboard shortcuts

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