Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { ReadinessProbe ReadinessProbe Port uint16 ManagementPort uint16 ServiceName string CertPath string KeyPath string SocketPath string CORS []string Options []connect.HandlerOption }
type IFlagEvaluationService ¶ added in v0.4.5
type IFlagEvaluationService interface { Serve(ctx context.Context, svcConf Configuration) error Notify(n Notification) Shutdown() }
IFlagEvaluationService implementations define handlers for a particular transport, which call the IEvaluator implementation.
type IKubeSyncService ¶ added in v0.4.5
type IKubeSyncService interface {
Serve(ctx context.Context, svcConf Configuration) error
}
IFlagEvaluationService implementations define handlers for a particular transport, which call the IEvaluator implementation.
type Notification ¶
type Notification struct { Type NotificationType `json:"type"` Data map[string]interface{} `json:"data"` }
type NotificationType ¶
type NotificationType string
const ( ConfigurationChange NotificationType = "configuration_change" Shutdown NotificationType = "provider_shutdown" ProviderReady NotificationType = "provider_ready" KeepAlive NotificationType = "keep_alive" )
type ReadinessProbe ¶
type ReadinessProbe func() bool
Click to show internal directories.
Click to hide internal directories.