specs

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scanner

type Scanner struct {
	Containers container.Containers

	Pointers pointer.Pointers
	// contains filtered or unexported fields
}

Scanner allows to scan go packages and search for yaml definitions. It will read them and store its pointers.

func NewScanner

func NewScanner() *Scanner

func (*Scanner) Merge

func (r *Scanner) Merge() (c container.Container, err error)

Merge will provide single container as result of merging.

func (*Scanner) Scan

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

Jump to

Keyboard shortcuts

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