deploy

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config map[string]string

Config key: branch name, value: project directory

type Configs

type Configs map[string]Config

Configs key: repository name

type Deployer

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

func GetDeployer

func GetDeployer() *Deployer

GetDeployer singleton deployer service getter

func (*Deployer) BuildForRepo

func (d *Deployer) BuildForRepo(repository, branch string) (error, [][]byte)

BuildForRepo run build for repository if exist config for non existed configs - will be skipped return error and out logs

type Queue

type Queue struct {
	Context           context.Context
	ContextCancelFunc context.CancelFunc
	QueueMutex        *sync.Mutex
}

Jump to

Keyboard shortcuts

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