s4wave_testbed

package
v0.51.2 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const SRPCTestbedResourceServiceServiceID = "s4wave.testbed.TestbedResourceService"

Variables

This section is empty.

Functions

func NewSRPCTestbedResourceServiceHandler

func NewSRPCTestbedResourceServiceHandler(impl SRPCTestbedResourceServiceServer, serviceID string) srpc.Handler

NewSRPCTestbedResourceServiceHandler constructs a new RPC handler. serviceID: if empty, uses default: s4wave.testbed.TestbedResourceService

func SRPCRegisterTestbedResourceService

func SRPCRegisterTestbedResourceService(mux srpc.Mux, impl SRPCTestbedResourceServiceServer) error

SRPCRegisterTestbedResourceService registers the implementation with the mux. Uses the default serviceID: s4wave.testbed.TestbedResourceService

Types

type AccessStateAtomRequest

type AccessStateAtomRequest struct {

	// StoreId is the identifier for the state store.
	// If empty, uses the default "ui-state" store.
	StoreId string `protobuf:"bytes,1,opt,name=store_id,json=storeId,proto3" json:"storeId,omitempty"`
	// contains filtered or unexported fields
}

AccessStateAtomRequest is the request for AccessStateAtom.

func (*AccessStateAtomRequest) CloneMessageVT

func (*AccessStateAtomRequest) CloneVT

func (*AccessStateAtomRequest) EqualMessageVT

func (this *AccessStateAtomRequest) EqualMessageVT(thatMsg any) bool

func (*AccessStateAtomRequest) EqualVT

func (this *AccessStateAtomRequest) EqualVT(that *AccessStateAtomRequest) bool

func (*AccessStateAtomRequest) GetStoreId

func (x *AccessStateAtomRequest) GetStoreId() string

func (*AccessStateAtomRequest) MarshalJSON

func (x *AccessStateAtomRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the AccessStateAtomRequest to JSON.

func (*AccessStateAtomRequest) MarshalProtoJSON

func (x *AccessStateAtomRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the AccessStateAtomRequest message to JSON.

func (*AccessStateAtomRequest) MarshalProtoText

func (x *AccessStateAtomRequest) MarshalProtoText() string

func (*AccessStateAtomRequest) MarshalToSizedBufferVT

func (m *AccessStateAtomRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AccessStateAtomRequest) MarshalToVT

func (m *AccessStateAtomRequest) MarshalToVT(dAtA []byte) (int, error)

func (*AccessStateAtomRequest) MarshalVT

func (m *AccessStateAtomRequest) MarshalVT() (dAtA []byte, err error)

func (*AccessStateAtomRequest) ProtoMessage

func (*AccessStateAtomRequest) ProtoMessage()

func (*AccessStateAtomRequest) Reset

func (x *AccessStateAtomRequest) Reset()

func (*AccessStateAtomRequest) SizeVT

func (m *AccessStateAtomRequest) SizeVT() (n int)

func (*AccessStateAtomRequest) String

func (x *AccessStateAtomRequest) String() string

func (*AccessStateAtomRequest) UnmarshalJSON

func (x *AccessStateAtomRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the AccessStateAtomRequest from JSON.

func (*AccessStateAtomRequest) UnmarshalProtoJSON

func (x *AccessStateAtomRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the AccessStateAtomRequest message from JSON.

func (*AccessStateAtomRequest) UnmarshalVT

func (m *AccessStateAtomRequest) UnmarshalVT(dAtA []byte) error

type AccessStateAtomResponse

type AccessStateAtomResponse struct {

	// ResourceId is the ID of the state atom resource.
	ResourceId uint32 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resourceId,omitempty"`
	// contains filtered or unexported fields
}

AccessStateAtomResponse is the response for AccessStateAtom.

func (*AccessStateAtomResponse) CloneMessageVT

func (*AccessStateAtomResponse) CloneVT

func (*AccessStateAtomResponse) EqualMessageVT

func (this *AccessStateAtomResponse) EqualMessageVT(thatMsg any) bool

func (*AccessStateAtomResponse) EqualVT

func (*AccessStateAtomResponse) GetResourceId

func (x *AccessStateAtomResponse) GetResourceId() uint32

func (*AccessStateAtomResponse) MarshalJSON

func (x *AccessStateAtomResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the AccessStateAtomResponse to JSON.

func (*AccessStateAtomResponse) MarshalProtoJSON

func (x *AccessStateAtomResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the AccessStateAtomResponse message to JSON.

func (*AccessStateAtomResponse) MarshalProtoText

func (x *AccessStateAtomResponse) MarshalProtoText() string

func (*AccessStateAtomResponse) MarshalToSizedBufferVT

func (m *AccessStateAtomResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AccessStateAtomResponse) MarshalToVT

func (m *AccessStateAtomResponse) MarshalToVT(dAtA []byte) (int, error)

func (*AccessStateAtomResponse) MarshalVT

func (m *AccessStateAtomResponse) MarshalVT() (dAtA []byte, err error)

func (*AccessStateAtomResponse) ProtoMessage

func (*AccessStateAtomResponse) ProtoMessage()

func (*AccessStateAtomResponse) Reset

func (x *AccessStateAtomResponse) Reset()

func (*AccessStateAtomResponse) SizeVT

func (m *AccessStateAtomResponse) SizeVT() (n int)

func (*AccessStateAtomResponse) String

func (x *AccessStateAtomResponse) String() string

func (*AccessStateAtomResponse) UnmarshalJSON

func (x *AccessStateAtomResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the AccessStateAtomResponse from JSON.

func (*AccessStateAtomResponse) UnmarshalProtoJSON

func (x *AccessStateAtomResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the AccessStateAtomResponse message from JSON.

func (*AccessStateAtomResponse) UnmarshalVT

func (m *AccessStateAtomResponse) UnmarshalVT(dAtA []byte) error

type CreateWorldRequest

type CreateWorldRequest struct {

	// EngineId is the ID for the world engine (optional, will be generated if empty).
	EngineId string `protobuf:"bytes,1,opt,name=engine_id,json=engineId,proto3" json:"engineId,omitempty"`
	// contains filtered or unexported fields
}

CreateWorldRequest is the request type for CreateWorld.

func (*CreateWorldRequest) CloneMessageVT

func (m *CreateWorldRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*CreateWorldRequest) CloneVT

func (m *CreateWorldRequest) CloneVT() *CreateWorldRequest

func (*CreateWorldRequest) EqualMessageVT

func (this *CreateWorldRequest) EqualMessageVT(thatMsg any) bool

func (*CreateWorldRequest) EqualVT

func (this *CreateWorldRequest) EqualVT(that *CreateWorldRequest) bool

func (*CreateWorldRequest) GetEngineId

func (x *CreateWorldRequest) GetEngineId() string

func (*CreateWorldRequest) MarshalJSON

func (x *CreateWorldRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the CreateWorldRequest to JSON.

func (*CreateWorldRequest) MarshalProtoJSON

func (x *CreateWorldRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the CreateWorldRequest message to JSON.

func (*CreateWorldRequest) MarshalProtoText

func (x *CreateWorldRequest) MarshalProtoText() string

func (*CreateWorldRequest) MarshalToSizedBufferVT

func (m *CreateWorldRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CreateWorldRequest) MarshalToVT

func (m *CreateWorldRequest) MarshalToVT(dAtA []byte) (int, error)

func (*CreateWorldRequest) MarshalVT

func (m *CreateWorldRequest) MarshalVT() (dAtA []byte, err error)

func (*CreateWorldRequest) ProtoMessage

func (*CreateWorldRequest) ProtoMessage()

func (*CreateWorldRequest) Reset

func (x *CreateWorldRequest) Reset()

func (*CreateWorldRequest) SizeVT

func (m *CreateWorldRequest) SizeVT() (n int)

func (*CreateWorldRequest) String

func (x *CreateWorldRequest) String() string

func (*CreateWorldRequest) UnmarshalJSON

func (x *CreateWorldRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the CreateWorldRequest from JSON.

func (*CreateWorldRequest) UnmarshalProtoJSON

func (x *CreateWorldRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the CreateWorldRequest message from JSON.

func (*CreateWorldRequest) UnmarshalVT

func (m *CreateWorldRequest) UnmarshalVT(dAtA []byte) error

type CreateWorldResponse

type CreateWorldResponse struct {

	// ResourceId is the ID of the created engine resource.
	ResourceId uint32 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resourceId,omitempty"`
	// contains filtered or unexported fields
}

CreateWorldResponse is the response type for CreateWorld.

func (*CreateWorldResponse) CloneMessageVT

func (*CreateWorldResponse) CloneVT

func (*CreateWorldResponse) EqualMessageVT

func (this *CreateWorldResponse) EqualMessageVT(thatMsg any) bool

func (*CreateWorldResponse) EqualVT

func (this *CreateWorldResponse) EqualVT(that *CreateWorldResponse) bool

func (*CreateWorldResponse) GetResourceId

func (x *CreateWorldResponse) GetResourceId() uint32

func (*CreateWorldResponse) MarshalJSON

func (x *CreateWorldResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the CreateWorldResponse to JSON.

func (*CreateWorldResponse) MarshalProtoJSON

func (x *CreateWorldResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the CreateWorldResponse message to JSON.

func (*CreateWorldResponse) MarshalProtoText

func (x *CreateWorldResponse) MarshalProtoText() string

func (*CreateWorldResponse) MarshalToSizedBufferVT

func (m *CreateWorldResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CreateWorldResponse) MarshalToVT

func (m *CreateWorldResponse) MarshalToVT(dAtA []byte) (int, error)

func (*CreateWorldResponse) MarshalVT

func (m *CreateWorldResponse) MarshalVT() (dAtA []byte, err error)

func (*CreateWorldResponse) ProtoMessage

func (*CreateWorldResponse) ProtoMessage()

func (*CreateWorldResponse) Reset

func (x *CreateWorldResponse) Reset()

func (*CreateWorldResponse) SizeVT

func (m *CreateWorldResponse) SizeVT() (n int)

func (*CreateWorldResponse) String

func (x *CreateWorldResponse) String() string

func (*CreateWorldResponse) UnmarshalJSON

func (x *CreateWorldResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the CreateWorldResponse from JSON.

func (*CreateWorldResponse) UnmarshalProtoJSON

func (x *CreateWorldResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the CreateWorldResponse message from JSON.

func (*CreateWorldResponse) UnmarshalVT

func (m *CreateWorldResponse) UnmarshalVT(dAtA []byte) error

type MarkTestResultRequest

type MarkTestResultRequest struct {

	// Success indicates if the test passed.
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// ErrorMessage contains the error message if the test failed.
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"errorMessage,omitempty"`
	// contains filtered or unexported fields
}

MarkTestResultRequest is the request type for MarkTestResult.

func (*MarkTestResultRequest) CloneMessageVT

func (*MarkTestResultRequest) CloneVT

func (*MarkTestResultRequest) EqualMessageVT

func (this *MarkTestResultRequest) EqualMessageVT(thatMsg any) bool

func (*MarkTestResultRequest) EqualVT

func (this *MarkTestResultRequest) EqualVT(that *MarkTestResultRequest) bool

func (*MarkTestResultRequest) GetErrorMessage

func (x *MarkTestResultRequest) GetErrorMessage() string

func (*MarkTestResultRequest) GetSuccess

func (x *MarkTestResultRequest) GetSuccess() bool

func (*MarkTestResultRequest) MarshalJSON

func (x *MarkTestResultRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the MarkTestResultRequest to JSON.

func (*MarkTestResultRequest) MarshalProtoJSON

func (x *MarkTestResultRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the MarkTestResultRequest message to JSON.

func (*MarkTestResultRequest) MarshalProtoText

func (x *MarkTestResultRequest) MarshalProtoText() string

func (*MarkTestResultRequest) MarshalToSizedBufferVT

func (m *MarkTestResultRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*MarkTestResultRequest) MarshalToVT

func (m *MarkTestResultRequest) MarshalToVT(dAtA []byte) (int, error)

func (*MarkTestResultRequest) MarshalVT

func (m *MarkTestResultRequest) MarshalVT() (dAtA []byte, err error)

func (*MarkTestResultRequest) ProtoMessage

func (*MarkTestResultRequest) ProtoMessage()

func (*MarkTestResultRequest) Reset

func (x *MarkTestResultRequest) Reset()

func (*MarkTestResultRequest) SizeVT

func (m *MarkTestResultRequest) SizeVT() (n int)

func (*MarkTestResultRequest) String

func (x *MarkTestResultRequest) String() string

func (*MarkTestResultRequest) UnmarshalJSON

func (x *MarkTestResultRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the MarkTestResultRequest from JSON.

func (*MarkTestResultRequest) UnmarshalProtoJSON

func (x *MarkTestResultRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the MarkTestResultRequest message from JSON.

func (*MarkTestResultRequest) UnmarshalVT

func (m *MarkTestResultRequest) UnmarshalVT(dAtA []byte) error

type MarkTestResultResponse

type MarkTestResultResponse struct {
	// contains filtered or unexported fields
}

MarkTestResultResponse is the response type for MarkTestResult.

func (*MarkTestResultResponse) CloneMessageVT

func (*MarkTestResultResponse) CloneVT

func (*MarkTestResultResponse) EqualMessageVT

func (this *MarkTestResultResponse) EqualMessageVT(thatMsg any) bool

func (*MarkTestResultResponse) EqualVT

func (this *MarkTestResultResponse) EqualVT(that *MarkTestResultResponse) bool

func (*MarkTestResultResponse) MarshalJSON

func (x *MarkTestResultResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the MarkTestResultResponse to JSON.

func (*MarkTestResultResponse) MarshalProtoJSON

func (x *MarkTestResultResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the MarkTestResultResponse message to JSON.

func (*MarkTestResultResponse) MarshalProtoText

func (x *MarkTestResultResponse) MarshalProtoText() string

func (*MarkTestResultResponse) MarshalToSizedBufferVT

func (m *MarkTestResultResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*MarkTestResultResponse) MarshalToVT

func (m *MarkTestResultResponse) MarshalToVT(dAtA []byte) (int, error)

func (*MarkTestResultResponse) MarshalVT

func (m *MarkTestResultResponse) MarshalVT() (dAtA []byte, err error)

func (*MarkTestResultResponse) ProtoMessage

func (*MarkTestResultResponse) ProtoMessage()

func (*MarkTestResultResponse) Reset

func (x *MarkTestResultResponse) Reset()

func (*MarkTestResultResponse) SizeVT

func (m *MarkTestResultResponse) SizeVT() (n int)

func (*MarkTestResultResponse) String

func (x *MarkTestResultResponse) String() string

func (*MarkTestResultResponse) UnmarshalJSON

func (x *MarkTestResultResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the MarkTestResultResponse from JSON.

func (*MarkTestResultResponse) UnmarshalProtoJSON

func (x *MarkTestResultResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the MarkTestResultResponse message from JSON.

func (*MarkTestResultResponse) UnmarshalVT

func (m *MarkTestResultResponse) UnmarshalVT(dAtA []byte) error

type SRPCTestbedResourceServiceClient

type SRPCTestbedResourceServiceClient interface {
	// SRPCClient returns the underlying SRPC client.
	SRPCClient() srpc.Client

	CreateWorld(ctx context.Context, in *CreateWorldRequest) (*CreateWorldResponse, error)

	MarkTestResult(ctx context.Context, in *MarkTestResultRequest) (*MarkTestResultResponse, error)

	AccessStateAtom(ctx context.Context, in *AccessStateAtomRequest) (*AccessStateAtomResponse, error)
}

func NewSRPCTestbedResourceServiceClient

func NewSRPCTestbedResourceServiceClient(cc srpc.Client) SRPCTestbedResourceServiceClient

func NewSRPCTestbedResourceServiceClientWithServiceID

func NewSRPCTestbedResourceServiceClientWithServiceID(cc srpc.Client, serviceID string) SRPCTestbedResourceServiceClient

type SRPCTestbedResourceServiceHandler

type SRPCTestbedResourceServiceHandler struct {
	// contains filtered or unexported fields
}

func (SRPCTestbedResourceServiceHandler) GetMethodIDs

func (SRPCTestbedResourceServiceHandler) GetMethodIDs() []string

func (*SRPCTestbedResourceServiceHandler) GetServiceID

func (d *SRPCTestbedResourceServiceHandler) GetServiceID() string

func (*SRPCTestbedResourceServiceHandler) InvokeMethod

func (d *SRPCTestbedResourceServiceHandler) InvokeMethod(
	serviceID, methodID string,
	strm srpc.Stream,
) (bool, error)

func (SRPCTestbedResourceServiceHandler) InvokeMethod_AccessStateAtom

func (SRPCTestbedResourceServiceHandler) InvokeMethod_AccessStateAtom(impl SRPCTestbedResourceServiceServer, strm srpc.Stream) error

func (SRPCTestbedResourceServiceHandler) InvokeMethod_CreateWorld

func (SRPCTestbedResourceServiceHandler) InvokeMethod_MarkTestResult

type SRPCTestbedResourceService_AccessStateAtomStream

type SRPCTestbedResourceService_AccessStateAtomStream interface {
	srpc.Stream
}

type SRPCTestbedResourceService_CreateWorldStream

type SRPCTestbedResourceService_CreateWorldStream interface {
	srpc.Stream
}

type SRPCTestbedResourceService_MarkTestResultStream

type SRPCTestbedResourceService_MarkTestResultStream interface {
	srpc.Stream
}

Jump to

Keyboard shortcuts

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