test

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2022 License: MIT Imports: 10 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) CreateCosmoUser

func (c *TestUtil) CreateCosmoUser(id string, dispayName string, role wsv1alpha1.UserRole)

func (*TestUtil) CreateLoginUser

func (c *TestUtil) CreateLoginUser(id, displayName string, role wsv1alpha1.UserRole, password string)

func (*TestUtil) CreateTemplate

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

func (*TestUtil) CreateUserNameSpaceandDefaultPasswordIfAbsent

func (c *TestUtil) CreateUserNameSpaceandDefaultPasswordIfAbsent(id string)

func (*TestUtil) CreateWorkspace

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

func (*TestUtil) DeleteCosmoUserAll

func (c *TestUtil) DeleteCosmoUserAll()

func (*TestUtil) DeleteNetworkRule

func (c *TestUtil) DeleteNetworkRule(userId, workspaceName, networkRuleName string)

func (*TestUtil) DeleteTemplateAll

func (c *TestUtil) DeleteTemplateAll()

func (*TestUtil) DeleteWorkspaceAll

func (c *TestUtil) DeleteWorkspaceAll()

func (*TestUtil) DeleteWorkspaceAllByUserId

func (c *TestUtil) DeleteWorkspaceAllByUserId(userId string)

func (*TestUtil) StopWorkspace

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

func (*TestUtil) UpsertNetworkRule

func (c *TestUtil) UpsertNetworkRule(userId, workspaceName, networkRuleName string, portNumber int, group, httpPath string, public bool)

Jump to

Keyboard shortcuts

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