parser

package
v0.0.0-...-8083434 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

package parser converts the schema into a full-fledged struct that provides more functionality for discovering resource references, etc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParsedResource

type ParsedResource struct {
	*schema.Resource
	Parents []*ParsedResource
}

type ParsedService

type ParsedService struct {
	*schema.Service
	ResourceByType map[string]*ParsedResource
}

ParsedService wraps schema.Service, but includes helper functions for things like retrieving the resource definitions within a service.

func NewParsedService

func NewParsedService(s *schema.Service) (*ParsedService, error)

Jump to

Keyboard shortcuts

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