Documentation ¶
Index ¶
- func BindCertificateFlags(fs *pflag.FlagSet, cert *x509.Certificate)
- func BindCertificateRequestFlags(fs *pflag.FlagSet, csr *x509.CertificateRequest)
- func BindKeyFlags(fs *pflag.FlagSet, keyOptions *pcert.KeyOptions)
- func RegisterCertificateCompletionFuncs(cmd *cobra.Command)
- func RegisterCertificateRequestCompletionFuncs(cmd *cobra.Command)
- func RegisterKeyCompletionFuncs(cmd *cobra.Command)
- type Merger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindCertificateFlags ¶
func BindCertificateFlags(fs *pflag.FlagSet, cert *x509.Certificate)
BindCertificateFlags binds flags to a x509.Certificate
func BindCertificateRequestFlags ¶
func BindCertificateRequestFlags(fs *pflag.FlagSet, csr *x509.CertificateRequest)
BindCertificateRequestFlags binds flags to a x509.CertificateRequest
func BindKeyFlags ¶
func BindKeyFlags(fs *pflag.FlagSet, keyOptions *pcert.KeyOptions)
BindKeyFlags binds flags to a pcert.KeyOptions
func RegisterCertificateCompletionFuncs ¶
RegisterCertificateCompletionFuncs can be used after with BindCertificateFlags to enable shell completion for certain flags
func RegisterCertificateRequestCompletionFuncs ¶
RegisterCertificateRequestCompletionFuncs can be used after BindCertificateRequestFlags to enable shell completion for certain flags
func RegisterKeyCompletionFuncs ¶
RegisterKeyCompletionFuncs can be used after with BindKeyFlags to enable shell completion for certain flags
Types ¶
type Merger ¶
Merger interface is an extension for the value interface. The interface indicates that a value can be merged (e.g. slice or maps). Often this is also supported with the Set method of the value interface but in addition to the Set method the Merge method guarantees that nothing gets overwritten with a call to Merge.