Documentation ¶
Overview ¶
Package api contains CIPD backend API definitions.
Index ¶
- Variables
- type ClientMonitoringConfig
- func (*ClientMonitoringConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ClientMonitoringConfig) GetIpWhitelist() string
- func (x *ClientMonitoringConfig) GetLabel() string
- func (*ClientMonitoringConfig) ProtoMessage()
- func (x *ClientMonitoringConfig) ProtoReflect() protoreflect.Message
- func (x *ClientMonitoringConfig) Reset()
- func (x *ClientMonitoringConfig) String() string
- type ClientMonitoringWhitelist
- func (*ClientMonitoringWhitelist) Descriptor() ([]byte, []int)deprecated
- func (x *ClientMonitoringWhitelist) GetClientMonitoringConfig() []*ClientMonitoringConfig
- func (*ClientMonitoringWhitelist) ProtoMessage()
- func (x *ClientMonitoringWhitelist) ProtoReflect() protoreflect.Message
- func (x *ClientMonitoringWhitelist) Reset()
- func (x *ClientMonitoringWhitelist) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_go_chromium_org_luci_cipd_api_config_v1_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ClientMonitoringConfig ¶
type ClientMonitoringConfig struct { // Name of an IP whitelist in the auth service. If a request is received from // an IP matching this whitelist, it will be reported. IpWhitelist string `protobuf:"bytes,1,opt,name=ip_whitelist,json=ipWhitelist,proto3" json:"ip_whitelist,omitempty"` // Monitoring label to apply when reporting metrics for this client. Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
Defines a client whose requests should be monitored.
func (*ClientMonitoringConfig) Descriptor
deprecated
func (*ClientMonitoringConfig) Descriptor() ([]byte, []int)
Deprecated: Use ClientMonitoringConfig.ProtoReflect.Descriptor instead.
func (*ClientMonitoringConfig) GetIpWhitelist ¶
func (x *ClientMonitoringConfig) GetIpWhitelist() string
func (*ClientMonitoringConfig) GetLabel ¶
func (x *ClientMonitoringConfig) GetLabel() string
func (*ClientMonitoringConfig) ProtoMessage ¶
func (*ClientMonitoringConfig) ProtoMessage()
func (*ClientMonitoringConfig) ProtoReflect ¶
func (x *ClientMonitoringConfig) ProtoReflect() protoreflect.Message
func (*ClientMonitoringConfig) Reset ¶
func (x *ClientMonitoringConfig) Reset()
func (*ClientMonitoringConfig) String ¶
func (x *ClientMonitoringConfig) String() string
type ClientMonitoringWhitelist ¶
type ClientMonitoringWhitelist struct { // A list of configurations for clients to monitor. When a request is // received, the list is traversed in order and the first match is the // monitoring config to use. If none of the configs match the request is // unmonitored. ClientMonitoringConfig []*ClientMonitoringConfig `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
Defines a list of clients whose requests should be monitored.
func (*ClientMonitoringWhitelist) Descriptor
deprecated
func (*ClientMonitoringWhitelist) Descriptor() ([]byte, []int)
Deprecated: Use ClientMonitoringWhitelist.ProtoReflect.Descriptor instead.
func (*ClientMonitoringWhitelist) GetClientMonitoringConfig ¶
func (x *ClientMonitoringWhitelist) GetClientMonitoringConfig() []*ClientMonitoringConfig
func (*ClientMonitoringWhitelist) ProtoMessage ¶
func (*ClientMonitoringWhitelist) ProtoMessage()
func (*ClientMonitoringWhitelist) ProtoReflect ¶
func (x *ClientMonitoringWhitelist) ProtoReflect() protoreflect.Message
func (*ClientMonitoringWhitelist) Reset ¶
func (x *ClientMonitoringWhitelist) Reset()
func (*ClientMonitoringWhitelist) String ¶
func (x *ClientMonitoringWhitelist) String() string
Click to show internal directories.
Click to hide internal directories.