integration

package
v0.0.0-...-e9593d0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2017 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ABF_URL = "https://abf.openmandriva.org/api/v1"
)

Variables

This section is empty.

Functions

func Commits

func Commits(m *models.BuildList) string

func Integrate

func Integrate(i Integration)

func Ping

func Ping()

func PingParams

func PingParams(m map[string]string)

func Publish

func Publish(m *models.BuildList)

func Reject

func Reject(m *models.BuildList)

func Url

func Url(m *models.BuildList) string

Types

type ABF

type ABF byte

func (ABF) Commits

func (a ABF) Commits(m *models.BuildList) string

func (ABF) Ping

func (a ABF) Ping() error

func (ABF) PingParams

func (a ABF) PingParams(m map[string]string) error

func (ABF) Publish

func (a ABF) Publish(m *models.BuildList) error

func (ABF) Reject

func (a ABF) Reject(m *models.BuildList) error

func (ABF) Url

func (a ABF) Url(m *models.BuildList) string

type Integration

type Integration interface {
	// Check for new packages to add to the buildsystem
	Ping() error
	// Check for new packages to add to the buildsystem, with parameters
	PingParams(map[string]string) error
	// Retrieve the url of the buildlist commit page
	Commits(*models.BuildList) string
	// Retrieve the url of the corresponding buildlist
	Url(*models.BuildList) string
	// Publish the buildlist
	Publish(*models.BuildList) error
	// Reject the buildlist
	Reject(*models.BuildList) error
}

Jump to

Keyboard shortcuts

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