importer

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "importer"

Name is the name of the importer Deployment.

Variables

View Source
var Metrics = struct {
	CycleDuration    *prometheus.HistogramVec
	NamespaceConfigs prometheus.Gauge
	Violations       prometheus.Counter
}{
	CycleDuration: prometheus.NewHistogramVec(
		prometheus.HistogramOpts{
			Help:      "Distribution of durations of cycles that the importer has attempted to complete",
			Namespace: configmanagement.MetricsNamespace,
			Subsystem: Name,
			Name:      "cycle_duration_seconds",
		},

		[]string{"status"},
	),
	NamespaceConfigs: prometheus.NewGauge(
		prometheus.GaugeOpts{
			Help:      "Number of namespace configs present in current state",
			Namespace: configmanagement.MetricsNamespace,
			Subsystem: Name,
			Name:      "namespace_configs",
		},
	),
	Violations: prometheus.NewCounter(
		prometheus.CounterOpts{
			Help:      "Total number of safety violations that the importer has encountered.",
			Namespace: configmanagement.MetricsNamespace,
			Subsystem: Name,
			Name:      "violations_total",
		}),
}

Metrics contains the Prometheus metrics for the Importer.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
analyzer
ast
Package ast declares the types used for loading Kubernetes resources from the filesystem into something like an Abstract Syntax Tree (AST) that allows for writing reusable visitors.
Package ast declares the types used for loading Kubernetes resources from the filesystem into something like an Abstract Syntax Tree (AST) that allows for writing reusable visitors.
hnc
Package hnc adds additional HNC-understandable annotation and labels to namespaces managed by ACM.
Package hnc adds additional HNC-understandable annotation and labels to namespaces managed by ACM.
validation/hierarchyconfig
Package hierarchyconfig defines validation done on HierarchyConfig Resources
Package hierarchyconfig defines validation done on HierarchyConfig Resources
validation/metadata
Package metadata provides validation checks for errors in Resource metadata
Package metadata provides validation checks for errors in Resource metadata
validation/semantic
Package semantic package provides validation checks for semantic errors in Nomos resource directories.
Package semantic package provides validation checks for semantic errors in Nomos resource directories.
validation/syntax
Package syntax package provides validation checks for syntax errors in Nomos resource directories.
Package syntax package provides validation checks for syntax errors in Nomos resource directories.
Package filesystem provides functionality to read Kubernetes objects from a filesystem tree and converting them to Nomos Custom Resource Definition objects.
Package filesystem provides functionality to read Kubernetes objects from a filesystem tree and converting them to Nomos Custom Resource Definition objects.
cmpath
Package cmpath is a library dedicated specifically to handling paths in a Nomos repository in a type safe way.
Package cmpath is a library dedicated specifically to handling paths in a Nomos repository in a type safe way.
Package git provides functionality related to Git repos.
Package git provides functionality related to Git repos.
Package id holds interfaces which objects must satisfy in order to be uniquely identifiable.
Package id holds interfaces which objects must satisfy in order to be uniquely identifiable.

Jump to

Keyboard shortcuts

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