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 ¶
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
Click to show internal directories.
Click to hide internal directories.