upgrade

package
v0.23.5 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasVersionMismatch

func HasVersionMismatch(incoming string, current string) bool

if versions are different or incoming > current return true, otherwise return false

Types

type ProtocolVersion

type ProtocolVersion struct {
	ConsumerVersion string
	ProviderVersion string
}

func GetCurrentVersion

func GetCurrentVersion() ProtocolVersion

func (*ProtocolVersion) ValidateProtocolVersion

func (pv *ProtocolVersion) ValidateProtocolVersion(incoming *protocoltypes.Version) error

Jump to

Keyboard shortcuts

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