config

package
v0.2.20 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APPLICATION_NAME = "deployvia"
	SYSTEM_NAME      = "argocd"
)

Variables

This section is empty.

Functions

func ConfigureMetrics

func ConfigureMetrics(conf *Config) gin.HandlerFunc

Types

type ApplicationMetrics

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

func ConfigureOpenTelemetry

func ConfigureOpenTelemetry(ctx context.Context) (*ApplicationMetrics, error)

type Config

type Config struct {
	Environment        string
	GitHubOIDCURL      string
	KubernetesClient   *dynamic.DynamicClient
	ApplicationMetrics *ApplicationMetrics
	Local              bool
	Port               string
}

func New

func New(ctx context.Context) (*Config, error)

Jump to

Keyboard shortcuts

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