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 ¶
- type Service
- func (s *Service) DeleteDockerHost(ctx context.Context, id string) error
- func (s *Service) GetDockerHost(ctx context.Context, id string) (domain.DockerHost, error)
- func (s *Service) HasDockerHosts(ctx context.Context) (bool, error)
- func (s *Service) ListDockerHosts(ctx context.Context) ([]domain.DockerHost, error)
- func (s *Service) RegisterDockerHost(ctx context.Context, url, caCert, clientCert, clientKey string) (string, error)
- func (s *Service) UpdateDockerHost(ctx context.Context, id, url string, caCert, clientCert, clientKey *string) error
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 (*Service) GetDockerHost ¶
func (*Service) HasDockerHosts ¶
func (*Service) ListDockerHosts ¶
func (*Service) RegisterDockerHost ¶
Click to show internal directories.
Click to hide internal directories.