Documentation ¶
Index ¶
- type Log
- func (p *Log) DeleteLog(ctx *fiber.Ctx) error
- func (p *Log) GetLog(ctx *fiber.Ctx) error
- func (p *Log) GetLogs(ctx *fiber.Ctx) error
- func (p *Log) GetSoftwareLogs(ctx *fiber.Ctx) error
- func (p *Log) PatchLog(ctx *fiber.Ctx) error
- func (p *Log) PostLog(ctx *fiber.Ctx) error
- func (p *Log) PostSoftwareLog(ctx *fiber.Ctx) error
- type LogInterface
- type Publisher
- type PublisherInterface
- type Software
- type SoftwareInterface
- type Status
- type Webhook
- func (p *Webhook[T]) DeleteWebhook(ctx *fiber.Ctx) error
- func (p *Webhook[T]) GetResourceWebhooks(ctx *fiber.Ctx) error
- func (p *Webhook[T]) GetSingleResourceWebhooks(ctx *fiber.Ctx) error
- func (p *Webhook[T]) GetWebhook(ctx *fiber.Ctx) error
- func (p *Webhook[T]) PatchWebhook(ctx *fiber.Ctx) error
- func (p *Webhook[T]) PostResourceWebhook(ctx *fiber.Ctx) error
- func (p *Webhook[T]) PostSingleResourceWebhook(ctx *fiber.Ctx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
func (*Log) GetSoftwareLogs ¶
GetSoftwareLogs gets the logs associated to a Software with the given ID and returns any error encountered.
func (*Log) PostSoftwareLog ¶
PostSoftwareLog creates a new log associated to a Software with the given ID and returns any error encountered.
type LogInterface ¶
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
func NewPublisher ¶
func (*Publisher) DeletePublisher ¶
DeletePublisher deletes the publisher with the given ID.
func (*Publisher) GetPublisher ¶
GetPublisher gets the publisher with the given ID and returns any error encountered.
func (*Publisher) GetPublishers ¶
GetPublishers gets the list of all publishers and returns any error encountered.
func (*Publisher) PatchPublisher ¶
PatchPublisher updates the publisher with the given ID. CodeHosting URLs will be overwritten from the request.
func (*Publisher) PostPublisher ¶
PostPublisher creates a new publisher.
type PublisherInterface ¶
type Software ¶
type Software struct {
// contains filtered or unexported fields
}
func NewSoftware ¶
func (*Software) DeleteSoftware ¶
DeleteSoftware deletes the software with the given ID.
func (*Software) GetAllSoftware ¶
GetAllSoftware gets the list of all software and returns any error encountered.
func (*Software) GetSoftware ¶
GetSoftware gets the software with the given ID and returns any error encountered.
func (*Software) PatchSoftware ¶
PatchSoftware updates the software with the given ID.
func (*Software) PostSoftware ¶
PostSoftware creates a new software.
type SoftwareInterface ¶
type Webhook ¶ added in v0.3.0
func (*Webhook[T]) DeleteWebhook ¶ added in v0.3.0
DeleteWebhook deletes the webhook with the given ID.
func (*Webhook[T]) GetResourceWebhooks ¶ added in v0.3.0
GetResourceWebhooks gets the webhooks associated to resources (fe. Software, Publishers) and returns any error encountered.
func (*Webhook[T]) GetSingleResourceWebhooks ¶ added in v0.3.0
GetSingleResourceWebhooks gets the webhooks associated to a resource (fe. a specific Software or Publisher) with the given ID and returns any error encountered.
func (*Webhook[T]) GetWebhook ¶ added in v0.3.0
GetWebhook gets the webhook with the given ID and returns any error encountered.
func (*Webhook[T]) PatchWebhook ¶ added in v0.3.0
PatchWebhook updates the webhook with the given ID.
func (*Webhook[T]) PostResourceWebhook ¶ added in v0.3.0
PostSingleResourceWebhook creates a new webhook associated to resources (fe. Software, Publishers) and returns any error encountered.
func (*Webhook[T]) PostSingleResourceWebhook ¶ added in v0.3.0
PostResourceWebhook creates a new webhook associated to a resource with the given ID (fe. a specific Software or Publisher) and returns any error encountered.