api

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2026 License: AGPL-3.0 Imports: 0 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 api names the resource group every committed koment record belongs to. The group and version live here rather than in store or policy because they belong to neither: both resources carry the same apiVersion, and a second copy of that string is a second thing to forget to change.

Index

Constants

View Source
const Group = "koment.dev"

Group is the canonical domain. A Kubernetes API group is a DNS name for the same reason ours is: it makes the owner of a schema unambiguous without a central registry. ADR 0119.

View Source
const SchemaBase = "https://raw.githubusercontent.com/janpuc/koment/main/schema/v1alpha/"

SchemaBase is where the schemas for this API version are published. The path carries the version so that a record written today keeps pointing at the schema that describes it after the next version exists. ADR 0121.

View Source
const Version = Group + "/v1alpha"

Version is matched exactly. A record carrying anything else is refused rather than guessed at.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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