registry/registry_set.go

Summary

Maintainability
A
45 mins
Test Coverage

Function newRegistrySet has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    ctx context.Context,
    logger logging.Logger,
    env environment.Environment,
    registries []config.Registry,
    factory loginFactory,
Severity: Minor
Found in registry/registry_set.go - About 45 mins to fix

    exported type RegistrySet should have comment or be unexported
    Open

        RegistrySet struct {
    Severity: Minor
    Found in registry/registry_set.go by golint

    exported method RegistrySet.Login should have comment or be unexported
    Open

    func (s *RegistrySet) Login() error {
    Severity: Minor
    Found in registry/registry_set.go by golint

    type name will be used as registry.RegistrySet by other packages, and that stutters; consider calling this Set
    Open

        RegistrySet struct {
    Severity: Minor
    Found in registry/registry_set.go by golint

    exported function NewRegistrySet should have comment or be unexported
    Open

    func NewRegistrySet(
    Severity: Minor
    Found in registry/registry_set.go by golint

    exported method RegistrySet.Logout should have comment or be unexported
    Open

    func (s *RegistrySet) Logout() {
    Severity: Minor
    Found in registry/registry_set.go by golint

    There are no issues that match your filters.

    Category
    Status