Help us shape the future of Go! Take the 2026 Go Developer Survey

pluginconf

package
v1.15.5 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build[C any](req Request, build func(coreConfig catalog.CoreConfig, hclText string, s *Status) *C) (*C, []string, error)

func ReportUnusedKeys added in v1.15.0

func ReportUnusedKeys(s *Status, unused map[string][]token.Pos)

ReportUnusedKeys reports an error on s listing any keys present in unused. If unused is empty, no error is reported.

Types

type Request

type Request interface {
	GetCoreConfiguration() *configv1.CoreConfiguration
	GetHclConfiguration() string
}

type Status

type Status struct {
	// contains filtered or unexported fields
}

func (*Status) ReportError

func (s *Status) ReportError(message string)

func (*Status) ReportErrorf

func (s *Status) ReportErrorf(format string, args ...any)

func (*Status) ReportInfo

func (s *Status) ReportInfo(message string)

func (*Status) ReportInfof

func (s *Status) ReportInfof(format string, args ...any)

Jump to

Keyboard shortcuts

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