sles

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProviderName  = "sles"
	SchemaName    = "os"
	SchemaVersion = "1.1.0"
	Version       = 1

	VersionFormat = "rpm"

	// URL template for SLES OVAL data. Try .bz2 first, fall back to .gz.
	OVALURLTemplate = "https://ftp.suse.com/pub/projects/security/oval/suse.linux.enterprise.server.%d.xml"

	LinkTemplate = "https://www.suse.com/security/cve/%s"
)

Variables

View Source
var MajorVersions = []int{12, 15}

Functions

func Namespace

func Namespace(majorVersion int) string

Namespace returns the SLES namespace for a major version.

Types

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

func NewProvider

func NewProvider(cfg provider.Config) (*Provider, error)

func (*Provider) FetchAll

func (p *Provider) FetchAll(ctx context.Context) error

func (*Provider) FetchIncremental

func (p *Provider) FetchIncremental(ctx context.Context, lastUpdated time.Time) error

func (*Provider) MetadataPath

func (p *Provider) MetadataPath() string

func (*Provider) Name

func (p *Provider) Name() string

func (*Provider) ResultsPath

func (p *Provider) ResultsPath() string

Jump to

Keyboard shortcuts

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