notifyclient

package
v0.0.0-...-bb2f907 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: Apache-2.0 Imports: 11 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallRsyncInstall

func CallRsyncInstall(ctx context.Context, contextid interface{}) error

CallRsyncInstall method shall take in the app context id and invokes the rsync service via grpc

func CallRsyncUninstall

func CallRsyncUninstall(ctx context.Context, contextid interface{}) error

func CallRsyncUpdate

func CallRsyncUpdate(ctx context.Context, from, to interface{}) error

func InvokeReadyNotify

func InvokeReadyNotify(ctx context.Context, appContextID, clientName string) (readynotifypb.ReadyNotify_AlertClient, readynotifypb.ReadyNotifyClient, error)

InvokeReadyNotify will make a gRPC call to the resource synchronizer and will subscribe the clients to alerts from the rsync gRPC server ("ready-notify")

Types

type RsyncInfo

type RsyncInfo struct {
	RsyncName string
	// contains filtered or unexported fields
}

RsyncInfo consists of rsyncName, hostName and portNumber.

Jump to

Keyboard shortcuts

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