@Mojo(name="mock")
public class MockApiServer
extends org.apache.maven.plugin.AbstractMojo
| 构造器和说明 |
|---|
MockApiServer() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
execute() |
private boolean |
isYamlFile(String fileName) |
private void |
loadResources(io.fabric8.kubernetes.client.KubernetesClient client,
File file) |
@Parameter(defaultValue="${project.basedir}")
private File basedir
@Parameter(name="port",
defaultValue="8443")
private int port
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprivate void loadResources(io.fabric8.kubernetes.client.KubernetesClient client,
File file)
throws FileNotFoundException
private boolean isYamlFile(String fileName)
Copyright © 2020. All rights reserved.