Help us shape the future of Go! Take the 2026 Go Developer Survey

cache

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package cache hosts the `jira cache` command group: per-resource primers that fetch Jira metadata into the per-profile cache, plus housekeeping (clear, refresh). The subcommands are generated from the resource registry (internal/cli/cache/registry), the single source of truth.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand() *cobra.Command

NewCommand groups per-resource cache primers + housekeeping. Every primer fetches its resource, writes the JSON-encoded list under a config/site/profile cache namespace, and emits the list as the envelope's data so agents (and completion functions) can pipe it. The subcommands are generated from the resource registry — the single source of truth — except boards, whose Fetch is nil because its envelope carries truncation and per-board project metadata the generic primer cannot express.

Reads are cheap (single file) — see `internal/cache` for the format.

Types

This section is empty.

Directories

Path Synopsis
Package registry is the single source of truth for the cacheable Jira metadata resources: their identity, default freshness window, and fetch.
Package registry is the single source of truth for the cacheable Jira metadata resources: their identity, default freshness window, and fetch.

Jump to

Keyboard shortcuts

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