parser

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2023 License: Apache-2.0, BSD-3-Clause Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KformParser

type KformParser interface {
	Parse(ctx context.Context, init bool)
	InitProviderInventory(ctx context.Context) (cache.Cache[types.Provider], error)
	InitProviderInstances(ctx context.Context) cache.Cache[plugin.Provider]
	GetRootModule(ctx context.Context) (*types.Module, error)
	GetModules(ctx context.Context) map[cache.NSN]*types.Module
	// returns a list of all provider Requirements from all the modules referenced
	GetProviderRequirements(ctx context.Context) map[cache.NSN][]kformpkgmetav1alpha1.Provider
	GetProviderConfigs(ctx context.Context) map[cache.NSN]*types.ProviderConfig
}

func NewKformParser

func NewKformParser(ctx context.Context, path string) (KformParser, error)

type ModuleParser

type ModuleParser interface {
	Parse(ctx context.Context) *types.Module
}

func NewModuleParser

func NewModuleParser(ctx context.Context, path string) (ModuleParser, error)

TODO moduleName

Jump to

Keyboard shortcuts

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