config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadClusterConfig

func LoadClusterConfig() *rest.Config

Types

type Config

type Config struct {
	Type          v1alpha1.ListenerType `envconfig:"TYPE" default:"sentry"`
	ConfigmapName string                `envconfig:"CONFIGMAP" default:"loudspeaker-sample-foo"`
	Namespace     string                `envconfig:"NAMESPACE" default:"default"`
}

func (*Config) LoadEnv

func (c *Config) LoadEnv() error

type SentryCredentials

type SentryCredentials struct {
	Dsn string `yaml:"dsn"`
}

func (*SentryCredentials) Load

func (s *SentryCredentials) Load() error

Jump to

Keyboard shortcuts

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