Documentation ¶
Index ¶
- func GetInterface(port int) string
- func ReadTestFile(name string) ([]byte, error)
- type StaticConfigService
- func (StaticConfigService) AddConfigListener(func(old, current *model.Config)) string
- func (StaticConfigService) AsymmetricSigningKey() *ecdsa.PrivateKey
- func (s StaticConfigService) Config() *model.Config
- func (StaticConfigService) PostActionCookieSecret() []byte
- func (StaticConfigService) RemoveConfigListener(string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInterface ¶
GetInterface returns the best match of an interface that might be listening on a given port. This is helpful when a test is being run in a CI environment under docker.
func ReadTestFile ¶
Types ¶
type StaticConfigService ¶
func (StaticConfigService) AddConfigListener ¶
func (StaticConfigService) AddConfigListener(func(old, current *model.Config)) string
func (StaticConfigService) AsymmetricSigningKey ¶
func (StaticConfigService) AsymmetricSigningKey() *ecdsa.PrivateKey
func (StaticConfigService) Config ¶
func (s StaticConfigService) Config() *model.Config
func (StaticConfigService) PostActionCookieSecret ¶
func (StaticConfigService) PostActionCookieSecret() []byte
func (StaticConfigService) RemoveConfigListener ¶
func (StaticConfigService) RemoveConfigListener(string)
Click to show internal directories.
Click to hide internal directories.