handlerenv

package
v0.0.0-...-6b2acfd Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 7 Imported by: 10

Documentation

Overview

Copyright (c) Microsoft Corporation. Licensed under the MIT License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerEnvironment

type HandlerEnvironment struct {
	HeartbeatFile       string
	StatusFolder        string
	ConfigFolder        string
	LogFolder           string
	DataFolder          string
	EventsFolder        string
	DeploymentID        string
	RoleName            string
	Instance            string
	HostResolverAddress string
}

HandlerEnvironment describes the handler environment configuration for an extension

func GetHandlerEnvironment

func GetHandlerEnvironment(name, version string) (he *HandlerEnvironment, _ error)

GetHandlerEnv locates the HandlerEnvironment.json file by assuming it lives next to or one level above the extension handler (read: this) executable, reads, parses and returns it.

Jump to

Keyboard shortcuts

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