Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCommitSignKey ¶
GetCommitSignKey returns the gpg key used to sign the commit message
func SignCommit ¶ added in v0.108.0
SignCommit signs a git commit object using the provided GPG key
func ValidateGPGKey ¶ added in v0.108.0
ValidateGPGKey validates that the GPG key can be used for signing
Types ¶
type GPGSpec ¶
type GPGSpec struct { /* signingKey defines the gpg key used to sign the commit message default: none */ SigningKey string `yaml:",omitempty"` /* passphrase defines the gpg passphrase used to sign the commit message */ Passphrase string `yaml:",omitempty"` }
GPGSpec defines the specification for manipulating gpg keys in the context of git commits.
Click to show internal directories.
Click to hide internal directories.