Versions in this module Expand all Collapse all v0 v0.1.0 Sep 30, 2021 Changes in this version + var DefaultTimeout = time.Second + type AXFRScanner struct + Concurrency int + DNSServer string + Domain string + Ports []int16 + Scans []ConnScanner + func (a AXFRScanner) Scan(ctx context.Context) (Certer, error) + type Certer interface + Read func(context.Context, chan<- *x509.Certificate, chan<- error) + type ChanCerter struct + func NewChanCerter() ChanCerter + func (cc ChanCerter) Close() error + func (cc ChanCerter) Read(ctx context.Context, cout chan<- *x509.Certificate, eout chan<- error) + type ConnScanFunc func(context.Context, net.Conn) ([]*x509.Certificate, error) + func (csf ConnScanFunc) ScanConn(ctx context.Context, conn net.Conn) (Certer, error) + type ConnScanner interface + ScanConn func(context.Context, net.Conn) (Certer, error) + type HandshakeScanner struct + Configs []*tls.Config + func (hs HandshakeScanner) ScanConn(ctx context.Context, conn net.Conn) (Certer, error) + type IPScanner struct + IP net.IP + Ports []int16 + Scans []ConnScanner + Timeout time.Duration + func (is IPScanner) Scan(ctx context.Context) (Certer, error) + type KubeSecretScanner struct + Extra []func(v1.Secret) ([]*x509.Certificate, error) + KubeConfig *rest.Config + func (s *KubeSecretScanner) Read(ctx context.Context, certs chan<- *x509.Certificate, errs chan<- error) + func (s *KubeSecretScanner) Scan(context.Context) (Certer, error) + type MultiScanner struct + Concurrency int + Scanners []Scanner + func (mc MultiScanner) Scan(ctx context.Context) (Certer, error) + type Scanner interface + Scan func(context.Context) (Certer, error) + type SecretDataError struct + Cause error + Namespace string + Path string + SecretName string + func (k *SecretDataError) Error() string + type SliceCerter []*x509.Certificate + func (sc SliceCerter) Read(ctx context.Context, cout chan<- *x509.Certificate, eout chan<- error)