Documentation ¶
Index ¶
- type TestUtil
- func (c *TestUtil) CreateCosmoUser(id string, dispayName string, role wsv1alpha1.UserRole)
- func (c *TestUtil) CreateLoginUser(id, displayName string, role wsv1alpha1.UserRole, password string)
- func (c *TestUtil) CreateTemplate(templateType string, templateName string)
- func (c *TestUtil) CreateUserNameSpaceandDefaultPasswordIfAbsent(id string)
- func (c *TestUtil) CreateWorkspace(userId string, name string, template string, vars map[string]string)
- func (c *TestUtil) DeleteCosmoUserAll()
- func (c *TestUtil) DeleteNetworkRule(userId, workspaceName, networkRuleName string)
- func (c *TestUtil) DeleteTemplateAll()
- func (c *TestUtil) DeleteWorkspaceAll()
- func (c *TestUtil) DeleteWorkspaceAllByUserId(userId string)
- func (c *TestUtil) StopWorkspace(userId string, name string)
- func (c *TestUtil) UpsertNetworkRule(userId, workspaceName, networkRuleName string, portNumber int, ...)
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 (*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 (*TestUtil) CreateUserNameSpaceandDefaultPasswordIfAbsent ¶
func (*TestUtil) CreateWorkspace ¶
func (*TestUtil) DeleteCosmoUserAll ¶
func (c *TestUtil) DeleteCosmoUserAll()
func (*TestUtil) DeleteNetworkRule ¶
func (*TestUtil) DeleteTemplateAll ¶
func (c *TestUtil) DeleteTemplateAll()
func (*TestUtil) DeleteWorkspaceAll ¶
func (c *TestUtil) DeleteWorkspaceAll()
func (*TestUtil) DeleteWorkspaceAllByUserId ¶
func (*TestUtil) StopWorkspace ¶
Click to show internal directories.
Click to hide internal directories.