Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Summary ¶
func Summary(results []CheckResult) (passed int, failed int)
Summary returns a summary of check results
Types ¶
type BaseCheck ¶
type BaseCheck struct {
// contains filtered or unexported fields
}
BaseCheck provides common functionality for checks
type Check ¶
type Check interface {
Name() string
Check(ctx context.Context) CheckResult
}
Check defines the interface for a diagnostic check
type CheckResult ¶
CheckResult represents the result of a single diagnostic check
type DockerCheck ¶
type DockerCheck struct {
BaseCheck
}
DockerCheck validates Docker installation and daemon status
func NewDockerCheck ¶
func NewDockerCheck() *DockerCheck
func (*DockerCheck) Check ¶
func (c *DockerCheck) Check(ctx context.Context) CheckResult
type ForgeMetadataCheck ¶
type ForgeMetadataCheck struct {
BaseCheck
}
ForgeMetadataCheck validates project metadata if in a Forge project
func NewForgeMetadataCheck ¶
func NewForgeMetadataCheck() *ForgeMetadataCheck
func (*ForgeMetadataCheck) Check ¶
func (c *ForgeMetadataCheck) Check(ctx context.Context) CheckResult
type GoCheck ¶
type GoCheck struct {
BaseCheck
}
GoCheck validates Go installation and version
func NewGoCheck ¶
func NewGoCheck() *GoCheck
type PostgreSQLCheck ¶
type PostgreSQLCheck struct {
BaseCheck
}
PostgreSQLCheck validates PostgreSQL connectivity
func NewPostgreSQLCheck ¶
func NewPostgreSQLCheck() *PostgreSQLCheck
func (*PostgreSQLCheck) Check ¶
func (c *PostgreSQLCheck) Check(ctx context.Context) CheckResult
type RedisCheck ¶
type RedisCheck struct {
BaseCheck
}
RedisCheck validates Redis connectivity
func NewRedisCheck ¶
func NewRedisCheck() *RedisCheck
func (*RedisCheck) Check ¶
func (c *RedisCheck) Check(ctx context.Context) CheckResult
Click to show internal directories.
Click to hide internal directories.