feat: provide common encrypt, decrypt, config services along with config #359
Annotations
10 errors
golangci-lint:
pkg/security/types.go#L4
[golangci] reported by reviewdog 🐶
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
Raw Output:
pkg/security/types.go:4: File is not `gci`-ed with --skip-generated -s standard -s default (gci)
"github.com/99designs/keyring"
|
golangci-lint:
pkg/security/storage_test.go#L6
[golangci] reported by reviewdog 🐶
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
Raw Output:
pkg/security/storage_test.go:6: File is not `gci`-ed with --skip-generated -s standard -s default (gci)
"github.com/open-amt-cloud-toolkit/go-wsman-messages/v2/pkg/security"
|
golangci-lint:
pkg/security/storage_test.go#L9
[golangci] reported by reviewdog 🐶
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
Raw Output:
pkg/security/storage_test.go:9: File is not `gci`-ed with --skip-generated -s standard -s default (gci)
"github.com/stretchr/testify/mock"
|
golangci-lint:
pkg/security/storage.go#L9
[golangci] reported by reviewdog 🐶
Comment should end in a period (godot)
Raw Output:
pkg/security/storage.go:9:81: Comment should end in a period (godot)
// NewStorage function to create a new Storage instance with a keyring interface
^
|
golangci-lint:
pkg/security/storage.go#L17
[golangci] reported by reviewdog 🐶
Comment should end in a period (godot)
Raw Output:
pkg/security/storage.go:17:61: Comment should end in a period (godot)
// SetKeyValue method to set a key-value pair in the keyring
^
|
golangci-lint:
pkg/security/storage.go#L26
[golangci] reported by reviewdog 🐶
Comment should end in a period (godot)
Raw Output:
pkg/security/storage.go:26:61: Comment should end in a period (godot)
// GetKeyValue method to get a value from the keyring by key
^
|
golangci-lint:
pkg/security/storage.go#L23
[golangci] reported by reviewdog 🐶
return with no blank line before (nlreturn)
Raw Output:
pkg/security/storage.go:23:2: return with no blank line before (nlreturn)
return err
^
|
golangci-lint:
pkg/security/storage.go#L29
[golangci] reported by reviewdog 🐶
return with no blank line before (nlreturn)
Raw Output:
pkg/security/storage.go:29:2: return with no blank line before (nlreturn)
return string(data.Data), err
^
|
golangci-lint:
pkg/security/storage.go#L40
[golangci] reported by reviewdog 🐶
return with no blank line before (nlreturn)
Raw Output:
pkg/security/storage.go:40:2: return with no blank line before (nlreturn)
return kr.Set(item)
^
|
golangci-lint
reviewdog exited with status code: 1
|
Loading