package
0.0.0-20241002135211-34e72ac7e97a
Repository: https://github.com/siderolabs/kres.git
Documentation: pkg.go.dev

# Packages

Package templates defines default templates for various Go components.

# Functions

NewBuild initializes Build.
NewDeepCopy builds DeepCopy node.
NewGenerate builds Generate node.
NewGofumpt builds Gofumpt node.
NewGolangciLint builds golangci-lint node.
NewGoVulnCheck builds GoVulnCheck node.
NewLinters builds GoVulnCheck node.
NewToolchain builds Toolchain with default values.
NewUnitTests initializes UnitTests.

# Constants

Toolchain kinds.
Toolchain kinds.

# Structs

Build produces binaries for Go programs.
DeepCopy provides goimports deepcopyer.
File represents a file to be fetched/copied into the image.
Generate provides .proto compilation with grpc-go plugin and go generate runner.
Gofumpt provides gofumpt linter.
GoGenerateSpec describes a set of go generate specs to be compiled.
GolangciLint provides golangci-lint.
GoVulnCheck provides GoVulnCheck linter.
Linters is the common node for all linters.
ProtoSpec describes a set of protobuf specs to be compiled.
Toolchain provides Go compiler and common utilities.
UnitTests runs unit-tests for Go packages.

# Type aliases

CompileConfig defines Go cross compile architecture settings.
ToolchainKind is a Go compiler source.