exporters

package
v0.0.0-...-c1125d7 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2023 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 AwsExporter

type AwsExporter struct {
}

AwsExporter exports AWS PEM file certs

func (*AwsExporter) ExportMetrics

func (c *AwsExporter) ExportMetrics(file, secretName, key string) error

ExportMetrics exports the provided PEM file

func (*AwsExporter) ResetMetrics

func (c *AwsExporter) ResetMetrics()

type CertExporter

type CertExporter struct {
}

CertExporter exports PEM file certs

func (*CertExporter) ExportMetrics

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

ExportMetrics exports the provided PEM file

func (*CertExporter) ResetMetrics

func (c *CertExporter) ResetMetrics()

type Exporter

type Exporter interface {
	ExportMetrics(file, nodeName string) error
	ResetMetrics()
}

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, nodeName string) error

ExportMetrics exports all certs in the passed in kubeconfig file

func (*KubeConfigExporter) ResetMetrics

func (c *KubeConfigExporter) ResetMetrics()

type SecretExporter

type SecretExporter struct {
}

CertExporter exports PEM file certs

func (*SecretExporter) ExportMetrics

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

ExportMetrics exports the provided PEM file

func (*SecretExporter) ResetMetrics

func (c *SecretExporter) ResetMetrics()

Jump to

Keyboard shortcuts

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