repository

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceSchema

func DataSourceSchema() datasource_schema.Schema

DataSourceSchema returns the schema for the repository data source

func RepositoryDataSource

func RepositoryDataSource() datasource.DataSource

RepositoryDataSource returns a new repository data source

func RepositoryResource

func RepositoryResource() resource.Resource

RepositoryResource is a function that returns a new repository resource

func ResourceSchema

func ResourceSchema() resource_schema.Schema

ResourceSchema returns the schema for the repository resource

Types

type RepositoryDataSourceModel

type RepositoryDataSourceModel struct {
	ID                                    types.String `tfsdk:"id"`
	RepositoryID                          types.Int64  `tfsdk:"repository_id"`
	ProjectID                             types.Int64  `tfsdk:"project_id"`
	IsActive                              types.Bool   `tfsdk:"is_active"`
	RemoteURL                             types.String `tfsdk:"remote_url"`
	GitCloneStrategy                      types.String `tfsdk:"git_clone_strategy"`
	RepositoryCredentialsID               types.Int64  `tfsdk:"repository_credentials_id"`
	GitlabProjectID                       types.Int64  `tfsdk:"gitlab_project_id"`
	GithubInstallationID                  types.Int64  `tfsdk:"github_installation_id"`
	DeployKey                             types.String `tfsdk:"deploy_key"`
	PullRequestURLTemplate                types.String `tfsdk:"pull_request_url_template"`
	AzureActiveDirectoryProjectID         types.String `tfsdk:"azure_active_directory_project_id"`
	AzureActiveDirectoryRepositoryID      types.String `tfsdk:"azure_active_directory_repository_id"`
	AzureBypassWebhookRegistrationFailure types.Bool   `tfsdk:"azure_bypass_webhook_registration_failure"`
	FetchDeployKey                        types.Bool   `tfsdk:"fetch_deploy_key"`
}

RepositoryDataSourceModel represents the data source model for repositories

type RepositoryResourceModel

type RepositoryResourceModel struct {
	ID                                    types.String `tfsdk:"id"`
	RepositoryID                          types.Int64  `tfsdk:"repository_id"`
	ProjectID                             types.Int64  `tfsdk:"project_id"`
	IsActive                              types.Bool   `tfsdk:"is_active"`
	RemoteURL                             types.String `tfsdk:"remote_url"`
	GitCloneStrategy                      types.String `tfsdk:"git_clone_strategy"`
	RepositoryCredentialsID               types.Int64  `tfsdk:"repository_credentials_id"`
	GitlabProjectID                       types.Int64  `tfsdk:"gitlab_project_id"`
	GithubInstallationID                  types.Int64  `tfsdk:"github_installation_id"`
	DeployKey                             types.String `tfsdk:"deploy_key"`
	PullRequestURLTemplate                types.String `tfsdk:"pull_request_url_template"`
	AzureActiveDirectoryProjectID         types.String `tfsdk:"azure_active_directory_project_id"`
	AzureActiveDirectoryRepositoryID      types.String `tfsdk:"azure_active_directory_repository_id"`
	AzureBypassWebhookRegistrationFailure types.Bool   `tfsdk:"azure_bypass_webhook_registration_failure"`
	FetchDeployKey                        types.Bool   `tfsdk:"fetch_deploy_key"`
}

RepositoryResourceModel represents the resource model for repositories

Jump to

Keyboard shortcuts

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