Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Allocation ¶
Allocation is a game server allocation
type Client ¶
type Client struct { CA []byte ClientCert []byte ClientKey []byte Endpoint string Namespace string Multicluster bool DialOpts grpc.DialOption MatchLabels map[string]string }
Client is all of the things necessary to build an allocator request
func NewClient ¶
func NewClient(keyFile, certFile, cacertFile, externalIP, namespace string, multiCluster bool, labelSelector map[string]string) (*Client, error)
NewClient builds a new client object
func (*Client) AllocateGameserver ¶
func (c *Client) AllocateGameserver() (*Allocation, error)
AllocateGameserver allocates a new gamserver
Click to show internal directories.
Click to hide internal directories.