components

package
Version: v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HCLDiagConfigBodyNil = &hcl.Diagnostic{
		Severity: hcl.DiagError,
		Summary:  "*hcl.Body is nil",
		Detail:   "*hcl.Body pointer must not be nil - did you provide a lokocfg configuration file?",
	}
)

Functions

func Chart added in v0.4.0

func Chart(name string) (*chart.Chart, error)

Chart is a convenience function which returns a pointer to a chart.Chart representing the component named name.

Types

type Component

type Component interface {
	// LoadConfig loads specific component configuration from HCL configuration.
	// If an error occurs, HCL diagnostics are returned.
	LoadConfig(*hcl.Body, *hcl.EvalContext) hcl.Diagnostics
	// RenderManifests returns a map of Kubernetes manifests in YAML format, where
	// the key is the file from which the content comes.
	RenderManifests() (map[string]string, error)
	// Metadata returns component metadata.
	Metadata() Metadata
}

Component represents functionality each Lokomotive component should implement.

type HelmMetadata

type HelmMetadata struct {
	Wait bool
}

HelmMetadata stores Helm-related information about a component that is needed when managing component using Helm.

type Metadata

type Metadata struct {
	Name      string
	Namespace k8sutil.Namespace
	Helm      HelmMetadata
}

Metadata is a struct which represents basic information about the component. It may contain information like name, version, dependencies, namespace, source etc.

Directories

Path Synopsis
Package awsebscsidriver contains code for the aws-ebs-csi-driver component.
Package awsebscsidriver contains code for the aws-ebs-csi-driver component.
Package contour has code related to deployment of contour component.
Package contour has code related to deployment of contour component.
Package dex has code related to deployment of dex component.
Package dex has code related to deployment of dex component.
Package gangway has code related to deployment of gangway component.
Package gangway has code related to deployment of gangway component.
Package httpbin has code related to deployment of httpbin component.
Package httpbin has code related to deployment of httpbin component.
Package inspektorgadget contains code for the Inspektor Gadget component.
Package inspektorgadget contains code for the Inspektor Gadget component.
Package istiooperator has code related to deployment of istio operator component.
Package istiooperator has code related to deployment of istio operator component.
Package linkerd has code related to deployment of istio operator component.
Package linkerd has code related to deployment of istio operator component.
Package nodeproblemdetector is code for node-problem-detector.
Package nodeproblemdetector is code for node-problem-detector.
Package types contains common types used by the components.
Package types contains common types used by the components.
Package util package has helper functions for installing/deleting/templatising a helm chart.
Package util package has helper functions for installing/deleting/templatising a helm chart.
azure
Package azure deals with configuring Velero azure plugin.
Package azure deals with configuring Velero azure plugin.
openebs
Package openebs deals with configuring Velero openebs plugin.
Package openebs deals with configuring Velero openebs plugin.
restic
Package restic deals with configuring restic plugin.
Package restic deals with configuring restic plugin.
Package webui contains code for the Web UI component.
Package webui contains code for the Web UI component.
internal
testutil
Package testutil contains helper functions for component unit tests.
Package testutil contains helper functions for component unit tests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL