kubernetes

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: Apache-2.0 Imports: 13 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package kubernetes is the Kubernetes tool adapter: plain manifests, Kustomize overlays and, partly, Helm charts become stacks; workloads (Deployment, StatefulSet, DaemonSet, Job, CronJob, Pod) become services or data stores, with the Services that select them as evidence; image references go through the normalisation.

Nothing is rendered or run. Kustomize is followed as far as its files say: resources, bases and components in order, the images transformer, namePrefix, nameSuffix and namespace; patches and generators are not applied. Helm templates are not rendered (their values are unknown): a chart gives its Chart.yaml dependencies, the image references in values.yaml and the -f values files of its invocation, and the manifests in templates/ that hold no template action. See https://cernly.dev/how/plugins/.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct{}

func (Plugin) Consumes

func (Plugin) Consumes() []string

Consumes makes it a phase-2 tool adapter: it gets the kubernetes and helm stacks the command reader found (kubectl, kustomize, helm calls).

func (Plugin) Name

func (Plugin) Name() string

func (Plugin) Run

func (p Plugin) Run(r *repo.Repo) plugin.Result

func (Plugin) RunWith

func (p Plugin) RunWith(r *repo.Repo, in []fact.Fact) plugin.Result

func (Plugin) Version

func (Plugin) Version() string

func (Plugin) Watches

func (Plugin) Watches(p string) bool

Jump to

Keyboard shortcuts

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