profile

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Profile

type Profile struct {
	Path   string
	Active bool
}

func (Profile) Name

func (p Profile) Name() string

type ProfileHandler

type ProfileHandler struct {
	ActiveDirectory  string
	ProfileDirectory string
}

func (ProfileHandler) Activate

func (ph ProfileHandler) Activate(p Profile) error

func (ProfileHandler) Deactivate

func (ph ProfileHandler) Deactivate(p Profile) error

func (ProfileHandler) List

func (ph ProfileHandler) List() []Profile

func (ProfileHandler) Search

func (ph ProfileHandler) Search(p string) (Profile, error)

Jump to

Keyboard shortcuts

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