integration

package
v0.64.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDockerHubClient

func NewDockerHubClient(config DockerHubConfig) *dockerHubClient

func Routes

func Routes(r *gin.Engine, authenticationMiddleware middleware.AuthenticationMiddleware, handler Handler)

Types

type DockerHubClient

type DockerHubClient interface {
	GetImages(organization string) ([]string, error)
	GetTags(organization, repository string) ([]string, error)
	ImageExists(organization, repository, tag string) error
}

type DockerHubConfig

type DockerHubConfig struct {
	Username string
	Password string
}

type Handler

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

func NewHandler

func NewHandler(client DockerHubClient, instanceManagerHost string) Handler

func (Handler) ImageExists

func (h Handler) ImageExists(c *gin.Context)

func (Handler) Integrations

func (h Handler) Integrations(c *gin.Context)

Integrations ...

type Request

type Request struct {
	Key     string `json:"key" binding:"required"`
	Payload any    `json:"payload"`
}

type Response

type Response struct{}

Response depends on the input and can be either a list or a map

Jump to

Keyboard shortcuts

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