server

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Requests save in this file are shared into all server e2e.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCompany

func CreateCompany(t *testing.T, bearerToken string, company *accountEntities.Company) (CompanyID string)

func CreateRepository added in v1.3.0

func CreateRepository(t *testing.T, bearerToken, companyID string, repository *accountEntities.Repository) string

func DeleteCompany

func DeleteCompany(t *testing.T, bearerToken, companyID string)

func DeleteRepository added in v1.3.0

func DeleteRepository(t *testing.T, bearerToken, companyID, repositoryID string)

func GenerateRepositoryToken added in v1.3.0

func GenerateRepositoryToken(t *testing.T, bearerToken, companyID, repositoryID string, token api.Token) string

func GetChartContentWithoutTreatment

func GetChartContentWithoutTreatment(t *testing.T, route, bearerToken, companyID, repositoryID string) httpResponse.Interface

func InviteUserToCompany

func InviteUserToCompany(t *testing.T, bearerToken, companyID string, user *dto.InviteUser)

func Login added in v1.3.0

func Login(t *testing.T, credentials *authDto.Credentials) map[string]string

func ReadAllCompanies

func ReadAllCompanies(t *testing.T, bearerToken string, isCheckBodyEmpty bool) string

func ReadAllRepositories added in v1.3.0

func ReadAllRepositories(t *testing.T, bearerToken, companyID string, isCheckBodyEmpty bool) string

func ReadAllRepositoryToken added in v1.3.0

func ReadAllRepositoryToken(t *testing.T, bearerToken, companyID, repositoryID string) string

func ReadAllUserInCompany

func ReadAllUserInCompany(t *testing.T, bearerToken, companyID string) string

func RemoveUserInCompany

func RemoveUserInCompany(t *testing.T, bearerToken, companyID, accountID string)

func RevokeRepositoryToken added in v1.3.0

func RevokeRepositoryToken(t *testing.T, bearerToken, companyID, repositoryID, tokenID string)

func UpdateCompany

func UpdateCompany(t *testing.T, bearerToken string, companyID string, company *accountEntities.Company)

func UpdateRepository added in v1.3.0

func UpdateRepository(t *testing.T, bearerToken, companyID, repositoryID string, repository *accountEntities.Repository)

func UpdateUserInCompany

func UpdateUserInCompany(t *testing.T, bearerToken, companyID, accountID string, account *roles.AccountCompany) string

Types

This section is empty.

Directories

Path Synopsis
Requests save in this file are exclusive of keycloak e2e
Requests save in this file are exclusive of keycloak e2e
entities
Entities created in this files are exclusive from keycloak e2e
Entities created in this files are exclusive from keycloak e2e
Requests save in this file are exclusive of messages e2e
Requests save in this file are exclusive of messages e2e

Jump to

Keyboard shortcuts

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