Versions in this module Expand all Collapse all v0 v0.0.1 Apr 22, 2022 Changes in this version + const PROTECTION_ALLOWS_DELETIONS + const PROTECTION_ALLOWS_FORCE_PUSHES + const PROTECTION_DISMISSES_STALE_REVIEWS + const PROTECTION_IS_ADMIN_ENFORCED + const PROTECTION_PATTERN + const PROTECTION_PULL_REQUESTS_BYPASSERS + const PROTECTION_REQUIRED_APPROVING_REVIEW_COUNT + const PROTECTION_REQUIRED_STATUS_CHECK_CONTEXTS + const PROTECTION_REQUIRES_APPROVING_REVIEWS + const PROTECTION_REQUIRES_CODE_OWNER_REVIEWS + const PROTECTION_REQUIRES_COMMIT_SIGNATURES + const PROTECTION_REQUIRES_CONVERSATION_RESOLUTION + const PROTECTION_REQUIRES_LINEAR_HISTORY + const PROTECTION_REQUIRES_STATUS_CHECKS + const PROTECTION_REQUIRES_STRICT_STATUS_CHECKS + const PROTECTION_RESTRICTS_PUSHES + const PROTECTION_RESTRICTS_REVIEW_DISMISSALS + const PROTECTION_RESTRICTS_REVIEW_DISMISSERS + const REPOSITORY_ID + func GenerateOAuthTokenFromApp(baseURL, appID, appInstallationID, pemData string) (string, error) + func NewEtagTransport(rt http.RoundTripper) *etagTransport + func OwnerOrOrgEnvDefaultFunc() (interface{}, error) + func Provider() terraform.ResourceProvider + func RateLimitedHTTPClient(client *http.Client, writeDelay time.Duration, readDelay time.Duration) *http.Client + type Config struct + BaseURL string + Insecure bool + Owner string + ReadDelay time.Duration + Token string + WriteDelay time.Duration + func (c *Config) Anonymous() bool + func (c *Config) AnonymousHTTPClient() *http.Client + func (c *Config) AuthenticatedHTTPClient() *http.Client + func (c *Config) ConfigureOwner(owner *Owner) (*Owner, error) + func (c *Config) Meta() (interface{}, error) + func (c *Config) NewGraphQLClient(client *http.Client) (*githubv4.Client, error) + func (c *Config) NewRESTClient(client *http.Client) (*github.Client, error) + type Owner struct + IsOrganization bool + StopContext context.Context + type PageInfo struct + EndCursor githubv4.String + HasNextPage bool + type RateLimitTransport struct + func NewRateLimitTransport(rt http.RoundTripper, options ...RateLimitTransportOption) *RateLimitTransport + func (rlt *RateLimitTransport) RoundTrip(req *http.Request) (*http.Response, error) + type RateLimitTransportOption func(*RateLimitTransport) + func WithReadDelay(d time.Duration) RateLimitTransportOption + func WithWriteDelay(d time.Duration) RateLimitTransportOption + type TeamsQuery struct + Organization struct{ ... }