rest

package
v0.20.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DestinationSpec

type DestinationSpec struct {
	FunctionName           string                                 `protobuf:"bytes,1,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"`
	Parameters             *transformation.Parameters             `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty"`
	ResponseTransformation *transformation.TransformationTemplate `` /* 127-byte string literal not displayed */
	XXX_NoUnkeyedLiteral   struct{}                               `json:"-"`
	XXX_unrecognized       []byte                                 `json:"-"`
	XXX_sizecache          int32                                  `json:"-"`
}

This is only for upstream with REST service spec

func (*DestinationSpec) Descriptor

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

func (*DestinationSpec) Equal

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

func (*DestinationSpec) GetFunctionName

func (m *DestinationSpec) GetFunctionName() string

func (*DestinationSpec) GetParameters

func (m *DestinationSpec) GetParameters() *transformation.Parameters

func (*DestinationSpec) GetResponseTransformation

func (m *DestinationSpec) GetResponseTransformation() *transformation.TransformationTemplate

func (*DestinationSpec) ProtoMessage

func (*DestinationSpec) ProtoMessage()

func (*DestinationSpec) Reset

func (m *DestinationSpec) Reset()

func (*DestinationSpec) String

func (m *DestinationSpec) String() string

func (*DestinationSpec) XXX_DiscardUnknown

func (m *DestinationSpec) XXX_DiscardUnknown()

func (*DestinationSpec) XXX_Marshal

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

func (*DestinationSpec) XXX_Merge

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

func (*DestinationSpec) XXX_Size

func (m *DestinationSpec) XXX_Size() int

func (*DestinationSpec) XXX_Unmarshal

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

type ServiceSpec

type ServiceSpec struct {
	Transformations      map[string]*transformation.TransformationTemplate `` /* 171-byte string literal not displayed */
	SwaggerInfo          *ServiceSpec_SwaggerInfo                          `protobuf:"bytes,2,opt,name=swagger_info,json=swaggerInfo,proto3" json:"swagger_info,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                          `json:"-"`
	XXX_unrecognized     []byte                                            `json:"-"`
	XXX_sizecache        int32                                             `json:"-"`
}

func (*ServiceSpec) Descriptor

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

func (*ServiceSpec) Equal

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

func (*ServiceSpec) GetSwaggerInfo

func (m *ServiceSpec) GetSwaggerInfo() *ServiceSpec_SwaggerInfo

func (*ServiceSpec) GetTransformations

func (m *ServiceSpec) GetTransformations() map[string]*transformation.TransformationTemplate

func (*ServiceSpec) ProtoMessage

func (*ServiceSpec) ProtoMessage()

func (*ServiceSpec) Reset

func (m *ServiceSpec) Reset()

func (*ServiceSpec) String

func (m *ServiceSpec) String() string

func (*ServiceSpec) XXX_DiscardUnknown

func (m *ServiceSpec) XXX_DiscardUnknown()

func (*ServiceSpec) XXX_Marshal

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

func (*ServiceSpec) XXX_Merge

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

func (*ServiceSpec) XXX_Size

func (m *ServiceSpec) XXX_Size() int

func (*ServiceSpec) XXX_Unmarshal

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

type ServiceSpec_SwaggerInfo

type ServiceSpec_SwaggerInfo struct {
	// Types that are valid to be assigned to SwaggerSpec:
	//	*ServiceSpec_SwaggerInfo_Url
	//	*ServiceSpec_SwaggerInfo_Inline
	SwaggerSpec          isServiceSpec_SwaggerInfo_SwaggerSpec `protobuf_oneof:"swagger_spec"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

func (*ServiceSpec_SwaggerInfo) Descriptor

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

func (*ServiceSpec_SwaggerInfo) Equal

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

func (*ServiceSpec_SwaggerInfo) GetInline

func (m *ServiceSpec_SwaggerInfo) GetInline() string

func (*ServiceSpec_SwaggerInfo) GetSwaggerSpec

func (m *ServiceSpec_SwaggerInfo) GetSwaggerSpec() isServiceSpec_SwaggerInfo_SwaggerSpec

func (*ServiceSpec_SwaggerInfo) GetUrl

func (m *ServiceSpec_SwaggerInfo) GetUrl() string

func (*ServiceSpec_SwaggerInfo) ProtoMessage

func (*ServiceSpec_SwaggerInfo) ProtoMessage()

func (*ServiceSpec_SwaggerInfo) Reset

func (m *ServiceSpec_SwaggerInfo) Reset()

func (*ServiceSpec_SwaggerInfo) String

func (m *ServiceSpec_SwaggerInfo) String() string

func (*ServiceSpec_SwaggerInfo) XXX_DiscardUnknown

func (m *ServiceSpec_SwaggerInfo) XXX_DiscardUnknown()

func (*ServiceSpec_SwaggerInfo) XXX_Marshal

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

func (*ServiceSpec_SwaggerInfo) XXX_Merge

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

func (*ServiceSpec_SwaggerInfo) XXX_OneofWrappers added in v0.18.29

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*ServiceSpec_SwaggerInfo) XXX_Size

func (m *ServiceSpec_SwaggerInfo) XXX_Size() int

func (*ServiceSpec_SwaggerInfo) XXX_Unmarshal

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

type ServiceSpec_SwaggerInfo_Inline

type ServiceSpec_SwaggerInfo_Inline struct {
	Inline string `protobuf:"bytes,2,opt,name=inline,proto3,oneof" json:"inline,omitempty"`
}

func (*ServiceSpec_SwaggerInfo_Inline) Equal

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

type ServiceSpec_SwaggerInfo_Url

type ServiceSpec_SwaggerInfo_Url struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3,oneof" json:"url,omitempty"`
}

func (*ServiceSpec_SwaggerInfo_Url) Equal

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

Jump to

Keyboard shortcuts

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