upgrader

package
v1.1.1039 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCompatibleVersion added in v1.1.677

func GetCompatibleVersion() *version.Version

GetCompatibleVersion gets the lowest compatible version number for this package

func IsCompatible

func IsCompatible(v *version.Version) (bool, *version.Version)

IsCompatible returns true if the server compatible version is compatible with a client expected compatible version.

func Patch

func Patch(ctx context.Context, fromVersion string, n common.NatsConn, j jetstream.JetStream) error

Patch cycles through all available upgrades and applies them in order. Only the upgrades greater than the deployed version will be executed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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