cyclonedxjson

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

Variables

This section is empty.

Functions

func NewFormatDecoder

func NewFormatDecoder() sbom.FormatDecoder

func NewFormatEncoderWithConfig

func NewFormatEncoderWithConfig(cfg EncoderConfig) (sbom.FormatEncoder, error)

func SupportedVersions

func SupportedVersions() []string

Types

type EncoderConfig

type EncoderConfig struct {
	Version string
	Pretty  bool // don't include spaces and newlines; same as jq -c
}

func DefaultEncoderConfig

func DefaultEncoderConfig() EncoderConfig

Jump to

Keyboard shortcuts

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