0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-23 22:27:35 -05:00
zot/pkg/compliance/config.go
Ramkumar Chinchani a57f085749 compliance: cleanup compliance test code
zot ci/cd tests are too stict, so separate and relax them for compliance
tests.

Location header is set in some cases, but some clarification is needed
in URL construction.

Fix some incorrect compliance tests.
2019-12-23 22:32:52 -08:00

13 lines
198 B
Go

package compliance
type Config struct {
Address string
Port string
Version string
OutputJSON bool
Compliance bool
}
func NewConfig() *Config {
return &Config{Compliance: true}
}