@SuppressWarnings(value: MethodCount) @groovy.transform.CompileStatic class OpenTofuModel extends Object
Utilities for building the tasks around a named OpenTofu source set.
Modifiers | Name | Description |
---|---|---|
static class |
OpenTofuModel.WorkspaceGenerator |
Used by source set to create workspace tasks |
Modifiers | Name | Description |
---|---|---|
static String |
CUSTOM_FMT_APPLY |
|
static String |
CUSTOM_FMT_CHECK |
|
static String |
DEFAULT_SOURCESET_NAME |
|
static String |
DEFAULT_WORKSPACE |
|
static String |
EXE_BASE_NAME |
|
static String |
EXTENSION_NAME |
|
static String |
FORMAT_ALL |
|
static java.util.Set<String> |
PLATFORMS |
|
static String |
PREFIX |
|
static String |
PROVIDER_LOCK_FILENAME |
|
static String |
TASK_GROUP |
|
static String |
TOOL_NAME |
Constructor and description |
---|
OpenTofuModel
() |
The name of the backend configuration task.
sourceSetName
- Name of source set.Create format tasks that are not related to specific source sets.
project
- Contextual projectCreates all of the required tasks for a source set
sourceSet
- OpenTofu sourcesetworkspaceName
- Name of the workspace. Use DEFAULT_WORKSPACE for the default workspace.project
- Associated project.The name of the plugin dir configuration task.
Provides a task name
sourceSetName
- Name of source set the task will be associated with.commandType
- The OpenTofu command that this task will wrap.workspaceName
- Name of workspace. if null
will act as if workspace-agnostic