store

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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