repositories

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGitHubRepository

func NewGitHubRepository() datasource.DataSource

Types

type GitHubRepository

type GitHubRepository struct {
	// contains filtered or unexported fields
}

func (*GitHubRepository) Configure

func (*GitHubRepository) Metadata

func (*GitHubRepository) Read

func (*GitHubRepository) Schema

type GitHubRepositoryModel

type GitHubRepositoryModel struct {
	// Arguments
	Owner types.String `tfsdk:"owner"`
	Name  types.String `tfsdk:"name"`

	// Attributes
	ID                       types.Int64               `tfsdk:"id"`
	NodeID                   types.String              `tfsdk:"node_id"`
	FullName                 types.String              `tfsdk:"full_name"`
	Description              types.String              `tfsdk:"description"`
	Homepage                 types.String              `tfsdk:"homepage"`
	DefaultBranch            types.String              `tfsdk:"default_branch"`
	MasterBranch             types.String              `tfsdk:"master_branch"`
	CreatedAt                timetypes.RFC3339         `tfsdk:"created_at"`
	PushedAt                 timetypes.RFC3339         `tfsdk:"pushed_at"`
	UpdatedAt                timetypes.RFC3339         `tfsdk:"updated_at"`
	HTMLURL                  types.String              `tfsdk:"html_url"`
	CloneURL                 types.String              `tfsdk:"clone_url"`
	GitURL                   types.String              `tfsdk:"git_url"`
	MirrorURL                types.String              `tfsdk:"mirror_url"`
	SSHURL                   types.String              `tfsdk:"ssh_url"`
	SVNURL                   types.String              `tfsdk:"svn_url"`
	Language                 types.String              `tfsdk:"language"`
	Fork                     types.Bool                `tfsdk:"fork"`
	ForksCount               types.Int64               `tfsdk:"forks_count"`
	NetworkCount             types.Int64               `tfsdk:"network_count"`
	OpenIssuesCount          types.Int64               `tfsdk:"open_issues_count"`
	StargazersCount          types.Int64               `tfsdk:"stargazers_count"`
	SubscribersCount         types.Int64               `tfsdk:"subscribers_count"`
	Size                     types.Int64               `tfsdk:"size"`
	AutoInit                 types.Bool                `tfsdk:"auto_init"`
	Parent                   *linkedRepositoryModel    `tfsdk:"parent"`
	Source                   *linkedRepositoryModel    `tfsdk:"source"`
	TemplateRepository       *linkedRepositoryModel    `tfsdk:"template_repository"`
	Organization             *organizationModel        `tfsdk:"organization"`
	Permissions              *permissionsModel         `tfsdk:"permissions"`
	AllowRebaseMerge         types.Bool                `tfsdk:"allow_rebase_merge"`
	AllowUpdateBranch        types.Bool                `tfsdk:"allow_update_branch"`
	AllowSquashMerge         types.Bool                `tfsdk:"allow_squash_merge"`
	AllowMergeCommit         types.Bool                `tfsdk:"allow_merge_commit"`
	AllowAutoMerge           types.Bool                `tfsdk:"allow_auto_merge"`
	AllowForking             types.Bool                `tfsdk:"allow_forking"`
	WebCommitSignoffRequired types.Bool                `tfsdk:"web_commit_signoff_required"`
	DeleteBranchOnMerge      types.Bool                `tfsdk:"delete_branch_on_merge"`
	SquashMergeCommitTitle   types.String              `tfsdk:"squash_merge_commit_title"`
	SquashMergeCommitMessage types.String              `tfsdk:"squash_merge_commit_message"`
	MergeCommitTitle         types.String              `tfsdk:"merge_commit_title"`
	MergeCommitMessage       types.String              `tfsdk:"merge_commit_message"`
	Topics                   types.List                `tfsdk:"topics"`
	Archived                 types.Bool                `tfsdk:"archived"`
	Disabled                 types.Bool                `tfsdk:"disabled"`
	Private                  types.Bool                `tfsdk:"private"`
	HasIssues                types.Bool                `tfsdk:"has_issues"`
	HasWiki                  types.Bool                `tfsdk:"has_wiki"`
	HasPages                 types.Bool                `tfsdk:"has_pages"`
	HasProjects              types.Bool                `tfsdk:"has_projects"`
	HasDownloads             types.Bool                `tfsdk:"has_downloads"`
	HasDiscussions           types.Bool                `tfsdk:"has_discussions"`
	IsTemplate               types.Bool                `tfsdk:"is_template"`
	LicenseTemplate          types.String              `tfsdk:"license_template"`
	GitignoreTemplate        types.String              `tfsdk:"gitignore_template"`
	SecurityAndAnalysis      *securityAndAnalysisModel `tfsdk:"security_and_analysis"`
	TeamID                   types.Int64               `tfsdk:"team_id"`
	URL                      types.String              `tfsdk:"url"`
	ArchiveURL               types.String              `tfsdk:"archive_url"`
	AssigneesURL             types.String              `tfsdk:"assignees_url"`
	BlobsURL                 types.String              `tfsdk:"blobs_url"`
	BranchesURL              types.String              `tfsdk:"branches_url"`
	CollaboratorsURL         types.String              `tfsdk:"collaborators_url"`
	CommentsURL              types.String              `tfsdk:"comments_url"`
	CommitsURL               types.String              `tfsdk:"commits_url"`
	CompareURL               types.String              `tfsdk:"compare_url"`
	ContentsURL              types.String              `tfsdk:"contents_url"`
	ContributorsURL          types.String              `tfsdk:"contributors_url"`
	DeploymentsURL           types.String              `tfsdk:"deployments_url"`
	DownloadsURL             types.String              `tfsdk:"downloads_url"`
	EventsURL                types.String              `tfsdk:"events_url"`
	ForksURL                 types.String              `tfsdk:"forks_url"`
	GitCommitsURL            types.String              `tfsdk:"git_commits_url"`
	GitRefsURL               types.String              `tfsdk:"git_refs_url"`
	GitTagsURL               types.String              `tfsdk:"git_tags_url"`
	HooksURL                 types.String              `tfsdk:"hooks_url"`
	IssueCommentURL          types.String              `tfsdk:"issue_comment_url"`
	IssueEventsURL           types.String              `tfsdk:"issue_events_url"`
	IssuesURL                types.String              `tfsdk:"issues_url"`
	KeysURL                  types.String              `tfsdk:"keys_url"`
	LabelsURL                types.String              `tfsdk:"labels_url"`
	LanguagesURL             types.String              `tfsdk:"languages_url"`
	MergesURL                types.String              `tfsdk:"merges_url"`
	MilestonesURL            types.String              `tfsdk:"milestones_url"`
	NotificationsURL         types.String              `tfsdk:"notifications_url"`
	PullsURL                 types.String              `tfsdk:"pulls_url"`
	ReleasesURL              types.String              `tfsdk:"releases_url"`
	StargazersURL            types.String              `tfsdk:"stargazers_url"`
	StatusesURL              types.String              `tfsdk:"statuses_url"`
	SubscribersURL           types.String              `tfsdk:"subscribers_url"`
	SubscriptionURL          types.String              `tfsdk:"subscription_url"`
	TagsURL                  types.String              `tfsdk:"tags_url"`
	TreesURL                 types.String              `tfsdk:"trees_url"`
	TeamsURL                 types.String              `tfsdk:"teams_url"`
	Visibility               types.String              `tfsdk:"visibility"`
}

Jump to

Keyboard shortcuts

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