Documentation ¶
Index ¶
- type KruiseGameApiHttpClient
- func (g *KruiseGameApiHttpClient) GetGameServerSets(filterBuilder *filterbuilder.GssFilterBuilder) ([]*v1alpha1.GameServerSet, error)
- func (g *KruiseGameApiHttpClient) GetGameServers(filterBuilder *filterbuilder.GsFilterBuilder) ([]*v1alpha1.GameServer, error)
- func (g *KruiseGameApiHttpClient) UpdateGameServerSets(filterBuilder *filterbuilder.GsFilterBuilder, ...) ([]updater.UpdateGssResult, error)
- func (g *KruiseGameApiHttpClient) UpdateGameServers(filterBuilder *filterbuilder.GsFilterBuilder, ...) ([]updater.UpdateGsResult, error)
- type KruiseGameResource
- type UpdateKruiseGameRequest
- type UpdateKruiseGameResult
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 }
Click to show internal directories.
Click to hide internal directories.