Help us shape the future of Go! Take the 2026 Go Developer Survey

basic

package
v1.74.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicTemplateData added in v1.62.0

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

func FromReader added in v1.44.0

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

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

type Factory added in v1.62.0

type Factory struct{}

Factory represents the basic template factory

func (*Factory) CreateTemplate added in v1.62.0

func (f *Factory) CreateTemplate(renderBundle api.BundleRenderer) api.Template

CreateTemplate creates a new template instance with the given RenderBundle function

func (*Factory) Schema added in v1.62.0

func (f *Factory) Schema() string

Schema returns the schema supported by this factory

func (*Factory) Type added in v1.64.0

func (f *Factory) Type() string

Type returns the registration type for this template

Jump to

Keyboard shortcuts

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