report

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(auditLogsPath string, swaggerPath string, filter string, storeInFilePath string, detailed bool) ([]byte, error)

Generate provides a full REST API coverage report based on k8s audit log and swagger definition, by passing params: - "filter" you can limit the report to specific resources, as an example, "/apis/kubevirt.io/v1alpha3/" limits to kubevirt v1alpha3; "" no limit - "storeInFilePath" instead of sending the report to stdout it is possible to keep it as a file in JSON format (always detailed) - "detailed" whether a printed report should contain coverage information for each resource, if not it will show only the total coverage number

Types

This section is empty.

Jump to

Keyboard shortcuts

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