Documentation ¶
Index ¶
- type BranchProtection
- func (r *BranchProtection) Branch() *pulumi.StringOutput
- func (r *BranchProtection) EnforceAdmins() *pulumi.BoolOutput
- func (r *BranchProtection) Etag() *pulumi.StringOutput
- func (r *BranchProtection) ID() *pulumi.IDOutput
- func (r *BranchProtection) Repository() *pulumi.StringOutput
- func (r *BranchProtection) RequireSignedCommits() *pulumi.BoolOutput
- func (r *BranchProtection) RequiredPullRequestReviews() *pulumi.Output
- func (r *BranchProtection) RequiredStatusChecks() *pulumi.Output
- func (r *BranchProtection) Restrictions() *pulumi.Output
- func (r *BranchProtection) URN() *pulumi.URNOutput
- type BranchProtectionArgs
- type BranchProtectionState
- type GetCollaboratorsArgs
- type GetCollaboratorsResult
- type GetIPRangesResult
- type GetRepositoriesArgs
- type GetRepositoriesResult
- type GetRepositoryArgs
- type GetRepositoryResult
- type GetTeamArgs
- type GetTeamResult
- type GetUserArgs
- type GetUserResult
- type IssueLabel
- func (r *IssueLabel) Color() *pulumi.StringOutput
- func (r *IssueLabel) Description() *pulumi.StringOutput
- func (r *IssueLabel) Etag() *pulumi.StringOutput
- func (r *IssueLabel) ID() *pulumi.IDOutput
- func (r *IssueLabel) Name() *pulumi.StringOutput
- func (r *IssueLabel) Repository() *pulumi.StringOutput
- func (r *IssueLabel) URN() *pulumi.URNOutput
- func (r *IssueLabel) Url() *pulumi.StringOutput
- type IssueLabelArgs
- type IssueLabelState
- type Membership
- type MembershipArgs
- type MembershipState
- type OrganizationBlock
- type OrganizationBlockArgs
- type OrganizationBlockState
- type OrganizationProject
- func (r *OrganizationProject) Body() *pulumi.StringOutput
- func (r *OrganizationProject) Etag() *pulumi.StringOutput
- func (r *OrganizationProject) ID() *pulumi.IDOutput
- func (r *OrganizationProject) Name() *pulumi.StringOutput
- func (r *OrganizationProject) URN() *pulumi.URNOutput
- func (r *OrganizationProject) Url() *pulumi.StringOutput
- type OrganizationProjectArgs
- type OrganizationProjectState
- type OrganizationWebhook
- func (r *OrganizationWebhook) Active() *pulumi.BoolOutput
- func (r *OrganizationWebhook) Configuration() *pulumi.Output
- func (r *OrganizationWebhook) Etag() *pulumi.StringOutput
- func (r *OrganizationWebhook) Events() *pulumi.ArrayOutput
- func (r *OrganizationWebhook) ID() *pulumi.IDOutput
- func (r *OrganizationWebhook) URN() *pulumi.URNOutput
- func (r *OrganizationWebhook) Url() *pulumi.StringOutput
- type OrganizationWebhookArgs
- type OrganizationWebhookState
- type ProjectColumn
- type ProjectColumnArgs
- type ProjectColumnState
- type Repository
- func (r *Repository) AllowMergeCommit() *pulumi.BoolOutput
- func (r *Repository) AllowRebaseMerge() *pulumi.BoolOutput
- func (r *Repository) AllowSquashMerge() *pulumi.BoolOutput
- func (r *Repository) Archived() *pulumi.BoolOutput
- func (r *Repository) AutoInit() *pulumi.BoolOutput
- func (r *Repository) DefaultBranch() *pulumi.StringOutput
- func (r *Repository) Description() *pulumi.StringOutput
- func (r *Repository) Etag() *pulumi.StringOutput
- func (r *Repository) FullName() *pulumi.StringOutput
- func (r *Repository) GitCloneUrl() *pulumi.StringOutput
- func (r *Repository) GitignoreTemplate() *pulumi.StringOutput
- func (r *Repository) HasDownloads() *pulumi.BoolOutput
- func (r *Repository) HasIssues() *pulumi.BoolOutput
- func (r *Repository) HasProjects() *pulumi.BoolOutput
- func (r *Repository) HasWiki() *pulumi.BoolOutput
- func (r *Repository) HomepageUrl() *pulumi.StringOutput
- func (r *Repository) HtmlUrl() *pulumi.StringOutput
- func (r *Repository) HttpCloneUrl() *pulumi.StringOutput
- func (r *Repository) ID() *pulumi.IDOutput
- func (r *Repository) LicenseTemplate() *pulumi.StringOutput
- func (r *Repository) Name() *pulumi.StringOutput
- func (r *Repository) Private() *pulumi.BoolOutput
- func (r *Repository) SshCloneUrl() *pulumi.StringOutput
- func (r *Repository) SvnUrl() *pulumi.StringOutput
- func (r *Repository) Topics() *pulumi.ArrayOutput
- func (r *Repository) URN() *pulumi.URNOutput
- type RepositoryArgs
- type RepositoryCollaborator
- func (r *RepositoryCollaborator) ID() *pulumi.IDOutput
- func (r *RepositoryCollaborator) InvitationId() *pulumi.StringOutput
- func (r *RepositoryCollaborator) Permission() *pulumi.StringOutput
- func (r *RepositoryCollaborator) Repository() *pulumi.StringOutput
- func (r *RepositoryCollaborator) URN() *pulumi.URNOutput
- func (r *RepositoryCollaborator) Username() *pulumi.StringOutput
- type RepositoryCollaboratorArgs
- type RepositoryCollaboratorState
- type RepositoryDeployKey
- func (r *RepositoryDeployKey) Etag() *pulumi.StringOutput
- func (r *RepositoryDeployKey) ID() *pulumi.IDOutput
- func (r *RepositoryDeployKey) Key() *pulumi.StringOutput
- func (r *RepositoryDeployKey) ReadOnly() *pulumi.BoolOutput
- func (r *RepositoryDeployKey) Repository() *pulumi.StringOutput
- func (r *RepositoryDeployKey) Title() *pulumi.StringOutput
- func (r *RepositoryDeployKey) URN() *pulumi.URNOutput
- type RepositoryDeployKeyArgs
- type RepositoryDeployKeyState
- type RepositoryProject
- func (r *RepositoryProject) Body() *pulumi.StringOutput
- func (r *RepositoryProject) Etag() *pulumi.StringOutput
- func (r *RepositoryProject) ID() *pulumi.IDOutput
- func (r *RepositoryProject) Name() *pulumi.StringOutput
- func (r *RepositoryProject) Repository() *pulumi.StringOutput
- func (r *RepositoryProject) URN() *pulumi.URNOutput
- func (r *RepositoryProject) Url() *pulumi.StringOutput
- type RepositoryProjectArgs
- type RepositoryProjectState
- type RepositoryState
- type RepositoryWebhook
- func (r *RepositoryWebhook) Active() *pulumi.BoolOutput
- func (r *RepositoryWebhook) Configuration() *pulumi.Output
- func (r *RepositoryWebhook) Etag() *pulumi.StringOutput
- func (r *RepositoryWebhook) Events() *pulumi.ArrayOutput
- func (r *RepositoryWebhook) ID() *pulumi.IDOutput
- func (r *RepositoryWebhook) Repository() *pulumi.StringOutput
- func (r *RepositoryWebhook) URN() *pulumi.URNOutput
- func (r *RepositoryWebhook) Url() *pulumi.StringOutput
- type RepositoryWebhookArgs
- type RepositoryWebhookState
- type Team
- func (r *Team) Description() *pulumi.StringOutput
- func (r *Team) Etag() *pulumi.StringOutput
- func (r *Team) ID() *pulumi.IDOutput
- func (r *Team) LdapDn() *pulumi.StringOutput
- func (r *Team) Name() *pulumi.StringOutput
- func (r *Team) ParentTeamId() *pulumi.IntOutput
- func (r *Team) Privacy() *pulumi.StringOutput
- func (r *Team) Slug() *pulumi.StringOutput
- func (r *Team) URN() *pulumi.URNOutput
- type TeamArgs
- type TeamMembership
- func (r *TeamMembership) Etag() *pulumi.StringOutput
- func (r *TeamMembership) ID() *pulumi.IDOutput
- func (r *TeamMembership) Role() *pulumi.StringOutput
- func (r *TeamMembership) TeamId() *pulumi.StringOutput
- func (r *TeamMembership) URN() *pulumi.URNOutput
- func (r *TeamMembership) Username() *pulumi.StringOutput
- type TeamMembershipArgs
- type TeamMembershipState
- type TeamRepository
- func (r *TeamRepository) Etag() *pulumi.StringOutput
- func (r *TeamRepository) ID() *pulumi.IDOutput
- func (r *TeamRepository) Permission() *pulumi.StringOutput
- func (r *TeamRepository) Repository() *pulumi.StringOutput
- func (r *TeamRepository) TeamId() *pulumi.StringOutput
- func (r *TeamRepository) URN() *pulumi.URNOutput
- type TeamRepositoryArgs
- type TeamRepositoryState
- type TeamState
- type UserGPGKey
- type UserGPGKeyArgs
- type UserGPGKeyState
- type UserInvitationAccepter
- type UserInvitationAccepterArgs
- type UserInvitationAccepterState
- type UserSSHKey
- type UserSSHKeyArgs
- type UserSSHKeyState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BranchProtection ¶
type BranchProtection struct {
// contains filtered or unexported fields
}
Protects a GitHub branch.
This resource allows you to configure branch protection for repositories in your organization. When applied, the branch will be protected from forced pushes and deletion. Additional constraints, such as required status checks or restrictions on users and teams, can also be configured.
> This content is derived from https://github.com/terraform-providers/terraform-provider-github/blob/master/website/docs/r/branch_protection.html.markdown.
func GetBranchProtection ¶
func GetBranchProtection(ctx *pulumi.Context, name string, id pulumi.ID, state *BranchProtectionState, opts ...pulumi.ResourceOpt) (*BranchProtection, error)
GetBranchProtection gets an existing BranchProtection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewBranchProtection ¶
func NewBranchProtection(ctx *pulumi.Context, name string, args *BranchProtectionArgs, opts ...pulumi.ResourceOpt) (*BranchProtection, error)
NewBranchProtection registers a new resource with the given unique name, arguments, and options.
func (*BranchProtection) Branch ¶
func (r *BranchProtection) Branch() *pulumi.StringOutput
The Git branch to protect.
func (*BranchProtection) EnforceAdmins ¶
func (r *BranchProtection) EnforceAdmins() *pulumi.BoolOutput
Boolean, setting this to `true` enforces status checks for repository administrators.
func (*BranchProtection) Etag ¶
func (r *BranchProtection) Etag() *pulumi.StringOutput
func (*BranchProtection) ID ¶
func (r *BranchProtection) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*BranchProtection) Repository ¶
func (r *BranchProtection) Repository() *pulumi.StringOutput
The GitHub repository name.
func (*BranchProtection) RequireSignedCommits ¶
func (r *BranchProtection) RequireSignedCommits() *pulumi.BoolOutput
Boolean, setting this to `true` requires all commits to be signed with GPG.
func (*BranchProtection) RequiredPullRequestReviews ¶
func (r *BranchProtection) RequiredPullRequestReviews() *pulumi.Output
Enforce restrictions for pull request reviews. See Required Pull Request Reviews below for details.
func (*BranchProtection) RequiredStatusChecks ¶
func (r *BranchProtection) RequiredStatusChecks() *pulumi.Output
Enforce restrictions for required status checks. See Required Status Checks below for details.
func (*BranchProtection) Restrictions ¶
func (r *BranchProtection) Restrictions() *pulumi.Output
Enforce restrictions for the users and teams that may push to the branch. See Restrictions below for details.
func (*BranchProtection) URN ¶
func (r *BranchProtection) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type BranchProtectionArgs ¶
type BranchProtectionArgs struct { // The Git branch to protect. Branch interface{} // Boolean, setting this to `true` enforces status checks for repository administrators. EnforceAdmins interface{} // The GitHub repository name. Repository interface{} // Boolean, setting this to `true` requires all commits to be signed with GPG. RequireSignedCommits interface{} // Enforce restrictions for pull request reviews. See Required Pull Request Reviews below for details. RequiredPullRequestReviews interface{} // Enforce restrictions for required status checks. See Required Status Checks below for details. RequiredStatusChecks interface{} // Enforce restrictions for the users and teams that may push to the branch. See Restrictions below for details. Restrictions interface{} }
The set of arguments for constructing a BranchProtection resource.
type BranchProtectionState ¶
type BranchProtectionState struct { // The Git branch to protect. Branch interface{} // Boolean, setting this to `true` enforces status checks for repository administrators. EnforceAdmins interface{} Etag interface{} // The GitHub repository name. Repository interface{} // Boolean, setting this to `true` requires all commits to be signed with GPG. RequireSignedCommits interface{} // Enforce restrictions for pull request reviews. See Required Pull Request Reviews below for details. RequiredPullRequestReviews interface{} // Enforce restrictions for required status checks. See Required Status Checks below for details. RequiredStatusChecks interface{} // Enforce restrictions for the users and teams that may push to the branch. See Restrictions below for details. Restrictions interface{} }
Input properties used for looking up and filtering BranchProtection resources.
type GetCollaboratorsArgs ¶
type GetCollaboratorsArgs struct { // Filter collaborators returned by their affiliation. Can be one of: `outside`, `direct`, `all`. Defaults to `all`. Affiliation interface{} // The organization that owns the repository. Owner interface{} // The name of the repository. Repository interface{} }
A collection of arguments for invoking getCollaborators.
type GetCollaboratorsResult ¶
type GetCollaboratorsResult struct { Affiliation interface{} // An Array of GitHub collaborators. Each `collaborator` block consists of the fields documented below. Collaborators interface{} Owner interface{} Repository interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getCollaborators.
func LookupCollaborators ¶
func LookupCollaborators(ctx *pulumi.Context, args *GetCollaboratorsArgs) (*GetCollaboratorsResult, error)
Use this data source to retrieve the collaborators for a given repository.
> This content is derived from https://github.com/terraform-providers/terraform-provider-github/blob/master/website/docs/d/collaborators.html.markdown.
type GetIPRangesResult ¶
type GetIPRangesResult struct { // An Array of IP addresses in CIDR format specifying the Git servers. Gits interface{} // An Array of IP addresses in CIDR format specifying the addresses that incoming service hooks will originate from. Hooks interface{} // An Array of IP addresses in CIDR format specifying the A records for GitHub Importer. Importers interface{} // An Array of IP addresses in CIDR format specifying the A records for GitHub Pages. Pages interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getIPRanges.
func LookupIPRanges ¶
func LookupIPRanges(ctx *pulumi.Context) (*GetIPRangesResult, error)
Use this data source to retrieve information about a GitHub's IP addresses.
> This content is derived from https://github.com/terraform-providers/terraform-provider-github/blob/master/website/docs/d/ip_ranges.html.markdown.
type GetRepositoriesArgs ¶
type GetRepositoriesArgs struct { // Search query. See [documentation for the search syntax](https://help.github.com/articles/understanding-the-search-syntax/). Query interface{} // Sorts the repositories returned by the specified attribute. Valid values include `stars`, `fork`, and `updated`. Defaults to `updated`. Sort interface{} }
A collection of arguments for invoking getRepositories.
type GetRepositoriesResult ¶
type GetRepositoriesResult struct { FullNames interface{} Names interface{} Query interface{} Sort interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getRepositories.
func LookupRepositories ¶
func LookupRepositories(ctx *pulumi.Context, args *GetRepositoriesArgs) (*GetRepositoriesResult, error)
> **Note:** The data source will return a maximum of `1000` repositories
[as documented in official API docs](https://developer.github.com/v3/search/#about-the-search-api).
Use this data source to retrieve a list of GitHub repositories using a search query.
> This content is derived from https://github.com/terraform-providers/terraform-provider-github/blob/master/website/docs/d/repositories.html.markdown.
type GetRepositoryArgs ¶
type GetRepositoryArgs struct { // Full name of the repository (in `org/name` format). FullName interface{} // The name of the repository. Name interface{} }
A collection of arguments for invoking getRepository.
type GetRepositoryResult ¶
type GetRepositoryResult struct { // Whether the repository allows merge commits. AllowMergeCommit interface{} // Whether the repository allows rebase merges. AllowRebaseMerge interface{} // Whether the repository allows squash merges. AllowSquashMerge interface{} // Whether the repository is archived. Archived interface{} // The name of the default branch of the repository. DefaultBranch interface{} // A description of the repository. Description interface{} FullName interface{} // URL that can be provided to `git clone` to clone the // repository anonymously via the git protocol. GitCloneUrl interface{} // Whether the repository has Downloads feature enabled. HasDownloads interface{} // Whether the repository has GitHub Issues enabled. HasIssues interface{} // Whether the repository has the GitHub Projects enabled. HasProjects interface{} // Whether the repository has the GitHub Wiki enabled. HasWiki interface{} // URL of a page describing the project. HomepageUrl interface{} // URL to the repository on the web. HtmlUrl interface{} // URL that can be provided to `git clone` to clone the // repository via HTTPS. HttpCloneUrl interface{} Name interface{} // Whether the repository is private. Private interface{} // URL that can be provided to `git clone` to clone the // repository via SSH. SshCloneUrl interface{} // URL that can be provided to `svn checkout` to check out // the repository via GitHub's Subversion protocol emulation. SvnUrl interface{} // The list of topics of the repository. Topics interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getRepository.
func LookupRepository ¶
func LookupRepository(ctx *pulumi.Context, args *GetRepositoryArgs) (*GetRepositoryResult, error)
Use this data source to retrieve information about a GitHub repository.
> This content is derived from https://github.com/terraform-providers/terraform-provider-github/blob/master/website/docs/d/repository.html.markdown.
type GetTeamArgs ¶
type GetTeamArgs struct {
// The team slug.
Slug interface{}
}
A collection of arguments for invoking getTeam.
type GetTeamResult ¶
type GetTeamResult struct { // the team's description. Description interface{} // List of team members Members interface{} // the team's full name. Name interface{} // the team's permission level. Permission interface{} // the team's privacy type. Privacy interface{} Slug interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getTeam.
func LookupTeam ¶
func LookupTeam(ctx *pulumi.Context, args *GetTeamArgs) (*GetTeamResult, error)
Use this data source to retrieve information about a GitHub team.
> This content is derived from https://github.com/terraform-providers/terraform-provider-github/blob/master/website/docs/d/team.html.markdown.
type GetUserArgs ¶
type GetUserArgs struct {
// The username.
Username interface{}
}
A collection of arguments for invoking getUser.
type GetUserResult ¶
type GetUserResult struct { // the user's avatar URL. AvatarUrl interface{} // the user's bio. Bio interface{} // the user's blog location. Blog interface{} // the user's company name. Company interface{} // the creation date. CreatedAt interface{} // the user's email. Email interface{} // the number of followers. Followers interface{} // the number of following users. Following interface{} // list of user's GPG keys GpgKeys interface{} // the user's gravatar ID. GravatarId interface{} // the user's location. Location interface{} // the user's login. Login interface{} // the user's full name. Name interface{} // the number of public gists. PublicGists interface{} // the number of public repositories. PublicRepos interface{} // whether the user is a GitHub admin. SiteAdmin interface{} // list of user's SSH keys SshKeys interface{} // the update date. UpdatedAt interface{} Username interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getUser.
func LookupUser ¶
func LookupUser(ctx *pulumi.Context, args *GetUserArgs) (*GetUserResult, error)
Use this data source to retrieve information about a GitHub user.
> This content is derived from https://github.com/terraform-providers/terraform-provider-github/blob/master/website/docs/d/user.html.markdown.
type IssueLabel ¶
type IssueLabel struct {
// contains filtered or unexported fields
}
> This content is derived from https://github.com/terraform-providers/terraform-provider-github/blob/master/website/docs/r/issue_label.html.markdown.
func GetIssueLabel ¶
func GetIssueLabel(ctx *pulumi.Context, name string, id pulumi.ID, state *IssueLabelState, opts ...pulumi.ResourceOpt) (*IssueLabel, error)
GetIssueLabel gets an existing IssueLabel resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewIssueLabel ¶
func NewIssueLabel(ctx *pulumi.Context, name string, args *IssueLabelArgs, opts ...pulumi.ResourceOpt) (*IssueLabel, error)
NewIssueLabel registers a new resource with the given unique name, arguments, and options.
func (*IssueLabel) Color ¶
func (r *IssueLabel) Color() *pulumi.StringOutput
A 6 character hex code, **without the leading #**, identifying the color of the label.
func (*IssueLabel) Description ¶
func (r *IssueLabel) Description() *pulumi.StringOutput
A short description of the label.
func (*IssueLabel) Etag ¶
func (r *IssueLabel) Etag() *pulumi.StringOutput
func (*IssueLabel) ID ¶
func (r *IssueLabel) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*IssueLabel) Repository ¶
func (r *IssueLabel) Repository() *pulumi.StringOutput
The GitHub repository
func (*IssueLabel) URN ¶
func (r *IssueLabel) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type IssueLabelArgs ¶
type IssueLabelArgs struct { // A 6 character hex code, **without the leading #**, identifying the color of the label. Color interface{} // A short description of the label. Description interface{} // The name of the label. Name interface{} // The GitHub repository Repository interface{} }
The set of arguments for constructing a IssueLabel resource.
type IssueLabelState ¶
type IssueLabelState struct { // A 6 character hex code, **without the leading #**, identifying the color of the label. Color interface{} // A short description of the label. Description interface{} Etag interface{} // The name of the label. Name interface{} // The GitHub repository Repository interface{} // The URL to the issue label Url interface{} }
Input properties used for looking up and filtering IssueLabel resources.
type Membership ¶
type Membership struct {
// contains filtered or unexported fields
}
Provides a GitHub membership resource.
This resource allows you to add/remove users from your organization. When applied, an invitation will be sent to the user to become part of the organization. When destroyed, either the invitation will be cancelled or the user will be removed.
> This content is derived from https://github.com/terraform-providers/terraform-provider-github/blob/master/website/docs/r/membership.html.markdown.
func GetMembership ¶
func GetMembership(ctx *pulumi.Context, name string, id pulumi.ID, state *MembershipState, opts ...pulumi.ResourceOpt) (*Membership, error)
GetMembership gets an existing Membership resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewMembership ¶
func NewMembership(ctx *pulumi.Context, name string, args *MembershipArgs, opts ...pulumi.ResourceOpt) (*Membership, error)
NewMembership registers a new resource with the given unique name, arguments, and options.
func (*Membership) Etag ¶
func (r *Membership) Etag() *pulumi.StringOutput
func (*Membership) ID ¶
func (r *Membership) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*Membership) Role ¶
func (r *Membership) Role() *pulumi.StringOutput
The role of the user within the organization. Must be one of `member` or `admin`. Defaults to `member`.
func (*Membership) URN ¶
func (r *Membership) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*Membership) Username ¶
func (r *Membership) Username() *pulumi.StringOutput
The user to add to the organization.
type MembershipArgs ¶
type MembershipArgs struct { // The role of the user within the organization. // Must be one of `member` or `admin`. Defaults to `member`. Role interface{} // The user to add to the organization. Username interface{} }
The set of arguments for constructing a Membership resource.
type MembershipState ¶
type MembershipState struct { Etag interface{} // The role of the user within the organization. // Must be one of `member` or `admin`. Defaults to `member`. Role interface{} // The user to add to the organization. Username interface{} }
Input properties used for looking up and filtering Membership resources.
type OrganizationBlock ¶
type OrganizationBlock struct {
// contains filtered or unexported fields
}
This resource allows you to create and manage blocks for GitHub organizations.
> This content is derived from https://github.com/terraform-providers/terraform-provider-github/blob/master/website/docs/r/organization_block.html.markdown.
func GetOrganizationBlock ¶
func GetOrganizationBlock(ctx *pulumi.Context, name string, id pulumi.ID, state *OrganizationBlockState, opts ...pulumi.ResourceOpt) (*OrganizationBlock, error)
GetOrganizationBlock gets an existing OrganizationBlock resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewOrganizationBlock ¶
func NewOrganizationBlock(ctx *pulumi.Context, name string, args *OrganizationBlockArgs, opts ...pulumi.ResourceOpt) (*OrganizationBlock, error)
NewOrganizationBlock registers a new resource with the given unique name, arguments, and options.
func (*OrganizationBlock) Etag ¶
func (r *OrganizationBlock) Etag() *pulumi.StringOutput
func (*OrganizationBlock) ID ¶
func (r *OrganizationBlock) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*OrganizationBlock) URN ¶
func (r *OrganizationBlock) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*OrganizationBlock) Username ¶
func (r *OrganizationBlock) Username() *pulumi.StringOutput
The name of the user to block.
type OrganizationBlockArgs ¶
type OrganizationBlockArgs struct {
// The name of the user to block.
Username interface{}
}
The set of arguments for constructing a OrganizationBlock resource.
type OrganizationBlockState ¶
type OrganizationBlockState struct { Etag interface{} // The name of the user to block. Username interface{} }
Input properties used for looking up and filtering OrganizationBlock resources.
type OrganizationProject ¶
type OrganizationProject struct {
// contains filtered or unexported fields
}
This resource allows you to create and manage projects for GitHub organization.
> This content is derived from https://github.com/terraform-providers/terraform-provider-github/blob/master/website/docs/r/organization_project.html.markdown.
func GetOrganizationProject ¶
func GetOrganizationProject(ctx *pulumi.Context, name string, id pulumi.ID, state *OrganizationProjectState, opts ...pulumi.ResourceOpt) (*OrganizationProject, error)
GetOrganizationProject gets an existing OrganizationProject resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewOrganizationProject ¶
func NewOrganizationProject(ctx *pulumi.Context, name string, args *OrganizationProjectArgs, opts ...pulumi.ResourceOpt) (*OrganizationProject, error)
NewOrganizationProject registers a new resource with the given unique name, arguments, and options.
func (*OrganizationProject) Body ¶
func (r *OrganizationProject) Body() *pulumi.StringOutput
The body of the project.
func (*OrganizationProject) Etag ¶
func (r *OrganizationProject) Etag() *pulumi.StringOutput
func (*OrganizationProject) ID ¶
func (r *OrganizationProject) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*OrganizationProject) Name ¶
func (r *OrganizationProject) Name() *pulumi.StringOutput
The name of the project.
func (*OrganizationProject) URN ¶
func (r *OrganizationProject) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*OrganizationProject) Url ¶
func (r *OrganizationProject) Url() *pulumi.StringOutput
URL of the project
type OrganizationProjectArgs ¶
type OrganizationProjectArgs struct { // The body of the project. Body interface{} // The name of the project. Name interface{} }
The set of arguments for constructing a OrganizationProject resource.
type OrganizationProjectState ¶
type OrganizationProjectState struct { // The body of the project. Body interface{} Etag interface{} // The name of the project. Name interface{} // URL of the project Url interface{} }
Input properties used for looking up and filtering OrganizationProject resources.
type OrganizationWebhook ¶
type OrganizationWebhook struct {
// contains filtered or unexported fields
}
This resource allows you to create and manage webhooks for GitHub organization.
> This content is derived from https://github.com/terraform-providers/terraform-provider-github/blob/master/website/docs/r/organization_webhook.html.markdown.
func GetOrganizationWebhook ¶
func GetOrganizationWebhook(ctx *pulumi.Context, name string, id pulumi.ID, state *OrganizationWebhookState, opts ...pulumi.ResourceOpt) (*OrganizationWebhook, error)
GetOrganizationWebhook gets an existing OrganizationWebhook resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewOrganizationWebhook ¶
func NewOrganizationWebhook(ctx *pulumi.Context, name string, args *OrganizationWebhookArgs, opts ...pulumi.ResourceOpt) (*OrganizationWebhook, error)
NewOrganizationWebhook registers a new resource with the given unique name, arguments, and options.
func (*OrganizationWebhook) Active ¶
func (r *OrganizationWebhook) Active() *pulumi.BoolOutput
Indicate of the webhook should receive events. Defaults to `true`.
func (*OrganizationWebhook) Configuration ¶
func (r *OrganizationWebhook) Configuration() *pulumi.Output
key/value pair of configuration for this webhook. Available keys are `url`, `contentType`, `secret` and `insecureSsl`.
func (*OrganizationWebhook) Etag ¶
func (r *OrganizationWebhook) Etag() *pulumi.StringOutput
func (*OrganizationWebhook) Events ¶
func (r *OrganizationWebhook) Events() *pulumi.ArrayOutput
A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/)
func (*OrganizationWebhook) ID ¶
func (r *OrganizationWebhook) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*OrganizationWebhook) URN ¶
func (r *OrganizationWebhook) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*OrganizationWebhook) Url ¶
func (r *OrganizationWebhook) Url() *pulumi.StringOutput
URL of the webhook
type OrganizationWebhookArgs ¶
type OrganizationWebhookArgs struct { // Indicate of the webhook should receive events. Defaults to `true`. Active interface{} // key/value pair of configuration for this webhook. Available keys are `url`, `contentType`, `secret` and `insecureSsl`. Configuration interface{} // A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/) Events interface{} }
The set of arguments for constructing a OrganizationWebhook resource.
type OrganizationWebhookState ¶
type OrganizationWebhookState struct { // Indicate of the webhook should receive events. Defaults to `true`. Active interface{} // key/value pair of configuration for this webhook. Available keys are `url`, `contentType`, `secret` and `insecureSsl`. Configuration interface{} Etag interface{} // A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/) Events interface{} // URL of the webhook Url interface{} }
Input properties used for looking up and filtering OrganizationWebhook resources.
type ProjectColumn ¶
type ProjectColumn struct {
// contains filtered or unexported fields
}
This resource allows you to create and manage columns for GitHub projects.
> This content is derived from https://github.com/terraform-providers/terraform-provider-github/blob/master/website/docs/r/project_column.html.markdown.
func GetProjectColumn ¶
func GetProjectColumn(ctx *pulumi.Context, name string, id pulumi.ID, state *ProjectColumnState, opts ...pulumi.ResourceOpt) (*ProjectColumn, error)
GetProjectColumn gets an existing ProjectColumn resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewProjectColumn ¶
func NewProjectColumn(ctx *pulumi.Context, name string, args *ProjectColumnArgs, opts ...pulumi.ResourceOpt) (*ProjectColumn, error)
NewProjectColumn registers a new resource with the given unique name, arguments, and options.
func (*ProjectColumn) Etag ¶
func (r *ProjectColumn) Etag() *pulumi.StringOutput
func (*ProjectColumn) ID ¶
func (r *ProjectColumn) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*ProjectColumn) Name ¶
func (r *ProjectColumn) Name() *pulumi.StringOutput
The name of the column.
func (*ProjectColumn) ProjectId ¶
func (r *ProjectColumn) ProjectId() *pulumi.StringOutput
The id of an existing project that the column will be created in.
func (*ProjectColumn) URN ¶
func (r *ProjectColumn) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type ProjectColumnArgs ¶
type ProjectColumnArgs struct { // The name of the column. Name interface{} // The id of an existing project that the column will be created in. ProjectId interface{} }
The set of arguments for constructing a ProjectColumn resource.
type ProjectColumnState ¶
type ProjectColumnState struct { Etag interface{} // The name of the column. Name interface{} // The id of an existing project that the column will be created in. ProjectId interface{} }
Input properties used for looking up and filtering ProjectColumn resources.
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
This resource allows you to create and manage repositories within your GitHub organization.
This resource cannot currently be used to manage *personal* repositories, outside of organizations.
> This content is derived from https://github.com/terraform-providers/terraform-provider-github/blob/master/website/docs/r/repository.html.markdown.
func GetRepository ¶
func GetRepository(ctx *pulumi.Context, name string, id pulumi.ID, state *RepositoryState, opts ...pulumi.ResourceOpt) (*Repository, error)
GetRepository gets an existing Repository resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRepository ¶
func NewRepository(ctx *pulumi.Context, name string, args *RepositoryArgs, opts ...pulumi.ResourceOpt) (*Repository, error)
NewRepository registers a new resource with the given unique name, arguments, and options.
func (*Repository) AllowMergeCommit ¶
func (r *Repository) AllowMergeCommit() *pulumi.BoolOutput
Set to `false` to disable merge commits on the repository.
func (*Repository) AllowRebaseMerge ¶
func (r *Repository) AllowRebaseMerge() *pulumi.BoolOutput
Set to `false` to disable rebase merges on the repository.
func (*Repository) AllowSquashMerge ¶
func (r *Repository) AllowSquashMerge() *pulumi.BoolOutput
Set to `false` to disable squash merges on the repository.
func (*Repository) Archived ¶
func (r *Repository) Archived() *pulumi.BoolOutput
Specifies if the repository should be archived. Defaults to `false`.
func (*Repository) AutoInit ¶
func (r *Repository) AutoInit() *pulumi.BoolOutput
Set to `true` to produce an initial commit in the repository.
func (*Repository) DefaultBranch ¶
func (r *Repository) DefaultBranch() *pulumi.StringOutput
The name of the default branch of the repository. **NOTE:** This can only be set after a repository has already been created, and after a correct reference has been created for the target branch inside the repository. This means a user will have to omit this parameter from the initial repository creation and create the target branch inside of the repository prior to setting this attribute.
func (*Repository) Description ¶
func (r *Repository) Description() *pulumi.StringOutput
A description of the repository.
func (*Repository) Etag ¶
func (r *Repository) Etag() *pulumi.StringOutput
func (*Repository) FullName ¶
func (r *Repository) FullName() *pulumi.StringOutput
A string of the form "orgname/reponame".
func (*Repository) GitCloneUrl ¶
func (r *Repository) GitCloneUrl() *pulumi.StringOutput
URL that can be provided to `git clone` to clone the repository anonymously via the git protocol.
func (*Repository) GitignoreTemplate ¶
func (r *Repository) GitignoreTemplate() *pulumi.StringOutput
Use the [name of the template](https://github.com/github/gitignore) without the extension. For example, "Haskell".
func (*Repository) HasDownloads ¶
func (r *Repository) HasDownloads() *pulumi.BoolOutput
Set to `true` to enable the (deprecated) downloads features on the repository.
func (*Repository) HasIssues ¶
func (r *Repository) HasIssues() *pulumi.BoolOutput
Set to `true` to enable the GitHub Issues features on the repository.
func (*Repository) HasProjects ¶
func (r *Repository) HasProjects() *pulumi.BoolOutput
Set to `true` to enable the GitHub Projects features on the repository. Per the github [documentation](https://developer.github.com/v3/repos/#create) when in an organization that has disabled repository projects it will default to `false` and will otherwise default to `true`. If you specify `true` when it has been disabled it will return an error.
func (*Repository) HasWiki ¶
func (r *Repository) HasWiki() *pulumi.BoolOutput
Set to `true` to enable the GitHub Wiki features on the repository.
func (*Repository) HomepageUrl ¶
func (r *Repository) HomepageUrl() *pulumi.StringOutput
URL of a page describing the project.
func (*Repository) HtmlUrl ¶
func (r *Repository) HtmlUrl() *pulumi.StringOutput
URL to the repository on the web.
func (*Repository) HttpCloneUrl ¶
func (r *Repository) HttpCloneUrl() *pulumi.StringOutput
URL that can be provided to `git clone` to clone the repository via HTTPS.
func (*Repository) ID ¶
func (r *Repository) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*Repository) LicenseTemplate ¶
func (r *Repository) LicenseTemplate() *pulumi.StringOutput
Use the [name of the template](https://github.com/github/choosealicense.com/tree/gh-pages/_licenses) without the extension. For example, "mit" or "mpl-2.0".
func (*Repository) Name ¶
func (r *Repository) Name() *pulumi.StringOutput
The name of the repository.
func (*Repository) Private ¶
func (r *Repository) Private() *pulumi.BoolOutput
Set to `true` to create a private repository. Repositories are created as public (e.g. open source) by default.
func (*Repository) SshCloneUrl ¶
func (r *Repository) SshCloneUrl() *pulumi.StringOutput
URL that can be provided to `git clone` to clone the repository via SSH.
func (*Repository) SvnUrl ¶
func (r *Repository) SvnUrl() *pulumi.StringOutput
URL that can be provided to `svn checkout` to check out the repository via GitHub's Subversion protocol emulation.
func (*Repository) Topics ¶
func (r *Repository) Topics() *pulumi.ArrayOutput
The list of topics of the repository.
func (*Repository) URN ¶
func (r *Repository) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type RepositoryArgs ¶
type RepositoryArgs struct { // Set to `false` to disable merge commits on the repository. AllowMergeCommit interface{} // Set to `false` to disable rebase merges on the repository. AllowRebaseMerge interface{} // Set to `false` to disable squash merges on the repository. AllowSquashMerge interface{} // Specifies if the repository should be archived. Defaults to `false`. Archived interface{} // Set to `true` to produce an initial commit in the repository. AutoInit interface{} // The name of the default branch of the repository. **NOTE:** This can only be set after a repository has already been created, // and after a correct reference has been created for the target branch inside the repository. This means a user will have to omit this parameter from the // initial repository creation and create the target branch inside of the repository prior to setting this attribute. DefaultBranch interface{} // A description of the repository. Description interface{} // Use the [name of the template](https://github.com/github/gitignore) without the extension. For example, "Haskell". GitignoreTemplate interface{} // Set to `true` to enable the (deprecated) // downloads features on the repository. HasDownloads interface{} // Set to `true` to enable the GitHub Issues features // on the repository. HasIssues interface{} // Set to `true` to enable the GitHub Projects features on the repository. Per the github [documentation](https://developer.github.com/v3/repos/#create) when in an organization that has disabled repository projects it will default to `false` and will otherwise default to `true`. If you specify `true` when it has been disabled it will return an error. HasProjects interface{} // Set to `true` to enable the GitHub Wiki features on // the repository. HasWiki interface{} // URL of a page describing the project. HomepageUrl interface{} // Use the [name of the template](https://github.com/github/choosealicense.com/tree/gh-pages/_licenses) without the extension. For example, "mit" or "mpl-2.0". LicenseTemplate interface{} // The name of the repository. Name interface{} // Set to `true` to create a private repository. // Repositories are created as public (e.g. open source) by default. Private interface{} // The list of topics of the repository. Topics interface{} }
The set of arguments for constructing a Repository resource.
type RepositoryCollaborator ¶
type RepositoryCollaborator struct {
// contains filtered or unexported fields
}
Provides a GitHub repository collaborator resource.
This resource allows you to add/remove collaborators from repositories in your organization. Collaborators can have explicit (and differing levels of) read, write, or administrator access to specific repositories in your organization, without giving the user full organization membership.
When applied, an invitation will be sent to the user to become a collaborator on a repository. When destroyed, either the invitation will be cancelled or the collaborator will be removed from the repository.
Further documentation on GitHub collaborators:
- [Adding outside collaborators to repositories in your organization](https://help.github.com/articles/adding-outside-collaborators-to-repositories-in-your-organization/) - [Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)
> This content is derived from https://github.com/terraform-providers/terraform-provider-github/blob/master/website/docs/r/repository_collaborator.html.markdown.
func GetRepositoryCollaborator ¶
func GetRepositoryCollaborator(ctx *pulumi.Context, name string, id pulumi.ID, state *RepositoryCollaboratorState, opts ...pulumi.ResourceOpt) (*RepositoryCollaborator, error)
GetRepositoryCollaborator gets an existing RepositoryCollaborator resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRepositoryCollaborator ¶
func NewRepositoryCollaborator(ctx *pulumi.Context, name string, args *RepositoryCollaboratorArgs, opts ...pulumi.ResourceOpt) (*RepositoryCollaborator, error)
NewRepositoryCollaborator registers a new resource with the given unique name, arguments, and options.
func (*RepositoryCollaborator) ID ¶
func (r *RepositoryCollaborator) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*RepositoryCollaborator) InvitationId ¶
func (r *RepositoryCollaborator) InvitationId() *pulumi.StringOutput
ID of the invitation to be used in `.UserInvitationAccepter`
func (*RepositoryCollaborator) Permission ¶
func (r *RepositoryCollaborator) Permission() *pulumi.StringOutput
The permission of the outside collaborator for the repository. Must be one of `pull`, `push`, or `admin`. Defaults to `push`.
func (*RepositoryCollaborator) Repository ¶
func (r *RepositoryCollaborator) Repository() *pulumi.StringOutput
The GitHub repository
func (*RepositoryCollaborator) URN ¶
func (r *RepositoryCollaborator) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*RepositoryCollaborator) Username ¶
func (r *RepositoryCollaborator) Username() *pulumi.StringOutput
The user to add to the repository as a collaborator.
type RepositoryCollaboratorArgs ¶
type RepositoryCollaboratorArgs struct { // The permission of the outside collaborator for the repository. // Must be one of `pull`, `push`, or `admin`. Defaults to `push`. Permission interface{} // The GitHub repository Repository interface{} // The user to add to the repository as a collaborator. Username interface{} }
The set of arguments for constructing a RepositoryCollaborator resource.
type RepositoryCollaboratorState ¶
type RepositoryCollaboratorState struct { // ID of the invitation to be used in `.UserInvitationAccepter` InvitationId interface{} // The permission of the outside collaborator for the repository. // Must be one of `pull`, `push`, or `admin`. Defaults to `push`. Permission interface{} // The GitHub repository Repository interface{} // The user to add to the repository as a collaborator. Username interface{} }
Input properties used for looking up and filtering RepositoryCollaborator resources.
type RepositoryDeployKey ¶
type RepositoryDeployKey struct {
// contains filtered or unexported fields
}
Provides a GitHub repository deploy key resource.
A deploy key is an SSH key that is stored on your server and grants access to a single GitHub repository. This key is attached directly to the repository instead of to a personal user account.
This resource allows you to add/remove repository deploy keys.
Further documentation on GitHub repository deploy keys: - [About deploy keys](https://developer.github.com/guides/managing-deploy-keys/#deploy-keys)
> This content is derived from https://github.com/terraform-providers/terraform-provider-github/blob/master/website/docs/r/repository_deploy_key.html.markdown.
func GetRepositoryDeployKey ¶
func GetRepositoryDeployKey(ctx *pulumi.Context, name string, id pulumi.ID, state *RepositoryDeployKeyState, opts ...pulumi.ResourceOpt) (*RepositoryDeployKey, error)
GetRepositoryDeployKey gets an existing RepositoryDeployKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRepositoryDeployKey ¶
func NewRepositoryDeployKey(ctx *pulumi.Context, name string, args *RepositoryDeployKeyArgs, opts ...pulumi.ResourceOpt) (*RepositoryDeployKey, error)
NewRepositoryDeployKey registers a new resource with the given unique name, arguments, and options.
func (*RepositoryDeployKey) Etag ¶
func (r *RepositoryDeployKey) Etag() *pulumi.StringOutput
func (*RepositoryDeployKey) ID ¶
func (r *RepositoryDeployKey) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*RepositoryDeployKey) Key ¶
func (r *RepositoryDeployKey) Key() *pulumi.StringOutput
A ssh key.
func (*RepositoryDeployKey) ReadOnly ¶
func (r *RepositoryDeployKey) ReadOnly() *pulumi.BoolOutput
A boolean qualifying the key to be either read only or read/write.
func (*RepositoryDeployKey) Repository ¶
func (r *RepositoryDeployKey) Repository() *pulumi.StringOutput
Name of the GitHub repository.
func (*RepositoryDeployKey) Title ¶
func (r *RepositoryDeployKey) Title() *pulumi.StringOutput
A title.
func (*RepositoryDeployKey) URN ¶
func (r *RepositoryDeployKey) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type RepositoryDeployKeyArgs ¶
type RepositoryDeployKeyArgs struct { // A ssh key. Key interface{} // A boolean qualifying the key to be either read only or read/write. ReadOnly interface{} // Name of the GitHub repository. Repository interface{} // A title. Title interface{} }
The set of arguments for constructing a RepositoryDeployKey resource.
type RepositoryDeployKeyState ¶
type RepositoryDeployKeyState struct { Etag interface{} // A ssh key. Key interface{} // A boolean qualifying the key to be either read only or read/write. ReadOnly interface{} // Name of the GitHub repository. Repository interface{} // A title. Title interface{} }
Input properties used for looking up and filtering RepositoryDeployKey resources.
type RepositoryProject ¶
type RepositoryProject struct {
// contains filtered or unexported fields
}
This resource allows you to create and manage projects for GitHub repository.
> This content is derived from https://github.com/terraform-providers/terraform-provider-github/blob/master/website/docs/r/repository_project.html.markdown.
func GetRepositoryProject ¶
func GetRepositoryProject(ctx *pulumi.Context, name string, id pulumi.ID, state *RepositoryProjectState, opts ...pulumi.ResourceOpt) (*RepositoryProject, error)
GetRepositoryProject gets an existing RepositoryProject resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRepositoryProject ¶
func NewRepositoryProject(ctx *pulumi.Context, name string, args *RepositoryProjectArgs, opts ...pulumi.ResourceOpt) (*RepositoryProject, error)
NewRepositoryProject registers a new resource with the given unique name, arguments, and options.
func (*RepositoryProject) Body ¶
func (r *RepositoryProject) Body() *pulumi.StringOutput
The body of the project.
func (*RepositoryProject) Etag ¶
func (r *RepositoryProject) Etag() *pulumi.StringOutput
func (*RepositoryProject) ID ¶
func (r *RepositoryProject) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*RepositoryProject) Name ¶
func (r *RepositoryProject) Name() *pulumi.StringOutput
The name of the project.
func (*RepositoryProject) Repository ¶
func (r *RepositoryProject) Repository() *pulumi.StringOutput
The repository of the project.
func (*RepositoryProject) URN ¶
func (r *RepositoryProject) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*RepositoryProject) Url ¶
func (r *RepositoryProject) Url() *pulumi.StringOutput
URL of the project
type RepositoryProjectArgs ¶
type RepositoryProjectArgs struct { // The body of the project. Body interface{} // The name of the project. Name interface{} // The repository of the project. Repository interface{} }
The set of arguments for constructing a RepositoryProject resource.
type RepositoryProjectState ¶
type RepositoryProjectState struct { // The body of the project. Body interface{} Etag interface{} // The name of the project. Name interface{} // The repository of the project. Repository interface{} // URL of the project Url interface{} }
Input properties used for looking up and filtering RepositoryProject resources.
type RepositoryState ¶
type RepositoryState struct { // Set to `false` to disable merge commits on the repository. AllowMergeCommit interface{} // Set to `false` to disable rebase merges on the repository. AllowRebaseMerge interface{} // Set to `false` to disable squash merges on the repository. AllowSquashMerge interface{} // Specifies if the repository should be archived. Defaults to `false`. Archived interface{} // Set to `true` to produce an initial commit in the repository. AutoInit interface{} // The name of the default branch of the repository. **NOTE:** This can only be set after a repository has already been created, // and after a correct reference has been created for the target branch inside the repository. This means a user will have to omit this parameter from the // initial repository creation and create the target branch inside of the repository prior to setting this attribute. DefaultBranch interface{} // A description of the repository. Description interface{} Etag interface{} // A string of the form "orgname/reponame". FullName interface{} // URL that can be provided to `git clone` to clone the // repository anonymously via the git protocol. GitCloneUrl interface{} // Use the [name of the template](https://github.com/github/gitignore) without the extension. For example, "Haskell". GitignoreTemplate interface{} // Set to `true` to enable the (deprecated) // downloads features on the repository. HasDownloads interface{} // Set to `true` to enable the GitHub Issues features // on the repository. HasIssues interface{} // Set to `true` to enable the GitHub Projects features on the repository. Per the github [documentation](https://developer.github.com/v3/repos/#create) when in an organization that has disabled repository projects it will default to `false` and will otherwise default to `true`. If you specify `true` when it has been disabled it will return an error. HasProjects interface{} // Set to `true` to enable the GitHub Wiki features on // the repository. HasWiki interface{} // URL of a page describing the project. HomepageUrl interface{} // URL to the repository on the web. HtmlUrl interface{} // URL that can be provided to `git clone` to clone the // repository via HTTPS. HttpCloneUrl interface{} // Use the [name of the template](https://github.com/github/choosealicense.com/tree/gh-pages/_licenses) without the extension. For example, "mit" or "mpl-2.0". LicenseTemplate interface{} // The name of the repository. Name interface{} // Set to `true` to create a private repository. // Repositories are created as public (e.g. open source) by default. Private interface{} // URL that can be provided to `git clone` to clone the // repository via SSH. SshCloneUrl interface{} // URL that can be provided to `svn checkout` to check out // the repository via GitHub's Subversion protocol emulation. SvnUrl interface{} // The list of topics of the repository. Topics interface{} }
Input properties used for looking up and filtering Repository resources.
type RepositoryWebhook ¶
type RepositoryWebhook struct {
// contains filtered or unexported fields
}
This resource allows you to create and manage webhooks for repositories within your GitHub organization.
This resource cannot currently be used to manage webhooks for *personal* repositories, outside of organizations.
> This content is derived from https://github.com/terraform-providers/terraform-provider-github/blob/master/website/docs/r/repository_webhook.html.markdown.
func GetRepositoryWebhook ¶
func GetRepositoryWebhook(ctx *pulumi.Context, name string, id pulumi.ID, state *RepositoryWebhookState, opts ...pulumi.ResourceOpt) (*RepositoryWebhook, error)
GetRepositoryWebhook gets an existing RepositoryWebhook resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRepositoryWebhook ¶
func NewRepositoryWebhook(ctx *pulumi.Context, name string, args *RepositoryWebhookArgs, opts ...pulumi.ResourceOpt) (*RepositoryWebhook, error)
NewRepositoryWebhook registers a new resource with the given unique name, arguments, and options.
func (*RepositoryWebhook) Active ¶
func (r *RepositoryWebhook) Active() *pulumi.BoolOutput
Indicate of the webhook should receive events. Defaults to `true`.
func (*RepositoryWebhook) Configuration ¶
func (r *RepositoryWebhook) Configuration() *pulumi.Output
key/value pair of configuration for this webhook. Available keys are `url`, `contentType`, `secret` and `insecureSsl`. `secret` is [the shared secret, see API documentation](https://developer.github.com/v3/repos/hooks/#create-a-hook).
func (*RepositoryWebhook) Etag ¶
func (r *RepositoryWebhook) Etag() *pulumi.StringOutput
func (*RepositoryWebhook) Events ¶
func (r *RepositoryWebhook) Events() *pulumi.ArrayOutput
A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/).
func (*RepositoryWebhook) ID ¶
func (r *RepositoryWebhook) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*RepositoryWebhook) Repository ¶
func (r *RepositoryWebhook) Repository() *pulumi.StringOutput
The repository of the webhook.
func (*RepositoryWebhook) URN ¶
func (r *RepositoryWebhook) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*RepositoryWebhook) Url ¶
func (r *RepositoryWebhook) Url() *pulumi.StringOutput
URL of the webhook
type RepositoryWebhookArgs ¶
type RepositoryWebhookArgs struct { // Indicate of the webhook should receive events. Defaults to `true`. Active interface{} // key/value pair of configuration for this webhook. Available keys are `url`, `contentType`, `secret` and `insecureSsl`. `secret` is [the shared secret, see API documentation](https://developer.github.com/v3/repos/hooks/#create-a-hook). Configuration interface{} // A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/). Events interface{} // The repository of the webhook. Repository interface{} }
The set of arguments for constructing a RepositoryWebhook resource.
type RepositoryWebhookState ¶
type RepositoryWebhookState struct { // Indicate of the webhook should receive events. Defaults to `true`. Active interface{} // key/value pair of configuration for this webhook. Available keys are `url`, `contentType`, `secret` and `insecureSsl`. `secret` is [the shared secret, see API documentation](https://developer.github.com/v3/repos/hooks/#create-a-hook). Configuration interface{} Etag interface{} // A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/). Events interface{} // The repository of the webhook. Repository interface{} // URL of the webhook Url interface{} }
Input properties used for looking up and filtering RepositoryWebhook resources.
type Team ¶
type Team struct {
// contains filtered or unexported fields
}
Provides a GitHub team resource.
This resource allows you to add/remove teams from your organization. When applied, a new team will be created. When destroyed, that team will be removed.
> This content is derived from https://github.com/terraform-providers/terraform-provider-github/blob/master/website/docs/r/team.html.markdown.
func GetTeam ¶
func GetTeam(ctx *pulumi.Context, name string, id pulumi.ID, state *TeamState, opts ...pulumi.ResourceOpt) (*Team, error)
GetTeam gets an existing Team resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTeam ¶
func NewTeam(ctx *pulumi.Context, name string, args *TeamArgs, opts ...pulumi.ResourceOpt) (*Team, error)
NewTeam registers a new resource with the given unique name, arguments, and options.
func (*Team) Description ¶
func (r *Team) Description() *pulumi.StringOutput
A description of the team.
func (*Team) Etag ¶
func (r *Team) Etag() *pulumi.StringOutput
func (*Team) LdapDn ¶
func (r *Team) LdapDn() *pulumi.StringOutput
The LDAP Distinguished Name of the group where membership will be synchronized. Only available in GitHub Enterprise.
func (*Team) ParentTeamId ¶
The ID of the parent team, if this is a nested team.
func (*Team) Privacy ¶
func (r *Team) Privacy() *pulumi.StringOutput
The level of privacy for the team. Must be one of `secret` or `closed`. Defaults to `secret`.
func (*Team) Slug ¶
func (r *Team) Slug() *pulumi.StringOutput
The slug of the created team, which may or may not differ from `name`, depending on whether `name` contains "URL-unsafe" characters. Useful when referencing the team in [`.BranchProtection`](https://www.terraform.io/docs/providers/github/r/branch_protection.html).
type TeamArgs ¶
type TeamArgs struct { // A description of the team. Description interface{} // The LDAP Distinguished Name of the group where membership will be synchronized. Only available in GitHub Enterprise. LdapDn interface{} // The name of the team. Name interface{} // The ID of the parent team, if this is a nested team. ParentTeamId interface{} // The level of privacy for the team. Must be one of `secret` or `closed`. // Defaults to `secret`. Privacy interface{} }
The set of arguments for constructing a Team resource.
type TeamMembership ¶
type TeamMembership struct {
// contains filtered or unexported fields
}
Provides a GitHub team membership resource.
This resource allows you to add/remove users from teams in your organization. When applied, the user will be added to the team. If the user hasn't accepted their invitation to the organization, they won't be part of the team until they do. When destroyed, the user will be removed from the team.
> This content is derived from https://github.com/terraform-providers/terraform-provider-github/blob/master/website/docs/r/team_membership.html.markdown.
func GetTeamMembership ¶
func GetTeamMembership(ctx *pulumi.Context, name string, id pulumi.ID, state *TeamMembershipState, opts ...pulumi.ResourceOpt) (*TeamMembership, error)
GetTeamMembership gets an existing TeamMembership resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTeamMembership ¶
func NewTeamMembership(ctx *pulumi.Context, name string, args *TeamMembershipArgs, opts ...pulumi.ResourceOpt) (*TeamMembership, error)
NewTeamMembership registers a new resource with the given unique name, arguments, and options.
func (*TeamMembership) Etag ¶
func (r *TeamMembership) Etag() *pulumi.StringOutput
func (*TeamMembership) ID ¶
func (r *TeamMembership) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*TeamMembership) Role ¶
func (r *TeamMembership) Role() *pulumi.StringOutput
The role of the user within the team. Must be one of `member` or `maintainer`. Defaults to `member`.
func (*TeamMembership) TeamId ¶
func (r *TeamMembership) TeamId() *pulumi.StringOutput
The GitHub team id
func (*TeamMembership) URN ¶
func (r *TeamMembership) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*TeamMembership) Username ¶
func (r *TeamMembership) Username() *pulumi.StringOutput
The user to add to the team.
type TeamMembershipArgs ¶
type TeamMembershipArgs struct { // The role of the user within the team. // Must be one of `member` or `maintainer`. Defaults to `member`. Role interface{} // The GitHub team id TeamId interface{} // The user to add to the team. Username interface{} }
The set of arguments for constructing a TeamMembership resource.
type TeamMembershipState ¶
type TeamMembershipState struct { Etag interface{} // The role of the user within the team. // Must be one of `member` or `maintainer`. Defaults to `member`. Role interface{} // The GitHub team id TeamId interface{} // The user to add to the team. Username interface{} }
Input properties used for looking up and filtering TeamMembership resources.
type TeamRepository ¶
type TeamRepository struct {
// contains filtered or unexported fields
}
This resource manages relationships between teams and repositories in your GitHub organization.
Creating this resource grants a particular team permissions on a particular repository.
The repository and the team must both belong to the same organization on GitHub. This resource does not actually *create* any repositories; to do that, see `.Repository`.
> This content is derived from https://github.com/terraform-providers/terraform-provider-github/blob/master/website/docs/r/team_repository.html.markdown.
func GetTeamRepository ¶
func GetTeamRepository(ctx *pulumi.Context, name string, id pulumi.ID, state *TeamRepositoryState, opts ...pulumi.ResourceOpt) (*TeamRepository, error)
GetTeamRepository gets an existing TeamRepository resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTeamRepository ¶
func NewTeamRepository(ctx *pulumi.Context, name string, args *TeamRepositoryArgs, opts ...pulumi.ResourceOpt) (*TeamRepository, error)
NewTeamRepository registers a new resource with the given unique name, arguments, and options.
func (*TeamRepository) Etag ¶
func (r *TeamRepository) Etag() *pulumi.StringOutput
func (*TeamRepository) ID ¶
func (r *TeamRepository) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*TeamRepository) Permission ¶
func (r *TeamRepository) Permission() *pulumi.StringOutput
The permissions of team members regarding the repository. Must be one of `pull`, `push`, or `admin`. Defaults to `pull`.
func (*TeamRepository) Repository ¶
func (r *TeamRepository) Repository() *pulumi.StringOutput
The repository to add to the team.
func (*TeamRepository) TeamId ¶
func (r *TeamRepository) TeamId() *pulumi.StringOutput
The GitHub team id
func (*TeamRepository) URN ¶
func (r *TeamRepository) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type TeamRepositoryArgs ¶
type TeamRepositoryArgs struct { // The permissions of team members regarding the repository. // Must be one of `pull`, `push`, or `admin`. Defaults to `pull`. Permission interface{} // The repository to add to the team. Repository interface{} // The GitHub team id TeamId interface{} }
The set of arguments for constructing a TeamRepository resource.
type TeamRepositoryState ¶
type TeamRepositoryState struct { Etag interface{} // The permissions of team members regarding the repository. // Must be one of `pull`, `push`, or `admin`. Defaults to `pull`. Permission interface{} // The repository to add to the team. Repository interface{} // The GitHub team id TeamId interface{} }
Input properties used for looking up and filtering TeamRepository resources.
type TeamState ¶
type TeamState struct { // A description of the team. Description interface{} Etag interface{} // The LDAP Distinguished Name of the group where membership will be synchronized. Only available in GitHub Enterprise. LdapDn interface{} // The name of the team. Name interface{} // The ID of the parent team, if this is a nested team. ParentTeamId interface{} // The level of privacy for the team. Must be one of `secret` or `closed`. // Defaults to `secret`. Privacy interface{} // The slug of the created team, which may or may not differ from `name`, // depending on whether `name` contains "URL-unsafe" characters. // Useful when referencing the team in [`.BranchProtection`](https://www.terraform.io/docs/providers/github/r/branch_protection.html). Slug interface{} }
Input properties used for looking up and filtering Team resources.
type UserGPGKey ¶
type UserGPGKey struct {
// contains filtered or unexported fields
}
Provides a GitHub user's GPG key resource.
This resource allows you to add/remove GPG keys from your user account.
> This content is derived from https://github.com/terraform-providers/terraform-provider-github/blob/master/website/docs/r/user_gpg_key.html.markdown.
func GetUserGPGKey ¶
func GetUserGPGKey(ctx *pulumi.Context, name string, id pulumi.ID, state *UserGPGKeyState, opts ...pulumi.ResourceOpt) (*UserGPGKey, error)
GetUserGPGKey gets an existing UserGPGKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewUserGPGKey ¶
func NewUserGPGKey(ctx *pulumi.Context, name string, args *UserGPGKeyArgs, opts ...pulumi.ResourceOpt) (*UserGPGKey, error)
NewUserGPGKey registers a new resource with the given unique name, arguments, and options.
func (*UserGPGKey) ArmoredPublicKey ¶
func (r *UserGPGKey) ArmoredPublicKey() *pulumi.StringOutput
Your public GPG key, generated in ASCII-armored format. See [Generating a new GPG key](https://help.github.com/articles/generating-a-new-gpg-key/) for help on creating a GPG key.
func (*UserGPGKey) Etag ¶
func (r *UserGPGKey) Etag() *pulumi.StringOutput
func (*UserGPGKey) ID ¶
func (r *UserGPGKey) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*UserGPGKey) KeyId ¶
func (r *UserGPGKey) KeyId() *pulumi.StringOutput
The key ID of the GPG key, e.g. `3262EFF25BA0D270`
func (*UserGPGKey) URN ¶
func (r *UserGPGKey) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type UserGPGKeyArgs ¶
type UserGPGKeyArgs struct { // Your public GPG key, generated in ASCII-armored format. // See [Generating a new GPG key](https://help.github.com/articles/generating-a-new-gpg-key/) for help on creating a GPG key. ArmoredPublicKey interface{} }
The set of arguments for constructing a UserGPGKey resource.
type UserGPGKeyState ¶
type UserGPGKeyState struct { // Your public GPG key, generated in ASCII-armored format. // See [Generating a new GPG key](https://help.github.com/articles/generating-a-new-gpg-key/) for help on creating a GPG key. ArmoredPublicKey interface{} Etag interface{} // The key ID of the GPG key, e.g. `3262EFF25BA0D270` KeyId interface{} }
Input properties used for looking up and filtering UserGPGKey resources.
type UserInvitationAccepter ¶
type UserInvitationAccepter struct {
// contains filtered or unexported fields
}
Provides a resource to manage GitHub repository collaborator invitations.
> This content is derived from https://github.com/terraform-providers/terraform-provider-github/blob/master/website/docs/r/user_invitation_accepter.html.markdown.
func GetUserInvitationAccepter ¶
func GetUserInvitationAccepter(ctx *pulumi.Context, name string, id pulumi.ID, state *UserInvitationAccepterState, opts ...pulumi.ResourceOpt) (*UserInvitationAccepter, error)
GetUserInvitationAccepter gets an existing UserInvitationAccepter resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewUserInvitationAccepter ¶
func NewUserInvitationAccepter(ctx *pulumi.Context, name string, args *UserInvitationAccepterArgs, opts ...pulumi.ResourceOpt) (*UserInvitationAccepter, error)
NewUserInvitationAccepter registers a new resource with the given unique name, arguments, and options.
func (*UserInvitationAccepter) ID ¶
func (r *UserInvitationAccepter) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*UserInvitationAccepter) InvitationId ¶
func (r *UserInvitationAccepter) InvitationId() *pulumi.StringOutput
ID of the invitation to accept
func (*UserInvitationAccepter) URN ¶
func (r *UserInvitationAccepter) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type UserInvitationAccepterArgs ¶
type UserInvitationAccepterArgs struct {
// ID of the invitation to accept
InvitationId interface{}
}
The set of arguments for constructing a UserInvitationAccepter resource.
type UserInvitationAccepterState ¶
type UserInvitationAccepterState struct {
// ID of the invitation to accept
InvitationId interface{}
}
Input properties used for looking up and filtering UserInvitationAccepter resources.
type UserSSHKey ¶
type UserSSHKey struct {
// contains filtered or unexported fields
}
Provides a GitHub user's SSH key resource.
This resource allows you to add/remove SSH keys from your user account.
> This content is derived from https://github.com/terraform-providers/terraform-provider-github/blob/master/website/docs/r/user_ssh_key.html.markdown.
func GetUserSSHKey ¶
func GetUserSSHKey(ctx *pulumi.Context, name string, id pulumi.ID, state *UserSSHKeyState, opts ...pulumi.ResourceOpt) (*UserSSHKey, error)
GetUserSSHKey gets an existing UserSSHKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewUserSSHKey ¶
func NewUserSSHKey(ctx *pulumi.Context, name string, args *UserSSHKeyArgs, opts ...pulumi.ResourceOpt) (*UserSSHKey, error)
NewUserSSHKey registers a new resource with the given unique name, arguments, and options.
func (*UserSSHKey) Etag ¶
func (r *UserSSHKey) Etag() *pulumi.StringOutput
func (*UserSSHKey) ID ¶
func (r *UserSSHKey) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*UserSSHKey) Key ¶
func (r *UserSSHKey) Key() *pulumi.StringOutput
The public SSH key to add to your GitHub account.
func (*UserSSHKey) Title ¶
func (r *UserSSHKey) Title() *pulumi.StringOutput
A descriptive name for the new key. e.g. `Personal MacBook Air`
func (*UserSSHKey) URN ¶
func (r *UserSSHKey) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type UserSSHKeyArgs ¶
type UserSSHKeyArgs struct { // The public SSH key to add to your GitHub account. Key interface{} // A descriptive name for the new key. e.g. `Personal MacBook Air` Title interface{} }
The set of arguments for constructing a UserSSHKey resource.
type UserSSHKeyState ¶
type UserSSHKeyState struct { Etag interface{} // The public SSH key to add to your GitHub account. Key interface{} // A descriptive name for the new key. e.g. `Personal MacBook Air` Title interface{} // The URL of the SSH key Url interface{} }
Input properties used for looking up and filtering UserSSHKey resources.
Source Files ¶
- branchProtection.go
- getCollaborators.go
- getIPRanges.go
- getRepositories.go
- getRepository.go
- getTeam.go
- getUser.go
- issueLabel.go
- membership.go
- organizationBlock.go
- organizationProject.go
- organizationWebhook.go
- projectColumn.go
- repository.go
- repositoryCollaborator.go
- repositoryDeployKey.go
- repositoryProject.go
- repositoryWebhook.go
- team.go
- teamMembership.go
- teamRepository.go
- userGPGKey.go
- userInvitationAccepter.go
- userSSHKey.go