loader/jsonconfig/registry.go
Function translateRegistry
has 5 return statements (exceeds 4 allowed). Open
Open
func translateRegistry(data json.RawMessage) (config.Registry, error) {
typeHint := &RegistryTypeHint{Type: "server"}
if err := json.Unmarshal(data, typeHint); err != nil {
return nil, err
exported type GCRRegistry should have comment or be unexported Open
Open
GCRRegistry struct {
- Exclude checks
exported const DefaultECRRegion should have comment (or a comment on this block) or be unexported Open
Open
DefaultECRRegion = "us-east-1"
- Exclude checks
exported type Registry should have comment or be unexported Open
Open
Registry interface {
- Exclude checks
exported method GCRRegistry.Translate should have comment or be unexported Open
Open
func (r *GCRRegistry) Translate() config.Registry {
- Exclude checks
exported type ECRRegistry should have comment or be unexported Open
Open
ECRRegistry struct {
- Exclude checks
exported type RegistryTypeHint should have comment or be unexported Open
Open
RegistryTypeHint struct {
- Exclude checks
exported method ServerRegistry.Translate should have comment or be unexported Open
Open
func (r *ServerRegistry) Translate() config.Registry {
- Exclude checks
exported method ECRRegistry.Translate should have comment or be unexported Open
Open
func (r *ECRRegistry) Translate() config.Registry {
- Exclude checks
exported type ServerRegistry should have comment or be unexported Open
Open
ServerRegistry struct {
- Exclude checks