gocd

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// CurrentAgentsConfig holds updated GoCD agent config information.
	CurrentAgentsConfig []gocd.Agent
	// CurrentAgentJobRunHistory holds updated GoCD agent config information.
	CurrentAgentJobRunHistory = make([]gocd.AgentJobHistory, 0)
	// CurrentServerHealth holds updated GoCD server health information.
	CurrentServerHealth []gocd.ServerHealth
	// CurrentConfigRepos holds updated config repo information present GoCD server.
	CurrentConfigRepos []gocd.ConfigRepo
	// CurrentFailedConfigRepos holds updated config repos present GoCD server and are in errored state.
	CurrentFailedConfigRepos []gocd.ConfigRepo
	// CurrentPipelineGroup holds updated pipeline group information present GoCD server.
	CurrentPipelineGroup []gocd.PipelineGroup
	// CurrentEnvironments holds updated environment information present GoCD server.
	CurrentEnvironments []gocd.Environment
	// CurrentPipelineCount holds updated pipeline count present in GoCD server.
	CurrentPipelineCount int
	// CurrentSystemAdmins holds updated information of the system admins present in GoCD server.
	CurrentSystemAdmins gocd.SystemAdmins
	// CurrentBackupConfig holds updated information of backups configured in GoCD server.
	CurrentBackupConfig gocd.BackupConfig
	// CurrentVersion holds updated GoCD server version information.
	CurrentVersion gocd.VersionInfo
	// CurrentPipelines holds updated list of pipeline names that are present in GoCD.
	CurrentPipelines []string
	// CurrentPipelineState holds the information of the latest state of pipelines available in GoCD.
	CurrentPipelineState []gocd.PipelineState
	// CurrentElasticProfileUsage holds the information of the pipelines using various elastic agent profiles.
	CurrentElasticProfileUsage []ElasticProfileUsage
	// CurrentPluginInfo holds the information of the plugins installed in GoCD.
	CurrentPluginInfo []gocd.Plugin
	// CurrentPipelineNotRun holds the information of the pipelines not run in last X days.
	CurrentPipelineNotRun []PipelineRunHistory
)

Functions

This section is empty.

Types

type ElasticProfileUsage added in v0.1.1

type ElasticProfileUsage struct {
	Name  string
	Usage []gocd.ElasticProfileUsage
}

type GoCd

type GoCd interface {
	CronSchedulers()
}

GoCd implements methods to get various information regarding GoCD.

func NewClient added in v0.0.6

func NewClient(config app.Config, logger *logrus.Logger, ca []byte) GoCd

NewClient returns new instance of client when invoked.

type PipelineRunHistory added in v0.1.1

type PipelineRunHistory struct {
	NotRunIn float64
	Usage    gocd.PipelineSchedules
}

Jump to

Keyboard shortcuts

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