[WIP]create deployments commands #1800
ci.yaml
on: pull_request
Build image
17m 12s
Build cloud image
21m 4s
Build dind image
5m 12s
Trivy fs scan
34s
Unit test
11m 29s
Lint
11m 49s
Annotations
19 errors
Unit test:
cmd/plural/cd_test.go#L34
cannot use client (variable of type *mocks.ConsoleClient) as "github.com/pluralsh/plural/pkg/console".ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement "github.com/pluralsh/plural/pkg/console".ConsoleClient (wrong type for method GetCluster)
|
Unit test:
cmd/plural/cd_test.go#L91
cannot use client (variable of type *mocks.ConsoleClient) as "github.com/pluralsh/plural/pkg/console".ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement "github.com/pluralsh/plural/pkg/console".ConsoleClient (wrong type for method GetCluster)
|
Unit test:
cmd/plural/cd_test.go#L131
cannot use client (variable of type *mocks.ConsoleClient) as "github.com/pluralsh/plural/pkg/console".ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement "github.com/pluralsh/plural/pkg/console".ConsoleClient (wrong type for method GetCluster)
|
Unit test:
cmd/plural/cd_test.go#L171
cannot use client (variable of type *mocks.ConsoleClient) as "github.com/pluralsh/plural/pkg/console".ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement "github.com/pluralsh/plural/pkg/console".ConsoleClient (wrong type for method GetCluster)
|
Unit test:
cmd/plural/cd_test.go#L34
cannot use client (variable of type *mocks.ConsoleClient) as "github.com/pluralsh/plural/pkg/console".ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement "github.com/pluralsh/plural/pkg/console".ConsoleClient (wrong type for method GetCluster)
|
Unit test:
cmd/plural/cd_test.go#L91
cannot use client (variable of type *mocks.ConsoleClient) as "github.com/pluralsh/plural/pkg/console".ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement "github.com/pluralsh/plural/pkg/console".ConsoleClient (wrong type for method GetCluster)
|
Unit test:
cmd/plural/cd_test.go#L131
cannot use client (variable of type *mocks.ConsoleClient) as "github.com/pluralsh/plural/pkg/console".ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement "github.com/pluralsh/plural/pkg/console".ConsoleClient (wrong type for method GetCluster)
|
Unit test:
cmd/plural/cd_test.go#L171
cannot use client (variable of type *mocks.ConsoleClient) as "github.com/pluralsh/plural/pkg/console".ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement "github.com/pluralsh/plural/pkg/console".ConsoleClient (wrong type for method GetCluster)
|
Unit test
Process completed with exit code 2.
|
Lint:
cmd/plural/api_test.go#L1
: # github.com/pluralsh/plural/cmd/plural_test [github.com/pluralsh/plural/cmd/plural.test]
|
Lint:
cmd/plural/cd_test.go#L34
cannot use client (variable of type *mocks.ConsoleClient) as "github.com/pluralsh/plural/pkg/console".ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement "github.com/pluralsh/plural/pkg/console".ConsoleClient (wrong type for method GetCluster)
|
Lint:
cmd/plural/cd_test.go#L91
cannot use client (variable of type *mocks.ConsoleClient) as "github.com/pluralsh/plural/pkg/console".ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement "github.com/pluralsh/plural/pkg/console".ConsoleClient (wrong type for method GetCluster)
|
Lint:
cmd/plural/cd_test.go#L131
cannot use client (variable of type *mocks.ConsoleClient) as "github.com/pluralsh/plural/pkg/console".ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement "github.com/pluralsh/plural/pkg/console".ConsoleClient (wrong type for method GetCluster)
|
Lint:
cmd/plural/cd_test.go#L171
cannot use client (variable of type *mocks.ConsoleClient) as "github.com/pluralsh/plural/pkg/console".ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement "github.com/pluralsh/plural/pkg/console".ConsoleClient (wrong type for method GetCluster)
|
Lint:
pkg/console/describe.go#L238
Error return value of `printers.WriteEscaped` is not checked (errcheck)
|
Lint:
pkg/console/describe.go#L243
Error return value of `printers.WriteEscaped` is not checked (errcheck)
|
Lint:
pkg/console/clusters.go#L4
File is not `goimports`-ed (goimports)
|
Lint:
pkg/console/describe.go#L7
File is not `goimports`-ed (goimports)
|
Lint:
pkg/bootstrap/common.go#L123
func `getEnvVar` is unused (unused)
|