azure

package
v0.0.0-...-d505a48 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

Types

type ExtConfig

type ExtConfig struct {
	Ownership     transit.HostOwnershipType `json:"ownership,omitempty"`
	CheckInterval time.Duration             `json:"checkIntervalMinutes"`
	HostGroup     string                    `json:"customHostGroup"`

	AzureTenantID       string `json:"azureTenantId"`
	AzureClientID       string `json:"azureClientId"`
	AzureClientSecret   string `json:"azureClientSecret"`
	AzureSubscriptionID string `json:"azureSubscriptionId"`

	GWMapping
}

func (*ExtConfig) UnmarshalJSON

func (cfg *ExtConfig) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

type GWMapping

type GWMapping struct {
	Host    mapping.Mappings `json:"mapHostname"`
	Service mapping.Mappings `json:"mapService"`
}

func (*GWMapping) Prepare

func (m *GWMapping) Prepare()

Prepare compiles mappings

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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