test

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestUtil

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

func NewTestUtil

func NewTestUtil(client client.Client) TestUtil

func (*TestUtil) CreateClusterTemplate added in v0.8.0

func (c *TestUtil) CreateClusterTemplate(templateType string, templateName string)

func (*TestUtil) CreateCosmoUser

func (c *TestUtil) CreateCosmoUser(userName string, dispayName string, role []cosmov1alpha1.UserRole, authType cosmov1alpha1.UserAuthType)

func (*TestUtil) CreateLoginUser

func (c *TestUtil) CreateLoginUser(userName, displayName string, role []cosmov1alpha1.UserRole, authType cosmov1alpha1.UserAuthType, password string)

func (*TestUtil) CreateTemplate

func (c *TestUtil) CreateTemplate(templateType string, templateName string)

func (*TestUtil) CreateUserNameSpaceandDefaultPasswordIfAbsent

func (c *TestUtil) CreateUserNameSpaceandDefaultPasswordIfAbsent(userName string)

func (*TestUtil) CreateWorkspace

func (c *TestUtil) CreateWorkspace(userName string, name string, template string, vars map[string]string)

func (*TestUtil) DeleteClusterTemplateAll added in v0.8.0

func (c *TestUtil) DeleteClusterTemplateAll()

func (*TestUtil) DeleteCosmoUserAll

func (c *TestUtil) DeleteCosmoUserAll()

func (*TestUtil) DeleteNetworkRule

func (c *TestUtil) DeleteNetworkRule(userName, workspaceName string, index int)

func (*TestUtil) DeleteTemplateAll

func (c *TestUtil) DeleteTemplateAll()

func (*TestUtil) DeleteWorkspaceAll

func (c *TestUtil) DeleteWorkspaceAll()

func (*TestUtil) DeleteWorkspaceAllByUserName added in v0.8.0

func (c *TestUtil) DeleteWorkspaceAllByUserName(userName string)

func (*TestUtil) StopWorkspace

func (c *TestUtil) StopWorkspace(userName string, name string)

func (*TestUtil) UpsertNetworkRule

func (c *TestUtil) UpsertNetworkRule(userName, workspaceName string, customHostPrefix string, portNumber int32, httpPath string, public bool, index int)

Jump to

Keyboard shortcuts

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