proto

package
v0.10.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const Default_ClientConf_ReEvalSec int32 = 30
View Source
const Default_ClientConf_ServerAddr string = "localhost:9314"

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientConf

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:"-"`
}

ClientConf represents resource discovery service (RDS) based targets. Next tag: 5

func (*ClientConf) Descriptor

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

func (*ClientConf) GetReEvalSec

func (m *ClientConf) GetReEvalSec() int32

func (*ClientConf) GetRequest

func (m *ClientConf) GetRequest() *proto1.ListResourcesRequest

func (*ClientConf) GetServerAddr

func (m *ClientConf) GetServerAddr() string

func (*ClientConf) GetTlsCertFile

func (m *ClientConf) GetTlsCertFile() string

func (*ClientConf) ProtoMessage

func (*ClientConf) ProtoMessage()

func (*ClientConf) Reset

func (m *ClientConf) Reset()

func (*ClientConf) String

func (m *ClientConf) String() string

func (*ClientConf) XXX_DiscardUnknown

func (m *ClientConf) XXX_DiscardUnknown()

func (*ClientConf) XXX_Marshal

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

func (*ClientConf) XXX_Merge

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

func (*ClientConf) XXX_Size

func (m *ClientConf) XXX_Size() int

func (*ClientConf) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL