jenkins-cli: Index | Files

package keyring

import ""


Package Files



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

func DelToken Uses

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

DelToken removes the token from keyring

func LoadTokenFromKeyring Uses

func LoadTokenFromKeyring(config *config.Config)

LoadTokenFromKeyring load token from keyring

func SaveTokenToKeyring Uses

func SaveTokenToKeyring(config *config.Config)

SaveTokenToKeyring store the token to keyring

Package keyring imports 3 packages (graph) and is imported by 1 packages. Updated 2020-07-17. Refresh now. Tools for package owners.