config

package
v5.26.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAppAuth

func GetAppAuth(ctx *pulumi.Context) string

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 GetBaseUrl

func GetBaseUrl(ctx *pulumi.Context) string

The GitHub Base API URL

func GetInsecure

func GetInsecure(ctx *pulumi.Context) bool

Enable `insecure` mode for testing purposes

func GetOrganization deprecated

func GetOrganization(ctx *pulumi.Context) string

The GitHub organization name to manage. Use this field instead of `owner` when managing organization accounts.

Deprecated: Use owner (or GITHUB_OWNER) instead of organization (or GITHUB_ORGANIZATION)

func GetOwner

func GetOwner(ctx *pulumi.Context) string

The GitHub owner name to manage. Use this field instead of `organization` when managing individual accounts.

func GetParallelRequests added in v5.9.0

func GetParallelRequests(ctx *pulumi.Context) bool

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

func GetReadDelayMs(ctx *pulumi.Context) int

Amount of time in milliseconds to sleep in between non-write requests to GitHub API. Defaults to 0ms if not set.

func GetToken

func GetToken(ctx *pulumi.Context) string

The OAuth token used to connect to GitHub. Anonymous mode is enabled if both `token` and `app_auth` are not set.

func GetWriteDelayMs

func GetWriteDelayMs(ctx *pulumi.Context) int

Amount of time in milliseconds to sleep in between writes to GitHub API. Defaults to 1000ms or 1s if not set.

Types

type AppAuth

type AppAuth struct {
	Id             string `pulumi:"id"`
	InstallationId string `pulumi:"installationId"`
	PemFile        string `pulumi:"pemFile"`
}

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 (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

Jump to

Keyboard shortcuts

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