luci: go.chromium.org/luci/cipd/api/config/v1 Index | Files

package api

import "go.chromium.org/luci/cipd/api/config/v1"

Package api contains CIPD backend API definitions.

Index

Package Files

config.pb.go gen.go

Variables

var File_go_chromium_org_luci_cipd_api_config_v1_config_proto protoreflect.FileDescriptor

type ClientMonitoringConfig Uses

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 Uses

func (*ClientMonitoringConfig) Descriptor() ([]byte, []int)

Deprecated: Use ClientMonitoringConfig.ProtoReflect.Descriptor instead.

func (*ClientMonitoringConfig) GetIpWhitelist Uses

func (x *ClientMonitoringConfig) GetIpWhitelist() string

func (*ClientMonitoringConfig) GetLabel Uses

func (x *ClientMonitoringConfig) GetLabel() string

func (*ClientMonitoringConfig) ProtoMessage Uses

func (*ClientMonitoringConfig) ProtoMessage()

func (*ClientMonitoringConfig) ProtoReflect Uses

func (x *ClientMonitoringConfig) ProtoReflect() protoreflect.Message

func (*ClientMonitoringConfig) Reset Uses

func (x *ClientMonitoringConfig) Reset()

func (*ClientMonitoringConfig) String Uses

func (x *ClientMonitoringConfig) String() string

type ClientMonitoringWhitelist Uses

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 `protobuf:"bytes,1,rep,name=client_monitoring_config,json=clientMonitoringConfig,proto3" json:"client_monitoring_config,omitempty"`
    // contains filtered or unexported fields
}

Defines a list of clients whose requests should be monitored.

func (*ClientMonitoringWhitelist) Descriptor Uses

func (*ClientMonitoringWhitelist) Descriptor() ([]byte, []int)

Deprecated: Use ClientMonitoringWhitelist.ProtoReflect.Descriptor instead.

func (*ClientMonitoringWhitelist) GetClientMonitoringConfig Uses

func (x *ClientMonitoringWhitelist) GetClientMonitoringConfig() []*ClientMonitoringConfig

func (*ClientMonitoringWhitelist) ProtoMessage Uses

func (*ClientMonitoringWhitelist) ProtoMessage()

func (*ClientMonitoringWhitelist) ProtoReflect Uses

func (x *ClientMonitoringWhitelist) ProtoReflect() protoreflect.Message

func (*ClientMonitoringWhitelist) Reset Uses

func (x *ClientMonitoringWhitelist) Reset()

func (*ClientMonitoringWhitelist) String Uses

func (x *ClientMonitoringWhitelist) String() string

Package api imports 5 packages (graph) and is imported by 1 packages. Updated 2020-09-22. Refresh now. Tools for package owners.