Documentation ¶
Index ¶
- Variables
- func GetApiVersions(resourceType string) []string
- func GetResourceDefinition(resourceType, apiVersion string) (*types.ResourceType, error)
- func GetResourceDefinitionByResourceType(azureResourceType string) (*types.ResourceType, error)
- type Resource
- type ResourceDefinition
- type Schema
- type TypeLocation
Constants ¶
This section is empty.
Variables ¶
View Source
var StaticFiles embed.FS
Functions ¶
func GetApiVersions ¶
func GetResourceDefinition ¶
func GetResourceDefinition(resourceType, apiVersion string) (*types.ResourceType, error)
func GetResourceDefinitionByResourceType ¶
func GetResourceDefinitionByResourceType(azureResourceType string) (*types.ResourceType, error)
Types ¶
type Resource ¶
type Resource struct {
Definitions []ResourceDefinition
}
type ResourceDefinition ¶
type ResourceDefinition struct { Definition *types.ResourceType Location TypeLocation ApiVersion string }
func (*ResourceDefinition) GetDefinition ¶
func (o *ResourceDefinition) GetDefinition() (*types.ResourceType, error)
type TypeLocation ¶
func (*TypeLocation) LoadDefinition ¶ added in v0.0.1
func (o *TypeLocation) LoadDefinition() (*types.ResourceType, error)
Click to show internal directories.
Click to hide internal directories.