docker

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultRepoVersion = "v4.12.0"

DefaultRepoVersion is used when no config file exists or local.repoVersion is not set.

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. Config is optional: if no .wazctl.yaml exists, defaults are used (e.g. RepoVersion).

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