profile

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultKernelProfiles added in v0.2.1

func GetDefaultKernelProfiles() []kernelspecs.KernelType

func LoadKernelProfiles added in v0.2.1

func LoadKernelProfiles(dir string) ([]kernelspecs.KernelType, error)

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