Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IUpdater ¶
type IUpdater interface {
Update(gameServers []*v1alpha1.GameServer, jsonPatch []byte) ([]*v1alpha1.GameServer, error)
}
type UpdateResult ¶
type UpdateResult struct {
Gs *v1alpha1.GameServer `json:"gs"`
UpdatedGs *v1alpha1.GameServer `json:"updatedGs"`
Err error `json:"err"`
}
type Updater ¶
type Updater struct {
// contains filtered or unexported fields
}
func NewUpdater ¶
func NewUpdater(option *UpdaterOption) *Updater
func (*Updater) Update ¶
func (u *Updater) Update(gameServers []*v1alpha1.GameServer, jsonPatch []byte) []UpdateResult
type UpdaterOption ¶
type UpdaterOption struct {
options.KubeOption
}
Click to show internal directories.
Click to hide internal directories.