badoo_phproxyd

package
v0.0.0-...-bcffac6 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2016 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package badoo_phproxyd is a generated protocol buffer package.

It is generated from these files:

phproxyd-config.proto

It has these top-level messages:

PhproxydConfig

Package badoo_phproxyd is a generated protocol buffer package.

It is generated from these files:

phproxyd.proto

It has these top-level messages:

TagStatT
TagRrdT
ResponseGeneric
RequestPing
RequestRrd
RequestStats
ResponsePing
ResponseRrd
ResponseStats
RequestRun
RequestSoftRun
ResponseSoftRun
RequestCheck
RequestSoftCheck
RequestFree
RequestSoftFree
ResponseCheck
SoftCheckT
ResponseSoftCheck
RequestTerminate

Index

Constants

View Source
const Default_RequestRun_FreeAfterRun bool = true

Variables

View Source
var Errno_name = map[int32]string{
	1:  "ERRNO_GENERIC",
	2:  "ERRNO_RUN_FAILED",
	3:  "ERRNO_ALREADY_RUNNING",
	4:  "ERRNO_NOT_FOUND",
	5:  "ERRNO_WORKING",
	6:  "ERRNO_NO_MEMORY",
	7:  "ERRNO_SUCCESS_FINISHED",
	8:  "ERRNO_FAILED_FINISHED",
	9:  "ERRNO_WAIT_FOR_FREE",
	10: "ERRNO_START_CHILD_FAILED",
}
View Source
var Errno_value = map[string]int32{
	"ERRNO_GENERIC":            1,
	"ERRNO_RUN_FAILED":         2,
	"ERRNO_ALREADY_RUNNING":    3,
	"ERRNO_NOT_FOUND":          4,
	"ERRNO_WORKING":            5,
	"ERRNO_NO_MEMORY":          6,
	"ERRNO_SUCCESS_FINISHED":   7,
	"ERRNO_FAILED_FINISHED":    8,
	"ERRNO_WAIT_FOR_FREE":      9,
	"ERRNO_START_CHILD_FAILED": 10,
}
View Source
var PhproxydStatusT_name = map[int32]string{
	1: "STATUS_OK",
	2: "STATUS_FAILED",
}
View Source
var PhproxydStatusT_value = map[string]int32{
	"STATUS_OK":     1,
	"STATUS_FAILED": 2,
}
View Source
var RequestMsgid_gpbrpc_name = map[uint32]string{
	1:  "request_rrd",
	2:  "request_ping",
	3:  "request_stats",
	4:  "request_run",
	5:  "request_check",
	6:  "request_free",
	7:  "request_terminate",
	8:  "request_soft_run",
	9:  "request_soft_check",
	10: "request_soft_free",
}
View Source
var RequestMsgid_gpbrpc_value = map[string]uint32{
	"request_rrd":        1,
	"request_ping":       2,
	"request_stats":      3,
	"request_run":        4,
	"request_check":      5,
	"request_free":       6,
	"request_terminate":  7,
	"request_soft_run":   8,
	"request_soft_check": 9,
	"request_soft_free":  10,
}
View Source
var RequestMsgid_name = map[int32]string{
	1:  "REQUEST_RRD",
	2:  "REQUEST_PING",
	3:  "REQUEST_STATS",
	4:  "REQUEST_RUN",
	5:  "REQUEST_CHECK",
	6:  "REQUEST_FREE",
	7:  "REQUEST_TERMINATE",
	8:  "REQUEST_SOFT_RUN",
	9:  "REQUEST_SOFT_CHECK",
	10: "REQUEST_SOFT_FREE",
}
View Source
var RequestMsgid_value = map[string]int32{
	"REQUEST_RRD":        1,
	"REQUEST_PING":       2,
	"REQUEST_STATS":      3,
	"REQUEST_RUN":        4,
	"REQUEST_CHECK":      5,
	"REQUEST_FREE":       6,
	"REQUEST_TERMINATE":  7,
	"REQUEST_SOFT_RUN":   8,
	"REQUEST_SOFT_CHECK": 9,
	"REQUEST_SOFT_FREE":  10,
}
View Source
var ResponseMsgid_gpbrpc_name = map[uint32]string{
	1: "response_generic",
	2: "response_ping",
	3: "response_rrd",
	4: "response_stats",
	5: "response_check",
	6: "response_soft_check",
	7: "response_soft_run",
}
View Source
var ResponseMsgid_gpbrpc_value = map[string]uint32{
	"response_generic":    1,
	"response_ping":       2,
	"response_rrd":        3,
	"response_stats":      4,
	"response_check":      5,
	"response_soft_check": 6,
	"response_soft_run":   7,
}
View Source
var ResponseMsgid_name = map[int32]string{
	1: "RESPONSE_GENERIC",
	2: "RESPONSE_PING",
	3: "RESPONSE_RRD",
	4: "RESPONSE_STATS",
	5: "RESPONSE_CHECK",
	6: "RESPONSE_SOFT_CHECK",
	7: "RESPONSE_SOFT_RUN",
}
View Source
var ResponseMsgid_value = map[string]int32{
	"RESPONSE_GENERIC":    1,
	"RESPONSE_PING":       2,
	"RESPONSE_RRD":        3,
	"RESPONSE_STATS":      4,
	"RESPONSE_CHECK":      5,
	"RESPONSE_SOFT_CHECK": 6,
	"RESPONSE_SOFT_RUN":   7,
}
View Source
var StoreT_name = map[int32]string{
	1: "FILES",
	2: "MEMORY",
}
View Source
var StoreT_value = map[string]int32{
	"FILES":  1,
	"MEMORY": 2,
}

Functions

This section is empty.

Types

type Errno

type Errno int32
const (
	Errno_ERRNO_GENERIC            Errno = 1
	Errno_ERRNO_RUN_FAILED         Errno = 2
	Errno_ERRNO_ALREADY_RUNNING    Errno = 3
	Errno_ERRNO_NOT_FOUND          Errno = 4
	Errno_ERRNO_WORKING            Errno = 5
	Errno_ERRNO_NO_MEMORY          Errno = 6
	Errno_ERRNO_SUCCESS_FINISHED   Errno = 7
	Errno_ERRNO_FAILED_FINISHED    Errno = 8
	Errno_ERRNO_WAIT_FOR_FREE      Errno = 9
	Errno_ERRNO_START_CHILD_FAILED Errno = 10
)

func (Errno) Enum

func (x Errno) Enum() *Errno

func (Errno) String

func (x Errno) String() string

func (*Errno) UnmarshalJSON

func (x *Errno) UnmarshalJSON(data []byte) error

type GpbrpcInterface

type GpbrpcInterface interface {
	RequestRrd(rctx gpbrpc.RequestT, request *RequestRrd) gpbrpc.ResultT
	RequestPing(rctx gpbrpc.RequestT, request *RequestPing) gpbrpc.ResultT
	RequestStats(rctx gpbrpc.RequestT, request *RequestStats) gpbrpc.ResultT
	RequestRun(rctx gpbrpc.RequestT, request *RequestRun) gpbrpc.ResultT
	RequestCheck(rctx gpbrpc.RequestT, request *RequestCheck) gpbrpc.ResultT
	RequestFree(rctx gpbrpc.RequestT, request *RequestFree) gpbrpc.ResultT
	RequestTerminate(rctx gpbrpc.RequestT, request *RequestTerminate) gpbrpc.ResultT
	RequestSoftRun(rctx gpbrpc.RequestT, request *RequestSoftRun) gpbrpc.ResultT
	RequestSoftCheck(rctx gpbrpc.RequestT, request *RequestSoftCheck) gpbrpc.ResultT
	RequestSoftFree(rctx gpbrpc.RequestT, request *RequestSoftFree) gpbrpc.ResultT
}

type GpbrpcType

type GpbrpcType struct {
}
var Gpbrpc GpbrpcType

func (GpbrpcType) Dispatch

func (GpbrpcType) Dispatch(rctx gpbrpc.RequestT, abstract_service interface{}) gpbrpc.ResultT

func (GpbrpcType) ErrorAlreadyRunning

func (GpbrpcType) ErrorAlreadyRunning(args ...interface{}) gpbrpc.ResultT

func (GpbrpcType) ErrorFailedFinished

func (GpbrpcType) ErrorFailedFinished(args ...interface{}) gpbrpc.ResultT

func (GpbrpcType) ErrorGeneric

func (GpbrpcType) ErrorGeneric(args ...interface{}) gpbrpc.ResultT

func (GpbrpcType) ErrorNoMemory

func (GpbrpcType) ErrorNoMemory(args ...interface{}) gpbrpc.ResultT

func (GpbrpcType) ErrorNotFound

func (GpbrpcType) ErrorNotFound(args ...interface{}) gpbrpc.ResultT

func (GpbrpcType) ErrorRunFailed

func (GpbrpcType) ErrorRunFailed(args ...interface{}) gpbrpc.ResultT

func (GpbrpcType) ErrorStartChildFailed

func (GpbrpcType) ErrorStartChildFailed(args ...interface{}) gpbrpc.ResultT

func (GpbrpcType) ErrorSuccessFinished

func (GpbrpcType) ErrorSuccessFinished(args ...interface{}) gpbrpc.ResultT

func (GpbrpcType) ErrorWaitForFree

func (GpbrpcType) ErrorWaitForFree(args ...interface{}) gpbrpc.ResultT

func (GpbrpcType) ErrorWorking

func (GpbrpcType) ErrorWorking(args ...interface{}) gpbrpc.ResultT

func (GpbrpcType) GetPackageName

func (GpbrpcType) GetPackageName() string

func (GpbrpcType) GetRequestIdToNameMap

func (GpbrpcType) GetRequestIdToNameMap() map[uint32]string

func (GpbrpcType) GetRequestMsg

func (GpbrpcType) GetRequestMsg(request_msgid uint32) proto.Message

func (GpbrpcType) GetRequestMsgid

func (GpbrpcType) GetRequestMsgid(msg proto.Message) uint32

func (GpbrpcType) GetRequestNameToIdMap

func (GpbrpcType) GetRequestNameToIdMap() map[string]uint32

func (GpbrpcType) GetResponseIdToNameMap

func (GpbrpcType) GetResponseIdToNameMap() map[uint32]string

func (GpbrpcType) GetResponseMsg

func (GpbrpcType) GetResponseMsg(response_msgid uint32) proto.Message

func (GpbrpcType) GetResponseMsgid

func (GpbrpcType) GetResponseMsgid(msg proto.Message) uint32

func (GpbrpcType) GetResponseNameToIdMap

func (GpbrpcType) GetResponseNameToIdMap() map[string]uint32

func (GpbrpcType) OK

func (GpbrpcType) OK(args ...interface{}) gpbrpc.ResultT

type PhproxydConfig

type PhproxydConfig struct {
	Scripts          *PhproxydConfigScriptsT `protobuf:"bytes,2,req,name=scripts" json:"scripts,omitempty"`
	XXX_unrecognized []byte                  `json:"-"`
}

func (*PhproxydConfig) GetScripts

func (m *PhproxydConfig) GetScripts() *PhproxydConfigScriptsT

func (*PhproxydConfig) ProtoMessage

func (*PhproxydConfig) ProtoMessage()

func (*PhproxydConfig) Reset

func (m *PhproxydConfig) Reset()

func (*PhproxydConfig) String

func (m *PhproxydConfig) String() string

type PhproxydConfigScriptsT

type PhproxydConfigScriptsT struct {
	PhpBin             *string `protobuf:"bytes,1,req,name=php_bin" json:"php_bin,omitempty"`
	PhpScriptsDir      *string `protobuf:"bytes,2,req,name=php_scripts_dir" json:"php_scripts_dir,omitempty"`
	FileStdoutTemplate *string `protobuf:"bytes,3,req,name=file_stdout_template" json:"file_stdout_template,omitempty"`
	FileStderrTemplate *string `protobuf:"bytes,4,req,name=file_stderr_template" json:"file_stderr_template,omitempty"`
	MemStdoutTemplate  *string `protobuf:"bytes,5,req,name=mem_stdout_template" json:"mem_stdout_template,omitempty"`
	MemStderrTemplate  *string `protobuf:"bytes,6,req,name=mem_stderr_template" json:"mem_stderr_template,omitempty"`
	XXX_unrecognized   []byte  `json:"-"`
}

func (*PhproxydConfigScriptsT) GetFileStderrTemplate

func (m *PhproxydConfigScriptsT) GetFileStderrTemplate() string

func (*PhproxydConfigScriptsT) GetFileStdoutTemplate

func (m *PhproxydConfigScriptsT) GetFileStdoutTemplate() string

func (*PhproxydConfigScriptsT) GetMemStderrTemplate

func (m *PhproxydConfigScriptsT) GetMemStderrTemplate() string

func (*PhproxydConfigScriptsT) GetMemStdoutTemplate

func (m *PhproxydConfigScriptsT) GetMemStdoutTemplate() string

func (*PhproxydConfigScriptsT) GetPhpBin

func (m *PhproxydConfigScriptsT) GetPhpBin() string

func (*PhproxydConfigScriptsT) GetPhpScriptsDir

func (m *PhproxydConfigScriptsT) GetPhpScriptsDir() string

func (*PhproxydConfigScriptsT) ProtoMessage

func (*PhproxydConfigScriptsT) ProtoMessage()

func (*PhproxydConfigScriptsT) Reset

func (m *PhproxydConfigScriptsT) Reset()

func (*PhproxydConfigScriptsT) String

func (m *PhproxydConfigScriptsT) String() string

type PhproxydStatusT

type PhproxydStatusT int32
const (
	PhproxydStatusT_STATUS_OK     PhproxydStatusT = 1
	PhproxydStatusT_STATUS_FAILED PhproxydStatusT = 2
)

func (PhproxydStatusT) Enum

func (x PhproxydStatusT) Enum() *PhproxydStatusT

func (PhproxydStatusT) String

func (x PhproxydStatusT) String() string

func (*PhproxydStatusT) UnmarshalJSON

func (x *PhproxydStatusT) UnmarshalJSON(data []byte) error

type RequestCheck

type RequestCheck struct {
	Hash             *uint64 `protobuf:"varint,2,req,name=hash" json:"hash,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*RequestCheck) GetHash

func (m *RequestCheck) GetHash() uint64

func (*RequestCheck) ProtoMessage

func (*RequestCheck) ProtoMessage()

func (*RequestCheck) Reset

func (m *RequestCheck) Reset()

func (*RequestCheck) String

func (m *RequestCheck) String() string

type RequestFree

type RequestFree struct {
	Hash             *uint64 `protobuf:"varint,2,req,name=hash" json:"hash,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*RequestFree) GetHash

func (m *RequestFree) GetHash() uint64

func (*RequestFree) ProtoMessage

func (*RequestFree) ProtoMessage()

func (*RequestFree) Reset

func (m *RequestFree) Reset()

func (*RequestFree) String

func (m *RequestFree) String() string

type RequestMsgid

type RequestMsgid int32
const (
	RequestMsgid_REQUEST_RRD        RequestMsgid = 1
	RequestMsgid_REQUEST_PING       RequestMsgid = 2
	RequestMsgid_REQUEST_STATS      RequestMsgid = 3
	RequestMsgid_REQUEST_RUN        RequestMsgid = 4
	RequestMsgid_REQUEST_CHECK      RequestMsgid = 5
	RequestMsgid_REQUEST_FREE       RequestMsgid = 6
	RequestMsgid_REQUEST_TERMINATE  RequestMsgid = 7
	RequestMsgid_REQUEST_SOFT_RUN   RequestMsgid = 8
	RequestMsgid_REQUEST_SOFT_CHECK RequestMsgid = 9
	RequestMsgid_REQUEST_SOFT_FREE  RequestMsgid = 10
)

func (RequestMsgid) Enum

func (x RequestMsgid) Enum() *RequestMsgid

func (RequestMsgid) String

func (x RequestMsgid) String() string

func (*RequestMsgid) UnmarshalJSON

func (x *RequestMsgid) UnmarshalJSON(data []byte) error

type RequestPing

type RequestPing struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*RequestPing) ProtoMessage

func (*RequestPing) ProtoMessage()

func (*RequestPing) Reset

func (m *RequestPing) Reset()

func (*RequestPing) String

func (m *RequestPing) String() string

type RequestRrd

type RequestRrd struct {
	Tags             []string `protobuf:"bytes,1,rep,name=tags" json:"tags,omitempty"`
	Clean            *uint32  `protobuf:"varint,2,req,name=clean" json:"clean,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*RequestRrd) GetClean

func (m *RequestRrd) GetClean() uint32

func (*RequestRrd) GetTags

func (m *RequestRrd) GetTags() []string

func (*RequestRrd) ProtoMessage

func (*RequestRrd) ProtoMessage()

func (*RequestRrd) Reset

func (m *RequestRrd) Reset()

func (*RequestRrd) String

func (m *RequestRrd) String() string

type RequestRun

type RequestRun struct {
	Script           *string  `protobuf:"bytes,1,req,name=script" json:"script,omitempty"`
	Hash             *uint64  `protobuf:"varint,2,req,name=hash" json:"hash,omitempty"`
	Tag              *string  `protobuf:"bytes,3,req,name=tag" json:"tag,omitempty"`
	Force            *int32   `protobuf:"zigzag32,4,opt,name=force" json:"force,omitempty"`
	Params           []string `protobuf:"bytes,5,rep,name=params" json:"params,omitempty"`
	Store            *StoreT  `protobuf:"varint,6,opt,name=store,enum=badoo.phproxyd.StoreT,def=2" json:"store,omitempty"`
	FreeAfterRun     *bool    `protobuf:"varint,7,opt,name=free_after_run,def=1" json:"free_after_run,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*RequestRun) GetForce

func (m *RequestRun) GetForce() int32

func (*RequestRun) GetFreeAfterRun

func (m *RequestRun) GetFreeAfterRun() bool

func (*RequestRun) GetHash

func (m *RequestRun) GetHash() uint64

func (*RequestRun) GetParams

func (m *RequestRun) GetParams() []string

func (*RequestRun) GetScript

func (m *RequestRun) GetScript() string

func (*RequestRun) GetStore

func (m *RequestRun) GetStore() StoreT

func (*RequestRun) GetTag

func (m *RequestRun) GetTag() string

func (*RequestRun) ProtoMessage

func (*RequestRun) ProtoMessage()

func (*RequestRun) Reset

func (m *RequestRun) Reset()

func (*RequestRun) String

func (m *RequestRun) String() string

type RequestSoftCheck

type RequestSoftCheck struct {
	Hash             []uint64 `protobuf:"varint,1,rep,name=hash" json:"hash,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*RequestSoftCheck) GetHash

func (m *RequestSoftCheck) GetHash() []uint64

func (*RequestSoftCheck) ProtoMessage

func (*RequestSoftCheck) ProtoMessage()

func (*RequestSoftCheck) Reset

func (m *RequestSoftCheck) Reset()

func (*RequestSoftCheck) String

func (m *RequestSoftCheck) String() string

type RequestSoftFree

type RequestSoftFree struct {
	Hash             []uint64 `protobuf:"varint,1,rep,name=hash" json:"hash,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*RequestSoftFree) GetHash

func (m *RequestSoftFree) GetHash() []uint64

func (*RequestSoftFree) ProtoMessage

func (*RequestSoftFree) ProtoMessage()

func (*RequestSoftFree) Reset

func (m *RequestSoftFree) Reset()

func (*RequestSoftFree) String

func (m *RequestSoftFree) String() string

type RequestSoftRun

type RequestSoftRun struct {
	Script           *string `protobuf:"bytes,1,req,name=script" json:"script,omitempty"`
	Hash             *uint64 `protobuf:"varint,2,opt,name=hash" json:"hash,omitempty"`
	Data             *string `protobuf:"bytes,3,req,name=data" json:"data,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*RequestSoftRun) GetData

func (m *RequestSoftRun) GetData() string

func (*RequestSoftRun) GetHash

func (m *RequestSoftRun) GetHash() uint64

func (*RequestSoftRun) GetScript

func (m *RequestSoftRun) GetScript() string

func (*RequestSoftRun) ProtoMessage

func (*RequestSoftRun) ProtoMessage()

func (*RequestSoftRun) Reset

func (m *RequestSoftRun) Reset()

func (*RequestSoftRun) String

func (m *RequestSoftRun) String() string

type RequestStats

type RequestStats struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*RequestStats) ProtoMessage

func (*RequestStats) ProtoMessage()

func (*RequestStats) Reset

func (m *RequestStats) Reset()

func (*RequestStats) String

func (m *RequestStats) String() string

type RequestTerminate

type RequestTerminate struct {
	Hash             *uint64 `protobuf:"varint,1,req,name=hash" json:"hash,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*RequestTerminate) GetHash

func (m *RequestTerminate) GetHash() uint64

func (*RequestTerminate) ProtoMessage

func (*RequestTerminate) ProtoMessage()

func (*RequestTerminate) Reset

func (m *RequestTerminate) Reset()

func (*RequestTerminate) String

func (m *RequestTerminate) String() string

type ResponseCheck

type ResponseCheck struct {
	ErrorCode        *int32  `protobuf:"zigzag32,1,req,name=error_code" json:"error_code,omitempty"`
	ErrorText        *string `protobuf:"bytes,2,opt,name=error_text" json:"error_text,omitempty"`
	Response         *string `protobuf:"bytes,3,opt,name=response" json:"response,omitempty"`
	UtimeTvSec       *uint64 `protobuf:"varint,4,opt,name=utime_tv_sec" json:"utime_tv_sec,omitempty"`
	UtimeTvUsec      *uint64 `protobuf:"varint,5,opt,name=utime_tv_usec" json:"utime_tv_usec,omitempty"`
	StimeTvSec       *uint64 `protobuf:"varint,6,opt,name=stime_tv_sec" json:"stime_tv_sec,omitempty"`
	StimeTvUsec      *uint64 `protobuf:"varint,7,opt,name=stime_tv_usec" json:"stime_tv_usec,omitempty"`
	Retcode          *int32  `protobuf:"zigzag32,8,opt,name=retcode" json:"retcode,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*ResponseCheck) GetErrorCode

func (m *ResponseCheck) GetErrorCode() int32

func (*ResponseCheck) GetErrorText

func (m *ResponseCheck) GetErrorText() string

func (*ResponseCheck) GetResponse

func (m *ResponseCheck) GetResponse() string

func (*ResponseCheck) GetRetcode

func (m *ResponseCheck) GetRetcode() int32

func (*ResponseCheck) GetStimeTvSec

func (m *ResponseCheck) GetStimeTvSec() uint64

func (*ResponseCheck) GetStimeTvUsec

func (m *ResponseCheck) GetStimeTvUsec() uint64

func (*ResponseCheck) GetUtimeTvSec

func (m *ResponseCheck) GetUtimeTvSec() uint64

func (*ResponseCheck) GetUtimeTvUsec

func (m *ResponseCheck) GetUtimeTvUsec() uint64

func (*ResponseCheck) ProtoMessage

func (*ResponseCheck) ProtoMessage()

func (*ResponseCheck) Reset

func (m *ResponseCheck) Reset()

func (*ResponseCheck) String

func (m *ResponseCheck) String() string

type ResponseGeneric

type ResponseGeneric struct {
	ErrorCode        *int32  `protobuf:"zigzag32,1,req,name=error_code" json:"error_code,omitempty"`
	ErrorText        *string `protobuf:"bytes,2,opt,name=error_text" json:"error_text,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*ResponseGeneric) GetErrorCode

func (m *ResponseGeneric) GetErrorCode() int32

func (*ResponseGeneric) GetErrorText

func (m *ResponseGeneric) GetErrorText() string

func (*ResponseGeneric) ProtoMessage

func (*ResponseGeneric) ProtoMessage()

func (*ResponseGeneric) Reset

func (m *ResponseGeneric) Reset()

func (*ResponseGeneric) String

func (m *ResponseGeneric) String() string

type ResponseMsgid

type ResponseMsgid int32
const (
	ResponseMsgid_RESPONSE_GENERIC    ResponseMsgid = 1
	ResponseMsgid_RESPONSE_PING       ResponseMsgid = 2
	ResponseMsgid_RESPONSE_RRD        ResponseMsgid = 3
	ResponseMsgid_RESPONSE_STATS      ResponseMsgid = 4
	ResponseMsgid_RESPONSE_CHECK      ResponseMsgid = 5
	ResponseMsgid_RESPONSE_SOFT_CHECK ResponseMsgid = 6
	ResponseMsgid_RESPONSE_SOFT_RUN   ResponseMsgid = 7
)

func (ResponseMsgid) Enum

func (x ResponseMsgid) Enum() *ResponseMsgid

func (ResponseMsgid) String

func (x ResponseMsgid) String() string

func (*ResponseMsgid) UnmarshalJSON

func (x *ResponseMsgid) UnmarshalJSON(data []byte) error

type ResponsePing

type ResponsePing struct {
	Status           *PhproxydStatusT `protobuf:"varint,1,req,name=status,enum=badoo.phproxyd.PhproxydStatusT" json:"status,omitempty"`
	XXX_unrecognized []byte           `json:"-"`
}

func (*ResponsePing) GetStatus

func (m *ResponsePing) GetStatus() PhproxydStatusT

func (*ResponsePing) ProtoMessage

func (*ResponsePing) ProtoMessage()

func (*ResponsePing) Reset

func (m *ResponsePing) Reset()

func (*ResponsePing) String

func (m *ResponsePing) String() string

type ResponseRrd

type ResponseRrd struct {
	Vmsize            *string    `protobuf:"bytes,1,req,name=vmsize" json:"vmsize,omitempty"`
	UtimeTvSec        *uint64    `protobuf:"varint,2,req,name=utime_tv_sec" json:"utime_tv_sec,omitempty"`
	UtimeTvUsec       *uint64    `protobuf:"varint,3,req,name=utime_tv_usec" json:"utime_tv_usec,omitempty"`
	StimeTvSec        *uint64    `protobuf:"varint,4,req,name=stime_tv_sec" json:"stime_tv_sec,omitempty"`
	StimeTvUsec       *uint64    `protobuf:"varint,5,req,name=stime_tv_usec" json:"stime_tv_usec,omitempty"`
	CommandsCnt       *uint64    `protobuf:"varint,6,req,name=commands_cnt" json:"commands_cnt,omitempty"`
	FailedCommandsCnt *uint64    `protobuf:"varint,7,req,name=failed_commands_cnt" json:"failed_commands_cnt,omitempty"`
	Rrd               []*TagRrdT `protobuf:"bytes,8,rep,name=rrd" json:"rrd,omitempty"`
	XXX_unrecognized  []byte     `json:"-"`
}

func (*ResponseRrd) GetCommandsCnt

func (m *ResponseRrd) GetCommandsCnt() uint64

func (*ResponseRrd) GetFailedCommandsCnt

func (m *ResponseRrd) GetFailedCommandsCnt() uint64

func (*ResponseRrd) GetRrd

func (m *ResponseRrd) GetRrd() []*TagRrdT

func (*ResponseRrd) GetStimeTvSec

func (m *ResponseRrd) GetStimeTvSec() uint64

func (*ResponseRrd) GetStimeTvUsec

func (m *ResponseRrd) GetStimeTvUsec() uint64

func (*ResponseRrd) GetUtimeTvSec

func (m *ResponseRrd) GetUtimeTvSec() uint64

func (*ResponseRrd) GetUtimeTvUsec

func (m *ResponseRrd) GetUtimeTvUsec() uint64

func (*ResponseRrd) GetVmsize

func (m *ResponseRrd) GetVmsize() string

func (*ResponseRrd) ProtoMessage

func (*ResponseRrd) ProtoMessage()

func (*ResponseRrd) Reset

func (m *ResponseRrd) Reset()

func (*ResponseRrd) String

func (m *ResponseRrd) String() string

type ResponseSoftCheck

type ResponseSoftCheck struct {
	Stats            []*SoftCheckT `protobuf:"bytes,1,rep,name=stats" json:"stats,omitempty"`
	XXX_unrecognized []byte        `json:"-"`
}

func (*ResponseSoftCheck) GetStats

func (m *ResponseSoftCheck) GetStats() []*SoftCheckT

func (*ResponseSoftCheck) ProtoMessage

func (*ResponseSoftCheck) ProtoMessage()

func (*ResponseSoftCheck) Reset

func (m *ResponseSoftCheck) Reset()

func (*ResponseSoftCheck) String

func (m *ResponseSoftCheck) String() string

type ResponseSoftRun

type ResponseSoftRun struct {
	Hash             *uint64 `protobuf:"varint,1,opt,name=hash" json:"hash,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*ResponseSoftRun) GetHash

func (m *ResponseSoftRun) GetHash() uint64

func (*ResponseSoftRun) ProtoMessage

func (*ResponseSoftRun) ProtoMessage()

func (*ResponseSoftRun) Reset

func (m *ResponseSoftRun) Reset()

func (*ResponseSoftRun) String

func (m *ResponseSoftRun) String() string

type ResponseStats

type ResponseStats struct {
	Vmsize            *string     `protobuf:"bytes,1,req,name=vmsize" json:"vmsize,omitempty"`
	UtimeTvSec        *uint64     `protobuf:"varint,2,req,name=utime_tv_sec" json:"utime_tv_sec,omitempty"`
	UtimeTvUsec       *uint64     `protobuf:"varint,3,req,name=utime_tv_usec" json:"utime_tv_usec,omitempty"`
	StimeTvSec        *uint64     `protobuf:"varint,4,req,name=stime_tv_sec" json:"stime_tv_sec,omitempty"`
	StimeTvUsec       *uint64     `protobuf:"varint,5,req,name=stime_tv_usec" json:"stime_tv_usec,omitempty"`
	CommandsCnt       *uint64     `protobuf:"varint,6,req,name=commands_cnt" json:"commands_cnt,omitempty"`
	FailedCommandsCnt *uint64     `protobuf:"varint,7,req,name=failed_commands_cnt" json:"failed_commands_cnt,omitempty"`
	Stats             []*TagStatT `protobuf:"bytes,8,rep,name=stats" json:"stats,omitempty"`
	XXX_unrecognized  []byte      `json:"-"`
}

func (*ResponseStats) GetCommandsCnt

func (m *ResponseStats) GetCommandsCnt() uint64

func (*ResponseStats) GetFailedCommandsCnt

func (m *ResponseStats) GetFailedCommandsCnt() uint64

func (*ResponseStats) GetStats

func (m *ResponseStats) GetStats() []*TagStatT

func (*ResponseStats) GetStimeTvSec

func (m *ResponseStats) GetStimeTvSec() uint64

func (*ResponseStats) GetStimeTvUsec

func (m *ResponseStats) GetStimeTvUsec() uint64

func (*ResponseStats) GetUtimeTvSec

func (m *ResponseStats) GetUtimeTvSec() uint64

func (*ResponseStats) GetUtimeTvUsec

func (m *ResponseStats) GetUtimeTvUsec() uint64

func (*ResponseStats) GetVmsize

func (m *ResponseStats) GetVmsize() string

func (*ResponseStats) ProtoMessage

func (*ResponseStats) ProtoMessage()

func (*ResponseStats) Reset

func (m *ResponseStats) Reset()

func (*ResponseStats) String

func (m *ResponseStats) String() string

type SoftCheckT

type SoftCheckT struct {
	Hash             *uint64 `protobuf:"varint,1,req,name=hash" json:"hash,omitempty"`
	Response         *string `protobuf:"bytes,2,req,name=response" json:"response,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*SoftCheckT) GetHash

func (m *SoftCheckT) GetHash() uint64

func (*SoftCheckT) GetResponse

func (m *SoftCheckT) GetResponse() string

func (*SoftCheckT) ProtoMessage

func (*SoftCheckT) ProtoMessage()

func (*SoftCheckT) Reset

func (m *SoftCheckT) Reset()

func (*SoftCheckT) String

func (m *SoftCheckT) String() string

type StoreT

type StoreT int32
const (
	StoreT_FILES  StoreT = 1
	StoreT_MEMORY StoreT = 2
)
const Default_RequestRun_Store StoreT = StoreT_MEMORY

func (StoreT) Enum

func (x StoreT) Enum() *StoreT

func (StoreT) String

func (x StoreT) String() string

func (*StoreT) UnmarshalJSON

func (x *StoreT) UnmarshalJSON(data []byte) error

type TagRrdT

type TagRrdT struct {
	Tag              *string `protobuf:"bytes,1,req,name=tag" json:"tag,omitempty"`
	TmClean          *uint64 `protobuf:"varint,2,req,name=tm_clean" json:"tm_clean,omitempty"`
	Success          *uint32 `protobuf:"varint,3,req,name=success" json:"success,omitempty"`
	Failed           *uint32 `protobuf:"varint,4,req,name=failed" json:"failed,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*TagRrdT) GetFailed

func (m *TagRrdT) GetFailed() uint32

func (*TagRrdT) GetSuccess

func (m *TagRrdT) GetSuccess() uint32

func (*TagRrdT) GetTag

func (m *TagRrdT) GetTag() string

func (*TagRrdT) GetTmClean

func (m *TagRrdT) GetTmClean() uint64

func (*TagRrdT) ProtoMessage

func (*TagRrdT) ProtoMessage()

func (*TagRrdT) Reset

func (m *TagRrdT) Reset()

func (*TagRrdT) String

func (m *TagRrdT) String() string

type TagStatT

type TagStatT struct {
	Tag              *string `protobuf:"bytes,1,req,name=tag" json:"tag,omitempty"`
	Success          *uint32 `protobuf:"varint,2,req,name=success" json:"success,omitempty"`
	Failed           *uint32 `protobuf:"varint,3,req,name=failed" json:"failed,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*TagStatT) GetFailed

func (m *TagStatT) GetFailed() uint32

func (*TagStatT) GetSuccess

func (m *TagStatT) GetSuccess() uint32

func (*TagStatT) GetTag

func (m *TagStatT) GetTag() string

func (*TagStatT) ProtoMessage

func (*TagStatT) ProtoMessage()

func (*TagStatT) Reset

func (m *TagStatT) Reset()

func (*TagStatT) String

func (m *TagStatT) String() string

Jump to

Keyboard shortcuts

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