Versions in this module Expand all Collapse all v0 v0.2.0 Mar 24, 2020 v0.1.0 Mar 18, 2020 Changes in this version + const DefaultWatchTimeout + const SecretNamespace + var AllCerts = []Cert + func IsInvalidConfig(err error) bool + func IsInvalidSecret(err error) bool + func IsTimeout(err error) bool + func IsWrongType(err error) bool + func K8sLabels(clusterID string, certificate Cert) map[string]string + func K8sName(clusterID string, certificate Cert) string + type AppOperator struct + APIServer TLS + type Cert string + const APICert + const AWSOperatorAPICert + const AppOperatorAPICert + const CalicoEtcdClientCert + const ClusterOperatorAPICert + const EtcdCert + const FlanneldEtcdClientCert + const InternalAPICert + const NodeOperatorCert + const PrometheusCert + const ServiceAccountCert + const WorkerCert + func (c Cert) String() string + type Cluster struct + APIServer TLS + CalicoEtcdClient TLS + EtcdServer TLS + ServiceAccount TLS + Worker TLS + type ClusterOperator struct + APIServer TLS + type Config struct + K8sClient kubernetes.Interface + Logger micrologger.Logger + WatchTimeout time.Duration + type Draining struct + NodeOperator TLS + type File struct + AbsolutePath string + Data []byte + type Files []File + func NewFilesCluster(cluster Cluster) Files + func NewFilesClusterMaster(cluster Cluster) Files + func NewFilesClusterWorker(cluster Cluster) Files + type Interface interface + SearchAppOperator func(clusterID string) (AppOperator, error) + SearchCluster func(clusterID string) (Cluster, error) + SearchClusterOperator func(clusterID string) (ClusterOperator, error) + SearchDraining func(clusterID string) (Draining, error) + SearchMonitoring func(clusterID string) (Monitoring, error) + SearchTLS func(clusterID string, cert Cert) (TLS, error) + type Monitoring struct + KubeStateMetrics TLS + Prometheus TLS + type Searcher struct + func NewSearcher(config Config) (*Searcher, error) + func (s *Searcher) SearchAppOperator(clusterID string) (AppOperator, error) + func (s *Searcher) SearchCluster(clusterID string) (Cluster, error) + func (s *Searcher) SearchClusterOperator(clusterID string) (ClusterOperator, error) + func (s *Searcher) SearchDraining(clusterID string) (Draining, error) + func (s *Searcher) SearchMonitoring(clusterID string) (Monitoring, error) + func (s *Searcher) SearchTLS(clusterID string, cert Cert) (TLS, error) + type TLS struct + CA []byte + Crt []byte + Key []byte Other modules containing this package github.com/giantswarm/certs/v2 github.com/giantswarm/certs/v3 github.com/giantswarm/certs/v4