studiov1alpha1

package
v1.50.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: Apache-2.0 Imports: 4 Imported by: 1

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 {
	// 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 added in v1.49.0

func (x *Headers) SetKey(v string)

func (*Headers) SetValue added in v1.49.0

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

func (*Headers) String

func (x *Headers) String() string

type Headers_builder added in v1.49.0

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

func (Headers_builder) Build added in v1.49.0

func (b0 Headers_builder) Build() *Headers

type InvokeRequest

type InvokeRequest struct {
	// 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 added in v1.49.0

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

func (*InvokeRequest) SetHeaders added in v1.49.0

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

func (*InvokeRequest) SetTarget added in v1.49.0

func (x *InvokeRequest) SetTarget(v string)

func (*InvokeRequest) String

func (x *InvokeRequest) String() string

type InvokeRequest_builder added in v1.49.0

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 added in v1.49.0

type InvokeResponse

type InvokeResponse struct {
	// 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 added in v1.49.0

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

func (*InvokeResponse) SetHeaders added in v1.49.0

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

func (*InvokeResponse) SetTrailers added in v1.49.0

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

func (*InvokeResponse) String

func (x *InvokeResponse) String() string

type InvokeResponse_builder added in v1.49.0

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 added in v1.49.0

Jump to

Keyboard shortcuts

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