Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPluginServer ¶
func NewPluginServer(cfg PluginConfig) (string, func() error)
NewPluginServer return function to start the fake plugin HTTP server.
Types ¶
type PluginConfig ¶
type PluginConfig struct { BinariesDirectory string Server PluginServer }
PluginConfig holds configuration for fake plugin server.
type PluginServer ¶
type PluginServer struct { Host string `envconfig:"default=http://host.k3d.internal"` Port int `envconfig:"default=3000"` }
PluginServer holds configuration for HTTP plugin server.
Click to show internal directories.
Click to hide internal directories.