template

package
v1.0.0-beta.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinaryFileConfigMapTemplate

func BinaryFileConfigMapTemplate(name string, namespace string, binaryData []byte, onRely bool, reference ...metav1.OwnerReference) *corev1.ConfigMap

func BinaryResultConfigMapTemplate

func BinaryResultConfigMapTemplate(name string, namespace string, binaryData []byte, onRely bool, labels map[string]string, reference ...metav1.OwnerReference) *corev1.ConfigMap

func GetInspectPlanTemplate

func GetInspectPlanTemplate() (*texttemplate.Template, error)

func GetInspectResultHtmlTemplate

func GetInspectResultHtmlTemplate() (*hemltemplate.Template, error)

func GetInspectRuleTemplate

func GetInspectRuleTemplate() (*texttemplate.Template, error)

func GetJobConfig

func GetJobConfig(ctx context.Context, client *kube.KubernetesClient) *conf.JobConfig

func InspectJobsTemplate

func InspectJobsTemplate(ctx context.Context, client *kube.KubernetesClient, jobName string, inspectTask *kubeeyev1alpha2.InspectTask, nodeName string, nodeSelector map[string]string, taskType string) *v1.Job

Types

This section is empty.

Jump to

Keyboard shortcuts

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