examples

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckExamples

type CheckExamples map[string]ProviderExamples

func GetCheckExamples

func GetCheckExamples(r scan.Rule) (CheckExamples, string, error)

func (CheckExamples) Format

func (e CheckExamples) Format()

type ProviderExamples

type ProviderExamples struct {
	Good blocks `yaml:"good,omitempty"`
	Bad  blocks `yaml:"bad,omitempty"`
}

func (ProviderExamples) IsEmpty

func (e ProviderExamples) IsEmpty() bool

Jump to

Keyboard shortcuts

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