serverupdater

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package serverupdater contains functions to update internal state of SVN servers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Updater

type Updater struct {
	// InitdScript is a path to apache init script (e.g. /etc/init.d/httpd)
	InitdScript string

	// SvnAdmin is a path to the `svnadmin` command.
	SvnAdmin string

	// ReposConfig is a path to a set of definitions of repositories that the server has.
	ReposConfig string

	// ReposDir is a path to a directory that SVN repositories resides in.
	ReposDir string

	// Log is a logger.
	Log logr.Logger

	// TimeoutMs is a timeout in milliseconds to run command.
	TimeoutMs int
}

Updater updates SVN repositories and Apache Servers.

func (*Updater) OnConfigChanged added in v0.1.0

func (u *Updater) OnConfigChanged() error

Jump to

Keyboard shortcuts

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