deploy

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package deploy provides functionality for exporting and deploying configuration bundles.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conflict

type Conflict struct {
	AppName string
	Message string
}

Conflict represents a deployment conflict between source and target files

type Manager

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

Manager handles deployment operations for configuration bundles

func NewManager

func NewManager(homeDir, storeDir, backupDir string, verbose bool) *Manager

NewManager creates a new deployment manager

func (*Manager) DeployBundle

func (m *Manager) DeployBundle(bundle *config.DeploymentBundle, bundleDir string, configManager *config.Manager, force bool) error

DeployBundle deploys an imported bundle to the current system

func (*Manager) ExportBundle

func (m *Manager) ExportBundle(bundlePath string, apps []string, configManager *config.Manager) error

ExportBundle creates a deployment bundle from current configuration

func (*Manager) ImportBundle

func (m *Manager) ImportBundle(bundlePath, targetDir string) (*config.DeploymentBundle, error)

ImportBundle imports a deployment bundle and validates its contents

func (*Manager) LoadBundleMetadata added in v1.0.6

func (m *Manager) LoadBundleMetadata(path string) (*config.DeploymentBundle, error)

LoadBundleMetadata loads bundle metadata from a file path

Jump to

Keyboard shortcuts

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