basic

package
v1.49.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicTemplate added in v1.44.0

type BasicTemplate struct {
	Schema  string          `json:"schema"`
	Entries []*declcfg.Meta `json:"entries"`
}

func FromReader added in v1.44.0

func FromReader(r io.Reader) (*BasicTemplate, error)

FromReader reads FBC from a reader and generates a BasicTemplate from it

type Template

type Template struct {
	RenderBundle func(context.Context, string) (*declcfg.DeclarativeConfig, error)
}

func (Template) Render

func (t Template) Render(ctx context.Context, reader io.Reader) (*declcfg.DeclarativeConfig, error)

Jump to

Keyboard shortcuts

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