Back to

Package config

Latest Go to latest

The latest major version is .

Published: Dec 17, 2019 | License: Apache-2.0 | Module:



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"

func NewWatcher

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

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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier