client

package
v0.0.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KruiseGameApiHttpClient

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

func NewKruiseGameApiHttpClient

func NewKruiseGameApiHttpClient() *KruiseGameApiHttpClient

func (*KruiseGameApiHttpClient) GetGameServerSets added in v0.0.2

func (g *KruiseGameApiHttpClient) GetGameServerSets(filterBuilder *filterbuilder.GssFilterBuilder) ([]*v1alpha1.GameServerSet, error)

func (*KruiseGameApiHttpClient) GetGameServers

func (g *KruiseGameApiHttpClient) GetGameServers(filterBuilder *filterbuilder.GsFilterBuilder) ([]*v1alpha1.GameServer, error)

func (*KruiseGameApiHttpClient) UpdateGameServerSets added in v0.0.2

func (g *KruiseGameApiHttpClient) UpdateGameServerSets(filterBuilder *filterbuilder.GsFilterBuilder, jsonPatchBuilder *jsonpatchbuilder.GsJsonPatchBuilder) ([]updater.UpdateGssResult, error)

func (*KruiseGameApiHttpClient) UpdateGameServers

func (g *KruiseGameApiHttpClient) UpdateGameServers(filterBuilder *filterbuilder.GsFilterBuilder, jsonPatchBuilder *jsonpatchbuilder.GsJsonPatchBuilder) ([]updater.UpdateGsResult, error)

type KruiseGameResource added in v0.0.2

type KruiseGameResource interface {
	*v1alpha1.GameServer | *v1alpha1.GameServerSet
}

type UpdateKruiseGameRequest added in v0.0.2

type UpdateKruiseGameRequest interface {
	apimodels.UpdateGameServersRequest | apimodels.UpdateGameServerSetsRequest
}

type UpdateKruiseGameResult added in v0.0.2

type UpdateKruiseGameResult interface {
	updater.UpdateGsResult | updater.UpdateGssResult
}

Jump to

Keyboard shortcuts

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