repositories

package
v0.0.0-...-0c3f707 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetXACL

func GetXACL() (string, error)

GetXACL returns the X-ACL entry for this company

Types

type TestBehaviour

type TestBehaviour struct {
	// contains filtered or unexported fields
}

TestBehaviour data model

func NewTestBehaviour

func NewTestBehaviour(apiURL string, auth0ProjectManagerConfig test_models.Auth0Config) *TestBehaviour

NewTestBehaviour creates a new test behavior model

func (*TestBehaviour) RunAllTests

func (t *TestBehaviour) RunAllTests()

RunAllTests runs all the CLA Manager tests

func (*TestBehaviour) RunGetCLAProjectManagerToken

func (t *TestBehaviour) RunGetCLAProjectManagerToken()

RunGetCLAProjectManagerToken acquires the Auth0 token

func (*TestBehaviour) RunGetProtectedBranch

func (t *TestBehaviour) RunGetProtectedBranch(assertBranchProtection *models.GithubRepositoryBranchProtection)

RunGetProtectedBranch test the response for the protected branch of repo

func (*TestBehaviour) RunUpdateProtectionBranch

func (t *TestBehaviour) RunUpdateProtectionBranch(msg string, param *models.GithubRepositoryBranchProtectionInput)

RunUpdateProtectionBranch is hits the branch protection endpoint with the given parameters

Jump to

Keyboard shortcuts

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