Skip to content

Commit

Permalink
update lint
Browse files Browse the repository at this point in the history
  • Loading branch information
henderiw committed Sep 14, 2020
1 parent f818c10 commit ac688d4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions clab/cert.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,21 @@ type certificates struct {
Cert []byte
}

// CertInput struct
type CertInput struct {
Name string
LongName string
Fqdn string
Prefix string
}

// CaRootInput struct
type CaRootInput struct {
Prefix string
Names map[string]string // Not used right now
}

// GenerateRootCa function
func (c *cLab) GenerateRootCa(csrRootJsonTpl *template.Template, input CaRootInput) (*certificates, error) {
log.Info("Creating root CA")
//create root CA diretcory
Expand Down

0 comments on commit ac688d4

Please sign in to comment.