pedroMMM/goss

View on GitHub

Showing 439 of 439 total issues

exported function BeSemverConstraint should have comment or be unexported
Open

func BeSemverConstraint(constraint interface{}) types.GomegaMatcher {
Severity: Minor
Found in matchers/semver_constraint.go by golint

exported method BeSemverConstraintMatcher.Match should have comment or be unexported
Open

func (matcher *BeSemverConstraintMatcher) Match(actual interface{}) (success bool, err error) {
Severity: Minor
Found in matchers/semver_constraint.go by golint

exported type JsonOneline should have comment or be unexported
Open

type JsonOneline struct{}
Severity: Minor
Found in outputs/json_oneline.go by golint

exported function GetOutputer should have comment or be unexported
Open

func GetOutputer(name string) (Outputer, error) {
Severity: Minor
Found in outputs/outputs.go by golint

exported type Tap should have comment or be unexported
Open

type Tap struct{}
Severity: Minor
Found in outputs/tap.go by golint

exported type Command should have comment or be unexported
Open

type Command struct {
Severity: Minor
Found in resource/command.go by golint

exported method DNS.GetTitle should have comment or be unexported
Open

func (d *DNS) GetTitle() string { return d.Title }
Severity: Minor
Found in resource/dns.go by golint

exported method HTTP.ID should have comment or be unexported
Open

func (u *HTTP) ID() string      { return u.HTTP }
Severity: Minor
Found in resource/http.go by golint

exported type Interface should have comment or be unexported
Open

type Interface struct {
Severity: Minor
Found in resource/interface.go by golint

comment on exported method Interface.GetTitle should be of the form "GetTitle ..."
Open

// FIXME: Can this be refactored?
Severity: Minor
Found in resource/interface.go by golint

exported type KernelParam should have comment or be unexported
Open

type KernelParam struct {
Severity: Minor
Found in resource/kernel_param.go by golint

exported type Matching should have comment or be unexported
Open

type Matching struct {
Severity: Minor
Found in resource/matching.go by golint

exported function NewMount should have comment or be unexported
Open

func NewMount(sysMount system.Mount, config util.Config) (*Mount, error) {
Severity: Minor
Found in resource/mount.go by golint

exported method Process.GetTitle should have comment or be unexported
Open

func (p *Process) GetTitle() string { return p.Title }
Severity: Minor
Found in resource/process.go by golint

type name will be used as resource.ResourceType by other packages, and that stutters; consider calling this Type
Open

type ResourceType generic.Type
Severity: Minor
Found in resource/resource_list_genny.go by golint

exported method ResourceTypeMap.AppendSysResourceIfExists should have comment or be unexported
Open

func (r ResourceTypeMap) AppendSysResourceIfExists(sr string, sys *system.System) (*ResourceType, system.ResourceType, bool) {
Severity: Minor
Found in resource/resource_list_genny.go by golint

exported method Service.Validate should have comment or be unexported
Open

func (s *Service) Validate(sys *system.System) []TestResult {
Severity: Minor
Found in resource/service.go by golint

exported function ValidateContains should have comment or be unexported
Open

func ValidateContains(res ResourceRead, property string, expectedValues []string, method func() (io.Reader, error), skip bool) TestResult {
Severity: Minor
Found in resource/validate.go by golint

exported method DefAddr.Exists should have comment or be unexported
Open

func (a *DefAddr) Exists() (bool, error) { return a.Reachable() }
Severity: Minor
Found in system/addr.go by golint

exported type DNS should have comment or be unexported
Open

type DNS interface {
Severity: Minor
Found in system/dns.go by golint
Severity
Category
Status
Source
Language