conformance

package
v0.6.16 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateLinterMetadata

func GenerateLinterMetadata(styleguide *style.StyleGuide) (map[string]*linterMetadata, error)

func RunLinter added in v0.6.10

func RunLinter(ctx context.Context,
	specDirectory string,
	metadata *linterMetadata) (*style.LinterResponse, error)

func SimpleLinterMetadata added in v0.6.10

func SimpleLinterMetadata(linter string) *linterMetadata

func WriteSpecForLinting added in v0.6.10

func WriteSpecForLinting(ctx context.Context, client connection.RegistryClient, spec *rpc.ApiSpec) (string, error)

Types

type ComputeConformanceTask

type ComputeConformanceTask struct {
	Client          connection.RegistryClient
	Spec            *rpc.ApiSpec
	LintersMetadata map[string]*linterMetadata
	StyleguideId    string
	DryRun          bool
}

func (*ComputeConformanceTask) Run

func (*ComputeConformanceTask) String

func (task *ComputeConformanceTask) String() string

Jump to

Keyboard shortcuts

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