MCPcopy Create free account
hub / github.com/evenh/intercert / validateConfig

Function validateConfig

client/client.go:105–115  ·  view source on GitHub ↗
(c *config.ClientConfig)

Source from the content-addressed store, hash-verified

103}
104
105func validateConfig(c *config.ClientConfig) error {
106 if len(c.Domains) < 1 {
107 return errors.New("no domains specified")
108 }
109
110 if len(c.Hostname) == 0 {
111 return errors.New("hostname was empty")
112 }
113
114 return nil
115}
116
117func configureTasks(client api.CertificateIssuerClient, config *config.ClientConfig, storage *CertStorage) []Job {
118 var tasks []Job

Callers 1

StartClientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected