This repository has been archived by the owner on Nov 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 152
/
config.pb.go
125 lines (109 loc) · 5.09 KB
/
config.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: github.com/google/cloudprober/rds/client/proto/config.proto
package proto
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
proto1 "github.com/google/cloudprober/rds/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// ClientConf represents resource discovery service (RDS) based targets.
// Next tag: 5
type ClientConf struct {
ServerAddr *string `protobuf:"bytes,1,opt,name=server_addr,json=serverAddr,def=localhost:9314" json:"server_addr,omitempty"`
// If tls_cert_file is provided, client uses the cert from that file to
// authenticate itself to the RDS server.
TlsCertFile *string `protobuf:"bytes,4,opt,name=tls_cert_file,json=tlsCertFile" json:"tls_cert_file,omitempty"`
Request *proto1.ListResourcesRequest `protobuf:"bytes,2,req,name=request" json:"request,omitempty"`
// How often targets should be evaluated. Any number less than or equal to 0
// will result in no target caching (targets will be reevaluated on demand).
// Note that individual target types may have their own caches implemented
// (specifically GCE instances/forwarding rules). This does not impact those
// caches.
ReEvalSec *int32 `protobuf:"varint,3,opt,name=re_eval_sec,json=reEvalSec,def=30" json:"re_eval_sec,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ClientConf) Reset() { *m = ClientConf{} }
func (m *ClientConf) String() string { return proto.CompactTextString(m) }
func (*ClientConf) ProtoMessage() {}
func (*ClientConf) Descriptor() ([]byte, []int) {
return fileDescriptor_f643da6bc07803a4, []int{0}
}
func (m *ClientConf) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ClientConf.Unmarshal(m, b)
}
func (m *ClientConf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ClientConf.Marshal(b, m, deterministic)
}
func (m *ClientConf) XXX_Merge(src proto.Message) {
xxx_messageInfo_ClientConf.Merge(m, src)
}
func (m *ClientConf) XXX_Size() int {
return xxx_messageInfo_ClientConf.Size(m)
}
func (m *ClientConf) XXX_DiscardUnknown() {
xxx_messageInfo_ClientConf.DiscardUnknown(m)
}
var xxx_messageInfo_ClientConf proto.InternalMessageInfo
const Default_ClientConf_ServerAddr string = "localhost:9314"
const Default_ClientConf_ReEvalSec int32 = 30
func (m *ClientConf) GetServerAddr() string {
if m != nil && m.ServerAddr != nil {
return *m.ServerAddr
}
return Default_ClientConf_ServerAddr
}
func (m *ClientConf) GetTlsCertFile() string {
if m != nil && m.TlsCertFile != nil {
return *m.TlsCertFile
}
return ""
}
func (m *ClientConf) GetRequest() *proto1.ListResourcesRequest {
if m != nil {
return m.Request
}
return nil
}
func (m *ClientConf) GetReEvalSec() int32 {
if m != nil && m.ReEvalSec != nil {
return *m.ReEvalSec
}
return Default_ClientConf_ReEvalSec
}
func init() {
proto.RegisterType((*ClientConf)(nil), "cloudprober.rds.ClientConf")
}
func init() {
proto.RegisterFile("github.com/google/cloudprober/rds/client/proto/config.proto", fileDescriptor_f643da6bc07803a4)
}
var fileDescriptor_f643da6bc07803a4 = []byte{
// 248 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x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