trustbundlesources

package
v1.12.6 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BundleFormatPEM    = "pem"
	BundleFormatSPIFFE = "spiffe"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle added in v1.12.4

type Bundle struct {
	// contains filtered or unexported fields
}

func New added in v1.12.4

func New(config *Config, log logrus.FieldLogger) *Bundle

func (*Bundle) GetBundle added in v1.12.4

func (b *Bundle) GetBundle() ([]*x509.Certificate, bool, error)

func (*Bundle) GetInsecureBootstrap added in v1.12.4

func (b *Bundle) GetInsecureBootstrap() bool

type Config

type Config struct {
	InsecureBootstrap     bool
	TrustBundleFormat     string
	TrustBundlePath       string
	TrustBundleURL        string
	TrustBundleUnixSocket string
}

Jump to

Keyboard shortcuts

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