Documentation
¶
Index ¶
- Constants
- func ApplyServiceMonitor(ctx context.Context, client dynamic.Interface, recorder events.Recorder, ...) (*unstructured.Unstructured, bool, error)
- func NewTargetConfigReconciler(targetImagePullSpec, operatorNamespace string, ...) factory.Controller
- func ReadServiceMonitorV1OrDie(objBytes []byte) *monitoringv1.ServiceMonitor
- func RunOperator(ctx context.Context, cc *controllercmd.ControllerContext) error
- type TargetConfigReconciler
Constants ¶
View Source
const ( WebhookCertificateSecretName = "webhook-server-cert" MetricsCertificateSecretName = "metrics-server-cert" WebhookCertificateName = "jobset-serving-cert" CertManagerInjectCaAnnotation = "cert-manager.io/inject-ca-from" OpenshiftMonitoringNamespace = "openshift-monitoring" // PrometheusClientCertsPath is a mounted secret in the openshift-monitoring prometheus PrometheusClientCertsPath = "/etc/prometheus/secrets/metrics-client-certs/" )
Variables ¶
This section is empty.
Functions ¶
func ApplyServiceMonitor ¶
func ApplyServiceMonitor(ctx context.Context, client dynamic.Interface, recorder events.Recorder, required *monitoringv1.ServiceMonitor, cache resourceapply.ResourceCache) (*unstructured.Unstructured, bool, error)
ApplyServiceMonitor applies the ServiceMonitor.
func NewTargetConfigReconciler ¶
func NewTargetConfigReconciler(targetImagePullSpec, operatorNamespace string, operatorClientInformer operatorclientinformers.JobSetOperatorInformer, kubeInformersForNamespaces v1helpers.KubeInformersForNamespaces, jobSetOperatorClient *operatorclient.JobSetOperatorClient, kubeClient kubernetes.Interface, dynamicClient dynamic.Interface, apiextensionsClient *apiextensionsclient.Clientset, discoveryClient discovery.DiscoveryInterface, eventRecorder events.Recorder) factory.Controller
func ReadServiceMonitorV1OrDie ¶
func ReadServiceMonitorV1OrDie(objBytes []byte) *monitoringv1.ServiceMonitor
func RunOperator ¶
func RunOperator(ctx context.Context, cc *controllercmd.ControllerContext) error
Types ¶
type TargetConfigReconciler ¶
type TargetConfigReconciler struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.