outdated

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

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

Checker checks for outdated cookbooks

func New

func New(lockFile *lockfile.LockFile, sourceManager *source.Manager) *Checker

New creates a new outdated checker

func (*Checker) Check

func (c *Checker) Check(ctx context.Context, cookbookNames []string) ([]Cookbook, error)

Check checks for outdated cookbooks If cookbookNames is empty, all cookbooks from the lock file are checked

type Cookbook

type Cookbook struct {
	Name           string `json:"name"`
	CurrentVersion string `json:"current_version"`
	LatestVersion  string `json:"latest_version"`
	Source         string `json:"source"`
}

Cookbook represents an outdated cookbook

Jump to

Keyboard shortcuts

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