Documentation
¶
Index ¶
- Variables
- func APITokenBuilder(client *github.Client, orgCache *orgNameCache) *apiTokenResourceType
- func EnterpriseRoleBuilder(client *github.Client, appClient *github.Client, ...) *enterpriseRoleResourceType
- func InvitationBuilder(p InvitationBuilderParams) *invitationResourceType
- func LicenseBuilder(customClient *customclient.Client, enterprises []string) *licenseResourceType
- func NewLambdaConnector(ctx context.Context, ghc *cfg.Github, cliOpts *cli.ConnectorOpts) (connectorbuilder.ConnectorBuilderV2, []connectorbuilder.Opt, error)
- func OrgBuilder(client, appClient *github.Client, orgCache *orgNameCache, orgs []string, ...) *orgResourceType
- func OrgRoleBuilder(client *github.Client, orgCache *orgNameCache) *orgRoleResourceType
- func RepositoryBuilder(client *github.Client, orgCache *orgNameCache, omitArchivedRepositories bool, ...) *repositoryResourceType
- func TeamBuilder(client *github.Client, orgCache *orgNameCache, directCollaboratorsOnly bool) *teamResourceType
- func UserBuilder(client *github.Client, graphqlClient *githubv4.Client, orgCache *orgNameCache, ...) *userResourceType
- type GitHub
- type InvitationBuilderParams
- type OrganizationRole
- type OrganizationRoleResponse
- type OrganizationRoleTeam
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ValidAssetDomains = []string{"avatars.githubusercontent.com"}
)
Functions ¶
func APITokenBuilder ¶ added in v0.3.6
func EnterpriseRoleBuilder ¶ added in v0.3.6
func InvitationBuilder ¶ added in v0.3.6
func InvitationBuilder(p InvitationBuilderParams) *invitationResourceType
func LicenseBuilder ¶ added in v0.3.6
func LicenseBuilder( customClient *customclient.Client, enterprises []string, ) *licenseResourceType
func NewLambdaConnector ¶ added in v0.2.4
func NewLambdaConnector(ctx context.Context, ghc *cfg.Github, cliOpts *cli.ConnectorOpts) (connectorbuilder.ConnectorBuilderV2, []connectorbuilder.Opt, error)
func OrgBuilder ¶ added in v0.3.6
func OrgRoleBuilder ¶ added in v0.3.6
func RepositoryBuilder ¶ added in v0.3.6
func TeamBuilder ¶ added in v0.3.6
func UserBuilder ¶ added in v0.3.6
Types ¶
type GitHub ¶ added in v0.1.16
type GitHub struct {
// contains filtered or unexported fields
}
func (*GitHub) ResourceSyncers ¶ added in v0.1.16
func (gh *GitHub) ResourceSyncers(ctx context.Context) []connectorbuilder.ResourceSyncerV2
func (*GitHub) Validate ¶ added in v0.1.16
func (gh *GitHub) Validate(ctx context.Context) (annotations.Annotations, error)
Validate hits the GitHub API to validate that the configured credentials are still valid.
type InvitationBuilderParams ¶ added in v0.3.6
type InvitationBuilderParams struct {
// contains filtered or unexported fields
}
type OrganizationRole ¶ added in v0.1.30
type OrganizationRoleResponse ¶ added in v0.1.30
type OrganizationRoleResponse struct {
TotalCount int `json:"total_count"`
Roles []OrganizationRole `json:"roles"`
}
type OrganizationRoleTeam ¶ added in v0.1.30
Click to show internal directories.
Click to hide internal directories.