export

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCertInfo

func GetCertInfo(record provider.GetRecordCertReq) (certInfo provider.RecordCert, err error)

GetCertInfo 获取证书信息

func GetMultipleCertInfo

func GetMultipleCertInfo(records []provider.GetRecordCertReq) ([]provider.RecordCert, error)

func InitCron

func InitCron()

InitCron 初始化定时任务

Types

type Metrics

type Metrics struct {
	// contains filtered or unexported fields
}

指标结构体

func NewMetrics

func NewMetrics(namespace string) *Metrics

NewMetrics 初始化指标信息,即Metrics结构体

func (*Metrics) Collect

func (c *Metrics) Collect(ch chan<- prometheus.Metric)

Collect 抓取最新的数据,传递给channel

func (*Metrics) Describe

func (c *Metrics) Describe(ch chan<- *prometheus.Desc)

Describe 传递结构体中的指标描述符到channel

Jump to

Keyboard shortcuts

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