package
0.1.0
Repository: https://github.com/ocgi/carrier-sdk.git
Documentation: pkg.go.dev

# Functions

Bool2Str converts bool to string.
Convert_Carrier_To_GRPC converts a K8s GameServer object, into a gRPC SDK GameServer object.
GetContainer returns the container name.
GetGameServerCondition returns the condition with the provided type.
GetWebhookConfigName returns webhook name according to annotations.
SetGameServerCondition updates the GameServer to include the provided condition.
SetRequestToGameServerCondition convert request to GameServer condition.
SetupSignalHandler registered for SIGTERM and SIGINT.
WithExponentialBackoff will retry webhookFn up to 5 times with exponentially increasing backoff when it returns an error。.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

BoolValue for the request only contain bool field, such as SetReady request.
KeyValue for the request contain key/value field, such as SetLabel request.
SetRequest is the request from game server.

# Type aliases

SetType is set request type.