cos

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2025 License: Apache-2.0, BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package cos implements an annotator for language packages that have already been found in COS OS packages.

Index

Constants

View Source
const (
	// Name of the Annotator.
	Name = "vex/os-duplicate/cos"
)

Variables

This section is empty.

Functions

func New

func New() annotator.Annotator

New returns a new Annotator.

Types

type Annotator

type Annotator struct{}

Annotator adds annotations to language packages that have already been found in COS OS packages.

func (*Annotator) Annotate

func (a *Annotator) Annotate(ctx context.Context, input *annotator.ScanInput, results *inventory.Inventory) error

Annotate adds annotations to language packages that have already been found in COS OS packages.

func (Annotator) Name

func (Annotator) Name() string

Name of the annotator.

func (Annotator) Requirements

func (Annotator) Requirements() *plugin.Capabilities

Requirements of the annotator.

func (Annotator) Version

func (Annotator) Version() int

Version of the annotator.

Jump to

Keyboard shortcuts

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