registry/gcr.go

Summary

Maintainability
A
1 hr
Test Coverage

Function newGCRLogin has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    ctx context.Context,
    logger logging.Logger,
    env environment.Environment,
    registry *config.GCRRegistry,
    runner command.Runner,
Severity: Minor
Found in registry/gcr.go - About 35 mins to fix

    Function getGCRPassword has 5 return statements (exceeds 4 allowed).
    Open

    func getGCRPassword(
        env environment.Environment,
        registry *config.GCRRegistry,
    ) (string, error) {
        key, err := env.ExpandString(registry.Key)
    Severity: Major
    Found in registry/gcr.go - About 35 mins to fix

      exported function NewGCRLogin should have comment or be unexported
      Open

      func NewGCRLogin(
      Severity: Minor
      Found in registry/gcr.go by golint

      There are no issues that match your filters.

      Category
      Status