converters

package
v1.45.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package converters includes API conversions between GameServerAllocation API and the Allocation proto APIs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertAllocationRequestToGSA added in v1.6.0

func ConvertAllocationRequestToGSA(in *pb.AllocationRequest) *allocationv1.GameServerAllocation

ConvertAllocationRequestToGSA converts AllocationRequest to GameServerAllocation V1 (GSA)

func ConvertAllocationResponseToGSA added in v1.6.0

func ConvertAllocationResponseToGSA(in *pb.AllocationResponse, rs string) *allocationv1.GameServerAllocation

ConvertAllocationResponseToGSA converts AllocationResponse to GameServerAllocation V1 (GSA)

func ConvertGSAToAllocationRequest added in v1.6.0

func ConvertGSAToAllocationRequest(in *allocationv1.GameServerAllocation) *pb.AllocationRequest

ConvertGSAToAllocationRequest converts AllocationRequest to GameServerAllocation V1 (GSA)

func ConvertGSAToAllocationResponse added in v1.6.0

func ConvertGSAToAllocationResponse(in *allocationv1.GameServerAllocation, grpcUnallocatedStatusCode codes.Code) (*pb.AllocationResponse, error)

ConvertGSAToAllocationResponse converts GameServerAllocation V1 (GSA) to AllocationResponse

Types

This section is empty.

Jump to

Keyboard shortcuts

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