exporters

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertExporter

type CertExporter struct {
}

CertExporter exports PEM file certs

func (*CertExporter) ExportMetrics

func (c *CertExporter) ExportMetrics(file string) error

ExportMetrics exports the provided PEM file

type Exporter

type Exporter interface {
	ExportMetrics(file string) error
}

Exporter is an interface for objects that export cert information

type KubeConfigExporter

type KubeConfigExporter struct {
}

KubeConfigExporter exports kubeconfig certs

func (*KubeConfigExporter) ExportMetrics

func (c *KubeConfigExporter) ExportMetrics(file string) error

ExportMetrics exports all certs in the passed in kubeconfig file

type SecretExporter

type SecretExporter struct {
}

CertExporter exports PEM file certs

func (*SecretExporter) ExportMetrics

func (c *SecretExporter) ExportMetrics(bytes []byte, keyName string, secretName string, secretNamespace string) error

ExportMetrics exports the provided PEM file

Jump to

Keyboard shortcuts

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