builders

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package builders owns BuildDeployment and BuildService — pure functions that translate a DeploymentIntent and a single ServiceUnitIntent into Kubernetes object literals. No client, no side effects: both the imperative path (pkg/apis/deployment/api.K8SProvider, which applies these objects live) and the GitOps path (pkg/apis/deployment/api.KustomizeStrategyProvider, which renders them into committed manifests) share this same construction logic, so the two paths can't silently drift apart on what a ServiceUnit's Kubernetes objects look like.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildDeployment

BuildDeployment renders su's Kubernetes Deployment object literal within intent. Pure — no client, no side effects.

func BuildService

BuildService renders su's Kubernetes Service object literal within intent. Pure — no client, no side effects.

Types

This section is empty.

Jump to

Keyboard shortcuts

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