check

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Name = "check-resource"

Name describes the object this reconciler maintains

Functions

func IsInvalidIdentifierError

func IsInvalidIdentifierError(err error) bool

IsInvalidIdentifierError returns true if given error returned by the Pingdom API indicates a given ID was not found.

func New

func New(config *Config) resources.ResourceReconciler

New returns a new ResourceReconciller for a Pingdom Check external resource.

Types

type Config

type Config struct {
	Logger   logr.Logger
	PdClient *pingdom.Client
	Check    *observabilityv1alpha1.Check
}

Config is a structure holding data needed to create a new ResourceReconciller for Check objects.

Jump to

Keyboard shortcuts

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