connector

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResource

func NewResource() resource.Resource

NewConnectorResource is a helper function to simplify the provider implementation.

Types

type ConnectorDiscoverySettingsBenchmarksModel

type ConnectorDiscoverySettingsBenchmarksModel struct {
	Description        types.String `tfsdk:"description"`
	Label              types.String `tfsdk:"label"`
	RuntimeSource      types.Object `tfsdk:"runtime_source"`
	SummaryDescription types.String `tfsdk:"summary_description"`
	SummaryTitle       types.String `tfsdk:"summary_title"`
	DiscoveryInterval  types.Int64  `tfsdk:"discovery_interval"`
	IsCustomCheck      types.Bool   `tfsdk:"is_custom_check"`
	Active             types.Bool   `tfsdk:"active"`
	Checks             types.List   `tfsdk:"checks"`
	Regions            types.Map    `tfsdk:"regions"`
}

func (ConnectorDiscoverySettingsBenchmarksModel) AttributeTypes

type ConnectorDiscoverySettingsBenchmarksRegionsModel

type ConnectorDiscoverySettingsBenchmarksRegionsModel struct {
	Emails types.List `tfsdk:"emails"`
}

func (ConnectorDiscoverySettingsBenchmarksRegionsModel) AttributeTypes

type ConnectorDiscoverySettingsBenchmarksRuntimeSourceCustomSourceConfigModel

type ConnectorDiscoverySettingsBenchmarksRuntimeSourceCustomSourceConfigModel struct {
	IncludeSubModule types.Bool   `tfsdk:"include_sub_module"`
	Ref              types.String `tfsdk:"ref"`
	GitCoreAutoCRLF  types.Bool   `tfsdk:"git_core_auto_crlf"`
	Auth             types.String `tfsdk:"auth"`
	WorkingDir       types.String `tfsdk:"working_dir"`
	Repo             types.String `tfsdk:"repo"`
	IsPrivate        types.Bool   `tfsdk:"is_private"`
}

func (ConnectorDiscoverySettingsBenchmarksRuntimeSourceCustomSourceConfigModel) AttributeTypes

type ConnectorDiscoverySettingsBenchmarksRuntimeSourceModel

type ConnectorDiscoverySettingsBenchmarksRuntimeSourceModel struct {
	SourceConfigDestKind types.String `tfsdk:"source_config_dest_kind"`
	Config               types.Object `tfsdk:"config"`
}

func (ConnectorDiscoverySettingsBenchmarksRuntimeSourceModel) AttributeTypes

type ConnectorDiscoverySettingsModel

type ConnectorDiscoverySettingsModel struct {
	Benchmarks types.Map `tfsdk:"benchmarks"`
}

func (ConnectorDiscoverySettingsModel) AttributeTypes

func (ConnectorDiscoverySettingsModel) AttributeTypes() map[string]attr.Type

type ConnectorDiscoverySettingsRegionModel

type ConnectorDiscoverySettingsRegionModel struct {
	Region types.String `tfsdk:"region"`
}

func (ConnectorDiscoverySettingsRegionModel) AttributeTypes

type ConnectorResourceModel

type ConnectorResourceModel struct {
	ResourceName      types.String `tfsdk:"resource_name"`
	Description       types.String `tfsdk:"description"`
	Settings          types.Object `tfsdk:"settings"`
	DiscoverySettings types.Object `tfsdk:"discovery_settings"`
	Tags              types.List   `tfsdk:"tags"`
}

func (*ConnectorResourceModel) ToAPIModel

func (*ConnectorResourceModel) ToAPIPatchedModel

type ConnectorSettingsConfigModel

type ConnectorSettingsConfigModel struct {
	RoleArn                 types.String `tfsdk:"role_arn"`
	ExternalId              types.String `tfsdk:"external_id"`
	DurationSeconds         types.String `tfsdk:"duration_seconds"`
	InstallationId          types.String `tfsdk:"installation_id"`
	GithubAppId             types.String `tfsdk:"github_app_id"`
	GithubAppWebhookSecret  types.String `tfsdk:"github_app_webhook_secret"`
	GithubApiUrl            types.String `tfsdk:"github_api_url"`
	GithubHttpUrl           types.String `tfsdk:"github_http_url"`
	GithubAppClientId       types.String `tfsdk:"github_app_client_id"`
	GithubAppClientSecret   types.String `tfsdk:"github_app_client_secret"`
	GithubAppPemFileContent types.String `tfsdk:"github_app_pem_file_content"`
	GithubAppWebhookURL     types.String `tfsdk:"github_app_webhook_url"`
	GitlabCreds             types.String `tfsdk:"gitlab_creds"`
	GitlabHttpUrl           types.String `tfsdk:"gitlab_http_url"`
	GitlabApiUrl            types.String `tfsdk:"gitlab_api_url"`
	AzureCreds              types.String `tfsdk:"azure_creds"`
	AzureDevopsHttpUrl      types.String `tfsdk:"azure_devops_http_url"`
	AzureDevopsApiUrl       types.String `tfsdk:"azure_devops_api_url"`
	BitbucketCreds          types.String `tfsdk:"bitbucket_creds"`
	AwsAccessKeyId          types.String `tfsdk:"aws_access_key_id"`
	AwsSecretAccessKey      types.String `tfsdk:"aws_secret_access_key"`
	AwsDefaultRegion        types.String `tfsdk:"aws_default_region"`
	ArmTenantId             types.String `tfsdk:"arm_tenant_id"`
	ArmSubscriptionId       types.String `tfsdk:"arm_subscription_id"`
	ArmClientId             types.String `tfsdk:"arm_client_id"`
	ArmClientSecret         types.String `tfsdk:"arm_client_secret"`
	GcpConfigFileContent    types.String `tfsdk:"gcp_config_file_content"`
}

func (ConnectorSettingsConfigModel) AttributeTypes

func (m ConnectorSettingsConfigModel) AttributeTypes() map[string]attr.Type

type ConnectorSettingsModel

type ConnectorSettingsModel struct {
	Kind   types.String `tfsdk:"kind"`
	Config types.List   `tfsdk:"config"`
}

func (ConnectorSettingsModel) AttributeTypes

func (ConnectorSettingsModel) AttributeTypes() map[string]attr.Type

Jump to

Keyboard shortcuts

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