config

package
v0.0.0-...-2f5b9ad Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Config string
	Plugin string
)

Functions

func LoadFlags

func LoadFlags()

Types

type IUserService

type IUserService interface {
	GetPinnedNamespaces() []string
	Pin(string)
	Unpin(string)
	Persist()
}

type UserService

type UserService struct {
	// contains filtered or unexported fields
}

func New

func New(currentContext string) *UserService

func (*UserService) GetPinnedNamespaces

func (u *UserService) GetPinnedNamespaces() []string

func (*UserService) Persist

func (u *UserService) Persist()

func (*UserService) Pin

func (u *UserService) Pin(ns string)

func (*UserService) Unpin

func (u *UserService) Unpin(ns string)

Jump to

Keyboard shortcuts

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