container

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultCatalog = make(Catalog)

DefaultCatalog holds every compiled-in container metadata provider

Functions

func RegisterMetadataProvider

func RegisterMetadataProvider(name string, m MetadataProvider)

RegisterMetadataProvider a container metadata provider

Types

type Catalog

type Catalog map[string]MetadataProvider

Catalog holds available metadata providers

type MetadataProvider

type MetadataProvider func() (map[string]string, error)

MetadataProvider should return a map of metadata

Jump to

Keyboard shortcuts

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