services

package
v2.33.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandGrpcService

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

func NewCommandService

func NewCommandService() *CommandGrpcService

func (*CommandGrpcService) CommandChannel

func (grpcService *CommandGrpcService) CommandChannel(stream proto.Commander_CommandChannelServer) error

func (*CommandGrpcService) Download

func (grpcService *CommandGrpcService) Download(req *proto.DownloadRequest, download proto.Commander_DownloadServer) error

Download from the server to the client

func (*CommandGrpcService) GetChunks

func (grpcService *CommandGrpcService) GetChunks() []*proto.DataChunk

func (*CommandGrpcService) GetConfigs

func (grpcService *CommandGrpcService) GetConfigs() *proto.NginxConfig

func (*CommandGrpcService) GetContents

func (grpcService *CommandGrpcService) GetContents() (confFiles, auxFiles []*proto.File)

func (*CommandGrpcService) GetNginxes

func (grpcService *CommandGrpcService) GetNginxes() []*proto.NginxDetails

func (*CommandGrpcService) GetRegistration

func (grpcService *CommandGrpcService) GetRegistration() *proto.AgentConnectRequest

func (*CommandGrpcService) Upload

func (grpcService *CommandGrpcService) Upload(upload proto.Commander_UploadServer) error

Upload to the server from the client.

type MetricsGrpcService

type MetricsGrpcService struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewMetricsService

func NewMetricsService() *MetricsGrpcService

func (*MetricsGrpcService) GetEventReports added in v2.20.0

func (grpcService *MetricsGrpcService) GetEventReports() []*f5_nginx_agent_sdk_events.EventReport

func (*MetricsGrpcService) GetMetrics

func (grpcService *MetricsGrpcService) GetMetrics() []*proto.MetricsReport

func (*MetricsGrpcService) Stream

func (grpcService *MetricsGrpcService) Stream(stream proto.MetricsService_StreamServer) error

func (*MetricsGrpcService) StreamEvents added in v2.20.0

func (grpcService *MetricsGrpcService) StreamEvents(stream proto.MetricsService_StreamEventsServer) error

Jump to

Keyboard shortcuts

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