Versions in this module Expand all Collapse all v1 v1.0.0 Aug 25, 2023 Changes in this version + var ErrCacheInternal = errors.New("cache: internal error") + var ErrCacheNotFound = errors.New("cache: not found") + func ConvertTarget(t Target) evaluation.Target + type AuthAPIKey string + func NewAuthAPIKey(key string) AuthAPIKey + type AuthConfig struct + APIKey AuthAPIKey + EnvironmentID EnvironmentID + type AuthRequest struct + APIKey string + Target Target + type AuthResponse struct + AuthToken string + type Claims struct + ClusterIdentifier string + Environment string + type EnvironmentHealth struct + ID string + StreamStatus StreamStatus + type EnvironmentID string + func (a *EnvironmentID) MarshalBinary() ([]byte, error) + func (a *EnvironmentID) UnmarshalBinary(b []byte) error + type EvaluationsByFeatureRequest struct + EnvironmentID string + FeatureIdentifier string + TargetIdentifier string + type EvaluationsRequest struct + EnvironmentID string + TargetIdentifier string + type FeatureConfig struct + type FeatureConfigByIdentifierRequest struct + EnvironmentID string + Identifier string + type FeatureConfigRequest struct + EnvironmentID string + type FeatureFlag rest.FeatureConfig + func (f *FeatureFlag) MarshalBinary() ([]byte, error) + func (f *FeatureFlag) UnmarshalBinary(b []byte) error + type FeatureFlagKey string + func NewFeatureConfigKey(envID string, identifier string) FeatureFlagKey + func NewFeatureConfigsKey(envID string) FeatureFlagKey + type HealthResponse struct + CacheStatus string + Environments []EnvironmentHealth + type MetricsRequest struct + EnvironmentID string + type SDKClientMap struct + func NewSDKClientMap() *SDKClientMap + func (s *SDKClientMap) Copy() map[string]*harness.CfClient + func (s *SDKClientMap) Set(key string, value *harness.CfClient) + func (s *SDKClientMap) StreamConnected(key string) bool + type Segment rest.Segment + func (s *Segment) MarshalBinary() ([]byte, error) + func (s *Segment) UnmarshalBinary(b []byte) error + type SegmentKey string + func NewSegmentKey(envID string, identifier string) SegmentKey + func NewSegmentsKey(envID string) SegmentKey + type StreamRequest struct + APIKey string + type StreamResponse struct + GripChannel string + type StreamState string + const StreamStateConnected + const StreamStateDisconnected + const StreamStateInitializing + type StreamStatus struct + Since int64 + State StreamState + type Target struct + func (t *Target) MarshalBinary() ([]byte, error) + func (t *Target) UnmarshalBinary(b []byte) error + type TargetKey string + func NewTargetKey(envID string, identifier string) TargetKey + func NewTargetsKey(envID string) TargetKey + type TargetSegmentsByIdentifierRequest struct + EnvironmentID string + Identifier string + type TargetSegmentsRequest struct + EnvironmentID string + type Token struct + func NewToken(tokenString string, claims Claims) Token + func (t Token) Claims() Claims + func (t Token) TokenString() string