keyring

package
v0.0.42 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// PlaceHolder is the replacer of original credential
	PlaceHolder = "******"
	// KeyTokenPrefix is the prefix of keyring service
	KeyTokenPrefix = "jcli-config-token"
)

Variables

This section is empty.

Functions

func DelToken

func DelToken(jenkins config.JenkinsServer) (err error)

DelToken removes the token from keyring

func LoadTokenFromKeyring

func LoadTokenFromKeyring(config *config.Config)

LoadTokenFromKeyring load token from keyring

func SaveTokenToKeyring

func SaveTokenToKeyring(config *config.Config)

SaveTokenToKeyring store the token to keyring

Types

This section is empty.

Jump to

Keyboard shortcuts

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