controller

package
v0.4.7-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController() node.Initializer

NewController returns a new controller initializer

Types

type StartAction

type StartAction struct{}

StartAction defines the action to start the Prometheus server

func (StartAction) Execute

func (a StartAction) Execute(ctx node.Context) error

Execute implements node.ActionTemplate. It registers the Prometheus handler.

Jump to

Keyboard shortcuts

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