-
Notifications
You must be signed in to change notification settings - Fork 2
/
doc.go
65 lines (64 loc) · 2.03 KB
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// Copyright (c) 2023 Volvo Car Corporation
// SPDX-License-Identifier: Apache-2.0
// Lingon is a collection of libraries and tools for building platforms using
// Go.
//
// The following technologies are currently supported:
// - Terraform
// - Kubernetes
//
// The only dependencies you need are:
//
// - Go
// - Terraform CLI
// - kubectl
//
// The packages currently available are:
//
// # Kube
//
// - [kube.App] struct that is embedded to mark kubernetes applications
//
// - [kube.Export] converts kubernetes objects defined as Go struct to
// kubernetes manifests in YAML. - [kube.Explode] kubernetes manifests in YAML
// to multiple files, organized by namespace.
//
// - [kube.Import] converts kubernetes manifests in YAML to Go structs.
//
// # Kubeconfig
//
// utility package to read and merge kubeconfig files without any dependencies
// on `go-client`.
//
// # Kubeutil
//
// Reusable functions used to create and validate kubernetes objects in Go.
//
// # Terra
//
// Core functionality for working with Terraform.
// - [terra.Export] converts a [terra.Stack] to HCL files.
//
// # Terragen
//
// Generate Go code for Terraform providers.
// - [terragen.GenerateProviderSchema] generates a terraform provider JSON
// schema from terraform provider registry. - [terragen.GenerateGoCode] converts
// a terraform provider schema to Go structs.
//
// # Testutils
//
// Reusable test functions.
//
// [kube.Export]: https://pkg.go.dev/github.com/golingon/lingon/pkg/kube#Export
// [kube.Explode]:
// https://pkg.go.dev/github.com/golingon/lingon/pkg/kube#Explode
// [kube.Import]: https://pkg.go.dev/github.com/golingon/lingon/pkg/kube#Import
// [kube.App]: https://pkg.go.dev/github.com/golingon/lingon/pkg/kube#App
// [terra.Export]:
// https://pkg.go.dev/github.com/golingon/lingon/pkg/terra#Export
// [terragen.GenerateProviderSchema]:
// https://pkg.go.dev/github.com/golingon/lingon/pkg/terragen#GenerateProviderSchema
// [terragen.GenerateGoCode]:
// https://pkg.go.dev/github.com/golingon/lingon/pkg/terragen#GenerateGoCode
package main