pedroMMM/goss

View on GitHub

Showing 439 of 439 total issues

exported method DefInterface.Name should have comment or be unexported
Open

func (i *DefInterface) Name() string {
Severity: Minor
Found in system/interface.go by golint

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

func (i *DefInterface) Exists() (bool, error) {
Severity: Minor
Found in system/interface.go by golint

exported method DefMount.MountPoint should have comment or be unexported
Open

func (m *DefMount) MountPoint() string {
Severity: Minor
Found in system/mount.go by golint

exported method DefMount.Usage should have comment or be unexported
Open

func (m *DefMount) Usage() (int, error) {
Severity: Minor
Found in system/mount.go by golint

exported method DebPackage.Installed should have comment or be unexported
Open

func (p *DebPackage) Installed() (bool, error) {
Severity: Minor
Found in system/package_deb.go by golint

exported method RpmPackage.Installed should have comment or be unexported
Open

func (p *RpmPackage) Installed() (bool, error) {
Severity: Minor
Found in system/package_rpm.go by golint

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

func (p *DefPort) Exists() (bool, error) { return p.Listening() }
Severity: Minor
Found in system/port.go by golint

exported method DefPort.Listening should have comment or be unexported
Open

func (p *DefPort) Listening() (bool, error) {
Severity: Minor
Found in system/port.go by golint

exported function NewDefProcess should have comment or be unexported
Open

func NewDefProcess(executable string, system *System, config util.Config) (Process, error) {
Severity: Minor
Found in system/process.go by golint

exported method DefGroup.GID should have comment or be unexported
Open

func (u *DefGroup) GID() (int, error) {
Severity: Minor
Found in system/group.go by golint

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

func (p *DefProcess) Exists() (bool, error) { return p.Running() }
Severity: Minor
Found in system/process.go by golint

exported method DefMount.Source should have comment or be unexported
Open

func (m *DefMount) Source() (string, error) {
Severity: Minor
Found in system/mount.go by golint

exported function NewServiceSystemd should have comment or be unexported
Open

func NewServiceSystemd(service string, system *System, config util.Config) Service {
Severity: Minor
Found in system/service_systemd.go by golint

exported method DefProcess.Running should have comment or be unexported
Open

func (p *DefProcess) Running() (bool, error) {
Severity: Minor
Found in system/process.go by golint

exported function NewAlpineServiceInit should have comment or be unexported
Open

func NewAlpineServiceInit(service string, system *System, config util.Config) Service {
Severity: Minor
Found in system/service_init.go by golint

exported type ServiceUpstart should have comment or be unexported
Open

type ServiceUpstart struct {
Severity: Minor
Found in system/service_upstart.go by golint

exported type Command should have comment or be unexported
Open

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

exported function Validate should have comment or be unexported
Open

func Validate(c *RuntimeConfig, startTime time.Time) (code int, err error) {
Severity: Minor
Found in validate.go by golint

exported function HeaderToArray should have comment or be unexported
Open

func HeaderToArray(header http.Header) (res []string) {
Severity: Minor
Found in system/http.go by golint

exported function NewDefHTTP should have comment or be unexported
Open

func NewDefHTTP(httpStr string, system *System, config util.Config) HTTP {
Severity: Minor
Found in system/http.go by golint
Severity
Category
Status
Source
Language