context

package
v0.0.0-...-f974911 Latest Latest
Warning

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

Go to latest
Published: May 26, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ContextFilePath string

Functions

func GetProject

func GetProject() string

func GetTenant

func GetTenant() string

func Init

func Init()

func Load

func Load()

func Save

func Save() error

func SetProject

func SetProject(project ...string)

func SetTenant

func SetTenant(tenant ...string)

Types

type Context

type Context struct {
	Tenant  string `yaml:"tenant"`
	Project string `yaml:"project"`
}
var Ctx *Context

Jump to

Keyboard shortcuts

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