types

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRefOverride

func AddRefOverride(p pointer.Pointer, s spec.Schema)

AddRefOverride allows to add default override

Types

type Scanner

type Scanner struct {
	Pointers pointer.Pointers
	// contains filtered or unexported fields
}

Scanner will scan types and allow to resolve tem into full structures

func NewScanner

func NewScanner(ptrs pointer.Pointers) *Scanner

func (*Scanner) Resolve

func (r *Scanner) Resolve(ptr pointer.Pointer) (*spec.Schema, error)

Resolve will return new pointer and scheme, new pointer might be returned in cases where original pointer is not fully resolved.

func (*Scanner) Scan

func (r *Scanner) Scan(pkg *packages.Package) (errs error)

Scan will scan types in pkgs

Jump to

Keyboard shortcuts

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