hostrewrite

package
v0.18.36 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostRewrite

type HostRewrite struct {
	// Types that are valid to be assigned to HostRewriteType:
	//	*HostRewrite_HostRewrite
	HostRewriteType      isHostRewrite_HostRewriteType `protobuf_oneof:"host_rewrite_type"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

Policies for rewriting the Host Header Based on Envoy's host_rewrite from https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/route/route.proto

func (*HostRewrite) Descriptor

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

func (*HostRewrite) Equal

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

func (*HostRewrite) GetHostRewrite

func (m *HostRewrite) GetHostRewrite() string

func (*HostRewrite) GetHostRewriteType

func (m *HostRewrite) GetHostRewriteType() isHostRewrite_HostRewriteType

func (*HostRewrite) ProtoMessage

func (*HostRewrite) ProtoMessage()

func (*HostRewrite) Reset

func (m *HostRewrite) Reset()

func (*HostRewrite) String

func (m *HostRewrite) String() string

func (*HostRewrite) XXX_DiscardUnknown

func (m *HostRewrite) XXX_DiscardUnknown()

func (*HostRewrite) XXX_Marshal

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

func (*HostRewrite) XXX_Merge

func (m *HostRewrite) XXX_Merge(src proto.Message)

func (*HostRewrite) XXX_OneofWrappers added in v0.18.29

func (*HostRewrite) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*HostRewrite) XXX_Size

func (m *HostRewrite) XXX_Size() int

func (*HostRewrite) XXX_Unmarshal

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

type HostRewrite_HostRewrite

type HostRewrite_HostRewrite struct {
	HostRewrite string `protobuf:"bytes,1,opt,name=host_rewrite,json=hostRewrite,proto3,oneof"`
}

func (*HostRewrite_HostRewrite) Equal

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

Jump to

Keyboard shortcuts

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