studiov1alpha1

package
v1.36.11-2025121520353... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_buf_alpha_studio_v1alpha1_invoke_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Headers

type Headers struct {
	Key   string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value []string `protobuf:"bytes,2,rep,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Headers encode HTTP headers.

func (*Headers) GetKey

func (x *Headers) GetKey() string

func (*Headers) GetValue

func (x *Headers) GetValue() []string

func (*Headers) ProtoMessage

func (*Headers) ProtoMessage()

func (*Headers) ProtoReflect

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

func (*Headers) Reset

func (x *Headers) Reset()

func (*Headers) SetKey

func (x *Headers) SetKey(v string)

func (*Headers) SetValue

func (x *Headers) SetValue(v []string)

func (*Headers) String

func (x *Headers) String() string

type Headers_builder

type Headers_builder struct {
	Key   string
	Value []string
	// contains filtered or unexported fields
}

func (Headers_builder) Build

func (b0 Headers_builder) Build() *Headers

type InvokeRequest

type InvokeRequest struct {

	// Target server the agent should forward this request to, e.g.
	// "https://api.acme.corp/pkg.Service/Method". Using the "http" scheme will
	// cause the request to be forwarded as h2c, whereas "https" forwards the
	// request with regular h2.
	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// Headers to send with the request. If body is set, a Content-Type header
	// must be specified.
	Headers []*Headers `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty"`
	// The message to be sent in the request (without any protocol specific framing).
	Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

InvokeRequest encodes an enveloped RPC request. See the package documentation for more information.

func (*InvokeRequest) GetBody

func (x *InvokeRequest) GetBody() []byte

func (*InvokeRequest) GetHeaders

func (x *InvokeRequest) GetHeaders() []*Headers

func (*InvokeRequest) GetTarget

func (x *InvokeRequest) GetTarget() string

func (*InvokeRequest) ProtoMessage

func (*InvokeRequest) ProtoMessage()

func (*InvokeRequest) ProtoReflect

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

func (*InvokeRequest) Reset

func (x *InvokeRequest) Reset()

func (*InvokeRequest) SetBody

func (x *InvokeRequest) SetBody(v []byte)

func (*InvokeRequest) SetHeaders

func (x *InvokeRequest) SetHeaders(v []*Headers)

func (*InvokeRequest) SetTarget

func (x *InvokeRequest) SetTarget(v string)

func (*InvokeRequest) String

func (x *InvokeRequest) String() string

type InvokeRequest_builder

type InvokeRequest_builder struct {

	// Target server the agent should forward this request to, e.g.
	// "https://api.acme.corp/pkg.Service/Method". Using the "http" scheme will
	// cause the request to be forwarded as h2c, whereas "https" forwards the
	// request with regular h2.
	Target string
	// Headers to send with the request. If body is set, a Content-Type header
	// must be specified.
	Headers []*Headers
	// The message to be sent in the request (without any protocol specific framing).
	Body []byte
	// contains filtered or unexported fields
}

func (InvokeRequest_builder) Build

type InvokeResponse

type InvokeResponse struct {

	// Headers received in the response.
	Headers []*Headers `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"`
	// The encoded message received in the response (without protocol specific framing).
	Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	// Trailers received in the response.
	Trailers []*Headers `protobuf:"bytes,3,rep,name=trailers,proto3" json:"trailers,omitempty"`
	// contains filtered or unexported fields
}

InvokeResponse encodes an enveloped RPC response. See the package documentation for more information.

func (*InvokeResponse) GetBody

func (x *InvokeResponse) GetBody() []byte

func (*InvokeResponse) GetHeaders

func (x *InvokeResponse) GetHeaders() []*Headers

func (*InvokeResponse) GetTrailers

func (x *InvokeResponse) GetTrailers() []*Headers

func (*InvokeResponse) ProtoMessage

func (*InvokeResponse) ProtoMessage()

func (*InvokeResponse) ProtoReflect

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

func (*InvokeResponse) Reset

func (x *InvokeResponse) Reset()

func (*InvokeResponse) SetBody

func (x *InvokeResponse) SetBody(v []byte)

func (*InvokeResponse) SetHeaders

func (x *InvokeResponse) SetHeaders(v []*Headers)

func (*InvokeResponse) SetTrailers

func (x *InvokeResponse) SetTrailers(v []*Headers)

func (*InvokeResponse) String

func (x *InvokeResponse) String() string

type InvokeResponse_builder

type InvokeResponse_builder struct {

	// Headers received in the response.
	Headers []*Headers
	// The encoded message received in the response (without protocol specific framing).
	Body []byte
	// Trailers received in the response.
	Trailers []*Headers
	// contains filtered or unexported fields
}

func (InvokeResponse_builder) Build

Source Files

  • invoke.pb.go

Jump to

Keyboard shortcuts

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