Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("target not found")
Functions ¶
This section is empty.
Types ¶
type Docker ¶
type Docker struct {
// contains filtered or unexported fields
}
func (*Docker) GetTarget ¶
func (d *Docker) GetTarget(ctx context.Context, dn domain.DomainName) (*DomainInfo, error)
type DomainInfo ¶
type DomainInfo struct {
TargetAddress string
}
type Interface ¶
type Interface interface {
GetTarget(ctx context.Context, domain domain.DomainName) (*DomainInfo, error)
}
Click to show internal directories.
Click to hide internal directories.