session

package
v0.0.0-...-b3562de Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsSessionStoreFileExists

func IsSessionStoreFileExists(workdirPth string) (bool, error)

IsSessionStoreFileExists ...

func IsSessionSupportedForCleanupType

func IsSessionSupportedForCleanupType(cleanupType string) bool

IsSessionSupportedForCleanupType ...

Types

type StoreModel

type StoreModel struct {
	// SessionTimeID - in UTC, including date and time (up to seconds)
	// format: YYYYMMDDHHMMSS
	// example: 20170215093215
	SessionTimeID string `json:"session_time_id"`
}

StoreModel ...

func Load

func Load(workdirPth string, cleanupType string) (StoreModel, error)

Load ...

func Start

func Start(workdirPth string) (StoreModel, error)

Start ...

func (StoreModel) Envs

func (model StoreModel) Envs() []string

Envs - environment variables defined by the session

Jump to

Keyboard shortcuts

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