rest

package
v1.8.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: Apache-2.0 Imports: 18 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_solo_io_gloo_projects_gloo_api_v1_options_rest_rest_proto protoreflect.FileDescriptor

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             *transformation1.Parameters            `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty"`
	ResponseTransformation *transformation.TransformationTemplate `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

This is only for upstream with REST service spec

func (*DestinationSpec) Descriptor deprecated

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

Deprecated: Use DestinationSpec.ProtoReflect.Descriptor instead.

func (*DestinationSpec) Equal

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

Equal function

func (*DestinationSpec) GetFunctionName

func (x *DestinationSpec) GetFunctionName() string

func (*DestinationSpec) GetParameters

func (x *DestinationSpec) GetParameters() *transformation1.Parameters

func (*DestinationSpec) GetResponseTransformation

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

func (*DestinationSpec) Hash added in v1.2.13

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

Hash function

func (*DestinationSpec) ProtoMessage

func (*DestinationSpec) ProtoMessage()

func (*DestinationSpec) ProtoReflect added in v1.6.0

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

func (*DestinationSpec) Reset

func (x *DestinationSpec) Reset()

func (*DestinationSpec) String

func (x *DestinationSpec) String() string

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"`
	// contains filtered or unexported fields
}

func (*ServiceSpec) Descriptor deprecated

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

Deprecated: Use ServiceSpec.ProtoReflect.Descriptor instead.

func (*ServiceSpec) Equal

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

Equal function

func (*ServiceSpec) GetSwaggerInfo

func (x *ServiceSpec) GetSwaggerInfo() *ServiceSpec_SwaggerInfo

func (*ServiceSpec) GetTransformations

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

func (*ServiceSpec) Hash added in v1.2.13

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

Hash function

func (*ServiceSpec) ProtoMessage

func (*ServiceSpec) ProtoMessage()

func (*ServiceSpec) ProtoReflect added in v1.6.0

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

func (*ServiceSpec) Reset

func (x *ServiceSpec) Reset()

func (*ServiceSpec) String

func (x *ServiceSpec) String() string

type ServiceSpec_SwaggerInfo

type ServiceSpec_SwaggerInfo struct {

	// Types that are assignable to SwaggerSpec:
	//	*ServiceSpec_SwaggerInfo_Url
	//	*ServiceSpec_SwaggerInfo_Inline
	SwaggerSpec isServiceSpec_SwaggerInfo_SwaggerSpec `protobuf_oneof:"swagger_spec"`
	// contains filtered or unexported fields
}

func (*ServiceSpec_SwaggerInfo) Descriptor deprecated

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

Deprecated: Use ServiceSpec_SwaggerInfo.ProtoReflect.Descriptor instead.

func (*ServiceSpec_SwaggerInfo) Equal

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

Equal function

func (*ServiceSpec_SwaggerInfo) GetInline

func (x *ServiceSpec_SwaggerInfo) GetInline() string

func (*ServiceSpec_SwaggerInfo) GetSwaggerSpec

func (m *ServiceSpec_SwaggerInfo) GetSwaggerSpec() isServiceSpec_SwaggerInfo_SwaggerSpec

func (*ServiceSpec_SwaggerInfo) GetUrl

func (x *ServiceSpec_SwaggerInfo) GetUrl() string

func (*ServiceSpec_SwaggerInfo) Hash added in v1.2.13

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

Hash function

func (*ServiceSpec_SwaggerInfo) ProtoMessage

func (*ServiceSpec_SwaggerInfo) ProtoMessage()

func (*ServiceSpec_SwaggerInfo) ProtoReflect added in v1.6.0

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

func (*ServiceSpec_SwaggerInfo) Reset

func (x *ServiceSpec_SwaggerInfo) Reset()

func (*ServiceSpec_SwaggerInfo) String

func (x *ServiceSpec_SwaggerInfo) String() string

type ServiceSpec_SwaggerInfo_Inline

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

type ServiceSpec_SwaggerInfo_Url

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

Jump to

Keyboard shortcuts

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