http_types

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2019 License: Apache-2.0 Imports: 3 Imported by: 31

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 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
y or Y : Canonical URL