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

seed

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Package seed applies pogi.yaml: IAM identities, friendly and typed resources, and CloudFormation stacks. It runs before "Ready.", again after every reset, and for MCP's seed tool. Anything that already exists is skipped, never updated.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(h *core.Hub, f *config.File) error

Apply seeds f's identities, then its resources, then its stacks.

func ApplyResources

func ApplyResources(h *core.Hub, r config.Resources, file string) error

ApplyResources seeds friendly and typed resources. file names their source in errors, and relative paths start from its directory.

func Hook

func Hook(h *core.Hub, f *config.File)

Hook sets hub.Seed (MCP's seed tool) and, with a pogi.yaml, seeds again after every reset: everything after a full reset; after a partial one only the resources of the reset services (and the identities, when iam is one).

Types

This section is empty.

Jump to

Keyboard shortcuts

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