internal

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SerializableResourceType

type SerializableResourceType struct {
	ResourceType *spec.ResourceType
}

SerializableResourceType is the json.Serializable wrapper for spec.ResourceType.

func (*SerializableResourceType) MainSchemaId

func (s *SerializableResourceType) MainSchemaId() string

MainSchemaId returns the main schema id for ResourceType as a resource.

func (*SerializableResourceType) Visit

func (s *SerializableResourceType) Visit(visitor prop.Visitor) error

Visit takes the visitor on a DFS tour of the structure of the ResourceType resource. This method takes control of what to visit and will not consult the ShouldVisit method of visitor.

type SerializableSchema

type SerializableSchema struct {
	Sch *spec.Schema
}

SerializableSchema is the json.Serializable wrapper for spec.Schema.

func (*SerializableSchema) MainSchemaId

func (s *SerializableSchema) MainSchemaId() string

MainSchemaId returns the main schema id for Schema as a resource.

func (*SerializableSchema) Visit

func (s *SerializableSchema) Visit(visitor prop.Visitor) error

Visit takes the visitor on a DFS tour of the structure of the Schema resource. This method takes control of what to visit and will not consult the ShouldVisit method of visitor.

Jump to

Keyboard shortcuts

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