MCPcopy Create free account
hub / github.com/prometheus/common / Header

Struct Header

config/headers.go:83–87  ·  view source on GitHub ↗

Header represents the configuration for a single HTTP header.

Source from the content-addressed store, hash-verified

81
82// Header represents the configuration for a single HTTP header.
83type Header struct {
84 Values []string `yaml:"values,omitempty" json:"values,omitempty"`
85 Secrets []Secret `yaml:"secrets,omitempty" json:"secrets,omitempty"`
86 Files []string `yaml:"files,omitempty" json:"files,omitempty"`
87}
88
89// SetDirectory makes headers file relative to the configuration file.
90func (h *Header) SetDirectory(dir string) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected