update

package
v1.18.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	GRPCAddress string `mapstructure:"grpc_address"`
}

func (Config) GRPCAddr

func (c Config) GRPCAddr() string

func (Config) Validate

func (c Config) Validate() error

type Update

type Update struct {
	*UpdateService
	// contains filtered or unexported fields
}

func NewUpdateAPI

func NewUpdateAPI(ctx context.Context, cfg config.RuntimeConfig[Config]) (*Update, error)

func (*Update) Address

func (u *Update) Address() string

func (*Update) Logger

func (u *Update) Logger() *logrus.Entry

func (*Update) Name

func (u *Update) Name() string

func (*Update) Serve

func (u *Update) Serve() error

func (*Update) Shutdown

func (u *Update) Shutdown(ctx context.Context) error

type UpdateService

type UpdateService struct {
	proto.UnimplementedUpdateServiceServer
	// contains filtered or unexported fields
}

UpdateService is the implementation of the Update service.

func NewUpdateService

func NewUpdateService(ctx context.Context) (*UpdateService, error)

func (*UpdateService) Close

func (s *UpdateService) Close() error

func (*UpdateService) Health

Health checks the health of the Update service.

func (*UpdateService) WriteRelationships added in v1.11.0

Jump to

Keyboard shortcuts

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