bootstrapspec

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ArgLiteral = internal.ArgLiteral
	ArgURL     = internal.ArgURL
	ArgSecret  = internal.ArgSecret
	ArgAPI     = internal.ArgAPI
	ArgRepo    = internal.ArgRepo
	ArgStep    = internal.ArgStep
	ArgContext = internal.ArgContext
	ArgInput   = internal.ArgInput
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Arg

type Arg = internal.Arg

func APIArg

func APIArg(ref string) Arg

func ContextArg

func ContextArg() Arg

func InputArg

func InputArg(ref string) Arg

func InputArgDef

func InputArgDef(id string, prototype any, opts ...InputOption) Arg

func InputArgDefAs

func InputArgDefAs(id, field string, prototype any, opts ...InputOption) Arg

func InputArgDefAuto

func InputArgDefAuto(prototype any, opts ...InputOption) Arg

func InputArgFrom

func InputArgFrom(def InputDef) Arg

func Literal

func Literal(value string) Arg

func RepoArg

func RepoArg(ref string) Arg

func SecretArg

func SecretArg(ref string) Arg

func StepArg

func StepArg(ref string) Arg

func URLArg

func URLArg(ref string) Arg

type Component

type Component = internal.Component

func API

func API(id string, constructor any, args ...Arg) Component

func APIAs

func APIAs(id, field string, constructor any, args ...Arg) Component

func Repo

func Repo(id string, constructor any, args ...Arg) Component

func RepoAs

func RepoAs(id, field string, constructor any, args ...Arg) Component

func Step

func Step(id string, constructor any, args ...Arg) Component

func StepAs

func StepAs(id, field string, constructor any, args ...Arg) Component

type InputDef

type InputDef = internal.InputDef

func Input

func Input(id string, prototype any, opts ...InputOption) InputDef

func InputWithField

func InputWithField(id, field string, prototype any, opts ...InputOption) InputDef

type InputOption

type InputOption = internal.InputOption

func WithEnvPreset

func WithEnvPreset(preset any) InputOption

func WithEnvPresetMapper

func WithEnvPresetMapper(preset, mapper any) InputOption

func WithInputPrefix

func WithInputPrefix(prefix string) InputOption

func WithLoader

func WithLoader(loader any) InputOption

type Manifest

type Manifest = internal.Manifest

type PostgresEnv

type PostgresEnv = internal.PostgresEnv

type Requires

type Requires = internal.Requires

type TokenEnv

type TokenEnv = internal.TokenEnv

type URLBaseEnv

type URLBaseEnv = internal.URLBaseEnv

type URLDef

type URLDef = internal.URLDef

func URL

func URL(id string, opts ...URLOption) URLDef

func URLAs

func URLAs(id, field string, opts ...URLOption) URLDef

func URLWithField

func URLWithField(id, field string, opts ...URLOption) URLDef

type URLOption

type URLOption = internal.URLOption

func WithURLPrefix

func WithURLPrefix(prefix string) URLOption

Jump to

Keyboard shortcuts

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