Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultChecks = []Check{ &JobOOMKilledCheck{}, }
Functions ¶
This section is empty.
Types ¶
type Check ¶
type Check interface { Execute(ctx context.Context, client *client.Client, u *unstructured.Unstructured) error Name() string }
type CheckReport ¶
type CheckRunner ¶
type CheckRunner struct {
// contains filtered or unexported fields
}
func NewCheckRunner ¶
func NewCheckRunner( logger log.Logger, client *client.Client, def *types.SuccessDefinition, databaseConnections *db.Connections, knownChecks map[string]Check, ) (*CheckRunner, error)
func (*CheckRunner) Execute ¶
func (c *CheckRunner) Execute(ctx context.Context, u *unstructured.Unstructured) error
type Checks ¶
type Checks struct {
// contains filtered or unexported fields
}
func (*Checks) RunChecks ¶
func (c *Checks) RunChecks( ctx context.Context, successDefs []*types.SuccessDefinition, u *unstructured.Unstructured, ) error
type JobOOMKilledCheck ¶
type JobOOMKilledCheck struct{}
func (*JobOOMKilledCheck) Execute ¶
func (c *JobOOMKilledCheck) Execute(ctx context.Context, client *client.Client, unstructured *unstructured.Unstructured) error
func (JobOOMKilledCheck) Name ¶
func (c JobOOMKilledCheck) Name() string
Click to show internal directories.
Click to hide internal directories.