Documentation ¶
Index ¶
- func GetAppAuth(ctx *pulumi.Context) string
- func GetBaseUrl(ctx *pulumi.Context) string
- func GetInsecure(ctx *pulumi.Context) bool
- func GetOrganization(ctx *pulumi.Context) stringdeprecated
- func GetOwner(ctx *pulumi.Context) string
- func GetParallelRequests(ctx *pulumi.Context) bool
- func GetReadDelayMs(ctx *pulumi.Context) int
- func GetToken(ctx *pulumi.Context) string
- func GetWriteDelayMs(ctx *pulumi.Context) int
- type AppAuth
- type AppAuthArgs
- type AppAuthInput
- type AppAuthOutput
- func (AppAuthOutput) ElementType() reflect.Type
- func (o AppAuthOutput) Id() pulumi.StringOutput
- func (o AppAuthOutput) InstallationId() pulumi.StringOutput
- func (o AppAuthOutput) PemFile() pulumi.StringOutput
- func (o AppAuthOutput) ToAppAuthOutput() AppAuthOutput
- func (o AppAuthOutput) ToAppAuthOutputWithContext(ctx context.Context) AppAuthOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAppAuth ¶
The GitHub App credentials used to connect to GitHub. Conflicts with `token`. Anonymous mode is enabled if both `token` and `app_auth` are not set.
func GetInsecure ¶
Enable `insecure` mode for testing purposes
func GetOrganization
deprecated
func GetOwner ¶
The GitHub owner name to manage. Use this field instead of `organization` when managing individual accounts.
func GetParallelRequests ¶ added in v5.9.0
Allow the provider to make parallel API calls to GitHub. You may want to set it to true when you have a private Github Enterprise without strict rate limits. Although, it is not possible to enable this setting on github.com because we enforce the respect of github.com's best practices to avoid hitting abuse rate limitsDefaults to false if not set
func GetReadDelayMs ¶
Amount of time in milliseconds to sleep in between non-write requests to GitHub API. Defaults to 0ms if not set.
func GetToken ¶
The OAuth token used to connect to GitHub. Anonymous mode is enabled if both `token` and `app_auth` are not set.
func GetWriteDelayMs ¶
Amount of time in milliseconds to sleep in between writes to GitHub API. Defaults to 1000ms or 1s if not set.
Types ¶
type AppAuthArgs ¶
type AppAuthArgs struct { Id pulumi.StringInput `pulumi:"id"` InstallationId pulumi.StringInput `pulumi:"installationId"` PemFile pulumi.StringInput `pulumi:"pemFile"` }
func (AppAuthArgs) ElementType ¶
func (AppAuthArgs) ElementType() reflect.Type
func (AppAuthArgs) ToAppAuthOutput ¶
func (i AppAuthArgs) ToAppAuthOutput() AppAuthOutput
func (AppAuthArgs) ToAppAuthOutputWithContext ¶
func (i AppAuthArgs) ToAppAuthOutputWithContext(ctx context.Context) AppAuthOutput
type AppAuthInput ¶
type AppAuthInput interface { pulumi.Input ToAppAuthOutput() AppAuthOutput ToAppAuthOutputWithContext(context.Context) AppAuthOutput }
AppAuthInput is an input type that accepts AppAuthArgs and AppAuthOutput values. You can construct a concrete instance of `AppAuthInput` via:
AppAuthArgs{...}
type AppAuthOutput ¶
type AppAuthOutput struct{ *pulumi.OutputState }
func (AppAuthOutput) ElementType ¶
func (AppAuthOutput) ElementType() reflect.Type
func (AppAuthOutput) Id ¶
func (o AppAuthOutput) Id() pulumi.StringOutput
func (AppAuthOutput) InstallationId ¶
func (o AppAuthOutput) InstallationId() pulumi.StringOutput
func (AppAuthOutput) PemFile ¶
func (o AppAuthOutput) PemFile() pulumi.StringOutput
func (AppAuthOutput) ToAppAuthOutput ¶
func (o AppAuthOutput) ToAppAuthOutput() AppAuthOutput
func (AppAuthOutput) ToAppAuthOutputWithContext ¶
func (o AppAuthOutput) ToAppAuthOutputWithContext(ctx context.Context) AppAuthOutput