Documentation

Overview

Package certs knows how to fetch certificate bundles of trusted services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

type Bundle struct {
	ServiceURL string // root URL of the service to fetch the bundle from
	// contains filtered or unexported fields
}

Bundle is a lazy-loaded cert bundle of some LUCI service.

func (*Bundle) GetCerts

func (b *Bundle) GetCerts(ctx context.Context) (identity.Identity, *signing.PublicCertificates, error)

GetCerts fetches (perhaps from cache) cert bundles of the service.

Returns the service identity as well.

Source Files