docker

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WazuhDockerManager

type WazuhDockerManager struct {
	RepoURL       string // Git repository URL for Wazuh Docker
	RepoVersion   string // Version tag (e.g., "v4.12.0")
	WorkDir       string // Directory to clone the repository into
	SingleNodeDir string // Path to the single-node directory
}

WazuhDockerManager manages the Wazuh Docker deployment.

func NewWazuhDockerManager

func NewWazuhDockerManager() (*WazuhDockerManager, error)

NewWazuhDockerManager initializes a new WazuhDockerManager.

func (*WazuhDockerManager) Clean

func (m *WazuhDockerManager) Clean() error

Clean removes the Wazuh Docker directory and volumes.

func (*WazuhDockerManager) Start

func (m *WazuhDockerManager) Start() error

Start deploys the Wazuh stack using Docker Compose.

func (*WazuhDockerManager) Stop

func (m *WazuhDockerManager) Stop() error

Stop stops the Wazuh stack.

Jump to

Keyboard shortcuts

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