dependency

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StaticFiles embed.FS

Functions

This section is empty.

Types

type Dependency

type Dependency struct {
	AzureResourceType    string
	ApiVersion           string
	ExampleConfiguration string
	ResourceKind         string // resource or data
	ReferredProperty     string // only supports "id" for now
	ResourceName         string
	ResourceLabel        string
}

func LoadAzapiDependencies

func LoadAzapiDependencies() ([]Dependency, error)

func LoadAzurermDependencies

func LoadAzurermDependencies() []Dependency

type Pattern

type Pattern struct {
	AzureResourceType string
	Scope             Scope
	Placeholder       string
}

func NewPattern

func NewPattern(idPlaceholder string) Pattern

func (Pattern) IsMatch

func (p Pattern) IsMatch(input string) bool

func (Pattern) String

func (p Pattern) String() string

type Scope

type Scope string
const (
	ScopeTenant        Scope = "tenant"
	ScopeSubscription  Scope = "subscription"
	ScopeResourceGroup Scope = "resource_group"
	ScopeResource      Scope = "resource"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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