handlers

package
v4.0.0-dev.15 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CorePreReleaseVersion = "master"
	CoreDeveloperVersion  = "0.0.0"
	VersionMajorIndex     = 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type VersionValidator

type VersionValidator struct {
	// contains filtered or unexported fields
}

VersionValidator contains references to dependencies required by the Version Validation bootstrap implementation.

func NewVersionValidator

func NewVersionValidator(skip bool, sdkVersion string) *VersionValidator

NewVersionValidator create a new instance of VersionValidator

func (*VersionValidator) BootstrapHandler

func (vv *VersionValidator) BootstrapHandler(
	_ context.Context,
	_ *sync.WaitGroup,
	startupTimer startup.Timer,
	dic *di.Container) bool

BootstrapHandler verifies that Core Services major version matches this SDK's major version

Jump to

Keyboard shortcuts

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