dockercompose

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package dockercompose provides Docker Compose provider implementation for managing vulnerable target environments.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerCompose

type DockerCompose struct {
	// contains filtered or unexported fields
}

DockerCompose implements the Provider interface using Docker Compose.

func NewDockerCompose

func NewDockerCompose(sm *state.Manager) *DockerCompose

NewDockerCompose creates a new DockerCompose provider with the given state manager.

func (*DockerCompose) Name

func (d *DockerCompose) Name() string

Name returns the provider name.

func (*DockerCompose) Start

func (d *DockerCompose) Start(template *tmpl.Template) error

Start launches the vulnerable target environment using Docker Compose.

func (*DockerCompose) Status

func (d *DockerCompose) Status(template *tmpl.Template) (string, error)

Status returns status the vulnerable target environment using Docker Compose.

func (*DockerCompose) Stop

func (d *DockerCompose) Stop(template *tmpl.Template) error

Stop shuts down the vulnerable target environment using Docker Compose.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL