Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadAndQueryCertificateForAccount ¶ added in v0.12.2
func LoadAndQueryCertificateForAccount(ctx context.Context, cctx client.Context, keyring keyring.Keyring, opts ...LoaderOption) (tls.Certificate, error)
LoadAndQueryCertificateForAccount wraps LoadAndQueryPEMForAccount and tls.X509KeyPair
Types ¶
type LoaderOption ¶
type LoaderOption func(*loaderOption)
func PEMFromReader ¶
func PEMFromReader(rd io.Reader) LoaderOption
type PEMBlocks ¶
func LoadAndQueryPEMForAccount ¶ added in v0.10.2
func LoadPEMForAccount ¶
func LoadPEMForAccount(cctx client.Context, keyring keyring.Keyring, opts ...LoaderOption) (PEMBlocks, error)
LoadPEMForAccount load certificate/private key from file named as account name supplied in FlagFrom file must contain two PEM blocks, certificate followed by a private key
Click to show internal directories.
Click to hide internal directories.