Documentation ¶
Overview ¶
Package config is a generated protocol buffer package.
It is generated from these files:
mixer/adapter/memquota/config/config.proto
It has these top-level messages:
Params
Index ¶
- Variables
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (this *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- type Params_Override
- func (*Params_Override) Descriptor() ([]byte, []int)
- func (m *Params_Override) GetDimensions() map[string]string
- func (m *Params_Override) GetMaxAmount() int64
- func (m *Params_Override) GetValidDuration() time.Duration
- func (m *Params_Override) Marshal() (dAtA []byte, err error)
- func (m *Params_Override) MarshalTo(dAtA []byte) (int, error)
- func (*Params_Override) ProtoMessage()
- func (m *Params_Override) Reset()
- func (m *Params_Override) Size() (n int)
- func (this *Params_Override) String() string
- func (m *Params_Override) Unmarshal(dAtA []byte) error
- type Params_Quota
- func (*Params_Quota) Descriptor() ([]byte, []int)
- func (m *Params_Quota) GetMaxAmount() int64
- func (m *Params_Quota) GetName() string
- func (m *Params_Quota) GetOverrides() []Params_Override
- func (m *Params_Quota) GetValidDuration() time.Duration
- func (m *Params_Quota) Marshal() (dAtA []byte, err error)
- func (m *Params_Quota) MarshalTo(dAtA []byte) (int, error)
- func (*Params_Quota) ProtoMessage()
- func (m *Params_Quota) Reset()
- func (m *Params_Quota) Size() (n int)
- func (this *Params_Quota) String() string
- func (m *Params_Quota) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthConfig = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowConfig = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct { // The set of known quotas. Quotas []Params_Quota `protobuf:"bytes,1,rep,name=quotas" json:"quotas"` // Minimum number of seconds that deduplication is possible for a given operation. MinDeduplicationDuration time.Duration `` /* 130-byte string literal not displayed */ }
func (*Params) Descriptor ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
type Params_Override ¶
type Params_Override struct { // The specific dimensions for which this override applies. // String representation of instance dimensions is used to check against configured dimensions. Dimensions map[string]string `` /* 154-byte string literal not displayed */ // The upper limit for this quota. MaxAmount int64 `protobuf:"varint,2,opt,name=max_amount,json=maxAmount,proto3" json:"max_amount,omitempty"` // The amount of time allocated quota remains valid before it is // automatically released. This is only meaningful for rate limit // quotas, otherwise the value must be zero. ValidDuration time.Duration `protobuf:"bytes,3,opt,name=valid_duration,json=validDuration,stdduration" json:"valid_duration"` }
func (*Params_Override) Descriptor ¶
func (*Params_Override) Descriptor() ([]byte, []int)
func (*Params_Override) GetDimensions ¶
func (m *Params_Override) GetDimensions() map[string]string
func (*Params_Override) GetMaxAmount ¶
func (m *Params_Override) GetMaxAmount() int64
func (*Params_Override) GetValidDuration ¶
func (m *Params_Override) GetValidDuration() time.Duration
func (*Params_Override) Marshal ¶
func (m *Params_Override) Marshal() (dAtA []byte, err error)
func (*Params_Override) ProtoMessage ¶
func (*Params_Override) ProtoMessage()
func (*Params_Override) Reset ¶
func (m *Params_Override) Reset()
func (*Params_Override) Size ¶
func (m *Params_Override) Size() (n int)
func (*Params_Override) String ¶
func (this *Params_Override) String() string
func (*Params_Override) Unmarshal ¶
func (m *Params_Override) Unmarshal(dAtA []byte) error
type Params_Quota ¶
type Params_Quota struct { // The name of the quota Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The upper limit for this quota. MaxAmount int64 `protobuf:"varint,2,opt,name=max_amount,json=maxAmount,proto3" json:"max_amount,omitempty"` // The amount of time allocated quota remains valid before it is // automatically released. This is only meaningful for rate limit // quotas, otherwise the value must be zero. ValidDuration time.Duration `protobuf:"bytes,3,opt,name=valid_duration,json=validDuration,stdduration" json:"valid_duration"` // Overrides associated with this quota. // The first matching override is applied. Overrides []Params_Override `protobuf:"bytes,4,rep,name=overrides" json:"overrides"` }
func (*Params_Quota) Descriptor ¶
func (*Params_Quota) Descriptor() ([]byte, []int)
func (*Params_Quota) GetMaxAmount ¶
func (m *Params_Quota) GetMaxAmount() int64
func (*Params_Quota) GetName ¶
func (m *Params_Quota) GetName() string
func (*Params_Quota) GetOverrides ¶
func (m *Params_Quota) GetOverrides() []Params_Override
func (*Params_Quota) GetValidDuration ¶
func (m *Params_Quota) GetValidDuration() time.Duration
func (*Params_Quota) Marshal ¶
func (m *Params_Quota) Marshal() (dAtA []byte, err error)
func (*Params_Quota) ProtoMessage ¶
func (*Params_Quota) ProtoMessage()
func (*Params_Quota) Reset ¶
func (m *Params_Quota) Reset()
func (*Params_Quota) Size ¶
func (m *Params_Quota) Size() (n int)
func (*Params_Quota) String ¶
func (this *Params_Quota) String() string
func (*Params_Quota) Unmarshal ¶
func (m *Params_Quota) Unmarshal(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.