config

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigMapKeyZipkinAddress                = "zipkin-address"
	ConfigMapKeyIstioVersion                 = "istio-version"
	ConfigMapKeyTokenServiceImage            = "cell-sts-image"
	ConfigMapKeyTokenServiceOpaImage         = "cell-sts-opa-image"
	ConfigMapKeyTokenServiceJwksImage        = "cell-sts-jwks-image"
	ConfigMapKeyTokenServiceConfig           = "cell-sts-config"
	ConfigMapKeyTokenServiceDefaultOpaPolicy = "opa-default-policy"
	ConfigMapKeyOidcImage                    = "oidc-filter-image"
	ConfigMapKeyApiPublisherImage            = "api-publisher-image"
	ConfigMapKeyApiPublisherConfig           = "api-publisher-config"
	ConfigMapKeySkipTlsVerification          = "skip-tls-verification"

	SecretKeyPrivateKey        = "tls.key"
	SecretKeyCertificate       = "tls.crt"
	SecretKeyCertificateBundle = "cert-bundle.pem"
)

Variables

This section is empty.

Functions

func NewWatcher

func NewWatcher(inf informers.Interface, configMapName string, secretName string, namespace string, logger *zap.SugaredLogger) *config

Types

type Interface

type Interface interface {
	Value(key string) (string, bool)
	StringValue(key string) string
	BoolValue(key string) bool
	IntValue(key string) int64
	PrivateKey() (*rsa.PrivateKey, error)
	Certificate() (*x509.Certificate, error)
	CertificateBundle() []byte
}

Jump to

Keyboard shortcuts

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