scraper

package
v0.0.0-...-0a35d7d Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2021 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudFormationSchema

type CloudFormationSchema struct {
	PropertyTypes                map[string]PropertyTypes
	ResourceTypes                map[string]ResourceTypes
	ResourceSpecificationVersion string
}

CloudFormationSchema represents the root of the schema

type PropertyItemType

type PropertyItemType struct {
	Scalar      string
	MultiValues []string
}

PropertyItemType represents the type of a property

func (*PropertyItemType) MarshalJSON

func (piType *PropertyItemType) MarshalJSON() ([]byte, error)

MarshalJSON to handle whichever field is set

func (*PropertyItemType) UnmarshalJSON

func (piType *PropertyItemType) UnmarshalJSON(data []byte) error

UnmarshalJSON does the custom unmarshalling

type PropertyTypeDefinition

type PropertyTypeDefinition struct {
	Required          bool
	Documentation     string
	PrimitiveType     string
	UpdateType        string
	Type              PropertyItemType
	DuplicatesAllowed bool
	ItemType          string
	PrimitiveItemType string
}

PropertyTypeDefinition is the definition of a property

type PropertyTypes

type PropertyTypes struct {
	Documentation string
	Properties    map[string]PropertyTypeDefinition
}

PropertyTypes is a definition of a property

type ResourceAttribute

type ResourceAttribute struct {
	PrimitiveType string
}

ResourceAttribute are outputs of CloudFormation reosurce

type ResourceTypes

type ResourceTypes struct {
	Documentation string
	Attributes    map[string]ResourceAttribute
	Properties    map[string]PropertyTypeDefinition
}

ResourceTypes is a definition of a resource

Jump to

Keyboard shortcuts

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