Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidArgumentFormat = goerr.New("invalid argument format") ErrInvalidArgument = goerr.New("invalid argument") ErrNotEnoughArgument = goerr.New("not enough arguments") ErrKeychainNotFound = goerr.New("keychain item not found") ErrKeychainQueryFailed = goerr.New("failed to query keychain item") ErrKeychainNotSupported = goerr.New("keychain is not supported on the OS") ErrEnvVarInvalidName = goerr.New("invalid environment variable name") ErrGenerateRandom = goerr.New("crypto/rand failed") ErrInnerCommandFailed = goerr.New("inner command failed") )
Functions ¶
This section is empty.
Types ¶
type Argument ¶
type Argument string
func (Argument) HasEnvVarSeparator ¶
func (Argument) IsKeychainNamespace ¶
type EnvValue ¶
type EnvValue string
func (EnvValue) IsFilePath ¶
func (EnvValue) IsInnerCommand ¶
func (EnvValue) ToFilePath ¶
func (EnvValue) ToHiddenValue ¶
func (EnvValue) ToInnerCommand ¶
type Namespace ¶
type Namespace string
Namespace is keychain namespace
func (Namespace) HasPrefix ¶
func (x Namespace) HasPrefix(p NamespacePrefix) bool
func (Namespace) ToSuffix ¶
func (x Namespace) ToSuffix(prefix NamespacePrefix) NamespaceSuffix
type NamespacePrefix ¶
type NamespacePrefix string
func (NamespacePrefix) String ¶
func (x NamespacePrefix) String() string
type NamespaceSuffix ¶
type NamespaceSuffix string
func (NamespaceSuffix) ToNamespace ¶
func (x NamespaceSuffix) ToNamespace(prefix NamespacePrefix) Namespace
func (NamespaceSuffix) Validate ¶
func (x NamespaceSuffix) Validate() error
type Passphrase ¶
type Passphrase string
Click to show internal directories.
Click to hide internal directories.