step

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package step defines execution steps for building environment profiles. It provides types and methods for representing and formatting the sequence of operations needed to construct a complete environment from profiles and dotenv files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kind

type Kind string

Kind represents the type of operation in a profile execution plan.

const (
	// DotEnv indicates a dotenv step.
	DotEnv Kind = "dotenv"
	// Profile indicates a profile step.
	Profile Kind = "env"
	// Overlay indicates an overlay step.
	Overlay Kind = "overlay"
)

type Step

type Step struct {
	// Kind specifies the type of step operation.
	Kind Kind
	// Owner identifies the profile that owns this step.
	Owner string
	// Name contains the profile name or dotenv path.
	Name string
}

Step represents a single operation in a profile execution plan.

type Steps

type Steps []Step

Steps represents a sequence of profile execution steps.

func (Steps) Table

func (s Steps) Table() string

Table formats the steps as a human-readable table.

Jump to

Keyboard shortcuts

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