Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientAdapter ¶
type ClientAdapter interface { Init(client *http.Client, token string, host string) error ListSupportedChecksIDs() ([]string, error) GetRepository(owner, repo, branchName string) (*models.Repository, error) ListRepositoryBranches(owner, repo string) ([]*models.Branch, error) GetBranchProtection(owner string, repo *models.Repository, branch string) (*models.Protection, error) GetOrganization(owner string) (*models.Organization, error) GetRegistry(organization *models.Organization) (*models.PackageRegistry, error) ListOrganizationMembers(organization string) ([]*models.User, error) GetPipelines(owner, repo, branch string) ([]*pipelineModels.Pipeline, error) GetAuthorizedUser() (*models.User, error) }
Click to show internal directories.
Click to hide internal directories.