cmd

package
v0.0.0-...-4a87c2a Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Types

type CheckConfig

type CheckConfig struct {
	IsRoot          func() bool
	IsLinked        func() bool
	AllChecksPassed func() bool
	GetFailedChecks func() []shared.LastState
	ReportToTeam    func(bool) error
	RunnerCheck     func(context.Context, []claims.Claim, []string, string)
	LogFatal        func(string)
	LogWarn         func(string)
	LogErrorf       func(string, ...interface{})
	LogWithError    func(error) *log.Entry
}

CheckConfig holds the configuration for the check command

func DefaultCheckConfig

func DefaultCheckConfig() *CheckConfig

DefaultCheckConfig returns the default configuration

type StatusConfig

type StatusConfig struct {
	PrintStates func()
}

StatusConfig holds the configuration for the status command

func DefaultStatusConfig

func DefaultStatusConfig() *StatusConfig

DefaultStatusConfig returns the default configuration

Directories

Path Synopsis
Package main provides the entry point for the application.
Package main provides the entry point for the application.

Jump to

Keyboard shortcuts

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