Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileOutput ¶
type FileOutput struct {
// contains filtered or unexported fields
}
FileOutput stores values needed by the File output
func (*FileOutput) WriteOutput ¶
func (o *FileOutput) WriteOutput(ctx context.Context, scrapeConfigs []*types.ScrapeConfig) (err error)
WriteOutput writes Prometheus configuration to files
type K8sSecretOutput ¶
type K8sSecretOutput struct {
// contains filtered or unexported fields
}
K8sSecretOutput stores data needed to fill a Kubernetes Secret
func (*K8sSecretOutput) WriteOutput ¶
func (o *K8sSecretOutput) WriteOutput(ctx context.Context, scrapeConfigs []*types.ScrapeConfig) (err error)
WriteOutput writes Prometheus configuration to a Kubernetes Secret
type Output ¶
type Output interface {
WriteOutput(ctx context.Context, scrapeConfigs []*types.ScrapeConfig) (err error)
}
Output is an abstraction to the different output types
type StdoutOutput ¶
type StdoutOutput struct {
// contains filtered or unexported fields
}
StdoutOutput stores values needed to print output to stdout
func (*StdoutOutput) WriteOutput ¶
func (o *StdoutOutput) WriteOutput(ctx context.Context, scrapeConfigs []*types.ScrapeConfig) (err error)
WriteOutput writes Prometheus configuration to stdout
Click to show internal directories.
Click to hide internal directories.