jenkins-cli: github.com/jenkins-zh/jenkins-cli/app/health Index | Files

package health

import "github.com/jenkins-zh/jenkins-cli/app/health"

Index

Package Files

core.go

type CheckRegister Uses

type CheckRegister struct {
    Member map[string]CommandHealth
}

CheckRegister is the register container

func (*CheckRegister) Register Uses

func (c *CheckRegister) Register(path string, health CommandHealth)

Register can register a command and function

type CommandHealth Uses

type CommandHealth interface {
    Check() error
}

CommandHealth is the interface for register a command checker

Package health is imported by 1 packages. Updated 2020-01-11. Refresh now. Tools for package owners.