public class EndpointPathDecorator extends NamedResourceDecorator<ServiceMonitorBuilder>
Decorator that will set the endpoint path on the Endpoint that matches the port,
inside the ServiceMonitor that matches the name.ANY, name| Constructor and Description |
|---|
EndpointPathDecorator(String port,
String path) |
EndpointPathDecorator(String name,
String port,
String path) |
| Modifier and Type | Method and Description |
|---|---|
void |
andThenVisit(ServiceMonitorBuilder serviceMonitor,
io.dekorate.deps.kubernetes.api.model.ObjectMeta resourceMeta) |
visitgetTypepublic void andThenVisit(ServiceMonitorBuilder serviceMonitor, io.dekorate.deps.kubernetes.api.model.ObjectMeta resourceMeta)
andThenVisit in class NamedResourceDecorator<ServiceMonitorBuilder>Copyright © 2018–2020 Red Hat. All rights reserved.