httpsprovider

package module
v1.36.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2025 License: Apache-2.0 Imports: 2 Imported by: 22

README

HTTPS Provider

Status
Stability stable
Distributions core, contrib, k8s
Issues Open issues Closed issues

Overview

The HTTPS Provider takes an HTTPS URI to a file and reads its contents as YAML to provide configuration to the Collector. The validity of the certificate of the HTTPS endpoint is verified when making the connection.

Usage

The scheme for this provider is https. Usage looks like the following passed to the Collector's command line invocation:

--config=https://example.com/config.yaml
Notes

The provider currently only supports communicating with servers whose certificate can be verified using the root CA certificates installed in the system. The process of adding more root CA certificates to the system is Operating System-dependent. For Linux, please refer to the update-ca-trust command.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory added in v0.99.0

func NewFactory() confmap.ProviderFactory

NewFactory returns a factory for a confmap.Provider that reads the configuration from a https server.

This Provider supports "https" scheme. One example of an HTTPS URI is: https://localhost:3333/getConfig

To add extra CA certificates you need to install certificates in the system pool. This procedure is operating system dependent. E.g.: on Linux please refer to the `update-ca-trust` command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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