envoy_data_core_v2alpha

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthHealthCheckEvent = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowHealthCheckEvent   = fmt.Errorf("proto: integer overflow")
)
View Source
var HealthCheckFailureType_name = map[int32]string{
	0: "ACTIVE",
	1: "PASSIVE",
	2: "NETWORK",
}
View Source
var HealthCheckFailureType_value = map[string]int32{
	"ACTIVE":  0,
	"PASSIVE": 1,
	"NETWORK": 2,
}
View Source
var HealthCheckerType_name = map[int32]string{
	0: "HTTP",
	1: "TCP",
	2: "GRPC",
	3: "REDIS",
}
View Source
var HealthCheckerType_value = map[string]int32{
	"HTTP":  0,
	"TCP":   1,
	"GRPC":  2,
	"REDIS": 3,
}

Functions

This section is empty.

Types

type HealthCheckAddHealthy

type HealthCheckAddHealthy struct {
	// Whether this addition is the result of the first ever health check on a host, in which case
	// the configured :ref:`healthy threshold <envoy_api_field_core.HealthCheck.healthy_threshold>`
	// is bypassed and the host is immediately added.
	FirstCheck           bool     `protobuf:"varint,1,opt,name=first_check,json=firstCheck,proto3" json:"first_check,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HealthCheckAddHealthy) Descriptor

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

func (*HealthCheckAddHealthy) Equal added in v0.5.0

func (this *HealthCheckAddHealthy) Equal(that interface{}) bool

func (*HealthCheckAddHealthy) GetFirstCheck

func (m *HealthCheckAddHealthy) GetFirstCheck() bool

func (*HealthCheckAddHealthy) Marshal added in v0.5.0

func (m *HealthCheckAddHealthy) Marshal() (dAtA []byte, err error)

func (*HealthCheckAddHealthy) MarshalTo added in v0.5.0

func (m *HealthCheckAddHealthy) MarshalTo(dAtA []byte) (int, error)

func (*HealthCheckAddHealthy) ProtoMessage

func (*HealthCheckAddHealthy) ProtoMessage()

func (*HealthCheckAddHealthy) Reset

func (m *HealthCheckAddHealthy) Reset()

func (*HealthCheckAddHealthy) Size added in v0.5.0

func (m *HealthCheckAddHealthy) Size() (n int)

func (*HealthCheckAddHealthy) String

func (m *HealthCheckAddHealthy) String() string

func (*HealthCheckAddHealthy) Unmarshal added in v0.5.0

func (m *HealthCheckAddHealthy) Unmarshal(dAtA []byte) error

func (*HealthCheckAddHealthy) Validate

func (m *HealthCheckAddHealthy) Validate() error

Validate checks the field values on HealthCheckAddHealthy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*HealthCheckAddHealthy) XXX_DiscardUnknown added in v0.5.0

func (m *HealthCheckAddHealthy) XXX_DiscardUnknown()

func (*HealthCheckAddHealthy) XXX_Marshal added in v0.5.0

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

func (*HealthCheckAddHealthy) XXX_Merge added in v0.5.0

func (dst *HealthCheckAddHealthy) XXX_Merge(src proto.Message)

func (*HealthCheckAddHealthy) XXX_Size added in v0.5.0

func (m *HealthCheckAddHealthy) XXX_Size() int

func (*HealthCheckAddHealthy) XXX_Unmarshal added in v0.5.0

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

type HealthCheckAddHealthyValidationError

type HealthCheckAddHealthyValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

HealthCheckAddHealthyValidationError is the validation error returned by HealthCheckAddHealthy.Validate if the designated constraints aren't met.

func (HealthCheckAddHealthyValidationError) Error

Error satisfies the builtin error interface

type HealthCheckEjectUnhealthy

type HealthCheckEjectUnhealthy struct {
	// The type of failure that caused this ejection.
	FailureType          HealthCheckFailureType `` /* 147-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*HealthCheckEjectUnhealthy) Descriptor

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

func (*HealthCheckEjectUnhealthy) Equal added in v0.5.0

func (this *HealthCheckEjectUnhealthy) Equal(that interface{}) bool

func (*HealthCheckEjectUnhealthy) GetFailureType

func (*HealthCheckEjectUnhealthy) Marshal added in v0.5.0

func (m *HealthCheckEjectUnhealthy) Marshal() (dAtA []byte, err error)

func (*HealthCheckEjectUnhealthy) MarshalTo added in v0.5.0

func (m *HealthCheckEjectUnhealthy) MarshalTo(dAtA []byte) (int, error)

func (*HealthCheckEjectUnhealthy) ProtoMessage

func (*HealthCheckEjectUnhealthy) ProtoMessage()

func (*HealthCheckEjectUnhealthy) Reset

func (m *HealthCheckEjectUnhealthy) Reset()

func (*HealthCheckEjectUnhealthy) Size added in v0.5.0

func (m *HealthCheckEjectUnhealthy) Size() (n int)

func (*HealthCheckEjectUnhealthy) String

func (m *HealthCheckEjectUnhealthy) String() string

func (*HealthCheckEjectUnhealthy) Unmarshal added in v0.5.0

func (m *HealthCheckEjectUnhealthy) Unmarshal(dAtA []byte) error

func (*HealthCheckEjectUnhealthy) Validate

func (m *HealthCheckEjectUnhealthy) Validate() error

Validate checks the field values on HealthCheckEjectUnhealthy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*HealthCheckEjectUnhealthy) XXX_DiscardUnknown added in v0.5.0

func (m *HealthCheckEjectUnhealthy) XXX_DiscardUnknown()

func (*HealthCheckEjectUnhealthy) XXX_Marshal added in v0.5.0

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

func (*HealthCheckEjectUnhealthy) XXX_Merge added in v0.5.0

func (dst *HealthCheckEjectUnhealthy) XXX_Merge(src proto.Message)

func (*HealthCheckEjectUnhealthy) XXX_Size added in v0.5.0

func (m *HealthCheckEjectUnhealthy) XXX_Size() int

func (*HealthCheckEjectUnhealthy) XXX_Unmarshal added in v0.5.0

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

type HealthCheckEjectUnhealthyValidationError

type HealthCheckEjectUnhealthyValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

HealthCheckEjectUnhealthyValidationError is the validation error returned by HealthCheckEjectUnhealthy.Validate if the designated constraints aren't met.

func (HealthCheckEjectUnhealthyValidationError) Error

Error satisfies the builtin error interface

type HealthCheckEvent

type HealthCheckEvent struct {
	HealthCheckerType HealthCheckerType `` /* 162-byte string literal not displayed */
	Host              *core.Address     `protobuf:"bytes,2,opt,name=host" json:"host,omitempty"`
	ClusterName       string            `protobuf:"bytes,3,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
	// Types that are valid to be assigned to Event:
	//	*HealthCheckEvent_EjectUnhealthyEvent
	//	*HealthCheckEvent_AddHealthyEvent
	//	*HealthCheckEvent_HealthCheckFailureEvent
	Event isHealthCheckEvent_Event `protobuf_oneof:"event"`
	// Timestamp for event.
	Timestamp            *time.Time `protobuf:"bytes,6,opt,name=timestamp,stdtime" json:"timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*HealthCheckEvent) Descriptor

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

func (*HealthCheckEvent) Equal added in v0.5.0

func (this *HealthCheckEvent) Equal(that interface{}) bool

func (*HealthCheckEvent) GetAddHealthyEvent

func (m *HealthCheckEvent) GetAddHealthyEvent() *HealthCheckAddHealthy

func (*HealthCheckEvent) GetClusterName

func (m *HealthCheckEvent) GetClusterName() string

func (*HealthCheckEvent) GetEjectUnhealthyEvent

func (m *HealthCheckEvent) GetEjectUnhealthyEvent() *HealthCheckEjectUnhealthy

func (*HealthCheckEvent) GetEvent

func (m *HealthCheckEvent) GetEvent() isHealthCheckEvent_Event

func (*HealthCheckEvent) GetHealthCheckFailureEvent

func (m *HealthCheckEvent) GetHealthCheckFailureEvent() *HealthCheckFailure

func (*HealthCheckEvent) GetHealthCheckerType

func (m *HealthCheckEvent) GetHealthCheckerType() HealthCheckerType

func (*HealthCheckEvent) GetHost

func (m *HealthCheckEvent) GetHost() *core.Address

func (*HealthCheckEvent) GetTimestamp

func (m *HealthCheckEvent) GetTimestamp() *time.Time

func (*HealthCheckEvent) Marshal added in v0.5.0

func (m *HealthCheckEvent) Marshal() (dAtA []byte, err error)

func (*HealthCheckEvent) MarshalTo added in v0.5.0

func (m *HealthCheckEvent) MarshalTo(dAtA []byte) (int, error)

func (*HealthCheckEvent) ProtoMessage

func (*HealthCheckEvent) ProtoMessage()

func (*HealthCheckEvent) Reset

func (m *HealthCheckEvent) Reset()

func (*HealthCheckEvent) Size added in v0.5.0

func (m *HealthCheckEvent) Size() (n int)

func (*HealthCheckEvent) String

func (m *HealthCheckEvent) String() string

func (*HealthCheckEvent) Unmarshal added in v0.5.0

func (m *HealthCheckEvent) Unmarshal(dAtA []byte) error

func (*HealthCheckEvent) Validate

func (m *HealthCheckEvent) Validate() error

Validate checks the field values on HealthCheckEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*HealthCheckEvent) XXX_DiscardUnknown added in v0.5.0

func (m *HealthCheckEvent) XXX_DiscardUnknown()

func (*HealthCheckEvent) XXX_Marshal added in v0.5.0

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

func (*HealthCheckEvent) XXX_Merge added in v0.5.0

func (dst *HealthCheckEvent) XXX_Merge(src proto.Message)

func (*HealthCheckEvent) XXX_OneofFuncs added in v0.5.0

func (*HealthCheckEvent) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*HealthCheckEvent) XXX_Size added in v0.5.0

func (m *HealthCheckEvent) XXX_Size() int

func (*HealthCheckEvent) XXX_Unmarshal added in v0.5.0

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

type HealthCheckEventValidationError

type HealthCheckEventValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

HealthCheckEventValidationError is the validation error returned by HealthCheckEvent.Validate if the designated constraints aren't met.

func (HealthCheckEventValidationError) Error

Error satisfies the builtin error interface

type HealthCheckEvent_AddHealthyEvent

type HealthCheckEvent_AddHealthyEvent struct {
	AddHealthyEvent *HealthCheckAddHealthy `protobuf:"bytes,5,opt,name=add_healthy_event,json=addHealthyEvent,oneof"`
}

func (*HealthCheckEvent_AddHealthyEvent) Equal added in v0.5.0

func (this *HealthCheckEvent_AddHealthyEvent) Equal(that interface{}) bool

func (*HealthCheckEvent_AddHealthyEvent) MarshalTo added in v0.5.0

func (m *HealthCheckEvent_AddHealthyEvent) MarshalTo(dAtA []byte) (int, error)

func (*HealthCheckEvent_AddHealthyEvent) Size added in v0.5.0

func (m *HealthCheckEvent_AddHealthyEvent) Size() (n int)

type HealthCheckEvent_EjectUnhealthyEvent

type HealthCheckEvent_EjectUnhealthyEvent struct {
	EjectUnhealthyEvent *HealthCheckEjectUnhealthy `protobuf:"bytes,4,opt,name=eject_unhealthy_event,json=ejectUnhealthyEvent,oneof"`
}

func (*HealthCheckEvent_EjectUnhealthyEvent) Equal added in v0.5.0

func (this *HealthCheckEvent_EjectUnhealthyEvent) Equal(that interface{}) bool

func (*HealthCheckEvent_EjectUnhealthyEvent) MarshalTo added in v0.5.0

func (m *HealthCheckEvent_EjectUnhealthyEvent) MarshalTo(dAtA []byte) (int, error)

func (*HealthCheckEvent_EjectUnhealthyEvent) Size added in v0.5.0

type HealthCheckEvent_HealthCheckFailureEvent

type HealthCheckEvent_HealthCheckFailureEvent struct {
	HealthCheckFailureEvent *HealthCheckFailure `protobuf:"bytes,7,opt,name=health_check_failure_event,json=healthCheckFailureEvent,oneof"`
}

func (*HealthCheckEvent_HealthCheckFailureEvent) Equal added in v0.6.4

func (this *HealthCheckEvent_HealthCheckFailureEvent) Equal(that interface{}) bool

func (*HealthCheckEvent_HealthCheckFailureEvent) MarshalTo added in v0.6.4

func (m *HealthCheckEvent_HealthCheckFailureEvent) MarshalTo(dAtA []byte) (int, error)

func (*HealthCheckEvent_HealthCheckFailureEvent) Size added in v0.6.4

type HealthCheckFailure

type HealthCheckFailure struct {
	// The type of failure that caused this event.
	FailureType HealthCheckFailureType `` /* 147-byte string literal not displayed */
	// Whether this event is the result of the first ever health check on a host.
	FirstCheck           bool     `protobuf:"varint,2,opt,name=first_check,json=firstCheck,proto3" json:"first_check,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HealthCheckFailure) Descriptor

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

func (*HealthCheckFailure) Equal added in v0.6.4

func (this *HealthCheckFailure) Equal(that interface{}) bool

func (*HealthCheckFailure) GetFailureType

func (m *HealthCheckFailure) GetFailureType() HealthCheckFailureType

func (*HealthCheckFailure) GetFirstCheck

func (m *HealthCheckFailure) GetFirstCheck() bool

func (*HealthCheckFailure) Marshal added in v0.6.4

func (m *HealthCheckFailure) Marshal() (dAtA []byte, err error)

func (*HealthCheckFailure) MarshalTo added in v0.6.4

func (m *HealthCheckFailure) MarshalTo(dAtA []byte) (int, error)

func (*HealthCheckFailure) ProtoMessage

func (*HealthCheckFailure) ProtoMessage()

func (*HealthCheckFailure) Reset

func (m *HealthCheckFailure) Reset()

func (*HealthCheckFailure) Size added in v0.6.4

func (m *HealthCheckFailure) Size() (n int)

func (*HealthCheckFailure) String

func (m *HealthCheckFailure) String() string

func (*HealthCheckFailure) Unmarshal added in v0.6.4

func (m *HealthCheckFailure) Unmarshal(dAtA []byte) error

func (*HealthCheckFailure) Validate

func (m *HealthCheckFailure) Validate() error

Validate checks the field values on HealthCheckFailure with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*HealthCheckFailure) XXX_DiscardUnknown added in v0.6.4

func (m *HealthCheckFailure) XXX_DiscardUnknown()

func (*HealthCheckFailure) XXX_Marshal added in v0.6.4

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

func (*HealthCheckFailure) XXX_Merge added in v0.6.4

func (dst *HealthCheckFailure) XXX_Merge(src proto.Message)

func (*HealthCheckFailure) XXX_Size added in v0.6.4

func (m *HealthCheckFailure) XXX_Size() int

func (*HealthCheckFailure) XXX_Unmarshal added in v0.6.4

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

type HealthCheckFailureType

type HealthCheckFailureType int32
const (
	HealthCheckFailureType_ACTIVE  HealthCheckFailureType = 0
	HealthCheckFailureType_PASSIVE HealthCheckFailureType = 1
	HealthCheckFailureType_NETWORK HealthCheckFailureType = 2
)

func (HealthCheckFailureType) EnumDescriptor

func (HealthCheckFailureType) EnumDescriptor() ([]byte, []int)

func (HealthCheckFailureType) String

func (x HealthCheckFailureType) String() string

type HealthCheckFailureValidationError

type HealthCheckFailureValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

HealthCheckFailureValidationError is the validation error returned by HealthCheckFailure.Validate if the designated constraints aren't met.

func (HealthCheckFailureValidationError) Error

Error satisfies the builtin error interface

type HealthCheckerType

type HealthCheckerType int32
const (
	HealthCheckerType_HTTP  HealthCheckerType = 0
	HealthCheckerType_TCP   HealthCheckerType = 1
	HealthCheckerType_GRPC  HealthCheckerType = 2
	HealthCheckerType_REDIS HealthCheckerType = 3
)

func (HealthCheckerType) EnumDescriptor

func (HealthCheckerType) EnumDescriptor() ([]byte, []int)

func (HealthCheckerType) String

func (x HealthCheckerType) String() string

Jump to

Keyboard shortcuts

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