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

manifest

package
v0.62.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package manifest embeds the product-shipped asset files that live in this directory so Go code can read them from any binary. It deliberately holds no behavior: everything that parses or interprets these bytes lives in github.com/radius-project/radius/pkg/defaults.

The split exists because the two halves have different owners. The assets are deployment artifacts — build/scripts/sync-resource-types.sh rewrites them, build/docker.mk copies built-in-providers/ into the ucpd image, and build/generate.mk reads defaults.yaml — so they belong under deploy/. A //go:embed pattern cannot name a path outside its own package directory, so the embed directive has to sit beside the assets even though the code that uses it does not.

Index

Constants

View Source
const (
	// DefaultIconPath is the [FS] path of the product default resource-type icon.
	DefaultIconPath = "default-icon.svg"

	// DefaultsYAMLPath is the [FS] path of the catalog declaring which resource
	// types ship as defaults and which upstream revisions they are pinned to.
	DefaultsYAMLPath = "defaults.yaml"

	// BuiltInIconsDir is the [FS] directory holding the per-type icons mirrored
	// from resource-types-contrib. A type's icon is at
	// BuiltInIconsDir + "/<typeName>.svg".
	BuiltInIconsDir = "built-in-providers/self-hosted"

	// KubernetesRecipePackPath is the [FS] path of the Kubernetes recipe pack
	// compiled from the resource-types-contrib revision pinned under
	// `recipePacks` in defaults.yaml. rad creates the default recipe pack from it.
	KubernetesRecipePackPath = "recipe-packs/kubernetes/default.json"
)

Variables

FS holds the product-shipped assets. Reads return a fresh copy, so callers cannot corrupt the bytes another consumer will see.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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