Documentation
¶
Index ¶
- type Engine
- func (e *Engine) BuildContainer(contextDir string, dockerfile string) (*dagger.Container, error)
- func (e *Engine) Close() error
- func (e *Engine) GetClient() *dagger.Client
- func (e *Engine) NewCheckovModule() *modules.CheckovModule
- func (e *Engine) NewInfraMapModule() *modules.InfraMapModule
- func (e *Engine) NewInfraScanModule() *modules.InfraScanModule
- func (e *Engine) NewInfracostModule() *modules.InfracostModule
- func (e *Engine) NewOpenInfraQuoteModule() *modules.OpenInfraQuoteModule
- func (e *Engine) NewTFLintModule() *modules.TFLintModule
- func (e *Engine) NewTerraformDocsModule() *modules.TerraformDocsModule
- func (e *Engine) RunContainer(image string, args []string) (string, error)
- type Pipeline
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine manages the Dagger client and provides methods to run Dagger pipelines
func (*Engine) BuildContainer ¶
BuildContainer builds a container from a directory with a Dockerfile
func (*Engine) NewCheckovModule ¶
func (e *Engine) NewCheckovModule() *modules.CheckovModule
NewCheckovModule creates a new Checkov module
func (*Engine) NewInfraMapModule ¶
func (e *Engine) NewInfraMapModule() *modules.InfraMapModule
NewInfraMapModule creates a new InfraMap module
func (*Engine) NewInfraScanModule ¶
func (e *Engine) NewInfraScanModule() *modules.InfraScanModule
NewInfraScanModule creates a new InfraScan module
func (*Engine) NewInfracostModule ¶
func (e *Engine) NewInfracostModule() *modules.InfracostModule
NewInfracostModule creates a new Infracost module
func (*Engine) NewOpenInfraQuoteModule ¶
func (e *Engine) NewOpenInfraQuoteModule() *modules.OpenInfraQuoteModule
NewOpenInfraQuoteModule creates a new OpenInfraQuote module
func (*Engine) NewTFLintModule ¶
func (e *Engine) NewTFLintModule() *modules.TFLintModule
NewTFLintModule creates a new TFLint module
func (*Engine) NewTerraformDocsModule ¶
func (e *Engine) NewTerraformDocsModule() *modules.TerraformDocsModule
NewTerraformDocsModule creates a new terraform-docs module
type Pipeline ¶
type Pipeline struct {
// contains filtered or unexported fields
}
Pipeline represents a Dagger pipeline for running investigations
func NewPipeline ¶
NewPipeline creates a new pipeline with the given name
func (*Pipeline) InvestigateAWS ¶
InvestigateAWS runs an AWS investigation pipeline
func (*Pipeline) InvestigateCloudflare ¶
InvestigateCloudflare runs a Cloudflare investigation pipeline