Documentation ¶
Index ¶
- type ScrapeStore
- func (store *ScrapeStore) CAPath(clusterName string) string
- func (store *ScrapeStore) CertPath(clusterName string) string
- func (store *ScrapeStore) LoadScrapeConfig() ([]*prometheusConfig.ScrapeConfig, error)
- func (store *ScrapeStore) Path() string
- func (store *ScrapeStore) PrivateKeyPath(clusterName string) string
- func (store *ScrapeStore) SaveCA(clusterName string, bytes []byte) error
- func (store *ScrapeStore) SaveCert(clusterName string, bytes []byte) error
- func (store *ScrapeStore) SavePrivateKey(clusterName string, bytes []byte) error
- func (store *ScrapeStore) SaveScrapeConfig(bytes []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScrapeStore ¶
type ScrapeStore struct {
// contains filtered or unexported fields
}
func LoadCertStore ¶
func LoadCertStore(storeDir string, log *logger.Logger) (*ScrapeStore, error)
func (*ScrapeStore) CAPath ¶
func (store *ScrapeStore) CAPath(clusterName string) string
func (*ScrapeStore) CertPath ¶
func (store *ScrapeStore) CertPath(clusterName string) string
func (*ScrapeStore) LoadScrapeConfig ¶
func (store *ScrapeStore) LoadScrapeConfig() ([]*prometheusConfig.ScrapeConfig, error)
func (*ScrapeStore) Path ¶
func (store *ScrapeStore) Path() string
func (*ScrapeStore) PrivateKeyPath ¶
func (store *ScrapeStore) PrivateKeyPath(clusterName string) string
func (*ScrapeStore) SaveCA ¶
func (store *ScrapeStore) SaveCA(clusterName string, bytes []byte) error
func (*ScrapeStore) SaveCert ¶
func (store *ScrapeStore) SaveCert(clusterName string, bytes []byte) error
func (*ScrapeStore) SavePrivateKey ¶
func (store *ScrapeStore) SavePrivateKey(clusterName string, bytes []byte) error
func (*ScrapeStore) SaveScrapeConfig ¶
func (store *ScrapeStore) SaveScrapeConfig(bytes []byte) error
Click to show internal directories.
Click to hide internal directories.