framework

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Framework

type Framework struct {
	// contains filtered or unexported fields
}

func NewFrameWork

func NewFrameWork(config *restclient.Config) *Framework

func (*Framework) AfterEach

func (f *Framework) AfterEach() error

func (*Framework) AfterSuit

func (f *Framework) AfterSuit() error

func (*Framework) BeforeSuit

func (f *Framework) BeforeSuit() error

func (*Framework) ChangeGameServerDeletionPriority

func (f *Framework) ChangeGameServerDeletionPriority(gsName string, deletionPriority string) (*gamekruiseiov1alpha1.GameServer, error)

func (*Framework) DeletePodDirectly

func (f *Framework) DeletePodDirectly(index int) error

func (*Framework) DeployGameServerSet

func (f *Framework) DeployGameServerSet() (*gamekruiseiov1alpha1.GameServerSet, error)

func (*Framework) DeployGameServerSetWithReclaimPolicy added in v0.7.0

func (f *Framework) DeployGameServerSetWithReclaimPolicy(reclaimPolicy gamekruiseiov1alpha1.GameServerReclaimPolicy) (*gamekruiseiov1alpha1.GameServerSet, error)

func (*Framework) DeployGssWithServiceQualities

func (f *Framework) DeployGssWithServiceQualities() (*gamekruiseiov1alpha1.GameServerSet, error)

func (*Framework) ExpectGsCorrect

func (f *Framework) ExpectGsCorrect(gsName, opsState, dp, up string) error

func (*Framework) ExpectGssCorrect

func (f *Framework) ExpectGssCorrect(gss *gamekruiseiov1alpha1.GameServerSet, expectIndex []int) error

func (*Framework) GameServerScale

func (f *Framework) GameServerScale(gss *gamekruiseiov1alpha1.GameServerSet, desireNum int, reserveGsId *int) (*gamekruiseiov1alpha1.GameServerSet, error)

func (*Framework) ImageUpdate

func (*Framework) MarkGameServerOpsState

func (f *Framework) MarkGameServerOpsState(gsName string, opsState string) (*gamekruiseiov1alpha1.GameServer, error)

func (*Framework) WaitForGsCreated

func (f *Framework) WaitForGsCreated(gss *gamekruiseiov1alpha1.GameServerSet) error

func (*Framework) WaitForGsDeletionPriorityUpdated

func (f *Framework) WaitForGsDeletionPriorityUpdated(gsName string, deletionPriority string) error

func (*Framework) WaitForGsOpsStateUpdate

func (f *Framework) WaitForGsOpsStateUpdate(gsName string, opsState string) error

func (*Framework) WaitForGsUpdatePriorityUpdated

func (f *Framework) WaitForGsUpdatePriorityUpdated(gsName string, updatePriority string) error

func (*Framework) WaitForPodDeleted added in v0.7.0

func (f *Framework) WaitForPodDeleted(podName string) error

func (*Framework) WaitForUpdated

func (f *Framework) WaitForUpdated(gss *gamekruiseiov1alpha1.GameServerSet, name, image string) error

Jump to

Keyboard shortcuts

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