Documentation ¶
Index ¶
- type Framework
- func (f *Framework) AfterEach() error
- func (f *Framework) AfterSuit() error
- func (f *Framework) BeforeSuit() error
- func (f *Framework) ChangeGameServerDeletionPriority(gsName string, deletionPriority string) (*gamekruiseiov1alpha1.GameServer, error)
- func (f *Framework) DeletePodDirectly(index int) error
- func (f *Framework) DeployGameServerSet() (*gamekruiseiov1alpha1.GameServerSet, error)
- func (f *Framework) DeployGameServerSetWithReclaimPolicy(reclaimPolicy gamekruiseiov1alpha1.GameServerReclaimPolicy) (*gamekruiseiov1alpha1.GameServerSet, error)
- func (f *Framework) DeployGssWithServiceQualities() (*gamekruiseiov1alpha1.GameServerSet, error)
- func (f *Framework) ExpectGsCorrect(gsName, opsState, dp, up string) error
- func (f *Framework) ExpectGssCorrect(gss *gamekruiseiov1alpha1.GameServerSet, expectIndex []int) error
- func (f *Framework) GameServerScale(gss *gamekruiseiov1alpha1.GameServerSet, desireNum int, reserveGsId *int) (*gamekruiseiov1alpha1.GameServerSet, error)
- func (f *Framework) ImageUpdate(gss *gamekruiseiov1alpha1.GameServerSet, name, image string) (*gamekruiseiov1alpha1.GameServerSet, error)
- func (f *Framework) MarkGameServerOpsState(gsName string, opsState string) (*gamekruiseiov1alpha1.GameServer, error)
- func (f *Framework) WaitForGsCreated(gss *gamekruiseiov1alpha1.GameServerSet) error
- func (f *Framework) WaitForGsDeletionPriorityUpdated(gsName string, deletionPriority string) error
- func (f *Framework) WaitForGsOpsStateUpdate(gsName string, opsState string) error
- func (f *Framework) WaitForGsUpdatePriorityUpdated(gsName string, updatePriority string) error
- func (f *Framework) WaitForPodDeleted(podName string) error
- func (f *Framework) WaitForUpdated(gss *gamekruiseiov1alpha1.GameServerSet, name, image string) error
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) BeforeSuit ¶
func (*Framework) ChangeGameServerDeletionPriority ¶
func (f *Framework) ChangeGameServerDeletionPriority(gsName string, deletionPriority string) (*gamekruiseiov1alpha1.GameServer, error)
func (*Framework) DeletePodDirectly ¶
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 (*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 (f *Framework) ImageUpdate(gss *gamekruiseiov1alpha1.GameServerSet, name, image string) (*gamekruiseiov1alpha1.GameServerSet, error)
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 (*Framework) WaitForGsOpsStateUpdate ¶
func (*Framework) WaitForGsUpdatePriorityUpdated ¶
func (*Framework) WaitForPodDeleted ¶ added in v0.7.0
func (*Framework) WaitForUpdated ¶
func (f *Framework) WaitForUpdated(gss *gamekruiseiov1alpha1.GameServerSet, name, image string) error
Click to show internal directories.
Click to hide internal directories.