mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
Merge pull request #126250 from my-git9/pkiutil-consot
kubeadm: remove unused constants in util/pkiutil
This commit is contained in:
commit
815efa2baa
@ -49,14 +49,10 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// PrivateKeyBlockType is a possible value for pem.Block.Type.
|
|
||||||
PrivateKeyBlockType = "PRIVATE KEY"
|
|
||||||
// PublicKeyBlockType is a possible value for pem.Block.Type.
|
// PublicKeyBlockType is a possible value for pem.Block.Type.
|
||||||
PublicKeyBlockType = "PUBLIC KEY"
|
PublicKeyBlockType = "PUBLIC KEY"
|
||||||
// CertificateBlockType is a possible value for pem.Block.Type.
|
// CertificateBlockType is a possible value for pem.Block.Type.
|
||||||
CertificateBlockType = "CERTIFICATE"
|
CertificateBlockType = "CERTIFICATE"
|
||||||
// RSAPrivateKeyBlockType is a possible value for pem.Block.Type.
|
|
||||||
RSAPrivateKeyBlockType = "RSA PRIVATE KEY"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// CertConfig is a wrapper around certutil.Config extending it with EncryptionAlgorithm.
|
// CertConfig is a wrapper around certutil.Config extending it with EncryptionAlgorithm.
|
||||||
|
Loading…
Reference in New Issue
Block a user