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

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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Defines a client whose requests should be monitored.

func (*ClientMonitoringConfig) Descriptor Uses

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

func (*ClientMonitoringConfig) GetIpWhitelist Uses

func (m *ClientMonitoringConfig) GetIpWhitelist() string

func (*ClientMonitoringConfig) GetLabel Uses

func (m *ClientMonitoringConfig) GetLabel() string

func (*ClientMonitoringConfig) ProtoMessage Uses

func (*ClientMonitoringConfig) ProtoMessage()

func (*ClientMonitoringConfig) Reset Uses

func (m *ClientMonitoringConfig) Reset()

func (*ClientMonitoringConfig) String Uses

func (m *ClientMonitoringConfig) String() string

func (*ClientMonitoringConfig) XXX_DiscardUnknown Uses

func (m *ClientMonitoringConfig) XXX_DiscardUnknown()

func (*ClientMonitoringConfig) XXX_Marshal Uses

func (m *ClientMonitoringConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientMonitoringConfig) XXX_Merge Uses

func (m *ClientMonitoringConfig) XXX_Merge(src proto.Message)

func (*ClientMonitoringConfig) XXX_Size Uses

func (m *ClientMonitoringConfig) XXX_Size() int

func (*ClientMonitoringConfig) XXX_Unmarshal Uses

func (m *ClientMonitoringConfig) XXX_Unmarshal(b []byte) error

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"`
    XXX_NoUnkeyedLiteral   struct{}                  `json:"-"`
    XXX_unrecognized       []byte                    `json:"-"`
    XXX_sizecache          int32                     `json:"-"`
}

Defines a list of clients whose requests should be monitored.

func (*ClientMonitoringWhitelist) Descriptor Uses

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

func (*ClientMonitoringWhitelist) GetClientMonitoringConfig Uses

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

func (*ClientMonitoringWhitelist) ProtoMessage Uses

func (*ClientMonitoringWhitelist) ProtoMessage()

func (*ClientMonitoringWhitelist) Reset Uses

func (m *ClientMonitoringWhitelist) Reset()

func (*ClientMonitoringWhitelist) String Uses

func (m *ClientMonitoringWhitelist) String() string

func (*ClientMonitoringWhitelist) XXX_DiscardUnknown Uses

func (m *ClientMonitoringWhitelist) XXX_DiscardUnknown()

func (*ClientMonitoringWhitelist) XXX_Marshal Uses

func (m *ClientMonitoringWhitelist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientMonitoringWhitelist) XXX_Merge Uses

func (m *ClientMonitoringWhitelist) XXX_Merge(src proto.Message)

func (*ClientMonitoringWhitelist) XXX_Size Uses

func (m *ClientMonitoringWhitelist) XXX_Size() int

func (*ClientMonitoringWhitelist) XXX_Unmarshal Uses

func (m *ClientMonitoringWhitelist) XXX_Unmarshal(b []byte) error

Package api imports 3 packages (graph) and is imported by 1 packages. Updated 2020-04-06. Refresh now. Tools for package owners.