github

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

this file is generated

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitTypes

func InitTypes(c px.Context)

Types

type BranchProtection

type BranchProtection struct {
	Branch                     string
	Repository                 string
	BranchProtectionId         *string `puppet:"name=>'branch_protection_id'"`
	EnforceAdmins              *bool   `puppet:"name=>'enforce_admins'"`
	Etag                       *string
	RequiredPullRequestReviews *Reviews `puppet:"name=>'required_pull_request_reviews'"`
	RequiredStatusChecks       *Checks  `puppet:"name=>'required_status_checks'"`
	Restrictions               *Restrictions
}

type Checks

type Checks struct {
	Contexts *[]string
	Strict   *bool
}

type Configuration

type Configuration struct {
	Url         string
	ContentType *string `puppet:"name=>'content_type'"`
	InsecureSsl *string `puppet:"name=>'insecure_ssl'"`
	Secret      *string
}

type GenericHandler

type GenericHandler struct {
}

type IssueLabel

type IssueLabel struct {
	Color        string
	Name         string
	Repository   string
	IssueLabelId *string `puppet:"name=>'issue_label_id'"`
	Description  *string
	Etag         *string
	Url          *string
}

type Membership

type Membership struct {
	Username     string
	MembershipId *string `puppet:"name=>'membership_id'"`
	Etag         *string
	Role         *string
}

type OrganizationProject

type OrganizationProject struct {
	Name                  string
	OrganizationProjectId *string `puppet:"name=>'organization_project_id'"`
	Body                  *string
	Etag                  *string
	Url                   *string
}

type OrganizationWebhook

type OrganizationWebhook struct {
	Events                []string
	Name                  string
	OrganizationWebhookId *string `puppet:"name=>'organization_webhook_id'"`
	Active                *bool
	Configuration         *Configuration
	Etag                  *string
	Url                   *string
}

type ProjectColumn

type ProjectColumn struct {
	Name            string
	ProjectId       string  `puppet:"name=>'project_id'"`
	ProjectColumnId *string `puppet:"name=>'project_column_id'"`
	Etag            *string
}

type Repository

type Repository struct {
	Name              string
	RepositoryId      *string `puppet:"name=>'repository_id'"`
	AllowMergeCommit  *bool   `puppet:"name=>'allow_merge_commit'"`
	AllowRebaseMerge  *bool   `puppet:"name=>'allow_rebase_merge'"`
	AllowSquashMerge  *bool   `puppet:"name=>'allow_squash_merge'"`
	Archived          *bool
	AutoInit          *bool   `puppet:"name=>'auto_init'"`
	DefaultBranch     *string `puppet:"name=>'default_branch'"`
	Description       *string
	Etag              *string
	FullName          *string `puppet:"name=>'full_name'"`
	GitCloneUrl       *string `puppet:"name=>'git_clone_url'"`
	GitignoreTemplate *string `puppet:"name=>'gitignore_template'"`
	HasDownloads      *bool   `puppet:"name=>'has_downloads'"`
	HasIssues         *bool   `puppet:"name=>'has_issues'"`
	HasProjects       *bool   `puppet:"name=>'has_projects'"`
	HasWiki           *bool   `puppet:"name=>'has_wiki'"`
	HomepageUrl       *string `puppet:"name=>'homepage_url'"`
	HtmlUrl           *string `puppet:"name=>'html_url'"`
	HttpCloneUrl      *string `puppet:"name=>'http_clone_url'"`
	LicenseTemplate   *string `puppet:"name=>'license_template'"`
	Private           *bool
	SshCloneUrl       *string `puppet:"name=>'ssh_clone_url'"`
	SvnUrl            *string `puppet:"name=>'svn_url'"`
	Topics            *[]string
}

type RepositoryCollaborator

type RepositoryCollaborator struct {
	Repository               string
	Username                 string
	RepositoryCollaboratorId *string `puppet:"name=>'repository_collaborator_id'"`
	Permission               *string
}

type RepositoryDeployKey

type RepositoryDeployKey struct {
	Key                   string
	Repository            string
	Title                 string
	RepositoryDeployKeyId *string `puppet:"name=>'repository_deploy_key_id'"`
	Etag                  *string
	ReadOnly              *bool `puppet:"name=>'read_only'"`
}

type RepositoryProject

type RepositoryProject struct {
	Name                string
	Repository          string
	RepositoryProjectId *string `puppet:"name=>'repository_project_id'"`
	Body                *string
	Etag                *string
	Url                 *string
}

type RepositoryWebhook

type RepositoryWebhook struct {
	Events              []string
	Name                string
	Repository          string
	RepositoryWebhookId *string `puppet:"name=>'repository_webhook_id'"`
	Active              *bool
	Configuration       *Configuration
	Etag                *string
	Url                 *string
}

type Restrictions

type Restrictions struct {
	Teams *[]string
	Users *[]string
}

type Reviews

type Reviews struct {
	DismissStaleReviews     *bool     `puppet:"name=>'dismiss_stale_reviews'"`
	DismissalTeams          *[]string `puppet:"name=>'dismissal_teams'"`
	DismissalUsers          *[]string `puppet:"name=>'dismissal_users'"`
	RequireCodeOwnerReviews *bool     `puppet:"name=>'require_code_owner_reviews'"`
}

type Team

type Team struct {
	Name         string
	TeamId       *string `puppet:"name=>'team_id'"`
	Description  *string
	Etag         *string
	LdapDn       *string `puppet:"name=>'ldap_dn'"`
	ParentTeamId *int64  `puppet:"name=>'parent_team_id'"`
	Privacy      *string
	Slug         *string
}

type TeamMembership

type TeamMembership struct {
	TeamId           string `puppet:"name=>'team_id'"`
	Username         string
	TeamMembershipId *string `puppet:"name=>'team_membership_id'"`
	Etag             *string
	Role             *string
}

type TeamRepository

type TeamRepository struct {
	Repository       string
	TeamId           string  `puppet:"name=>'team_id'"`
	TeamRepositoryId *string `puppet:"name=>'team_repository_id'"`
	Etag             *string
	Permission       *string
}

type UserGpgKey

type UserGpgKey struct {
	ArmoredPublicKey string  `puppet:"name=>'armored_public_key'"`
	UserGpgKeyId     *string `puppet:"name=>'user_gpg_key_id'"`
	Etag             *string
	KeyId            *string `puppet:"name=>'key_id'"`
}

type UserSshKey

type UserSshKey struct {
	Key          string
	Title        string
	UserSshKeyId *string `puppet:"name=>'user_ssh_key_id'"`
	Etag         *string
	Url          *string
}

Jump to

Keyboard shortcuts

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