http_types

package
Version: v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HttpMethod_Registered_name = map[int32]string{
	0: "GET",
	1: "POST",
	2: "PUT",
	3: "DELETE",
	4: "PATCH",
	5: "OPTIONS",
	6: "CONNECT",
	7: "HEAD",
	8: "TRACE",
}
View Source
var HttpMethod_Registered_value = map[string]int32{
	"GET":     0,
	"POST":    1,
	"PUT":     2,
	"DELETE":  3,
	"PATCH":   4,
	"OPTIONS": 5,
	"CONNECT": 6,
	"HEAD":    7,
	"TRACE":   8,
}
View Source
var Scheme_Registered_name = map[int32]string{
	0: "HTTP",
	1: "HTTPS",
}
View Source
var Scheme_Registered_value = map[string]int32{
	"HTTP":  0,
	"HTTPS": 1,
}

Functions

This section is empty.

Types

type Headers added in v0.1.10

type Headers struct {
	Headers              []*Headers_Header `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*Headers) Descriptor added in v0.1.10

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

func (*Headers) GetHeaders added in v0.1.10

func (m *Headers) GetHeaders() []*Headers_Header

func (*Headers) ProtoMessage added in v0.1.10

func (*Headers) ProtoMessage()

func (*Headers) Reset added in v0.1.10

func (m *Headers) Reset()

func (*Headers) String added in v0.1.10

func (m *Headers) String() string

func (*Headers) XXX_DiscardUnknown added in v0.1.10

func (m *Headers) XXX_DiscardUnknown()

func (*Headers) XXX_Marshal added in v0.1.10

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

func (*Headers) XXX_Merge added in v0.1.10

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

func (*Headers) XXX_Size added in v0.1.10

func (m *Headers) XXX_Size() int

func (*Headers) XXX_Unmarshal added in v0.1.10

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

type Headers_Header added in v0.1.10

type Headers_Header struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value                []byte   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Headers_Header) Descriptor added in v0.1.10

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

func (*Headers_Header) GetName added in v0.1.10

func (m *Headers_Header) GetName() string

func (*Headers_Header) GetValue added in v0.1.10

func (m *Headers_Header) GetValue() []byte

func (*Headers_Header) ProtoMessage added in v0.1.10

func (*Headers_Header) ProtoMessage()

func (*Headers_Header) Reset added in v0.1.10

func (m *Headers_Header) Reset()

func (*Headers_Header) String added in v0.1.10

func (m *Headers_Header) String() string

func (*Headers_Header) XXX_DiscardUnknown added in v0.1.10

func (m *Headers_Header) XXX_DiscardUnknown()

func (*Headers_Header) XXX_Marshal added in v0.1.10

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

func (*Headers_Header) XXX_Merge added in v0.1.10

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

func (*Headers_Header) XXX_Size added in v0.1.10

func (m *Headers_Header) XXX_Size() int

func (*Headers_Header) XXX_Unmarshal added in v0.1.10

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

type HttpMethod

type HttpMethod struct {
	// Types that are valid to be assigned to Type:
	//	*HttpMethod_Registered_
	//	*HttpMethod_Unregistered
	Type                 isHttpMethod_Type `protobuf_oneof:"type"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*HttpMethod) Descriptor

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

func (*HttpMethod) GetRegistered

func (m *HttpMethod) GetRegistered() HttpMethod_Registered

func (*HttpMethod) GetType

func (m *HttpMethod) GetType() isHttpMethod_Type

func (*HttpMethod) GetUnregistered

func (m *HttpMethod) GetUnregistered() string

func (*HttpMethod) ProtoMessage

func (*HttpMethod) ProtoMessage()

func (*HttpMethod) Reset

func (m *HttpMethod) Reset()

func (*HttpMethod) String

func (m *HttpMethod) String() string

func (*HttpMethod) XXX_DiscardUnknown

func (m *HttpMethod) XXX_DiscardUnknown()

func (*HttpMethod) XXX_Marshal

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

func (*HttpMethod) XXX_Merge

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

func (*HttpMethod) XXX_OneofFuncs

func (*HttpMethod) 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 (*HttpMethod) XXX_Size

func (m *HttpMethod) XXX_Size() int

func (*HttpMethod) XXX_Unmarshal

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

type HttpMethod_Registered

type HttpMethod_Registered int32
const (
	HttpMethod_GET     HttpMethod_Registered = 0
	HttpMethod_POST    HttpMethod_Registered = 1
	HttpMethod_PUT     HttpMethod_Registered = 2
	HttpMethod_DELETE  HttpMethod_Registered = 3
	HttpMethod_PATCH   HttpMethod_Registered = 4
	HttpMethod_OPTIONS HttpMethod_Registered = 5
	HttpMethod_CONNECT HttpMethod_Registered = 6
	HttpMethod_HEAD    HttpMethod_Registered = 7
	HttpMethod_TRACE   HttpMethod_Registered = 8
)

func (HttpMethod_Registered) EnumDescriptor

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

func (HttpMethod_Registered) String

func (x HttpMethod_Registered) String() string

type HttpMethod_Registered_

type HttpMethod_Registered_ struct {
	Registered HttpMethod_Registered `protobuf:"varint,1,opt,name=registered,proto3,enum=io.linkerd.proxy.http_types.HttpMethod_Registered,oneof"`
}

type HttpMethod_Unregistered

type HttpMethod_Unregistered struct {
	Unregistered string `protobuf:"bytes,2,opt,name=unregistered,proto3,oneof"`
}

type Scheme

type Scheme struct {
	// Types that are valid to be assigned to Type:
	//	*Scheme_Registered_
	//	*Scheme_Unregistered
	Type                 isScheme_Type `protobuf_oneof:"type"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*Scheme) Descriptor

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

func (*Scheme) GetRegistered

func (m *Scheme) GetRegistered() Scheme_Registered

func (*Scheme) GetType

func (m *Scheme) GetType() isScheme_Type

func (*Scheme) GetUnregistered

func (m *Scheme) GetUnregistered() string

func (*Scheme) ProtoMessage

func (*Scheme) ProtoMessage()

func (*Scheme) Reset

func (m *Scheme) Reset()

func (*Scheme) String

func (m *Scheme) String() string

func (*Scheme) XXX_DiscardUnknown

func (m *Scheme) XXX_DiscardUnknown()

func (*Scheme) XXX_Marshal

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

func (*Scheme) XXX_Merge

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

func (*Scheme) XXX_OneofFuncs

func (*Scheme) 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 (*Scheme) XXX_Size

func (m *Scheme) XXX_Size() int

func (*Scheme) XXX_Unmarshal

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

type Scheme_Registered

type Scheme_Registered int32
const (
	Scheme_HTTP  Scheme_Registered = 0
	Scheme_HTTPS Scheme_Registered = 1
)

func (Scheme_Registered) EnumDescriptor

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

func (Scheme_Registered) String

func (x Scheme_Registered) String() string

type Scheme_Registered_

type Scheme_Registered_ struct {
	Registered Scheme_Registered `protobuf:"varint,1,opt,name=registered,proto3,enum=io.linkerd.proxy.http_types.Scheme_Registered,oneof"`
}

type Scheme_Unregistered

type Scheme_Unregistered struct {
	Unregistered string `protobuf:"bytes,2,opt,name=unregistered,proto3,oneof"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL