proto

package
v0.10.6 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 3 Imported by: 6

Documentation

Index

Constants

View Source
const Default_Options_ExpirationSec int32 = 300
View Source
const Default_Options_ReEvalSec int32 = 10
View Source
const Default_Options_RuntimeconfigName string = "lame-duck-targets"

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	// How often to check for lame-ducked targets
	ReEvalSec *int32 `protobuf:"varint,1,opt,name=re_eval_sec,json=reEvalSec,def=10" json:"re_eval_sec,omitempty"`
	// Runtime config project. If running on GCE, this defaults to the project
	// containing the VM.
	RuntimeconfigProject *string `protobuf:"bytes,2,opt,name=runtimeconfig_project,json=runtimeconfigProject" json:"runtimeconfig_project,omitempty"`
	// Lame duck targets runtime config name. An operator will create a variable
	// here to mark a target as lame-ducked.
	RuntimeconfigName *string `` /* 127-byte string literal not displayed */
	// Lame duck targets pubsub topic name. An operator will create a message
	// here to mark a target as lame-ducked.
	PubsubTopic *string `protobuf:"bytes,7,opt,name=pubsub_topic,json=pubsubTopic" json:"pubsub_topic,omitempty"`
	// Lame duck expiration time. We ignore variables (targets) that have been
	// updated more than these many seconds ago. This is a safety mechanism for
	// failing to cleanup. Also, the idea is that if a target has actually
	// disappeared, automatic targets expansion will take care of that some time
	// during this expiration period.
	ExpirationSec *int32 `protobuf:"varint,4,opt,name=expiration_sec,json=expirationSec,def=300" json:"expiration_sec,omitempty"`
	// Use an RDS client to get lame-duck-targets.
	// This option is always true now and will be removed after v0.10.5.
	UseRds *bool `protobuf:"varint,5,opt,name=use_rds,json=useRds" json:"use_rds,omitempty"`
	// RDS server address. If not specified, RDS server address from the global
	// options is used, which in turn defaults to localhost:9314.
	RdsServerAddress     *string  `protobuf:"bytes,6,opt,name=rds_server_address,json=rdsServerAddress" json:"rds_server_address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Options) Descriptor

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

func (*Options) GetExpirationSec

func (m *Options) GetExpirationSec() int32

func (*Options) GetPubsubTopic added in v0.10.5

func (m *Options) GetPubsubTopic() string

func (*Options) GetRdsServerAddress added in v0.10.5

func (m *Options) GetRdsServerAddress() string

func (*Options) GetReEvalSec

func (m *Options) GetReEvalSec() int32

func (*Options) GetRuntimeconfigName

func (m *Options) GetRuntimeconfigName() string

func (*Options) GetRuntimeconfigProject

func (m *Options) GetRuntimeconfigProject() string

func (*Options) GetUseRds added in v0.10.2

func (m *Options) GetUseRds() bool

func (*Options) ProtoMessage

func (*Options) ProtoMessage()

func (*Options) Reset

func (m *Options) Reset()

func (*Options) String

func (m *Options) String() string

func (*Options) XXX_DiscardUnknown

func (m *Options) XXX_DiscardUnknown()

func (*Options) XXX_Marshal

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

func (*Options) XXX_Merge

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

func (*Options) XXX_Size

func (m *Options) XXX_Size() int

func (*Options) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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