session

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clear

func Clear()

func Delete

func Delete() error

func Get

func Get() getter

func LoadSessionInDir

func LoadSessionInDir(loc string) error

Used in tests for confirming values were set

Types

type Getter

type Getter interface {
	ProfileName() (value string, exist bool)
	SelectedProject() (value string, exist bool)
	SelectedApplication() (value string, exist bool)
	SelectedNetwork() (value string, exist bool)
	CustomNetworkUrl() (value string, exist bool)
}

type Setter

type Setter interface {
	ProfileName(value string) (err error)
	SelectedProject(value string) (err error)
	SelectedApplication(value string) (err error)
	SelectedNetwork(value string) (err error)
	CustomNetworkUrl(value string) (err error)
}

func Set

func Set() Setter

type UnSetter

type UnSetter interface {
	ProfileName() (err error)
	SelectedProject() (err error)
	SelectedApplication() (err error)
	CustomNetworkUrl() (err error)
}

func Unset

func Unset() UnSetter

Jump to

Keyboard shortcuts

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