Documentation ¶
Index ¶
- func CreateProvider(ctx context.Context, providerName string) (types.Provider, error)
- type Config
- type KformParser
- func (r *KformParser) GetEmptyProviderInstances(ctx context.Context) (store.Storer[plugin.Provider], error)
- func (r *KformParser) GetProviderConfigs(ctx context.Context) (store.Storer[types.Block], sets.Set[string], error)
- func (r *KformParser) GetRootPackage(ctx context.Context) (*types.Package, error)
- func (r *KformParser) InitProviders(ctx context.Context) (store.Storer[types.Provider], error)
- func (r *KformParser) ListPackages(ctx context.Context) map[string]*types.Package
- func (r *KformParser) Parse(ctx context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KformParser ¶
type KformParser struct {
// contains filtered or unexported fields
}
func NewKformParser ¶
func NewKformParser(ctx context.Context, cfg *Config) (*KformParser, error)
NewKformParser creates a new kform parser ctx: contains the recorder path: indicates the rootPath of the kform package
func (*KformParser) GetEmptyProviderInstances ¶ added in v0.0.3
func (*KformParser) GetProviderConfigs ¶ added in v0.0.3
func (r *KformParser) GetProviderConfigs(ctx context.Context) (store.Storer[types.Block], sets.Set[string], error)
listProviderConfigs list the provider configs of the root package references from all resources in all packages
func (*KformParser) GetRootPackage ¶
func (*KformParser) InitProviders ¶ added in v0.0.3
initialize the raw providers for which multiple instances could be instantiated e.g. for aliasing
func (*KformParser) ListPackages ¶
func (*KformParser) Parse ¶
func (r *KformParser) Parse(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.