credentials

package
v0.1.28 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoKeyRingMode = false

Functions

This section is empty.

Types

type Store

type Store struct {

	// Name is the name of this credentials store
	Name string
	// contains filtered or unexported fields
}

Store stores any credentials

func New

func New(globalDir string, name string) *Store

New creates a new credentials store

func (*Store) Get added in v0.1.5

func (s *Store) Get(target interface{}) error

Get tries to find existing credentials

func (*Store) Set added in v0.1.5

func (s *Store) Set(data interface{}) error

Set sets the credentials and persists it to disk

Jump to

Keyboard shortcuts

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