Documentation ¶
Index ¶
- Constants
- func BinaryConfigMapTemplate(name string, namespace string, binaryData []byte, onRely bool, ...) *corev1.ConfigMap
- func BinaryFileConfigMapTemplate(name string, namespace string, binaryData []byte, onRely bool, ...) *corev1.ConfigMap
- func GeneratorJobTemplate(Job JobTemplateOptions) *v1.Job
- func GetClusterRoleBindingTemplate() *rbacv1.ClusterRoleBinding
- func GetClusterRoleTemplate() *rbacv1.ClusterRole
- func GetInspectPlanTemplate() (*texttemplate.Template, error)
- func GetInspectResultHtmlTemplate() (*hemltemplate.Template, error)
- func GetInspectRuleTemplate() (*texttemplate.Template, error)
- func GetServiceAccountTemplate() *v1.ServiceAccount
- type JobTemplateOptions
Constants ¶
View Source
const InspectResultTemplate = "inspectResult.tpl"
Variables ¶
This section is empty.
Functions ¶
func BinaryConfigMapTemplate ¶
func GeneratorJobTemplate ¶
func GeneratorJobTemplate(Job JobTemplateOptions) *v1.Job
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
Types ¶
type JobTemplateOptions ¶
type JobTemplateOptions struct { JobConfig *conf.JobConfig JobName string Task *kubeeyev1alpha2.InspectTask NodeName string NodeSelector map[string]string RuleType string }
Click to show internal directories.
Click to hide internal directories.