package sensu

import "github.com/influxdata/flux/stdlib/contrib/sranka/sensu"

Index

Functions

func ToSensuName

func ToSensuName(args interpreter.Arguments) (values.Value, error)

ToSensuName is a flux function that replaces all characters that cannot appear in a Sensu name by underscore.

func ToSensuNameGo

func ToSensuNameGo(value string) string

ToSensuNameGo is a go function that replaces all characters that cannot appear in a Sensu name by underscore.

Source Files

to_sensu_name.go

Version
v0.196.1 (latest)
Published
Feb 19, 2025
Platform
linux/amd64
Imports
5 packages
Last checked
1 day ago

Tools for package owners.