specpayload

package
v0.1.18-rc3 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(ctx context.Context, base *url.URL, client *http.Client, specFile string, migEnvs []string, migImage string, retain bool, migCommand string) ([]byte, error)

func BuildSelected

func BuildSelected(ctx context.Context, base *url.URL, client *http.Client, specFile, stepSelector string, migEnvs []string, migImage string, retain bool, migCommand string) ([]byte, error)

func Load

func Load(ctx context.Context, base *url.URL, client *http.Client, path string) (json.RawMessage, error)

func Normalize

func Normalize(ctx context.Context, base *url.URL, client *http.Client, data []byte, specBaseDir string) (json.RawMessage, error)

func ValidateLocal

func ValidateLocal(data []byte, specBaseDir string) (json.RawMessage, error)

func ValidateLocalFile

func ValidateLocalFile(path string) (json.RawMessage, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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