updater

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2025 License: Apache-2.0 Imports: 8 Imported by: 6

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
}

Jump to

Keyboard shortcuts

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