Discover Packages
github.com/szymongib/kyma
components
console-backend-service
internal
domain
application
gateway
package
Version:
v0.0.0-...-affaa53
Opens a new window with list of versions in this module.
Published: Jun 28, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Config struct {
StatusRefreshPeriod time .Duration `envconfig:"default=15s"`
StatusCallTimeout time .Duration `envconfig:"default=500ms"`
IntegrationNamespace string
}
Service gives a functionality to provide gateway status. It hides implementation details
and exports necessary methods.
func (svc *Service ) Start(stopCh <-chan struct{})
type ServiceData struct {
Host string
ApplicationName string
}
const (
StatusNotServing Status = "NotServing"
StatusServing Status = "Serving"
StatusNotConfigured Status = "GatewayNotConfigured"
)
Source Files
¶
Directories
¶
Code generated by mockery v1.0.0
Code generated by mockery v1.0.0
Click to show internal directories.
Click to hide internal directories.