containers

package
v5.22.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterParser

func RegisterParser(kind string, parser SubscriptionContainerDocumentParser) error

Types

type Container

type Container struct {
	Kind        string
	Metadata    map[string]string
	ServerSpecs []UnparsedServerConf
}

func TryAllParsers

func TryAllParsers(rawConfig []byte, prioritizedParser string) (*Container, error)

type SubscriptionContainerDocumentParser

type SubscriptionContainerDocumentParser interface {
	ParseSubscriptionContainerDocument(rawConfig []byte) (*Container, error)
}

type UnparsedServerConf

type UnparsedServerConf struct {
	KindHint string
	Content  []byte
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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