Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UpdateGsResult ¶ added in v0.0.2
type UpdateGsResult struct {
Gs *v1alpha1.GameServer `json:"gs"`
UpdatedGs *v1alpha1.GameServer `json:"updatedGs"`
Err error `json:"err"`
}
type UpdateGssResult ¶ added in v0.0.2
type UpdateGssResult struct {
Gss *v1alpha1.GameServerSet `json:"gss"`
UpdatedGss *v1alpha1.GameServerSet `json:"updatedGss"`
Err error `json:"err"`
}
type Updater ¶
type Updater struct {
// contains filtered or unexported fields
}
func NewUpdater ¶
func NewUpdater(option *UpdaterOption) *Updater
func (*Updater) UpdateGameServerSets ¶ added in v0.0.2
func (u *Updater) UpdateGameServerSets(gameServerSets []*v1alpha1.GameServerSet, jsonPatch []byte) []UpdateGssResult
func (*Updater) UpdateGameServers ¶ added in v0.0.2
func (u *Updater) UpdateGameServers(gameServers []*v1alpha1.GameServer, jsonPatch []byte) []UpdateGsResult
type UpdaterOption ¶
type UpdaterOption struct {
options.KubeOption
}
Click to show internal directories.
Click to hide internal directories.