com_hailocab_kernel_platform_healthcheck

package
v0.0.0-...-73c913f Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package com_hailocab_kernel_platform_healthcheck is a generated protocol buffer package.

It is generated from these files:

github.com/hailocab/h2/go/internal/p/proto/healthcheck/healthcheck.proto

It has these top-level messages:

HealthCheck
Request
Response

Index

Constants

This section is empty.

Variables

View Source
var HealthCheck_Priority_name = map[int32]string{
	1: "PAGER",
	2: "EMAIL",
	3: "WARNING",
}
View Source
var HealthCheck_Priority_value = map[string]int32{
	"PAGER":   1,
	"EMAIL":   2,
	"WARNING": 3,
}

Functions

This section is empty.

Types

type HealthCheck

type HealthCheck struct {
	Timestamp        *int64                  `protobuf:"varint,1,req,name=timestamp" json:"timestamp,omitempty"`
	ServiceName      *string                 `protobuf:"bytes,2,req,name=serviceName" json:"serviceName,omitempty"`
	ServiceVersion   *uint64                 `protobuf:"varint,3,req,name=serviceVersion" json:"serviceVersion,omitempty"`
	Hostname         *string                 `protobuf:"bytes,4,req,name=hostname" json:"hostname,omitempty"`
	InstanceId       *string                 `protobuf:"bytes,5,req,name=instanceId" json:"instanceId,omitempty"`
	HealthCheckId    *string                 `protobuf:"bytes,6,req,name=healthCheckId" json:"healthCheckId,omitempty"`
	IsHealthy        *bool                   `protobuf:"varint,7,req,name=isHealthy" json:"isHealthy,omitempty"`
	ErrorDescription *string                 `protobuf:"bytes,8,opt,name=errorDescription" json:"errorDescription,omitempty"`
	Measurements     []*HealthCheck_KeyValue `protobuf:"bytes,9,rep,name=measurements" json:"measurements,omitempty"`
	Priority         *HealthCheck_Priority   `` /* 137-byte string literal not displayed */
	XXX_unrecognized []byte                  `json:"-"`
}

func (*HealthCheck) GetErrorDescription

func (m *HealthCheck) GetErrorDescription() string

func (*HealthCheck) GetHealthCheckId

func (m *HealthCheck) GetHealthCheckId() string

func (*HealthCheck) GetHostname

func (m *HealthCheck) GetHostname() string

func (*HealthCheck) GetInstanceId

func (m *HealthCheck) GetInstanceId() string

func (*HealthCheck) GetIsHealthy

func (m *HealthCheck) GetIsHealthy() bool

func (*HealthCheck) GetMeasurements

func (m *HealthCheck) GetMeasurements() []*HealthCheck_KeyValue

func (*HealthCheck) GetPriority

func (m *HealthCheck) GetPriority() HealthCheck_Priority

func (*HealthCheck) GetServiceName

func (m *HealthCheck) GetServiceName() string

func (*HealthCheck) GetServiceVersion

func (m *HealthCheck) GetServiceVersion() uint64

func (*HealthCheck) GetTimestamp

func (m *HealthCheck) GetTimestamp() int64

func (*HealthCheck) ProtoMessage

func (*HealthCheck) ProtoMessage()

func (*HealthCheck) Reset

func (m *HealthCheck) Reset()

func (*HealthCheck) String

func (m *HealthCheck) String() string

type HealthCheck_KeyValue

type HealthCheck_KeyValue struct {
	Key              *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"`
	Value            *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*HealthCheck_KeyValue) GetKey

func (m *HealthCheck_KeyValue) GetKey() string

func (*HealthCheck_KeyValue) GetValue

func (m *HealthCheck_KeyValue) GetValue() string

func (*HealthCheck_KeyValue) ProtoMessage

func (*HealthCheck_KeyValue) ProtoMessage()

func (*HealthCheck_KeyValue) Reset

func (m *HealthCheck_KeyValue) Reset()

func (*HealthCheck_KeyValue) String

func (m *HealthCheck_KeyValue) String() string

type HealthCheck_Priority

type HealthCheck_Priority int32
const (
	HealthCheck_PAGER   HealthCheck_Priority = 1
	HealthCheck_EMAIL   HealthCheck_Priority = 2
	HealthCheck_WARNING HealthCheck_Priority = 3
)
const Default_HealthCheck_Priority HealthCheck_Priority = HealthCheck_WARNING

func (HealthCheck_Priority) Enum

func (HealthCheck_Priority) MarshalJSON

func (x HealthCheck_Priority) MarshalJSON() ([]byte, error)

func (HealthCheck_Priority) String

func (x HealthCheck_Priority) String() string

func (*HealthCheck_Priority) UnmarshalJSON

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

type Request

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

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (m *Request) String() string

type Response

type Response struct {
	Healthchecks     []*HealthCheck `protobuf:"bytes,1,rep,name=healthchecks" json:"healthchecks,omitempty"`
	XXX_unrecognized []byte         `json:"-"`
}

func (*Response) GetHealthchecks

func (m *Response) GetHealthchecks() []*HealthCheck

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

Jump to

Keyboard shortcuts

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