Documentation
¶
Index ¶
- func Commit() string
- func CreateSecret(sid string, plaintext string) error
- func GetContentLength(url string) (int64, error)
- func GetSigningEntity(kid uint64) (*openpgp.Entity, error)
- func Md5Sum(f *os.File) string
- func Name() string
- func Sha256Sum(f *os.File) string
- func StatCount(metric string, value int)
- func StatGauge(metric string, value int)
- func StatTime(metric string, took time.Duration)
- func UpdateSecret(sid string, plaintext string) error
- func Version() string
- type Set
- type TLSAuthClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSecret ¶
CreateSecret will create a secret with id sid and write the plaintext into it
func GetContentLength ¶
GetContentLength gets the size of a URL without downloading it
func GetSigningEntity ¶
GetSigningEntity gets the public keyring from gpg, using the agent Needs the gpgconf binary to find the agent socket path as gpg doesn't seem to set GPG_AUTH_INFO anymore.
func UpdateSecret ¶
UpdateSecret will write the plaintext into the AWS Secrets Manager secret referred to by sid
Types ¶
type Set ¶
QADI of sets that have a stable sort
func NewSetFromSlices ¶
newSetFromSlices takes slices creates a set with their contents
type TLSAuthClient ¶
func (*TLSAuthClient) GetHTTPSClient ¶
func (auth *TLSAuthClient) GetHTTPSClient() (http.Client, error)
func (*TLSAuthClient) GetTLSConfig ¶
func (auth *TLSAuthClient) GetTLSConfig() (*tls.Config, error)
GetTLSConfig returns a tls config object to be used by mTLS HTTP/ETCD clients etc.
func (*TLSAuthClient) String ¶
func (auth *TLSAuthClient) String() string
String implements Stringer for printing
Source Files
¶
Click to show internal directories.
Click to hide internal directories.