lint by golangci-lint (#3080)

This commit is contained in:
fatedier authored and GitHub committed 2022-08-29 01:02:53 +08:00
1 parent f4e4fbea62
commit 9d077b02cf
122 files changed
+947 -1331

No files matched your search

+2 -2
View File
@@ -22,8 +22,8 @@ type Artifacts struct {
ResourceVersion string
}
// CertGenerator is an interface to provision the serving certificate.
type CertGenerator interface {
// Generator is an interface to provision the serving certificate.
type Generator interface {
// Generate returns a Artifacts struct.
Generate(CommonName string) (*Artifacts, error)
// SetCA sets the PEM-encoded CA private key and CA cert for signing the generated serving cert.