Skip to content

[WIP]create deployments commands #1799

[WIP]create deployments commands

[WIP]create deployments commands #1799

Triggered via pull request October 11, 2023 22:11
Status Failure
Total duration 21m 6s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

19 errors
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)
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.