otel

package
v0.0.0-...-0cee181 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CertManagerVersion   = "v1.6.1"
	CertManagerNamespace = "cert-manager"
)

Variables

View Source
var (
	OpenTelemetryCRDs = map[string]string{
		"instrumentations.opentelemetry.io":        openTelemetryCRDsPathPrefix + "opentelemetry.io_instrumentations.yaml",
		"opentelemetrycollectors.opentelemetry.io": openTelemetryCRDsPathPrefix + "opentelemetry.io_opentelemetrycollectors.yaml",
	}
)

Functions

func CreateCertManager

func CreateCertManager(confirmActions bool) error

func DeleteOtelColCRD

func DeleteOtelColCRD() error

func UpgradeCertManager

func UpgradeCertManager() error

Types

type OtelCol

type OtelCol struct {
	ReleaseName string
	Namespace   string
	K8sClient   k8s.Client
	HelmClient  helm.Client
	UpgradeCM   bool
}

func (*OtelCol) CreateDefaultCollector

func (c *OtelCol) CreateDefaultCollector(otelColConfig string) error

func (*OtelCol) DeleteDefaultOtelCollector

func (c *OtelCol) DeleteDefaultOtelCollector() error

func (*OtelCol) GetCertManagerVersion

func (c *OtelCol) GetCertManagerVersion() (string, error)

func (*OtelCol) IsCertManagerInstalledByTobs

func (c *OtelCol) IsCertManagerInstalledByTobs() (bool, error)

func (*OtelCol) IsOtelOperatorEnabledInRelease

func (c *OtelCol) IsOtelOperatorEnabledInRelease() (bool, error)

func (*OtelCol) ValidateCertManager

func (c *OtelCol) ValidateCertManager() error

Jump to

Keyboard shortcuts

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