@quadnix/octo
Index
Decorators
Errors/Container
Errors/Input
Errors/Module
Errors/Node
Errors/Schema
Errors/Terraform
Errors/Transaction
- AppLockError
- DiffsOnDirtyResourcesTransactionError
- InputNotFoundTransactionError
- ModelActionExceptionTransactionError
- NoMatchingActionFoundTransactionError
- OverlayActionExceptionTransactionError
- ResourceActionExceptionTransactionError
- ResourceActionTimeoutTransactionError
- TransactionError
- ValidationTransactionError
Events
Events/Action
Events/Command
Events/Hooks
Events/Hooks/Commit
Events/Hooks/Model
Events/Hooks/Resource
Events/Mode
Events/ModeResult
Events/Module
Events/Registration
Events/Serialization
Events/State
Events/Terraform
Events/Transaction
Functions/Container
Functions/Dependency
Functions/Diff
Functions/Node
Functions/Schema
Main
Models
Models/Account
Models/App
Models/Deployment
Models/Environment
Models/Execution
Models/Filesystem
Models/Image
Models/Pipeline
Models/Region
Models/Server
Models/Service
Models/Subnet
Modules
Overlays
Resources
Services/State Management
Types
Utilities
Utilities/Hcl
Utilities/String
Utilities/Terraform
Events/Mode
OctoMode
Modules
TestModule
One module to load into a TestModuleContainer run.
Set hidden to register the module without running it - use it for a module a test needs
present but not applied, e.g. one that is only there to be found by a schema lookup.
Type parameters
- M: UnknownModule
optionalhidden
inputs
moduleId
type
Types
ActionOutputs
The resources an action declared, keyed by an ID of your choosing.
Type declaration
[key string]: UnknownResource
AnchorSchema
The schema of an anchor class.
Type parameters
- T
Constructable
The class of T, i.e. what you pass when an API wants a type rather than an instance.
Type parameters
- T
Type declaration
Parameters
rest...args: any[]
Returns T
DiffValueTypePropertyUpdate
The value of a Diff on a properties field: which property changed, and to what.
key
value
DiffValueTypeTagUpdate
The value of a Diff on a tags field, split by what happened to each tag.
add
Type declaration
[key string]: string
delete
update
Type declaration
[key string]: string
EnhancedModuleSchema
Everything an action knows about the module it belongs to: the inputs it was loaded with, whatever AModule.registerMetadata derived, and the nodes the module produced.
This is the second argument of IModelAction.handle.
Type parameters
- T: UnknownModule
inputs
metadata
models
overlays
resources
ModuleSchema
The schema of a module class.
Type parameters
- T
ModuleSchemaInputs
A module's schema as the caller supplies it - properties with a default become optional. This is the shape Octo.loadModule accepts.
Type parameters
- T
OverlaySchema
The schema of an overlay class.
Type parameters
- T
ResourceSchema
The schema of a resource class.
Type parameters
- T
Utilities/Hcl
HclBlock
One parsed HCL block: each attribute by name, and each nested block by its type. An attribute holding
a quoted string is unquoted; any other value (a number, a list, a reference, a jsonencode(...) call)
is kept as the HCL text it was rendered as. A nested block repeated in its parent (two ingress
blocks) is an array.
The steps of the octo lifecycle.
Events/Mode