updater

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 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 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
}

Jump to

Keyboard shortcuts

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