|
|
|
@ -6,22 +6,19 @@ package pbservice
|
|
|
|
|
import (
|
|
|
|
|
fmt "fmt"
|
|
|
|
|
_ "github.com/gogo/protobuf/gogoproto"
|
|
|
|
|
_ "github.com/gogo/protobuf/types"
|
|
|
|
|
github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
|
|
|
|
|
types "github.com/gogo/protobuf/types"
|
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
|
|
|
pbcommon "github.com/hashicorp/consul/proto/pbcommon"
|
|
|
|
|
github_com_hashicorp_consul_types "github.com/hashicorp/consul/types"
|
|
|
|
|
io "io"
|
|
|
|
|
math "math"
|
|
|
|
|
math_bits "math/bits"
|
|
|
|
|
time "time"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
|
var _ = proto.Marshal
|
|
|
|
|
var _ = fmt.Errorf
|
|
|
|
|
var _ = math.Inf
|
|
|
|
|
var _ = time.Kitchen
|
|
|
|
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
|
// is compatible with the proto package it is being compiled against.
|
|
|
|
@ -144,21 +141,21 @@ type HealthCheckDefinition struct {
|
|
|
|
|
Method string `protobuf:"bytes,4,opt,name=Method,proto3" json:"Method,omitempty"`
|
|
|
|
|
Body string `protobuf:"bytes,18,opt,name=Body,proto3" json:"Body,omitempty"`
|
|
|
|
|
TCP string `protobuf:"bytes,5,opt,name=TCP,proto3" json:"TCP,omitempty"`
|
|
|
|
|
Interval time.Duration `protobuf:"bytes,6,opt,name=Interval,proto3,stdduration" json:"Interval"`
|
|
|
|
|
Interval types.Duration `protobuf:"bytes,6,opt,name=Interval,proto3" json:"Interval"`
|
|
|
|
|
// mog: func-to=uint func-from=uint32
|
|
|
|
|
OutputMaxSize uint32 `protobuf:"varint,9,opt,name=OutputMaxSize,proto3" json:"OutputMaxSize,omitempty"`
|
|
|
|
|
Timeout time.Duration `protobuf:"bytes,7,opt,name=Timeout,proto3,stdduration" json:"Timeout"`
|
|
|
|
|
DeregisterCriticalServiceAfter time.Duration `protobuf:"bytes,8,opt,name=DeregisterCriticalServiceAfter,proto3,stdduration" json:"DeregisterCriticalServiceAfter"`
|
|
|
|
|
ScriptArgs []string `protobuf:"bytes,10,rep,name=ScriptArgs,proto3" json:"ScriptArgs,omitempty"`
|
|
|
|
|
DockerContainerID string `protobuf:"bytes,11,opt,name=DockerContainerID,proto3" json:"DockerContainerID,omitempty"`
|
|
|
|
|
Shell string `protobuf:"bytes,12,opt,name=Shell,proto3" json:"Shell,omitempty"`
|
|
|
|
|
H2PING string `protobuf:"bytes,20,opt,name=H2PING,proto3" json:"H2PING,omitempty"`
|
|
|
|
|
H2PingUseTLS bool `protobuf:"varint,21,opt,name=H2PingUseTLS,proto3" json:"H2PingUseTLS,omitempty"`
|
|
|
|
|
GRPC string `protobuf:"bytes,13,opt,name=GRPC,proto3" json:"GRPC,omitempty"`
|
|
|
|
|
GRPCUseTLS bool `protobuf:"varint,14,opt,name=GRPCUseTLS,proto3" json:"GRPCUseTLS,omitempty"`
|
|
|
|
|
AliasNode string `protobuf:"bytes,15,opt,name=AliasNode,proto3" json:"AliasNode,omitempty"`
|
|
|
|
|
AliasService string `protobuf:"bytes,16,opt,name=AliasService,proto3" json:"AliasService,omitempty"`
|
|
|
|
|
TTL time.Duration `protobuf:"bytes,17,opt,name=TTL,proto3,stdduration" json:"TTL"`
|
|
|
|
|
OutputMaxSize uint32 `protobuf:"varint,9,opt,name=OutputMaxSize,proto3" json:"OutputMaxSize,omitempty"`
|
|
|
|
|
Timeout types.Duration `protobuf:"bytes,7,opt,name=Timeout,proto3" json:"Timeout"`
|
|
|
|
|
DeregisterCriticalServiceAfter types.Duration `protobuf:"bytes,8,opt,name=DeregisterCriticalServiceAfter,proto3" json:"DeregisterCriticalServiceAfter"`
|
|
|
|
|
ScriptArgs []string `protobuf:"bytes,10,rep,name=ScriptArgs,proto3" json:"ScriptArgs,omitempty"`
|
|
|
|
|
DockerContainerID string `protobuf:"bytes,11,opt,name=DockerContainerID,proto3" json:"DockerContainerID,omitempty"`
|
|
|
|
|
Shell string `protobuf:"bytes,12,opt,name=Shell,proto3" json:"Shell,omitempty"`
|
|
|
|
|
H2PING string `protobuf:"bytes,20,opt,name=H2PING,proto3" json:"H2PING,omitempty"`
|
|
|
|
|
H2PingUseTLS bool `protobuf:"varint,21,opt,name=H2PingUseTLS,proto3" json:"H2PingUseTLS,omitempty"`
|
|
|
|
|
GRPC string `protobuf:"bytes,13,opt,name=GRPC,proto3" json:"GRPC,omitempty"`
|
|
|
|
|
GRPCUseTLS bool `protobuf:"varint,14,opt,name=GRPCUseTLS,proto3" json:"GRPCUseTLS,omitempty"`
|
|
|
|
|
AliasNode string `protobuf:"bytes,15,opt,name=AliasNode,proto3" json:"AliasNode,omitempty"`
|
|
|
|
|
AliasService string `protobuf:"bytes,16,opt,name=AliasService,proto3" json:"AliasService,omitempty"`
|
|
|
|
|
TTL types.Duration `protobuf:"bytes,17,opt,name=TTL,proto3" json:"TTL"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *HealthCheckDefinition) Reset() { *m = HealthCheckDefinition{} }
|
|
|
|
@ -218,7 +215,7 @@ type CheckType struct {
|
|
|
|
|
Method string `protobuf:"bytes,7,opt,name=Method,proto3" json:"Method,omitempty"`
|
|
|
|
|
Body string `protobuf:"bytes,26,opt,name=Body,proto3" json:"Body,omitempty"`
|
|
|
|
|
TCP string `protobuf:"bytes,8,opt,name=TCP,proto3" json:"TCP,omitempty"`
|
|
|
|
|
Interval time.Duration `protobuf:"bytes,9,opt,name=Interval,proto3,stdduration" json:"Interval"`
|
|
|
|
|
Interval types.Duration `protobuf:"bytes,9,opt,name=Interval,proto3" json:"Interval"`
|
|
|
|
|
AliasNode string `protobuf:"bytes,10,opt,name=AliasNode,proto3" json:"AliasNode,omitempty"`
|
|
|
|
|
AliasService string `protobuf:"bytes,11,opt,name=AliasService,proto3" json:"AliasService,omitempty"`
|
|
|
|
|
DockerContainerID string `protobuf:"bytes,12,opt,name=DockerContainerID,proto3" json:"DockerContainerID,omitempty"`
|
|
|
|
@ -229,8 +226,8 @@ type CheckType struct {
|
|
|
|
|
GRPCUseTLS bool `protobuf:"varint,15,opt,name=GRPCUseTLS,proto3" json:"GRPCUseTLS,omitempty"`
|
|
|
|
|
TLSServerName string `protobuf:"bytes,27,opt,name=TLSServerName,proto3" json:"TLSServerName,omitempty"`
|
|
|
|
|
TLSSkipVerify bool `protobuf:"varint,16,opt,name=TLSSkipVerify,proto3" json:"TLSSkipVerify,omitempty"`
|
|
|
|
|
Timeout time.Duration `protobuf:"bytes,17,opt,name=Timeout,proto3,stdduration" json:"Timeout"`
|
|
|
|
|
TTL time.Duration `protobuf:"bytes,18,opt,name=TTL,proto3,stdduration" json:"TTL"`
|
|
|
|
|
Timeout types.Duration `protobuf:"bytes,17,opt,name=Timeout,proto3" json:"Timeout"`
|
|
|
|
|
TTL types.Duration `protobuf:"bytes,18,opt,name=TTL,proto3" json:"TTL"`
|
|
|
|
|
// mog: func-to=int func-from=int32
|
|
|
|
|
SuccessBeforePassing int32 `protobuf:"varint,21,opt,name=SuccessBeforePassing,proto3" json:"SuccessBeforePassing,omitempty"`
|
|
|
|
|
// mog: func-to=int func-from=int32
|
|
|
|
@ -243,7 +240,7 @@ type CheckType struct {
|
|
|
|
|
// DeregisterCriticalServiceAfter, if >0, will cause the associated
|
|
|
|
|
// service, if any, to be deregistered if this check is critical for
|
|
|
|
|
// longer than this duration.
|
|
|
|
|
DeregisterCriticalServiceAfter time.Duration `protobuf:"bytes,19,opt,name=DeregisterCriticalServiceAfter,proto3,stdduration" json:"DeregisterCriticalServiceAfter"`
|
|
|
|
|
DeregisterCriticalServiceAfter types.Duration `protobuf:"bytes,19,opt,name=DeregisterCriticalServiceAfter,proto3" json:"DeregisterCriticalServiceAfter"`
|
|
|
|
|
// mog: func-to=int func-from=int32
|
|
|
|
|
OutputMaxSize int32 `protobuf:"varint,25,opt,name=OutputMaxSize,proto3" json:"OutputMaxSize,omitempty"`
|
|
|
|
|
}
|
|
|
|
@ -293,76 +290,76 @@ func init() {
|
|
|
|
|
func init() { proto.RegisterFile("proto/pbservice/healthcheck.proto", fileDescriptor_8a6f7448747c9fbe) }
|
|
|
|
|
|
|
|
|
|
var fileDescriptor_8a6f7448747c9fbe = []byte{
|
|
|
|
|
// 1098 bytes of a gzipped FileDescriptorProto
|
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0x4f, 0x4f, 0xe3, 0x46,
|
|
|
|
|
0x14, 0x8f, 0x09, 0x49, 0xc8, 0x64, 0x61, 0x61, 0x16, 0xe8, 0x2c, 0xbb, 0x35, 0x29, 0xdd, 0x03,
|
|
|
|
|
0x55, 0x69, 0x22, 0xd1, 0x3f, 0x6a, 0x2b, 0xb5, 0x15, 0x21, 0x2c, 0xa4, 0x02, 0x9a, 0x3a, 0xe9,
|
|
|
|
|
0x56, 0xea, 0xcd, 0x38, 0x93, 0xc4, 0x22, 0xf1, 0x58, 0xe3, 0x31, 0x22, 0xbd, 0xf7, 0xde, 0xe3,
|
|
|
|
|
0x7e, 0x90, 0x7e, 0x08, 0x8e, 0x1c, 0x2b, 0x55, 0xa2, 0x2d, 0x7c, 0x8b, 0x9e, 0xaa, 0x79, 0x33,
|
|
|
|
|
0x0e, 0xf6, 0xc6, 0x0b, 0xe9, 0x6a, 0x7b, 0xca, 0xbc, 0xf7, 0x7b, 0x6f, 0xc6, 0x33, 0xef, 0xf7,
|
|
|
|
|
0x7b, 0x4f, 0x41, 0xef, 0xf9, 0x9c, 0x09, 0x56, 0xf5, 0x4f, 0x02, 0xca, 0xcf, 0x5c, 0x87, 0x56,
|
|
|
|
|
0xfb, 0xd4, 0x1e, 0x88, 0xbe, 0xd3, 0xa7, 0xce, 0x69, 0x05, 0x30, 0x5c, 0x1c, 0x83, 0x6b, 0x66,
|
|
|
|
|
0x8f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x1a, 0x1e, 0xbf, 0x9b, 0xa7, 0x61, 0xe2,
|
|
|
|
|
0x91, 0x7b, 0x02, 0x77, 0x4a, 0x3a, 0xdf, 0xc3, 0xdc, 0xab, 0x9e, 0x5e, 0xff, 0x63, 0x64, 0xae,
|
|
|
|
|
0xef, 0x0c, 0xed, 0xe6, 0xce, 0xd0, 0xfe, 0xbe, 0x33, 0xb4, 0xdf, 0xee, 0x8d, 0xcc, 0xef, 0xf7,
|
|
|
|
|
0x46, 0xe6, 0xe6, 0xde, 0xc8, 0xfc, 0x79, 0x6f, 0x64, 0x7e, 0xf9, 0xf4, 0xa1, 0xb1, 0xf7, 0xda,
|
|
|
|
|
0x1f, 0xfc, 0xf3, 0x3c, 0x38, 0xbe, 0xf8, 0x3f, 0x00, 0x00, 0xff, 0xff, 0x8a, 0x43, 0x4c, 0xaf,
|
|
|
|
|
0xfa, 0x0b, 0x00, 0x00,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *HealthCheck) Marshal() (dAtA []byte, err error) {
|
|
|
|
@ -602,12 +599,14 @@ func (m *HealthCheckDefinition) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x92
|
|
|
|
|
}
|
|
|
|
|
n4, err4 := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.TTL, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(m.TTL):])
|
|
|
|
|
if err4 != nil {
|
|
|
|
|
return 0, err4
|
|
|
|
|
{
|
|
|
|
|
size, err := m.TTL.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return 0, err
|
|
|
|
|
}
|
|
|
|
|
i -= size
|
|
|
|
|
i = encodeVarintHealthcheck(dAtA, i, uint64(size))
|
|
|
|
|
}
|
|
|
|
|
i -= n4
|
|
|
|
|
i = encodeVarintHealthcheck(dAtA, i, uint64(n4))
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x1
|
|
|
|
|
i--
|
|
|
|
@ -673,28 +672,34 @@ func (m *HealthCheckDefinition) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x48
|
|
|
|
|
}
|
|
|
|
|
n5, err5 := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.DeregisterCriticalServiceAfter, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(m.DeregisterCriticalServiceAfter):])
|
|
|
|
|
if err5 != nil {
|
|
|
|
|
return 0, err5
|
|
|
|
|
{
|
|
|
|
|
size, err := m.DeregisterCriticalServiceAfter.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return 0, err
|
|
|
|
|
}
|
|
|
|
|
i -= size
|
|
|
|
|
i = encodeVarintHealthcheck(dAtA, i, uint64(size))
|
|
|
|
|
}
|
|
|
|
|
i -= n5
|
|
|
|
|
i = encodeVarintHealthcheck(dAtA, i, uint64(n5))
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x42
|
|
|
|
|
n6, err6 := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.Timeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(m.Timeout):])
|
|
|
|
|
if err6 != nil {
|
|
|
|
|
return 0, err6
|
|
|
|
|
{
|
|
|
|
|
size, err := m.Timeout.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return 0, err
|
|
|
|
|
}
|
|
|
|
|
i -= size
|
|
|
|
|
i = encodeVarintHealthcheck(dAtA, i, uint64(size))
|
|
|
|
|
}
|
|
|
|
|
i -= n6
|
|
|
|
|
i = encodeVarintHealthcheck(dAtA, i, uint64(n6))
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x3a
|
|
|
|
|
n7, err7 := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.Interval, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(m.Interval):])
|
|
|
|
|
if err7 != nil {
|
|
|
|
|
return 0, err7
|
|
|
|
|
{
|
|
|
|
|
size, err := m.Interval.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return 0, err
|
|
|
|
|
}
|
|
|
|
|
i -= size
|
|
|
|
|
i = encodeVarintHealthcheck(dAtA, i, uint64(size))
|
|
|
|
|
}
|
|
|
|
|
i -= n7
|
|
|
|
|
i = encodeVarintHealthcheck(dAtA, i, uint64(n7))
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x32
|
|
|
|
|
if len(m.TCP) > 0 {
|
|
|
|
@ -886,32 +891,38 @@ func (m *CheckType) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
|
dAtA[i] = 0xa2
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
n10, err10 := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.DeregisterCriticalServiceAfter, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(m.DeregisterCriticalServiceAfter):])
|
|
|
|
|
if err10 != nil {
|
|
|
|
|
return 0, err10
|
|
|
|
|
{
|
|
|
|
|
size, err := m.DeregisterCriticalServiceAfter.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return 0, err
|
|
|
|
|
}
|
|
|
|
|
i -= size
|
|
|
|
|
i = encodeVarintHealthcheck(dAtA, i, uint64(size))
|
|
|
|
|
}
|
|
|
|
|
i -= n10
|
|
|
|
|
i = encodeVarintHealthcheck(dAtA, i, uint64(n10))
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x1
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x9a
|
|
|
|
|
n11, err11 := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.TTL, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(m.TTL):])
|
|
|
|
|
if err11 != nil {
|
|
|
|
|
return 0, err11
|
|
|
|
|
{
|
|
|
|
|
size, err := m.TTL.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return 0, err
|
|
|
|
|
}
|
|
|
|
|
i -= size
|
|
|
|
|
i = encodeVarintHealthcheck(dAtA, i, uint64(size))
|
|
|
|
|
}
|
|
|
|
|
i -= n11
|
|
|
|
|
i = encodeVarintHealthcheck(dAtA, i, uint64(n11))
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x1
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x92
|
|
|
|
|
n12, err12 := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.Timeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(m.Timeout):])
|
|
|
|
|
if err12 != nil {
|
|
|
|
|
return 0, err12
|
|
|
|
|
{
|
|
|
|
|
size, err := m.Timeout.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return 0, err
|
|
|
|
|
}
|
|
|
|
|
i -= size
|
|
|
|
|
i = encodeVarintHealthcheck(dAtA, i, uint64(size))
|
|
|
|
|
}
|
|
|
|
|
i -= n12
|
|
|
|
|
i = encodeVarintHealthcheck(dAtA, i, uint64(n12))
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x1
|
|
|
|
|
i--
|
|
|
|
@ -973,12 +984,14 @@ func (m *CheckType) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x52
|
|
|
|
|
}
|
|
|
|
|
n13, err13 := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.Interval, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(m.Interval):])
|
|
|
|
|
if err13 != nil {
|
|
|
|
|
return 0, err13
|
|
|
|
|
{
|
|
|
|
|
size, err := m.Interval.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return 0, err
|
|
|
|
|
}
|
|
|
|
|
i -= size
|
|
|
|
|
i = encodeVarintHealthcheck(dAtA, i, uint64(size))
|
|
|
|
|
}
|
|
|
|
|
i -= n13
|
|
|
|
|
i = encodeVarintHealthcheck(dAtA, i, uint64(n13))
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x4a
|
|
|
|
|
if len(m.TCP) > 0 {
|
|
|
|
@ -1166,11 +1179,11 @@ func (m *HealthCheckDefinition) Size() (n int) {
|
|
|
|
|
if l > 0 {
|
|
|
|
|
n += 1 + l + sovHealthcheck(uint64(l))
|
|
|
|
|
}
|
|
|
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.Interval)
|
|
|
|
|
l = m.Interval.Size()
|
|
|
|
|
n += 1 + l + sovHealthcheck(uint64(l))
|
|
|
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.Timeout)
|
|
|
|
|
l = m.Timeout.Size()
|
|
|
|
|
n += 1 + l + sovHealthcheck(uint64(l))
|
|
|
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.DeregisterCriticalServiceAfter)
|
|
|
|
|
l = m.DeregisterCriticalServiceAfter.Size()
|
|
|
|
|
n += 1 + l + sovHealthcheck(uint64(l))
|
|
|
|
|
if m.OutputMaxSize != 0 {
|
|
|
|
|
n += 1 + sovHealthcheck(uint64(m.OutputMaxSize))
|
|
|
|
@ -1204,7 +1217,7 @@ func (m *HealthCheckDefinition) Size() (n int) {
|
|
|
|
|
if l > 0 {
|
|
|
|
|
n += 2 + l + sovHealthcheck(uint64(l))
|
|
|
|
|
}
|
|
|
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.TTL)
|
|
|
|
|
l = m.TTL.Size()
|
|
|
|
|
n += 2 + l + sovHealthcheck(uint64(l))
|
|
|
|
|
l = len(m.Body)
|
|
|
|
|
if l > 0 {
|
|
|
|
@ -1264,7 +1277,7 @@ func (m *CheckType) Size() (n int) {
|
|
|
|
|
if l > 0 {
|
|
|
|
|
n += 1 + l + sovHealthcheck(uint64(l))
|
|
|
|
|
}
|
|
|
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.Interval)
|
|
|
|
|
l = m.Interval.Size()
|
|
|
|
|
n += 1 + l + sovHealthcheck(uint64(l))
|
|
|
|
|
l = len(m.AliasNode)
|
|
|
|
|
if l > 0 {
|
|
|
|
@ -1292,11 +1305,11 @@ func (m *CheckType) Size() (n int) {
|
|
|
|
|
if m.TLSSkipVerify {
|
|
|
|
|
n += 3
|
|
|
|
|
}
|
|
|
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.Timeout)
|
|
|
|
|
l = m.Timeout.Size()
|
|
|
|
|
n += 2 + l + sovHealthcheck(uint64(l))
|
|
|
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.TTL)
|
|
|
|
|
l = m.TTL.Size()
|
|
|
|
|
n += 2 + l + sovHealthcheck(uint64(l))
|
|
|
|
|
l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.DeregisterCriticalServiceAfter)
|
|
|
|
|
l = m.DeregisterCriticalServiceAfter.Size()
|
|
|
|
|
n += 2 + l + sovHealthcheck(uint64(l))
|
|
|
|
|
if len(m.Header) > 0 {
|
|
|
|
|
for k, v := range m.Header {
|
|
|
|
@ -2288,7 +2301,7 @@ func (m *HealthCheckDefinition) Unmarshal(dAtA []byte) error {
|
|
|
|
|
if postIndex > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.Interval, dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
|
if err := m.Interval.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
iNdEx = postIndex
|
|
|
|
@ -2321,7 +2334,7 @@ func (m *HealthCheckDefinition) Unmarshal(dAtA []byte) error {
|
|
|
|
|
if postIndex > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.Timeout, dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
|
if err := m.Timeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
iNdEx = postIndex
|
|
|
|
@ -2354,7 +2367,7 @@ func (m *HealthCheckDefinition) Unmarshal(dAtA []byte) error {
|
|
|
|
|
if postIndex > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.DeregisterCriticalServiceAfter, dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
|
if err := m.DeregisterCriticalServiceAfter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
iNdEx = postIndex
|
|
|
|
@ -2618,7 +2631,7 @@ func (m *HealthCheckDefinition) Unmarshal(dAtA []byte) error {
|
|
|
|
|
if postIndex > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.TTL, dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
|
if err := m.TTL.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
iNdEx = postIndex
|
|
|
|
@ -3073,7 +3086,7 @@ func (m *CheckType) Unmarshal(dAtA []byte) error {
|
|
|
|
|
if postIndex > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.Interval, dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
|
if err := m.Interval.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
iNdEx = postIndex
|
|
|
|
@ -3306,7 +3319,7 @@ func (m *CheckType) Unmarshal(dAtA []byte) error {
|
|
|
|
|
if postIndex > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.Timeout, dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
|
if err := m.Timeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
iNdEx = postIndex
|
|
|
|
@ -3339,7 +3352,7 @@ func (m *CheckType) Unmarshal(dAtA []byte) error {
|
|
|
|
|
if postIndex > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.TTL, dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
|
if err := m.TTL.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
iNdEx = postIndex
|
|
|
|
@ -3372,7 +3385,7 @@ func (m *CheckType) Unmarshal(dAtA []byte) error {
|
|
|
|
|
if postIndex > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.DeregisterCriticalServiceAfter, dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
|
if err := m.DeregisterCriticalServiceAfter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
iNdEx = postIndex
|
|
|
|
|