backend

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetList

func GetList() []string

func HaveBackend

func HaveBackend(name string) bool

func Register

func Register(name string, b Backend)

Types

type Backend

type Backend interface {
	SupportsFormat(format string) bool
	ConvertFromFormat(format string, policy string) (types.Metadata, error)
	Validate(policy types.Metadata) error
}

func GetBackend

func GetBackend(name string) Backend

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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