kubeadm: remove unused constants in util/pkiutil
Signed-off-by: xin.li <xin.li@daocloud.io>
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user