azureprovider

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package azureprovider provides utils to interact with azure traffic manager resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator struct {
	ProfileClient  *armtrafficmanager.ProfilesClient
	EndpointClient *armtrafficmanager.EndpointsClient
	ResourceGroup  string
}

Validator contains the way of accessing the Azure Traffic Manager resources.

func (*Validator) IsProfileDeleted

func (v *Validator) IsProfileDeleted(ctx context.Context, name string)

IsProfileDeleted validates the traffic manager profile is deleted.

func (*Validator) ValidateProfile

func (v *Validator) ValidateProfile(ctx context.Context, name string, want armtrafficmanager.Profile) *armtrafficmanager.Profile

ValidateProfile validates the traffic manager profile and returns the actual Azure traffic manager profile.

Jump to

Keyboard shortcuts

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