template

package
v1.0.0-beta.9 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const InspectResultTemplate = "inspectResult.tpl"

Variables

This section is empty.

Functions

func BinaryConfigMapTemplate

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

func BinaryFileConfigMapTemplate

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

func GetClusterRoleBindingTemplate

func GetClusterRoleBindingTemplate() *rbacv1.ClusterRoleBinding

func GetClusterRoleTemplate

func GetClusterRoleTemplate() *rbacv1.ClusterRole

func GetInspectPlanTemplate

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

func GetInspectResultHtmlTemplate

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

func GetInspectRuleTemplate

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

func GetServiceAccountTemplate

func GetServiceAccountTemplate() *v1.ServiceAccount

func InspectJobsTemplate

func InspectJobsTemplate(jobConfig *conf.JobConfig, 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