handlers

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 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 Telemetry

type Telemetry struct {
}

Telemetry contains references to dependencies required by the Telemetry bootstrap implementation.

func NewTelemetry

func NewTelemetry() *Telemetry

New Telemetry create a new instance of Telemetry

func (*Telemetry) BootstrapHandler

func (_ *Telemetry) BootstrapHandler(
	ctx context.Context,
	wg *sync.WaitGroup,
	_ startup.Timer,
	dic *di.Container) bool

BootstrapHandler starts the telemetry collection

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