dockerhosts

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package dockerhosts implements service.DockerHostService: admin CRUD over the pool of Docker daemons that back per-vault workbench containers — see docs/workbench/02_docker_topology.md. Unlike couchinstances/s3instances, docker hosts carry no credentials, so there's no setup/status concept here.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func New

func New(repo repository.Repo) *Service

func (*Service) DeleteDockerHost

func (s *Service) DeleteDockerHost(ctx context.Context, id string) error

func (*Service) GetDockerHost

func (s *Service) GetDockerHost(ctx context.Context, id string) (domain.DockerHost, error)

func (*Service) HasDockerHosts

func (s *Service) HasDockerHosts(ctx context.Context) (bool, error)

func (*Service) ListDockerHosts

func (s *Service) ListDockerHosts(ctx context.Context) ([]domain.DockerHost, error)

func (*Service) RegisterDockerHost

func (s *Service) RegisterDockerHost(ctx context.Context, url, caCert, clientCert, clientKey string) (string, error)

func (*Service) UpdateDockerHost

func (s *Service) UpdateDockerHost(ctx context.Context, id, url string, caCert, clientCert, clientKey *string) error

Jump to

Keyboard shortcuts

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