certificate

package
v0.14.1-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(opts ...Option) error

Start initializes reporting of host metrics using the supplied config.

Types

type CertGetter

type CertGetter func(ks keystore.KeyStore) []*x509.Certificate

func WithFirstEntry

func WithFirstEntry() CertGetter

func WithKeyID

func WithKeyID(keyID string) CertGetter

type Option

type Option func(conf *config)

func WithEndEntityMonitoringOnly

func WithEndEntityMonitoringOnly(flag bool) Option

func WithMeterProvider

func WithMeterProvider(provider metric.MeterProvider) Option

func WithServiceCertificates

func WithServiceCertificates(serviceName string, certs []*x509.Certificate) Option

func WithServiceKeyStore

func WithServiceKeyStore(serviceName string, ks keystore.KeyStore, certGetter CertGetter) Option

Jump to

Keyboard shortcuts

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