Documentation ¶
Overview ¶
+kubebuilder:validation:Optional
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DistCacheConfig ¶
type DistCacheConfig struct { // BindAddr denotes the address that DistCache will bind to for communication with other peer nodes. BindAddr string `json:"bind_addr" default:":3320" validate:"hostname_port"` // Address to bind [`memberlist`](https://github.com/hashicorp/memberlist) server to. MemberlistBindAddr string `json:"memberlist_bind_addr" default:":3322" validate:"hostname_port"` // Address of [`memberlist`](https://github.com/hashicorp/memberlist) to advertise to other cluster members. Used for NAT traversal if provided. MemberlistAdvertiseAddr string `json:"memberlist_advertise_addr" validate:"omitempty,hostname_port"` // ReplicaCount is 1 by default. ReplicaCount int `json:"replica_count" default:"1"` }
DistCacheConfig configures distributed cache that holds per-label counters in distributed rate limiters. swagger:model +kubebuilder:object:generate=true
func (*DistCacheConfig) DeepCopy ¶
func (in *DistCacheConfig) DeepCopy() *DistCacheConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DistCacheConfig.
func (*DistCacheConfig) DeepCopyInto ¶
func (in *DistCacheConfig) DeepCopyInto(out *DistCacheConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Click to show internal directories.
Click to hide internal directories.