scripts

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrafanaScript

type GrafanaScript struct {
	DeployDir string
	LogDir    string
	Version   string // 7.5.17
}

GrafanaScript represent the data to generate Grafana config

func (*GrafanaScript) ConfigToFile

func (c *GrafanaScript) ConfigToFile(file string) error

ConfigToFile write config content to specific path

type TSMetaScript

type TSMetaScript struct {
	DeployDir string
	LogDir    string
}

TSMetaScript represent the data to generate ts-meta config

func (*TSMetaScript) ConfigToFile

func (c *TSMetaScript) ConfigToFile(file string) error

ConfigToFile write config content to specific path

type TSMonitorScript

type TSMonitorScript struct {
	DeployDir string
	LogDir    string
}

TSMonitorScript represent the data to generate ts-monitor config

func (*TSMonitorScript) Config

func (c *TSMonitorScript) Config() ([]byte, error)

Config generate the config file data.

func (*TSMonitorScript) ConfigToFile

func (c *TSMonitorScript) ConfigToFile(file string) error

ConfigToFile write config content to specific path

func (*TSMonitorScript) ConfigWithTemplate

func (c *TSMonitorScript) ConfigWithTemplate(tpl string) ([]byte, error)

ConfigWithTemplate generate the BlackboxExporter config content by tpl

type TSServerScript

type TSServerScript struct {
	DeployDir string
	LogDir    string
}

TSServerScript represent the data to generate ts-server config

func (*TSServerScript) ConfigToFile

func (c *TSServerScript) ConfigToFile(file string) error

ConfigToFile write config content to specific path

type TSSqlScript

type TSSqlScript struct {
	DeployDir string
	LogDir    string
}

TSSqlScript represent the data to generate ts-sql config

func (*TSSqlScript) ConfigToFile

func (c *TSSqlScript) ConfigToFile(file string) error

ConfigToFile write config content to specific path

type TSStoreScript

type TSStoreScript struct {
	DeployDir string
	LogDir    string
}

TSStoreScript represent the data to generate ts-store config

func (*TSStoreScript) ConfigToFile

func (c *TSStoreScript) ConfigToFile(file string) error

ConfigToFile write config content to specific path

Jump to

Keyboard shortcuts

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