Versions in this module Expand all Collapse all v0 v0.7.0 Oct 10, 2019 Changes in this version + const InitContainerAnnotation + const InitContainerStatusAnnotation + const RoleAnnotation + type ExternalRootCAsResolver struct + CAFile string + func (e *ExternalRootCAsResolver) GetRootCAs() ([]byte, *x509.CertPool, error) + type InitContainerStatus struct + Name string + State map[string]interface{} + type Kube struct + func NewKube(watchNamespace string, logger *logrus.Logger) (*Kube, error) + func (k *Kube) Discover(serviceNamespace, service string) ([]string, error) + func (k *Kube) GetPods() ([]Pod, error) + func (k *Kube) WatchForPods() (<-chan Pod, chan<- struct{}, error) + type Pod struct + Ip string + Name string + Port int + Role string + type RenewalConfig struct + type RootCAResolver interface + GetRootCAs func() ([]byte, *x509.CertPool, error) + type Vault struct + func NewVault(vaultAddr string, token string, skipTokenRoleNameValidation bool, ...) (*Vault, error) + func (v *Vault) GetAndRenewCertificate(ip net.IP, backend string, role string) (<-chan tls.Certificate, error) + func (v *Vault) GetSecretId(role string) (common.WrappedSecretId, error) + func (v *Vault) RootCertificates(roots []string) (*x509.CertPool, error) + func (v *Vault) Shutdown() + type VaultRootCAsResolver struct + Backends []string + VaultAddr string + func (v *VaultRootCAsResolver) GetRootCAs() ([]byte, *x509.CertPool, error)