repositories

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 7 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 {
	Owner                     types.String      `tfsdk:"owner"`
	Repo                      types.String      `tfsdk:"repo"`
	Id                        types.Int64       `tfsdk:"id"`
	NodeID                    types.String      `tfsdk:"node_id"`
	Name                      types.String      `tfsdk:"name"`
	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                    types.String      `tfsdk:"parent"`
	Source                    types.String      `tfsdk:"source"`
	TemplateRepository        types.String      `tfsdk:"template_repository"`
	Organization              types.String      `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"`
	UseSquashPRTitleAsDefault types.Bool        `tfsdk:"use_squash_pr_title_as_default"`
	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"`
}

Jump to

Keyboard shortcuts

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