Documentation
¶
Index ¶
- func CreateAdminClient(t *testing.T, cfg *Config) *thehive.APIClient
- func CreateAuthContext(t *testing.T, cfg *Config) context.Context
- func CreateOrgClient(t *testing.T, cfg *Config) *thehive.APIClient
- func EnsureTestOrganization(t *testing.T, client *thehive.APIClient, ctx context.Context, orgName string) string
- func GetOrganizationByName(t *testing.T, organizations []thehive.OutputOrganisation, name string) *thehive.OutputOrganisation
- func ListOrganizations(t *testing.T, client *thehive.APIClient, ctx context.Context) []thehive.OutputOrganisation
- func SetupUserPermissions(t *testing.T, client *thehive.APIClient, ctx context.Context, orgName string)
- func WaitForTheHive(t *testing.T, client *thehive.APIClient)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureTestOrganization ¶
func GetOrganizationByName ¶
func GetOrganizationByName(t *testing.T, organizations []thehive.OutputOrganisation, name string) *thehive.OutputOrganisation
func ListOrganizations ¶
func SetupUserPermissions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.