verifiers

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 8 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 verifiers runs configured validation commands for a workspace.

Index

Constants

View Source
const (
	StatusCreated = "created"
	StatusUpdated = "updated"
	StatusSkipped = "skipped"
)

Variables

This section is empty.

Functions

func RenderSkill

func RenderSkill(area Area) string

func RenderText

func RenderText(report Report) string

Types

type Area

type Area struct {
	Name        string   `json:"name"`
	Path        string   `json:"path"`
	Kind        string   `json:"kind"`
	Stack       []string `json:"stack"`
	SkillName   string   `json:"skill_name"`
	Description string   `json:"description"`
}

func Detect

func Detect(workspace string) ([]Area, []string, error)

type Artifact

type Artifact struct {
	Name   string `json:"name"`
	Path   string `json:"path"`
	Status string `json:"status"`
}

type Options

type Options struct {
	Workspace string
	Target    string
	Force     bool
	DryRun    bool
}

type Report

type Report struct {
	Kind       string     `json:"kind"`
	Action     string     `json:"action"`
	Status     string     `json:"status"`
	Workspace  string     `json:"workspace"`
	Target     string     `json:"target"`
	TargetRoot string     `json:"target_root"`
	DryRun     bool       `json:"dry_run"`
	Force      bool       `json:"force"`
	Areas      []Area     `json:"areas"`
	Artifacts  []Artifact `json:"artifacts"`
	Created    []string   `json:"created"`
	Updated    []string   `json:"updated"`
	Skipped    []string   `json:"skipped"`
	Warnings   []string   `json:"warnings,omitempty"`
	NextStep   string     `json:"next_step"`
}

func Initialize

func Initialize(options Options) (Report, error)

Jump to

Keyboard shortcuts

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