aggregator

package
v0.0.40 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package aggregator updates the cell-aggregator kustomization at `clusters/harbor/engineers/kustomization.yaml` so that each `seictl onboard --apply` PR is fully self-wired into Flux.

The grandparent file (`clusters/harbor/kustomization.yaml`) is a one-time human-reviewed bootstrap and is intentionally not touched. See sei-protocol/platform#249.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	Path    string
	Content []byte
	Added   bool
}

Result.Added=false means the alias was already present; Content is the original bytes and callers should skip including the file in the PR to keep the diff clean.

func UpdateEngineers

func UpdateEngineers(repoPath, alias string) (Result, error)

UpdateEngineers inserts alias into the aggregator's resources list, sorted alphabetically. Idempotent. Assumes the aggregator exists — ensure repoPath is at-or-ahead of sei-protocol/platform#249.

Jump to

Keyboard shortcuts

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