Versions in this module Expand all Collapse all v0 v0.2.0 Jul 10, 2024 Changes in this version + type EffectiveTimeRange struct + DaysOfMonth []int + DaysOfWeek []int + EndTime string + Months []int + StartTime string + func (in *EffectiveTimeRange) DeepCopy() *EffectiveTimeRange + func (in *EffectiveTimeRange) DeepCopyInto(out *EffectiveTimeRange) + type FaultInjection struct + Spec FaultInjectionSpec + Status FaultInjectionStatus + func (in *FaultInjection) DeepCopy() *FaultInjection + func (in *FaultInjection) DeepCopyInto(out *FaultInjection) + func (in *FaultInjection) DeepCopyObject() runtime.Object + type FaultInjectionList struct + Items []FaultInjection + func (in *FaultInjectionList) DeepCopy() *FaultInjectionList + func (in *FaultInjectionList) DeepCopyInto(out *FaultInjectionList) + func (in *FaultInjectionList) DeepCopyObject() runtime.Object + type FaultInjectionSpec struct + Disabled bool + HTTPFaultInjections []*HTTPFaultInjection + Selector *metav1.LabelSelector + func (in *FaultInjectionSpec) DeepCopy() *FaultInjectionSpec + func (in *FaultInjectionSpec) DeepCopyInto(out *FaultInjectionSpec) + type FaultInjectionState string + type FaultInjectionStatus struct + CurrentSpecHash string + LastUpdatedTime *metav1.Time + ObservedGeneration int64 + TargetStatus []*FaultInjectionTargetStatus + func (in *FaultInjectionStatus) DeepCopy() *FaultInjectionStatus + func (in *FaultInjectionStatus) DeepCopyInto(out *FaultInjectionStatus) + type FaultInjectionTargetStatus struct + ConfigHash string + Message string + PodIP string + PodName string + func (in *FaultInjectionTargetStatus) DeepCopy() *FaultInjectionTargetStatus + func (in *FaultInjectionTargetStatus) DeepCopyInto(out *FaultInjectionTargetStatus) + type HTTPFaultInjection struct + Abort *HTTPFaultInjectionAbort + Delay *HTTPFaultInjectionDelay + EffectiveTime *EffectiveTimeRange + Match *Match + Name string + func (in *HTTPFaultInjection) DeepCopy() *HTTPFaultInjection + func (in *HTTPFaultInjection) DeepCopyInto(out *HTTPFaultInjection) + type HTTPFaultInjectionAbort struct + HttpStatus int + Percent string + func (in *HTTPFaultInjectionAbort) DeepCopy() *HTTPFaultInjectionAbort + func (in *HTTPFaultInjectionAbort) DeepCopyInto(out *HTTPFaultInjectionAbort) + type HTTPFaultInjectionDelay struct + FixedDelay string + Percent string + func (in *HTTPFaultInjectionDelay) DeepCopy() *HTTPFaultInjectionDelay + func (in *HTTPFaultInjectionDelay) DeepCopyInto(out *HTTPFaultInjectionDelay) + type HttpHeader struct + Name string + Value string + func (in *HttpHeader) DeepCopy() *HttpHeader + func (in *HttpHeader) DeepCopyInto(out *HttpHeader) + type HttpMatch struct + Headers []*HttpHeader + Host *MatchContent + Method string + Path *MatchContent + func (in *HttpMatch) DeepCopy() *HttpMatch + func (in *HttpMatch) DeepCopyInto(out *HttpMatch) + type Match struct + HttpMatch []*HttpMatch + Resources []*ResourceMatch + func (in *Match) DeepCopy() *Match + func (in *Match) DeepCopyInto(out *Match) + type MatchContent struct + Exact string + Regex string + func (in *MatchContent) DeepCopy() *MatchContent + func (in *MatchContent) DeepCopyInto(out *MatchContent) + type ResourceMatch struct + ApiGroups []string + Namespaces []string + Resources []string + Verbs []string + func (in *ResourceMatch) DeepCopy() *ResourceMatch + func (in *ResourceMatch) DeepCopyInto(out *ResourceMatch) + type StringMatchType string v0.1.3-alpha.2 Jul 10, 2024 v0.1.3-alpha.1 Jul 8, 2024 v0.1.3-alpha.0 Jan 11, 2024 v0.1.2 Dec 29, 2023 Changes in this version + const NameOfManager + const ShardingConfigInjectedKey + const SignalAll + var AddToScheme = SchemeBuilder.AddToScheme + var GroupVersion = schema.GroupVersion + var SchemeBuilder = &scheme.Builder + var SchemeGroupVersion = GroupVersion + func Resource(resource string) schema.GroupResource + type AutoConfig struct + EveryShardReplicas int + ShardingSize int + func (in *AutoConfig) DeepCopy() *AutoConfig + func (in *AutoConfig) DeepCopyInto(out *AutoConfig) + type BreakerState string + var BreakerStatusClosed BreakerState = "Closed" + var BreakerStatusOpened BreakerState = "Opened" + type Bucket struct + Burst uint32 + Interval string + Limit uint32 + func (in *Bucket) DeepCopy() *Bucket + func (in *Bucket) DeepCopyInto(out *Bucket) + type CanaryConfig struct + InNamespaces []string + InShardHash []string + Replicas *int + func (in *CanaryConfig) DeepCopy() *CanaryConfig + func (in *CanaryConfig) DeepCopyInto(out *CanaryConfig) + type CircuitBreaker struct + Spec CircuitBreakerSpec + Status CircuitBreakerStatus + func (in *CircuitBreaker) DeepCopy() *CircuitBreaker + func (in *CircuitBreaker) DeepCopyInto(out *CircuitBreaker) + func (in *CircuitBreaker) DeepCopyObject() runtime.Object + type CircuitBreakerList struct + Items []CircuitBreaker + func (in *CircuitBreakerList) DeepCopy() *CircuitBreakerList + func (in *CircuitBreakerList) DeepCopyInto(out *CircuitBreakerList) + func (in *CircuitBreakerList) DeepCopyObject() runtime.Object + type CircuitBreakerSpec struct + RateLimitings []*Limiting + Selector *metav1.LabelSelector + TrafficInterceptRules []*TrafficInterceptRule + func (in *CircuitBreakerSpec) DeepCopy() *CircuitBreakerSpec + func (in *CircuitBreakerSpec) DeepCopyInto(out *CircuitBreakerSpec) + type CircuitBreakerStatus struct + CurrentSpecHash string + LastUpdatedTime *metav1.Time + ObservedGeneration int64 + TargetStatus []*TargetStatus + func (in *CircuitBreakerStatus) DeepCopy() *CircuitBreakerStatus + func (in *CircuitBreakerStatus) DeepCopyInto(out *CircuitBreakerStatus) + type ContentType string + const ContentTypeNormal + const ContentTypeRegexp + type InterceptType string + const InterceptTypeBlacklist + const InterceptTypeWhitelist + type Limiting struct + Bucket Bucket + Name string + Properties map[string]string + RecoverPolicy *RecoverPolicy + ResourceRules []ResourceRule + RestRules []RestRule + TriggerPolicy TriggerPolicy + func (in *Limiting) DeepCopy() *Limiting + func (in *Limiting) DeepCopyInto(out *Limiting) + type LimitingSnapshot struct + LastTransitionTime *metav1.Time + Name string + State BreakerState + func (in *LimitingSnapshot) DeepCopy() *LimitingSnapshot + func (in *LimitingSnapshot) DeepCopyInto(out *LimitingSnapshot) + type ManagerState struct + Spec ManagerStateSpec + Status ManagerStateStatus + func (in *ManagerState) DeepCopy() *ManagerState + func (in *ManagerState) DeepCopyInto(out *ManagerState) + func (in *ManagerState) DeepCopyObject() runtime.Object + type ManagerStateEndpoint struct + Leader bool + Name string + PodIP string + func (in *ManagerStateEndpoint) DeepCopy() *ManagerStateEndpoint + func (in *ManagerStateEndpoint) DeepCopyInto(out *ManagerStateEndpoint) + type ManagerStateEndpoints []ManagerStateEndpoint + func (e ManagerStateEndpoints) Len() int + func (e ManagerStateEndpoints) Less(i, j int) bool + func (e ManagerStateEndpoints) Swap(i, j int) + func (in ManagerStateEndpoints) DeepCopy() ManagerStateEndpoints + func (in ManagerStateEndpoints) DeepCopyInto(out *ManagerStateEndpoints) + type ManagerStateList struct + Items []ManagerState + func (in *ManagerStateList) DeepCopy() *ManagerStateList + func (in *ManagerStateList) DeepCopyInto(out *ManagerStateList) + func (in *ManagerStateList) DeepCopyObject() runtime.Object + type ManagerStatePorts struct + GrpcLeaderElectionPort int + GrpcNonLeaderElectionPort int + func (in *ManagerStatePorts) DeepCopy() *ManagerStatePorts + func (in *ManagerStatePorts) DeepCopyInto(out *ManagerStatePorts) + type ManagerStateSpec struct + func (in *ManagerStateSpec) DeepCopy() *ManagerStateSpec + func (in *ManagerStateSpec) DeepCopyInto(out *ManagerStateSpec) + type ManagerStateStatus struct + Endpoints ManagerStateEndpoints + Namespace string + Ports *ManagerStatePorts + UpdateTimestamp *metav1.Time + func (in *ManagerStateStatus) DeepCopy() *ManagerStateStatus + func (in *ManagerStateStatus) DeepCopyInto(out *ManagerStateStatus) + type ManualConfig struct + ID int + Numbers []string + func (in *ManualConfig) DeepCopy() *ManualConfig + func (in *ManualConfig) DeepCopyInto(out *ManualConfig) + type ObjectLimiter struct + RelatedResources []ResourceGroup + Selector *metav1.LabelSelector + func (in *ObjectLimiter) DeepCopy() *ObjectLimiter + func (in *ObjectLimiter) DeepCopyInto(out *ObjectLimiter) + type RecoverPolicy struct + RecoverType RecoverType + SleepingWindowSize *string + func (in *RecoverPolicy) DeepCopy() *RecoverPolicy + func (in *RecoverPolicy) DeepCopyInto(out *RecoverPolicy) + type RecoverType string + const RecoverPolicyManual + const RecoverPolicySleepingWindow + type ResourceGroup struct + APIGroups []string + Resources []string + func (in *ResourceGroup) DeepCopy() *ResourceGroup + func (in *ResourceGroup) DeepCopyInto(out *ResourceGroup) + type ResourceRule struct + ApiGroups []string + Namespaces []string + Resources []string + Verbs []string + func (in *ResourceRule) DeepCopy() *ResourceRule + func (in *ResourceRule) DeepCopyInto(out *ResourceRule) + type RestRule struct + Method string + URL string + func (in *RestRule) DeepCopy() *RestRule + func (in *RestRule) DeepCopyInto(out *RestRule) + type RootStatus struct + Child []string + func (in *RootStatus) DeepCopy() *RootStatus + func (in *RootStatus) DeepCopyInto(out *RootStatus) + type ShardingConfig struct + Spec ShardingConfigSpec + Status ShardingConfigStatus + func (in *ShardingConfig) DeepCopy() *ShardingConfig + func (in *ShardingConfig) DeepCopyInto(out *ShardingConfig) + func (in *ShardingConfig) DeepCopyObject() runtime.Object + type ShardingConfigControllerConfiguration struct + LeaderElectionName string + func (in *ShardingConfigControllerConfiguration) DeepCopy() *ShardingConfigControllerConfiguration + func (in *ShardingConfigControllerConfiguration) DeepCopyInto(out *ShardingConfigControllerConfiguration) + type ShardingConfigList struct + Items []ShardingConfig + func (in *ShardingConfigList) DeepCopy() *ShardingConfigList + func (in *ShardingConfigList) DeepCopyInto(out *ShardingConfigList) + func (in *ShardingConfigList) DeepCopyObject() runtime.Object + type ShardingConfigRestConfigOverrides struct + UserAgentOrPrefix *string + func (in *ShardingConfigRestConfigOverrides) DeepCopy() *ShardingConfigRestConfigOverrides + func (in *ShardingConfigRestConfigOverrides) DeepCopyInto(out *ShardingConfigRestConfigOverrides) + type ShardingConfigRoot struct + Auto *AutoConfig + Canary *CanaryConfig + Disable *bool + Prefix string + ResourceSelector []ObjectLimiter + TargetStatefulSet string + func (in *ShardingConfigRoot) DeepCopy() *ShardingConfigRoot + func (in *ShardingConfigRoot) DeepCopyInto(out *ShardingConfigRoot) + type ShardingConfigSpec struct + Controller *ShardingConfigControllerConfiguration + Limits []ObjectLimiter + Root *ShardingConfigRoot + Selector *metav1.LabelSelector + Webhook *ShardingConfigWebhookConfiguration + func (in *ShardingConfigSpec) DeepCopy() *ShardingConfigSpec + func (in *ShardingConfigSpec) DeepCopyInto(out *ShardingConfigSpec) + type ShardingConfigStatus struct + Root RootStatus + func (in *ShardingConfigStatus) DeepCopy() *ShardingConfigStatus + func (in *ShardingConfigStatus) DeepCopyInto(out *ShardingConfigStatus) + type ShardingConfigWebhookConfiguration struct + CertDir string + Port int + func (in *ShardingConfigWebhookConfiguration) DeepCopy() *ShardingConfigWebhookConfiguration + func (in *ShardingConfigWebhookConfiguration) DeepCopyInto(out *ShardingConfigWebhookConfiguration) + type TargetStatus struct + ConfigHash string + LimitingSnapshots []*LimitingSnapshot + Message string + PodIP string + PodName string + func (in *TargetStatus) DeepCopy() *TargetStatus + func (in *TargetStatus) DeepCopyInto(out *TargetStatus) + type TrafficInterceptRule struct + ContentType ContentType + Contents []string + InterceptType InterceptType + Methods []string + Name string + func (in *TrafficInterceptRule) DeepCopy() *TrafficInterceptRule + func (in *TrafficInterceptRule) DeepCopyInto(out *TrafficInterceptRule) + type TriggerPolicy string + const TriggerPolicyForceClosed + const TriggerPolicyForceOpened + const TriggerPolicyLimiterOnly + const TriggerPolicyNormal