http_path

package
v1.18.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_solo_io_gloo_projects_gloo_api_external_envoy_extensions_http_path_http_path_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type HttpPath

type HttpPath struct {

	// Http health check.
	HttpHealthCheck *v3.HealthCheck_HttpHealthCheck `protobuf:"bytes,1,opt,name=http_health_check,json=httpHealthCheck,proto3" json:"http_health_check,omitempty"`
	// contains filtered or unexported fields
}

Same as HTTP health checker, but allows a custom path per endpoint The http path to use can be overriden using endpoint metadata. The endpoint specific path should be in the "io.solo.health_checkers.http_path" namespace, under a string value named "path".

func (*HttpPath) Clone added in v1.8.24

func (m *HttpPath) Clone() proto.Message

Clone function

func (*HttpPath) Descriptor deprecated

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

Deprecated: Use HttpPath.ProtoReflect.Descriptor instead.

func (*HttpPath) Equal

func (m *HttpPath) Equal(that interface{}) bool

Equal function

func (*HttpPath) GetHttpHealthCheck

func (x *HttpPath) GetHttpHealthCheck() *v3.HealthCheck_HttpHealthCheck

func (*HttpPath) Hash deprecated added in v1.6.0

func (m *HttpPath) Hash(hasher hash.Hash64) (uint64, error)

Hash function

Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.

func (*HttpPath) HashUnique added in v1.18.0

func (m *HttpPath) HashUnique(hasher hash.Hash64) (uint64, error)

HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.

func (*HttpPath) ProtoMessage

func (*HttpPath) ProtoMessage()

func (*HttpPath) ProtoReflect added in v1.6.0

func (x *HttpPath) ProtoReflect() protoreflect.Message

func (*HttpPath) Reset

func (x *HttpPath) Reset()

func (*HttpPath) String

func (x *HttpPath) String() string

Jump to

Keyboard shortcuts

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