public class KeytabOverlay extends Object
Modifier and Type | Class and Description |
---|---|
static class |
KeytabOverlay.Builder
A builder for the
KeytabOverlay . |
Constructor and Description |
---|
KeytabOverlay(File keytab) |
KeytabOverlay(Path keytab) |
Modifier and Type | Method and Description |
---|---|
protected void |
addPathRecursively(File sourcePath,
Path targetPath,
ContainerSpecification env)
Add a path recursively to the container specification.
|
void |
configure(ContainerSpecification container)
Configure the given container specification.
|
static KeytabOverlay.Builder |
newBuilder() |
public void configure(ContainerSpecification container) throws IOException
ContainerOverlay
IOException
public static KeytabOverlay.Builder newBuilder()
protected void addPathRecursively(File sourcePath, Path targetPath, ContainerSpecification env) throws IOException
sourcePath
- the path to add.targetPath
- the target path.env
- the specification to mutate.IOException
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.