config

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddScope

func AddScope(database *db.CredentialStore, clientName string, scopeNames ...string)

func ChooseClient

func ChooseClient(database *db.CredentialStore) (string, error)

func ConfirmDelete

func ConfirmDelete(database *db.CredentialStore, connection string)

func Contains

func Contains(arr []string, needle string) bool

func Doctor

func Doctor(database *db.CredentialStore, port int)

func Info

func Info(database *db.CredentialStore, name string, showSecrets bool)

func InteractiveSetup

func InteractiveSetup(database *db.CredentialStore, clientName string, defaultPort int)

func ListAll

func ListAll(database *db.CredentialStore, showSecrets bool)

func MaskString

func MaskString(input string) string

func RemoveScope

func RemoveScope(database *db.CredentialStore, clientName string, scopeNames ...string)

func UpdateSecret

func UpdateSecret(database *db.CredentialStore, clientName string, clientSecret string)

func ValidateClientNameCmdArgs

func ValidateClientNameCmdArgs(cmd *cobra.Command, args []string) error

func ValidateName

func ValidateName(val interface{}) error

func ValidateScopeCmdArgs

func ValidateScopeCmdArgs(cmd *cobra.Command, args []string) error

func ValidateSecretCmdArgs

func ValidateSecretCmdArgs(cmd *cobra.Command, args []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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