batch

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package batch implements the "Batch inspect" TUI flow: it recursively scans a directory for certificate files, extracts a summary for each (CN, issuer, expiry), and displays the results in a sortable table.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() tea.Model

New returns a new batch-inspect model starting in a directory browser so the user can navigate to the folder they want to scan.

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

func (*Model) Init

func (m *Model) Init() tea.Cmd

func (*Model) Update

func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*Model) View

func (m *Model) View() string

type Row

type Row struct {
	Path     string
	RelPath  string
	CN       string
	Issuer   string
	NotAfter string
	Days     int
	Status   string // "ok", "warn", "expired", "pfx", "error"
	Error    string
}

Row represents a single scanned certificate file.

Jump to

Keyboard shortcuts

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