environmentmanager

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: 4 Imported by: 2

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 IGetVMExtensionEnvironmentManager

type IGetVMExtensionEnvironmentManager interface {
	GetHandlerEnvironment(name string, version string) (*handlerenv.HandlerEnvironment, error)
	FindSeqNum(el logging.ILogger, configFolder string) (uint, error)
	GetCurrentSequenceNumber(el logging.ILogger, retriever seqno.ISequenceNumberRetriever, name, version string) (uint, error)
	GetHandlerSettings(el logging.ILogger, he *handlerenv.HandlerEnvironment) (*settings.HandlerSettings, error)
	SetSequenceNumberInternal(extensionName, extensionVersion string, seqNo uint) error
}

Allows for mocking all environment operations when running tests against VM extensions

Jump to

Keyboard shortcuts

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