debug

package
v1.8.8 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterService

func RegisterService(s *grpc.Server, service *Service)

RegisterService registers debug service on provided server

Types

type Config

type Config struct {
	Clock        clock.Clock
	DataStore    datastore.DataStore
	SVIDObserver svid.Observer
	TrustDomain  spiffeid.TrustDomain
	Uptime       func() time.Duration
}

Config configurations for debug service

type Service

type Service struct {
	debugv1.UnsafeDebugServer
	// contains filtered or unexported fields
}

Service implements debug server

func New

func New(config Config) *Service

New creates a new debug service

func (*Service) GetInfo

GetInfo gets SPIRE Server debug information

Jump to

Keyboard shortcuts

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