resources

package
v0.0.0-...-01631fc Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthChecks

type HealthChecks []common.HealthCheck

func (*HealthChecks) FilterByCheckNameTarget

func (h *HealthChecks) FilterByCheckNameTarget() (HealthChecks, error)

func (*HealthChecks) FilterByCheckNameTargetStatus

func (h *HealthChecks) FilterByCheckNameTargetStatus() (HealthChecks, error)

func (*HealthChecks) FilterBySameDay

func (h *HealthChecks) FilterBySameDay(paramsDay string) (HealthChecks, error)

func (*HealthChecks) GroupByDay

func (h *HealthChecks) GroupByDay() (HealthChecksGroupedByDay, error)

type HealthChecksFilters

type HealthChecksFilters struct {
	Target string
	Failed bool
	Limit  int
}

type HealthChecksGroupedByDay

type HealthChecksGroupedByDay []common.HealthCheckGroupedByDay

type HealthChecksManager

type HealthChecksManager interface {
	Get(f *HealthChecksFilters) (healthChecks HealthChecks, err error)
}

func NewFakeDataManager

func NewFakeDataManager(client *resty.Client, yamlConfig *config.YamlConfig) HealthChecksManager

func NewRemoteDataManager

func NewRemoteDataManager(client *resty.Client, yamlConfig *config.YamlConfig) HealthChecksManager

Jump to

Keyboard shortcuts

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