meter

package
v0.0.0-...-2c5973f Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: GPL-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hook

type Hook struct {
	pbt.UnimplementedCapacityServer
	// contains filtered or unexported fields
}

func Create

func Create(s *grpc.Server) *Hook

func (*Hook) JobFinish

func (h *Hook) JobFinish()

func (*Hook) JobStart

func (h *Hook) JobStart()

func (*Hook) OnStatus

func (h *Hook) OnStatus(req *pbt.Empty, stream pbt.Capacity_OnStatusServer) error

func (*Hook) WorkerAdd

func (h *Hook) WorkerAdd()

func (*Hook) WorkerRemove

func (h *Hook) WorkerRemove()

Jump to

Keyboard shortcuts

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