Documentation
¶
Index ¶
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)
Types ¶
type Function ¶ added in v1.13.0
type Function struct {
Definitions []*FunctionDefinition
}
type FunctionDefinition ¶ added in v1.13.0
type FunctionDefinition struct {
Definition *types.ResourceFunctionType
Location TypeLocation
ApiVersion string
// contains filtered or unexported fields
}
func (*FunctionDefinition) GetDefinition ¶ added in v1.13.0
func (o *FunctionDefinition) GetDefinition() (*types.ResourceFunctionType, error)
type IndexRaw ¶ added in v1.13.0
type IndexRaw struct {
Resources map[string]TypeLocation `json:"resources"`
Functions map[string]map[string][]TypeLocation `json:"resourceFunctions"`
}
type Resource ¶
type Resource struct {
Definitions []*ResourceDefinition
}
type ResourceDefinition ¶
type ResourceDefinition struct {
Definition *types.ResourceType
Location TypeLocation
ApiVersion string
// contains filtered or unexported fields
}
func (*ResourceDefinition) GetDefinition ¶
func (o *ResourceDefinition) GetDefinition() (*types.ResourceType, error)
type TypeLocation ¶
func (*TypeLocation) LoadFunctionTypeDefinition ¶ added in v1.13.0
func (o *TypeLocation) LoadFunctionTypeDefinition() (*types.ResourceFunctionType, error)
func (*TypeLocation) LoadResourceTypeDefinition ¶ added in v1.13.0
func (o *TypeLocation) LoadResourceTypeDefinition() (*types.ResourceType, error)
func (*TypeLocation) UnmarshalJSON ¶ added in v1.13.0
func (o *TypeLocation) UnmarshalJSON(body []byte) error
Click to show internal directories.
Click to hide internal directories.