Documentation
¶
Index ¶
- func CreateOrUpdateRuleConfigMaps(ctx context.Context, cr *vmv1beta1.VMAlert, rclient client.Client) ([]string, error)
- func CreateOrUpdateVMAlert(ctx context.Context, cr *vmv1beta1.VMAlert, rclient client.Client, ...) error
- func CreateOrUpdateVMAlertService(ctx context.Context, cr *vmv1beta1.VMAlert, rclient client.Client, ...) (*corev1.Service, error)
- func FetchTLSAssets(ctx context.Context, rclient client.Client, namespace string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdateRuleConfigMaps ¶
func CreateOrUpdateRuleConfigMaps(ctx context.Context, cr *vmv1beta1.VMAlert, rclient client.Client) ([]string, error)
CreateOrUpdateRuleConfigMaps conditionally selects vmrules and stores content at configmaps
func CreateOrUpdateVMAlert ¶
func CreateOrUpdateVMAlert(ctx context.Context, cr *vmv1beta1.VMAlert, rclient client.Client, c *config.BaseOperatorConf, cmNames []string) error
CreateOrUpdateVMAlert creates vmalert deployment for given CRD
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.