Refactor cmd/rigtest into a real test suite in test/rig_test.go and fix found bugs #258
Annotations
10 errors and 9 warnings
connection.go#L1
: # github.com/k0sproject/rig
|
connection.go#L22
cannot use (*Connection)(nil) (value of type *Connection) as "github.com/k0sproject/rig/os".Host value in variable declaration: *Connection does not implement "github.com/k0sproject/rig/os".Host (wrong type for method ExecStreams)
|
os/registry/registry.go#L7
could not import github.com/k0sproject/rig (-: # github.com/k0sproject/rig
|
connection.go#L22
cannot use (*Connection)(nil) (value of type *Connection) as "github.com/k0sproject/rig/os".Host value in variable declaration: *Connection does not implement "github.com/k0sproject/rig/os".Host (wrong type for method ExecStreams)
|
os/linux/alpine.go#L8
could not import github.com/k0sproject/rig (-: # github.com/k0sproject/rig
|
connection.go#L22
cannot use (*Connection)(nil) (value of type *Connection) as "github.com/k0sproject/rig/os".Host value in variable declaration: *Connection does not implement "github.com/k0sproject/rig/os".Host (wrong type for method ExecStreams)
|
os/linux/enterpriselinux/centos.go#L5
could not import github.com/k0sproject/rig (-: # github.com/k0sproject/rig
|
connection.go#L22
cannot use (*Connection)(nil) (value of type *Connection) as "github.com/k0sproject/rig/os".Host value in variable declaration: *Connection does not implement "github.com/k0sproject/rig/os".Host (wrong type for method ExecStreams)
|
os/mac/darwin.go#L13
could not import github.com/k0sproject/rig (-: # github.com/k0sproject/rig
|
connection.go#L22
cannot use (*Connection)(nil) (value of type *Connection) as "github.com/k0sproject/rig/os".Host value in variable declaration: *Connection does not implement "github.com/k0sproject/rig/os".Host (wrong type for method ExecStreams)
|
pkg/rigfs/withname.go#L6
exported: exported const OP_CLOSE should have comment (or a comment on this block) or be unexported (revive)
|
pkg/rigfs/withname.go#L7
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
|
pkg/rigfs/windir.go#L24
unused-parameter: parameter 'p' seems to be unused, consider removing or renaming it as _ (revive)
|
pkg/rigfs/windir.go#L28
unused-parameter: parameter 'pos' seems to be unused, consider removing or renaming it as _ (revive)
|
pkg/rigfs/withname.go#L8
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
|
pkg/rigfs/withname.go#L9
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
|
pkg/rigfs/windir.go#L32
unused-parameter: parameter 'p' seems to be unused, consider removing or renaming it as _ (revive)
|
pkg/rigfs/withname.go#L10
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
|
pkg/rigfs/withname.go#L11
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
|
The logs for this run have expired and are no longer available.
Loading