containerapi

package
v1.5.28 Latest Latest
Warning

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

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

Documentation

Overview

Package containerapi is a minimal client around the Red Hat Container API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerAPI

type ContainerAPI struct {
	Client *http.Client
	Root   *url.URL
}

ContainerAPI gets container metadata from Red Hat's API.

func (*ContainerAPI) GetCPEs

func (c *ContainerAPI) GetCPEs(ctx context.Context, nvr, arch string) ([]string, error)

GetCPEs fetches CPE information for given build from Red Hat Container API.

Jump to

Keyboard shortcuts

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