Package cz.xtf.junit5.extensions.helpers
Class ResourcesPrinterHelper<X>
- java.lang.Object
-
- cz.xtf.junit5.extensions.helpers.ResourcesPrinterHelper<X>
-
- All Implemented Interfaces:
AutoCloseable
public class ResourcesPrinterHelper<X> extends Object implements AutoCloseable
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()static ResourcesPrinterHelper<io.fabric8.openshift.api.model.BuildConfig>forBCs(Path filePath)static ResourcesPrinterHelper<io.fabric8.openshift.api.model.Build>forBuilds(Path filePath)static ResourcesPrinterHelper<io.fabric8.kubernetes.api.model.ConfigMap>forConfigMaps(Path filePath)static ResourcesPrinterHelper<io.fabric8.openshift.api.model.DeploymentConfig>forDCs(Path filePath)static ResourcesPrinterHelper<io.fabric8.kubernetes.api.model.Event>forEvents(Path filePath)static ResourcesPrinterHelper<io.fabric8.openshift.api.model.ImageStream>forISs(Path filePath)static ResourcesPrinterHelper<io.fabric8.kubernetes.api.model.Pod>forPods(Path filePath)static ResourcesPrinterHelper<io.fabric8.openshift.api.model.Route>forRoutes(Path filePath)static ResourcesPrinterHelper<io.fabric8.kubernetes.api.model.Secret>forSecrets(Path filePath)static ResourcesPrinterHelper<io.fabric8.kubernetes.api.model.Service>forServices(Path filePath)static ResourcesPrinterHelper<io.fabric8.kubernetes.api.model.apps.StatefulSet>forStatefulSet(Path filePath)voidrow(LinkedHashMap<String,String> map)voidrow(X resource)
-
-
-
Method Detail
-
forEvents
public static ResourcesPrinterHelper<io.fabric8.kubernetes.api.model.Event> forEvents(Path filePath)
-
forPods
public static ResourcesPrinterHelper<io.fabric8.kubernetes.api.model.Pod> forPods(Path filePath)
-
forDCs
public static ResourcesPrinterHelper<io.fabric8.openshift.api.model.DeploymentConfig> forDCs(Path filePath)
-
forRoutes
public static ResourcesPrinterHelper<io.fabric8.openshift.api.model.Route> forRoutes(Path filePath)
-
forConfigMaps
public static ResourcesPrinterHelper<io.fabric8.kubernetes.api.model.ConfigMap> forConfigMaps(Path filePath)
-
forServices
public static ResourcesPrinterHelper<io.fabric8.kubernetes.api.model.Service> forServices(Path filePath)
-
forSecrets
public static ResourcesPrinterHelper<io.fabric8.kubernetes.api.model.Secret> forSecrets(Path filePath)
-
forBuilds
public static ResourcesPrinterHelper<io.fabric8.openshift.api.model.Build> forBuilds(Path filePath)
-
forBCs
public static ResourcesPrinterHelper<io.fabric8.openshift.api.model.BuildConfig> forBCs(Path filePath)
-
forISs
public static ResourcesPrinterHelper<io.fabric8.openshift.api.model.ImageStream> forISs(Path filePath)
-
forStatefulSet
public static ResourcesPrinterHelper<io.fabric8.kubernetes.api.model.apps.StatefulSet> forStatefulSet(Path filePath)
-
row
public void row(X resource)
-
row
public void row(LinkedHashMap<String,String> map)
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-
flush
public void flush() throws IOException- Throws:
IOException
-
-