azure

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package azure provides Azure cloud environment detection and metadata retrieval capabilities using the Azure Instance Metadata Service (IMDS).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scout

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

func NewScout

func NewScout() *Scout

NewScout creates a new Azure metadata scout

func (*Scout) Detect

func (s *Scout) Detect(ctx context.Context) (types.CloudProvider, error)

Detect determines if the current environment is running on Azure by testing the metadata service.

func (*Scout) EnvironmentInfo

func (s *Scout) EnvironmentInfo(ctx context.Context) (*types.EnvironmentInfo, error)

EnvironmentInfo retrieves Azure environment information from Instance Metadata Service

Jump to

Keyboard shortcuts

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