namespace

package
v0.30.2 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: Apache-2.0 Imports: 9 Imported by: 0 modules, 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 namespace tells whether the namespace of a new preview is free for badil to deploy into: absent, or already a preview namespace of that slug. A preview's slug is its namespace, and Argo CD adopts a namespace that already exists, so badil refuses a new preview whose namespace exists and was not made for it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InCluster

InCluster returns a Checker reading namespaces through the in-cluster configuration. Outside a cluster, it returns a Checker for which no namespace is foreign, and logs why, once. Inside a cluster, when the client cannot be built, such as without a readable ServiceAccount token, it returns a Checker for which every check fails with that error.

func New

New returns a lifecycle.NamespaceChecker reading namespaces through kube.

Types

This section is empty.

Jump to

Keyboard shortcuts

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