contents

package
v1.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContentsRuleVerification

type ContentsRuleVerification struct {
	Module         string
	Description    string
	Rule           *config.ContentsRule
	PackageDetails []baseModel.PackageVerification
	Passes         bool
}

func NewContentsRuleVerification

func NewContentsRuleVerification(module string, rule *config.ContentsRule) *ContentsRuleVerification

func (*ContentsRuleVerification) GetVerifications added in v0.8.0

func (d *ContentsRuleVerification) GetVerifications() []baseModel.PackageVerification

func (*ContentsRuleVerification) Name added in v0.5.0

func (d *ContentsRuleVerification) Name() string

func (*ContentsRuleVerification) PrintResults

func (d *ContentsRuleVerification) PrintResults()

func (*ContentsRuleVerification) Status added in v0.5.0

func (d *ContentsRuleVerification) Status() bool

func (*ContentsRuleVerification) Type added in v0.5.0

func (d *ContentsRuleVerification) Type() string

func (*ContentsRuleVerification) ValidatePatterns added in v0.6.1

func (d *ContentsRuleVerification) ValidatePatterns() bool

func (*ContentsRuleVerification) Verify

func (d *ContentsRuleVerification) Verify() bool

type PackageContents

type PackageContents struct {
	Functions  int
	Methods    int
	Structs    int
	Interfaces int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL