Package | Description |
---|---|
io.failify.dsl.entities |
Modifier and Type | Method and Description |
---|---|
Service.Builder |
Service.Builder.applicationPath(String path,
String targetPath,
PathAttr... pathAttrs)
Adds a local path to the specified absolute target path in the node created out of this service
|
Service.Builder |
Service.Builder.dockerFileAddress(String dockerFileAddress,
Boolean forceBuild)
Sets the Dockerfile address to be used to build the docker image for this service
|
Service.Builder |
Service.Builder.dockerImageName(String dockerImage)
Sets the docker image name and tag to be used for this service.
|
Service.Builder |
Service.Builder.environmentVariable(String name,
String value)
Adds an environment variable to the service
|
Service.Builder |
Service.Builder.initCommand(String initCommand)
Sets the init command for the service which will be executed only once
|
Service.Builder |
Service.Builder.instrumentablePath(String instrumentablePath)
Adds an instrumentable path to the service.
|
Service.Builder |
Service.Builder.libraryPath(String path)
Marks an absolute target path in container of a node created out of this service as a library path.
|
Service.Builder |
Service.Builder.logDirectory(String path)
Adds an absolute target path in the container of the node created out of this service to be collected as a
log file into the node's local workspace
|
Service.Builder |
Service.Builder.logFile(String path)
Adds an absolute target path in the container of the node created out of this service to be collected as a
log file into the node's local workspace
|
Service.Builder |
Deployment.Builder.service(String serviceName)
Returns a service builder to change an existing service object in the deployment definition with the given
service name
|
Service.Builder |
Service.Builder.serviceType(ServiceType serviceType)
Sets the programming language of the service to be used by the instrumentation engine
|
Service.Builder |
Service.Builder.startCommand(String startCommand)
Sets the start command for the service which will be executed only once
|
Service.Builder |
Service.Builder.stopCommand(String stopCommand)
Sets the stop command for the service which will be executed only once
|
Service.Builder |
Service.Builder.tcpPort(Integer... portNumber)
Adds a tcp port to be exposed by the container of a node created out of this service
|
Service.Builder |
Service.Builder.udpPort(Integer... portNumber)
Adds a udp port to be exposed by the container of a node created out of this service
|
Service.Builder |
Deployment.Builder.withService(String name)
Returns a service builder to define a new service object in the deployment definition
|
Service.Builder |
Deployment.Builder.withServiceFromJvmClasspath(String name,
String... instrumentablePathPatterns)
Returns a service builder initialized with the given name, application library paths from the current Java
class path and instrumentable paths based on the given instrumentable path patterns.
|
Copyright © 2019. All rights reserved.