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

basic

package
v1.46.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: Apache-2.0 Imports: 9 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 {
	Registry   image.Registry
	Migrations *migrations.Migrations
}

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