Documentation ¶
Index ¶
- type TestUtil
- func (c *TestUtil) CreateClusterTemplate(templateType string, templateName string)
- func (c *TestUtil) CreateCosmoUser(userName string, dispayName string, role []cosmov1alpha1.UserRole, ...)
- func (c *TestUtil) CreateLoginUser(userName, displayName string, role []cosmov1alpha1.UserRole, ...)
- func (c *TestUtil) CreateTemplate(templateType string, templateName string)
- func (c *TestUtil) CreateUserNameSpaceandDefaultPasswordIfAbsent(userName string)
- func (c *TestUtil) CreateWorkspace(userName string, name string, template string, vars map[string]string)
- func (c *TestUtil) DeleteClusterTemplateAll()
- func (c *TestUtil) DeleteCosmoUserAll()
- func (c *TestUtil) DeleteNetworkRule(userName, workspaceName string, index int)
- func (c *TestUtil) DeleteTemplateAll()
- func (c *TestUtil) DeleteWorkspaceAll()
- func (c *TestUtil) DeleteWorkspaceAllByUserName(userName string)
- func (c *TestUtil) StopWorkspace(userName string, name string)
- func (c *TestUtil) UpsertNetworkRule(userName, workspaceName string, customHostPrefix string, portNumber int32, ...)
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) CreateClusterTemplate ¶ added in v0.8.0
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 (*TestUtil) CreateUserNameSpaceandDefaultPasswordIfAbsent ¶
func (*TestUtil) CreateWorkspace ¶
func (*TestUtil) DeleteClusterTemplateAll ¶ added in v0.8.0
func (c *TestUtil) DeleteClusterTemplateAll()
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) DeleteWorkspaceAllByUserName ¶ added in v0.8.0
func (*TestUtil) StopWorkspace ¶
Click to show internal directories.
Click to hide internal directories.