utils

package
v0.0.0-...-a5db094 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddK8SProbeProperties

func AddK8SProbeProperties(newProbe *dbSchemaProbe.Probe, request model.ProbeRequest) *dbSchemaProbe.Probe

func AddKubernetesCMDProbeProperties

func AddKubernetesCMDProbeProperties(newProbe *dbSchemaProbe.Probe, request model.ProbeRequest) *dbSchemaProbe.Probe

func AddKubernetesHTTPProbeProperties

func AddKubernetesHTTPProbeProperties(newProbe *dbSchemaProbe.Probe, request model.ProbeRequest) *dbSchemaProbe.Probe

func AddPROMProbeProperties

func AddPROMProbeProperties(newProbe *dbSchemaProbe.Probe, request model.ProbeRequest) *dbSchemaProbe.Probe

func InsertProbeRefAnnotation

func InsertProbeRefAnnotation(rawYaml, value string) (string, error)

func ParseProbesFromManifest

func ParseProbesFromManifest(wfType *dbChaosExperiment.ChaosExperimentType, manifest string) ([]dbChaosExperiment.Probes, error)

ParseProbesFromManifest - Parses the manifest to return probes which is stored in the DB

func ParseProbesFromManifestForRuns

func ParseProbesFromManifestForRuns(wfType *dbChaosExperiment.ChaosExperimentType, manifest string) ([]dbChaosExperimentRun.Probes, error)

ParseProbesFromManifestForRuns - Parses the manifest to return probes which is stored in the DB

func ProbeInputsToProbeRequestConverter

func ProbeInputsToProbeRequestConverter(probeInputs v1alpha1.ProbeAttributes) (model.ProbeRequest, error)

ProbeInputsToProbeRequestConverter Convert the probe inputs to probe request

Types

This section is empty.

Jump to

Keyboard shortcuts

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