template

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamePattern   = "dragonfly-*"
	FormatPattern = "dragonfly-%s"
)
View Source
const (
	TemplatePath = "/file/templates"
)

Variables

This section is empty.

Functions

func CleanTemplates

func CleanTemplates()

func CreateTemplate

func CreateTemplate(templateName string, tickScript string) (*kapacitorclient.Template, error)

func DeleteAllTemplates

func DeleteAllTemplates() error

func DeleteTemplate

func DeleteTemplate(templateName string) error

func GetTemplate

func GetTemplate(templateName string) (*kapacitorclient.Template, error)

func ListTemplates

func ListTemplates() ([]kapacitorclient.Template, error)

func RegisterTemplate

func RegisterTemplate()

func UpdateTemplate

func UpdateTemplate(templateId string) (*kapacitorclient.Template, error)

Types

type TemplateBuilder

type TemplateBuilder struct{}

Jump to

Keyboard shortcuts

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