Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultCertName = "cert" DefaultKeyName = "key" FilePermissions = 0755 DirPermissions = 0755 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureKeyVaultInstaller ¶
type AzureKeyVaultInstaller struct {
// contains filtered or unexported fields
}
func NewAzureKeyVaultInstaller ¶
func NewAzureKeyVaultInstaller( client azure.KeyVaultClient, certificateName string, ) (AzureKeyVaultInstaller, error)
func (AzureKeyVaultInstaller) Install ¶
func (installer AzureKeyVaultInstaller) Install( ctx context.Context, cert *x509.Certificate, key *rsa.PrivateKey, ) error
type Installer ¶
type Installer interface {
Install(ctx context.Context, cert *x509.Certificate, key *rsa.PrivateKey) error
}
type LocalInstaller ¶
type LocalInstaller struct {
// contains filtered or unexported fields
}
func NewLocalInstaller ¶
func NewLocalInstaller(directory string, fileType cert.FileType, config *LocalInstallerConfig) (LocalInstaller, error)
func (LocalInstaller) Install ¶
func (installer LocalInstaller) Install(ctx context.Context, certificate *x509.Certificate, key *rsa.PrivateKey) (err error)
type LocalInstallerConfig ¶
Click to show internal directories.
Click to hide internal directories.