_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c29100
train
// GetAlias returns an alias if it has been set or an empty string otherwise.
{ "resource": "" }
c29101
train
// WithAutoPrint returns a context with the value for auto print set.
{ "resource": "" }
c29102
train
// HasAutoPrint returns true if a specific value for auto print was set.
{ "resource": "" }
c29103
train
// IsAutoPrint returns the value of auto print or false if none was set.
{ "resource": "" }
c29104
train
// WithGitInit returns a context with the value for the git init flag set.
{ "resource": "" }
c29105
train
// HasGitInit returns true if the git init flag was set.
{ "resource": "" }
c29106
train
// IsGitInit returns the value of the git init flag or ture if none was set.
{ "resource": "" }
c29107
train
// GetCompletion returns a zsh completion script
{ "resource": "" }
c29108
train
// Sum decodes binary content and computes the SHA256 checksum
{ "resource": "" }
c29109
train
// Get returns the plaintext of a single key
{ "resource": "" }
c29110
train
// JSONAPI reads a json message on stdin and responds on stdout
{ "resource": "" }
c29111
train
// Get retrieves a value
{ "resource": "" }
c29112
train
// Set writes a value
{ "resource": "" }
c29113
train
// Delete removes a value
{ "resource": "" }
c29114
train
// Exists checks is a value exists
{ "resource": "" }
c29115
train
// List shows all values
{ "resource": "" }
c29116
train
// IsDir returns true if the entry is a directory
{ "resource": "" }
c29117
train
// Prune removes a directory
{ "resource": "" }
c29118
train
// GenerateKeypair generates a new keypair
{ "resource": "" }
c29119
train
// Encrypt encrypts the private key material with the given passphrase
{ "resource": "" }
c29120
train
// Decrypt decrypts the private key
{ "resource": "" }
c29121
train
// Create displays the password creation wizard
{ "resource": "" }
c29122
train
// extractHostname tries to extract the hostname from a URL in a filepath-safe // way for use in the name of a secret
{ "resource": "" }
c29123
train
// createAWS will walk through the AWS credential creation wizard
{ "resource": "" }
c29124
train
// createGCP will walk through the GCP credential creation wizard
{ "resource": "" }
c29125
train
// extractGCPInfo will extract the GCP details from the given json blob
{ "resource": "" }
c29126
train
// createGeneric will walk through the generic secret wizard
{ "resource": "" }
c29127
train
// createGeneratePasssword will walk through the password generation steps
{ "resource": "" }
c29128
train
// createGeneratePIN will walk through the PIN generation steps
{ "resource": "" }
c29129
train
// WithCryptoBackendString returns a context with the given crypto backend set
{ "resource": "" }
c29130
train
// WithCryptoBackend returns a context with the given crypto backend set
{ "resource": "" }
c29131
train
// HasCryptoBackend returns true if a value for crypto backend has been set in the context
{ "resource": "" }
c29132
train
// WithRCSBackendString returns a context with the given sync backend set
{ "resource": "" }
c29133
train
// WithRCSBackend returns a context with the given sync backend set
{ "resource": "" }
c29134
train
// HasRCSBackend returns true if a value for sync backend has been set in the context
{ "resource": "" }
c29135
train
// WithStorageBackendString returns a context with the given store backend set
{ "resource": "" }
c29136
train
// WithStorageBackend returns a context with the given store backend set
{ "resource": "" }
c29137
train
// HasStorageBackend returns true if a value for store backend was set
{ "resource": "" }
c29138
train
// New creates a new config with sane default values
{ "resource": "" }
c29139
train
// GetRecipientHash returns the recipients hash for the given store and file
{ "resource": "" }
c29140
train
// SetRecipientHash will set and save the recipient hash for the given store // and file
{ "resource": "" }
c29141
train
// List will list all entries in this store
{ "resource": "" }
c29142
train
// Initialized returns an error if the store is not properly // prepared.
{ "resource": "" }
c29143
train
// Init a new password store with a first gpg id
{ "resource": "" }
c29144
train
// initLocal will initialize a local store, useful for local-only setups or as // part of team setups to create the root store
{ "resource": "" }
c29145
train
// initCreateTeam will create a local root store and a shared team store
{ "resource": "" }
c29146
train
// Notify displays a desktop notification with dbus
{ "resource": "" }
c29147
train
// Fingerprint calculates the unique ID of a public key
{ "resource": "" }
c29148
train
// bashEscape Escape special characters with `\`
{ "resource": "" }
c29149
train
// Complete prints a list of all password names to os.Stdout
{ "resource": "" }
c29150
train
// CompletionOpenBSDKsh returns an OpenBSD ksh script used for auto completion
{ "resource": "" }
c29151
train
// CompletionBash returns a bash script used for auto completion
{ "resource": "" }
c29152
train
// CompletionFish returns an autocompletion script for fish
{ "resource": "" }
c29153
train
// CompletionZSH returns a zsh completion script
{ "resource": "" }
c29154
train
// New creates a new client
{ "resource": "" }
c29155
train
// Ping checks connectivity to the agent
{ "resource": "" }
c29156
train
// Remove un-caches a single key
{ "resource": "" }
c29157
train
// ImportPublicKey imports a given public key into the keyring
{ "resource": "" }
c29158
train
// ImportPrivateKey imports a given private key into the keyring
{ "resource": "" }
c29159
train
// New creates a new XC backend
{ "resource": "" }
c29160
train
// RemoveKey removes a single key from the keyring
{ "resource": "" }
c29161
train
// Initialized returns an error if this backend is not properly initialized
{ "resource": "" }
c29162
train
// Version returns 0.0.1
{ "resource": "" }
c29163
train
// Binary reutrns the GGP binary location
{ "resource": "" }
c29164
train
// WithPrefix returns a context with the given prefix set
{ "resource": "" }
c29165
train
// AddPrefix returns a context with the given prefix added to end of the // existing prefix
{ "resource": "" }
c29166
train
// Prefix returns the prefix or an empty string
{ "resource": "" }
c29167
train
// WithHidden returns a context with the flag value for hidden set
{ "resource": "" }
c29168
train
// IsHidden returns true if any output should be hidden in this context
{ "resource": "" }
c29169
train
// WithNewline returns a context with the flag value for newline set
{ "resource": "" }
c29170
train
// Move the content from one secret to another
{ "resource": "" }
c29171
train
// New will load the given file from disk and try to unseal it
{ "resource": "" }
c29172
train
// Get loads the requested key from disk
{ "resource": "" }
c29173
train
// Set writes the requested key to disk
{ "resource": "" }
c29174
train
// Unset removes the key from the storage
{ "resource": "" }
c29175
train
// open will try to unseal the given buffer
{ "resource": "" }
c29176
train
// save will try to marshal, seal and write to disk
{ "resource": "" }
c29177
train
// seal will try to marshal and seal the given data
{ "resource": "" }
c29178
train
// AskForPrivateKey promts the user to select from a list of private keys
{ "resource": "" }
c29179
train
// NewSecring initializes and a new secring
{ "resource": "" }
c29180
train
// LoadSecring loads an existing secring from disk. If the file is not found // an empty keyring is returned
{ "resource": "" }
c29181
train
// Contains returns true if the given key is found in the keyring
{ "resource": "" }
c29182
train
// KeyIDs returns a list of key IDs
{ "resource": "" }
c29183
train
// Export marshals a single private key
{ "resource": "" }
c29184
train
// Import unmarshals and imports a previously exported key
{ "resource": "" }
c29185
train
// Set inserts a single key
{ "resource": "" }
c29186
train
// Remove deletes the given key
{ "resource": "" }
c29187
train
// Sync all stores with their remotes
{ "resource": "" }
c29188
train
// Open creates a new git cli based git backend
{ "resource": "" }
c29189
train
// Clone clones an existing git repo and returns a new cli based git backend // configured for this clone repo
{ "resource": "" }
c29190
train
// Init initializes this store's git repo
{ "resource": "" }
c29191
train
// Cmd runs an git command
{ "resource": "" }
c29192
train
// Version returns the git version as major, minor and patch level
{ "resource": "" }
c29193
train
// Add adds the listed files to the git index
{ "resource": "" }
c29194
train
// HasStagedChanges returns true if there are any staged changes which can be committed
{ "resource": "" }
c29195
train
// Commit creates a new git commit with the given commit message
{ "resource": "" }
c29196
train
// Push pushes to the git remote
{ "resource": "" }
c29197
train
// export an ASCII armored public key
{ "resource": "" }
c29198
train
// import an public key into the default keyring
{ "resource": "" }
c29199
train
// List all secrets as a tree. If the filter argument is non-empty // display only those that have this prefix
{ "resource": "" }