package
0.55.1
Repository: https://github.com/ovh/cds.git
Documentation: pkg.go.dev

# Packages

Package mock_services is a generated GoMock package.

# Functions

Delete a service.
DoRequest performs an http request on a service.
FindDeadServices returns services which haven't heart since th duration.
Initialize the service package.
Insert a service in database.
KillDeadServices must be run as a goroutine.
LoadAll returns all services in database.
LoadAllByType returns all services with given type.
LoadByConsumerID returns a service by its consumer id.
LoadByID returns a service by its id.
LoadByName returns a service by its name.
LoadByNameAndType returns a service by its name and type.
PostBinary.
Update a service in database.
UpdateLastHeartbeat a service in database.
UpsertStatus insert or update monitoring status.

# Variables

HTTPClient will be set to a default httpclient if not set.
HTTPSigner is used to sign requests based on the RFC draft specification https://tools.ietf.org/html/draft-cavage-http-signatures-06.
LoadOptions provides all options on service loads functions.

# Structs

MultiPartData represents the data to send.

# Interfaces

# Type aliases

LoadOptionFunc is used as options to load services.