pkl

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Code generated from Pkl module `gomappergen.Config`. DO NOT EDIT.

Code generated from Pkl module `gomappergen.Config`. DO NOT EDIT.

Code generated from Pkl module `gomappergen.Config`. DO NOT EDIT.

Code generated from Pkl module `gomappergen.Config`. DO NOT EDIT.

Code generated from Pkl module `gomappergen.Config`. DO NOT EDIT.

Code generated from Pkl module `gomappergen.Config`. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type All

type All struct {
	Output Output `pkl:"output"`
}

type BasePackage

type BasePackage interface {
	mapper.Package

	GetOutput() *Output
}

type BasePackageImpl

type BasePackageImpl struct {
	mapper.PackageImpl

	Output *Output `pkl:"output"`
}

func (BasePackageImpl) GetOutput

func (rcv BasePackageImpl) GetOutput() *Output

type Config

type Config struct {
	All All `pkl:"all"`

	Converter mapper.Converter `pkl:"converter"`

	Packages map[string]Package `pkl:"packages"`
}

func Load

func Load(ctx context.Context, evaluator pkl.Evaluator, source *pkl.ModuleSource) (Config, error)

Load loads the pkl module at the given source and evaluates it with the given evaluator into a Config

func LoadFromPath

func LoadFromPath(ctx context.Context, path string) (ret Config, err error)

LoadFromPath loads the pkl module at the given path and evaluates it into a Config

type Output

type Output struct {
	Package *string `pkl:"package"`

	FileName *string `pkl:"file_name"`

	TestFileName *string `pkl:"test_file_name"`
}

type Package

type Package interface {
	BasePackage

	GetPriorities() map[int]Package
}

type PackageImpl

type PackageImpl struct {
	BasePackageImpl

	Priorities map[int]Package `pkl:"priorities"`
}

func (PackageImpl) GetPriorities

func (rcv PackageImpl) GetPriorities() map[int]Package

Directories

Path Synopsis
Code generated from Pkl module `gomappergen.mapper`.
Code generated from Pkl module `gomappergen.mapper`.
decoratormode
Code generated from Pkl module `gomappergen.mapper`.
Code generated from Pkl module `gomappergen.mapper`.
pointer
Code generated from Pkl module `gomappergen.mapper`.
Code generated from Pkl module `gomappergen.mapper`.

Jump to

Keyboard shortcuts

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