debug

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

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
	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