debug

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterService

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

RegisterService registers debug service on provided server

Types

type Config

type Config struct {
	Clock       clock.Clock
	Log         logrus.FieldLogger
	Manager     manager.Manager
	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 Agent debug information

Jump to

Keyboard shortcuts

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