provider

package
v1.0.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(version string) func() provider.Provider

func NewCredentialDataSource

func NewCredentialDataSource() datasource.DataSource

func NewCredentialInputSourcesResource added in v1.0.4

func NewCredentialInputSourcesResource() resource.Resource

func NewCredentialResource

func NewCredentialResource() resource.Resource

func NewCredentialTypeDataSource

func NewCredentialTypeDataSource() datasource.DataSource

func NewCredentialTypeResource

func NewCredentialTypeResource() resource.Resource

func NewExecutionEnvironmentDataSource

func NewExecutionEnvironmentDataSource() datasource.DataSource

func NewExecutionEnvironmentResource added in v0.0.37

func NewExecutionEnvironmentResource() resource.Resource

func NewHostDataSource

func NewHostDataSource() datasource.DataSource

func NewHostResource

func NewHostResource() resource.Resource

func NewInstanceGroupDataSource

func NewInstanceGroupDataSource() datasource.DataSource

func NewInstanceGroupResource added in v0.0.38

func NewInstanceGroupResource() resource.Resource

func NewInventoryDataSource

func NewInventoryDataSource() datasource.DataSource

func NewInventoryResource

func NewInventoryResource() resource.Resource

func NewInventorySourceDataSource

func NewInventorySourceDataSource() datasource.DataSource

func NewInventorySourceResource

func NewInventorySourceResource() resource.Resource

func NewJobTemplateCredentialResource

func NewJobTemplateCredentialResource() resource.Resource

func NewJobTemplateDataSource

func NewJobTemplateDataSource() datasource.DataSource

func NewJobTemplateInstanceGroupsResource

func NewJobTemplateInstanceGroupsResource() resource.Resource

func NewJobTemplateLabelsResource

func NewJobTemplateLabelsResource() resource.Resource

func NewJobTemplateNotifTemplErrResource

func NewJobTemplateNotifTemplErrResource() resource.Resource

func NewJobTemplateNotifTemplStartedResource

func NewJobTemplateNotifTemplStartedResource() resource.Resource

func NewJobTemplateNotifTemplSuccessResource

func NewJobTemplateNotifTemplSuccessResource() resource.Resource

func NewJobTemplateResource

func NewJobTemplateResource() resource.Resource

func NewJobTemplateSurveyResource

func NewJobTemplateSurveyResource() resource.Resource

func NewLabelsResource

func NewLabelsResource() resource.Resource

func NewNotificationTemplatesResource

func NewNotificationTemplatesResource() resource.Resource

func NewOrganizationDataSource

func NewOrganizationDataSource() datasource.DataSource

func NewOrganizationResource

func NewOrganizationResource() resource.Resource

func NewProjectDataSource

func NewProjectDataSource() datasource.DataSource

func NewProjectResource

func NewProjectResource() resource.Resource

func NewScheduleDataSource

func NewScheduleDataSource() datasource.DataSource

func NewScheduleResource

func NewScheduleResource() resource.Resource

func NewUserDataSource

func NewUserDataSource() datasource.DataSource

func NewUserResource

func NewUserResource() resource.Resource

func NewWorkflowJobTemplateApprovalNodeResource

func NewWorkflowJobTemplateApprovalNodeResource() resource.Resource

func NewWorkflowJobTemplatesJobNodeResource

func NewWorkflowJobTemplatesJobNodeResource() resource.Resource

func NewWorkflowJobTemplatesNodeAlwaysResource

func NewWorkflowJobTemplatesNodeAlwaysResource() resource.Resource

func NewWorkflowJobTemplatesNodeFailureResource

func NewWorkflowJobTemplatesNodeFailureResource() resource.Resource

func NewWorkflowJobTemplatesNodeLabelResource

func NewWorkflowJobTemplatesNodeLabelResource() resource.Resource

func NewWorkflowJobTemplatesNodeSuccessResource

func NewWorkflowJobTemplatesNodeSuccessResource() resource.Resource

func NewWorkflowJobTemplatesResource

func NewWorkflowJobTemplatesResource() resource.Resource

Types

type AwxClient

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

func (*AwxClient) CreateUpdateAPIRequest

func (c *AwxClient) CreateUpdateAPIRequest(ctx context.Context, method, url string, requestBody any, successCodes []int) (returnedData map[string]any, statusCode int, errorMessage error)

func (*AwxClient) GenericAPIRequest

func (c *AwxClient) GenericAPIRequest(ctx context.Context, method, url string, requestBody any, successCodes []int) (responseBody []byte, statusCode int, errorMessage error)

A wrapper for http.NewRequestWithContext() that prepends tower endpoint to URL & sets authorization headers and then makes the actual http request.

type ChildAssocBody

type ChildAssocBody struct {
	Id        int  `json:"id"`
	Associate bool `json:"associate"`
}

type ChildDissasocBody

type ChildDissasocBody struct {
	Id           int  `json:"id"`
	Disassociate bool `json:"disassociate"`
}

type ChildResult

type ChildResult struct {
	Id int `json:"id"`
}

type CredentialAPIModel

type CredentialAPIModel struct {
	Id             int    `json:"id"`
	Name           string `json:"name"`
	Description    string `json:"description,omitempty"`
	Organization   int    `json:"organization,omitempty"`
	Team           int    `json:"team,omitempty"`
	User           int    `json:"user,omitempty"`
	CredentialType int    `json:"credential_type"`
	Kind           string `json:"kind,omitempty"`
	Inputs         any    `json:"inputs,omitempty"`
}

type CredentialDataSource

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

func (*CredentialDataSource) Configure

func (*CredentialDataSource) Metadata

func (*CredentialDataSource) Read

func (*CredentialDataSource) Schema

type CredentialInputSourcesAPIModel added in v1.0.4

type CredentialInputSourcesAPIModel struct {
	Id               int               `json:"id,omitempty"`
	Description      string            `json:"description"`
	InputFieldName   string            `json:"input_field_name"`
	Metadata         map[string]string `json:"metadata"`
	TargetCredential int               `json:"target_credential"`
	SourceCredential int               `json:"source_credential"`
}

type CredentialInputSourcesModel added in v1.0.4

type CredentialInputSourcesModel struct {
	Id               types.String `tfsdk:"id"`
	Description      types.String `tfsdk:"description"`
	InputFieldName   types.String `tfsdk:"input_field_name"`
	Metadata         types.Map    `tfsdk:"metadata"`
	TargetCredential types.Int32  `tfsdk:"target_credential"`
	SourceCredential types.Int32  `tfsdk:"source_credential"`
}

type CredentialInputSourcesResource added in v1.0.4

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

func (*CredentialInputSourcesResource) Configure added in v1.0.4

func (*CredentialInputSourcesResource) Create added in v1.0.4

func (*CredentialInputSourcesResource) Delete added in v1.0.4

func (*CredentialInputSourcesResource) ImportState added in v1.0.4

func (*CredentialInputSourcesResource) Metadata added in v1.0.4

func (*CredentialInputSourcesResource) Read added in v1.0.4

func (*CredentialInputSourcesResource) Schema added in v1.0.4

func (*CredentialInputSourcesResource) Update added in v1.0.4

type CredentialModel

type CredentialModel struct {
	Id             types.String `tfsdk:"id"`
	Name           types.String `tfsdk:"name"`
	Description    types.String `tfsdk:"description"`
	Organization   types.Int32  `tfsdk:"organization"`
	Team           types.Int32  `tfsdk:"team"`
	User           types.Int32  `tfsdk:"user"`
	CredentialType types.Int32  `tfsdk:"credential_type"`
	Kind           types.String `tfsdk:"kind"`
	Inputs         types.String `tfsdk:"inputs"`
}

type CredentialResource

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

func (CredentialResource) ConfigValidators

func (r CredentialResource) ConfigValidators(ctx context.Context) []resource.ConfigValidator

func (*CredentialResource) Configure

func (*CredentialResource) Create

func (*CredentialResource) Delete

func (*CredentialResource) ImportState

func (*CredentialResource) Metadata

func (*CredentialResource) Read

func (*CredentialResource) Schema

func (*CredentialResource) Update

type CredentialTypeAPIModel

type CredentialTypeAPIModel struct {
	Id          int    `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description,omitempty"`
	Inputs      any    `json:"inputs,omitempty"`
	Injectors   any    `json:"injectors,omitempty"`
	Kind        string `json:"kind"`
}

type CredentialTypeDataSource

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

func (CredentialTypeDataSource) ConfigValidators

func (*CredentialTypeDataSource) Configure

func (*CredentialTypeDataSource) Metadata

func (*CredentialTypeDataSource) Read

func (*CredentialTypeDataSource) Schema

type CredentialTypeModel

type CredentialTypeModel struct {
	Id          types.String `tfsdk:"id"`
	Name        types.String `tfsdk:"name"`
	Description types.String `tfsdk:"description"`
	Inputs      types.String `tfsdk:"inputs"`
	Injectors   types.String `tfsdk:"injectors"`
	Kind        types.String `tfsdk:"kind"`
}

type CredentialTypeResource

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

func (*CredentialTypeResource) Configure

func (*CredentialTypeResource) Create

func (*CredentialTypeResource) Delete

func (*CredentialTypeResource) ImportState

func (*CredentialTypeResource) Metadata

func (*CredentialTypeResource) Read

func (*CredentialTypeResource) Schema

func (*CredentialTypeResource) Update

type DissasocBody

type DissasocBody struct {
	Id           int  `json:"id"`
	Disassociate bool `json:"disassociate"`
}

type ExecutionEnvironmentAPIModel added in v0.0.37

type ExecutionEnvironmentAPIModel struct {
	Id           int    `json:"id"`
	Name         string `json:"name"`
	Description  string `json:"description"`
	Image        string `json:"image"`
	Pull         string `json:"pull"`
	Organization int    `json:"organization,omitempty"`
	Credential   int    `json:"credential,omitempty"`
}

type ExecutionEnvironmentDataSource

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

func (ExecutionEnvironmentDataSource) ConfigValidators

func (*ExecutionEnvironmentDataSource) Configure

func (*ExecutionEnvironmentDataSource) Metadata

func (*ExecutionEnvironmentDataSource) Read

func (*ExecutionEnvironmentDataSource) Schema

type ExecutionEnvironmentModel added in v0.0.37

type ExecutionEnvironmentModel struct {
	Id           types.String `tfsdk:"id"`
	Name         types.String `tfsdk:"name"`
	Description  types.String `tfsdk:"description"`
	Image        types.String `tfsdk:"image"`
	Pull         types.String `tfsdk:"pull"`
	Organization types.Int32  `tfsdk:"organization"`
	Credential   types.Int32  `tfsdk:"credential"`
}

type ExecutionEnvironmentResource added in v0.0.37

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

func (*ExecutionEnvironmentResource) Configure added in v0.0.37

func (*ExecutionEnvironmentResource) Create added in v0.0.37

func (*ExecutionEnvironmentResource) Delete added in v0.0.37

func (*ExecutionEnvironmentResource) ImportState added in v0.0.37

func (*ExecutionEnvironmentResource) Metadata added in v0.0.37

func (*ExecutionEnvironmentResource) Read added in v0.0.37

func (*ExecutionEnvironmentResource) Schema added in v0.0.37

func (*ExecutionEnvironmentResource) Update added in v0.0.37

type HostAPIModel

type HostAPIModel struct {
	Id          int    `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description,omitempty"`
	Enabled     bool   `json:"enabled"`
	Inventory   int    `json:"inventory"`
	Variables   string `json:"variables,omitempty"`
}

type HostDataSource

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

func (HostDataSource) ConfigValidators

func (d HostDataSource) ConfigValidators(ctx context.Context) []datasource.ConfigValidator

func (*HostDataSource) Configure

func (*HostDataSource) Metadata

func (*HostDataSource) Read

func (*HostDataSource) Schema

type HostModel

type HostModel struct {
	Id          types.String `tfsdk:"id"`
	Name        types.String `tfsdk:"name"`
	Description types.String `tfsdk:"description"`
	Enabled     types.Bool   `tfsdk:"enabled"`
	Inventory   types.Int32  `tfsdk:"inventory"`
	Variables   types.String `tfsdk:"variables"`
}

type HostResource

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

func (*HostResource) Configure

func (*HostResource) Create

func (*HostResource) Delete

func (*HostResource) ImportState

func (*HostResource) Metadata

func (*HostResource) Read

func (*HostResource) Schema

func (*HostResource) Update

type InstanceGroupAPIModel added in v0.0.38

type InstanceGroupAPIModel struct {
	Id                       int    `json:"id"`
	Name                     string `json:"name"`
	IsContainerGroup         bool   `json:"is_container_group"`
	MaxConcurrentJobs        int    `json:"max_concurrent_jobs"`
	MaxForks                 int    `json:"max_forks"`
	PodSpecOverride          any    `json:"pod_spec_override,omitempty"`
	PolicyInstancePercentage int    `json:"policy_instance_percentage"`
	PolicyInstanceMinimum    int    `json:"policy_instance_minimum"`
	Credential               int    `json:"credential,omitempty"`
}

type InstanceGroupDataSource

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

func (InstanceGroupDataSource) ConfigValidators

func (*InstanceGroupDataSource) Configure

func (*InstanceGroupDataSource) Metadata

func (*InstanceGroupDataSource) Read

func (*InstanceGroupDataSource) Schema

type InstanceGroupModel added in v0.0.38

type InstanceGroupModel struct {
	Id                       types.String `tfsdk:"id"`
	Name                     types.String `tfsdk:"name"`
	IsContainerGroup         types.Bool   `tfsdk:"is_container_group"`
	MaxConcurrentJobs        types.Int32  `tfsdk:"max_concurrent_jobs"`
	MaxForks                 types.Int32  `tfsdk:"max_forks"`
	PodSpecOverride          types.String `tfsdk:"pod_spec_override"`
	PolicyInstancePercentage types.Int32  `tfsdk:"policy_instance_percentage"`
	PolicyInstanceMinimum    types.Int32  `tfsdk:"policy_instance_minimum"`
	Credential               types.Int32  `tfsdk:"credential"`
}

type InstanceGroupResource added in v0.0.38

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

func (*InstanceGroupResource) Configure added in v0.0.38

func (*InstanceGroupResource) Create added in v0.0.38

func (*InstanceGroupResource) Delete added in v0.0.38

func (*InstanceGroupResource) ImportState added in v0.0.38

func (*InstanceGroupResource) Metadata added in v0.0.38

func (*InstanceGroupResource) Read added in v0.0.38

func (*InstanceGroupResource) Schema added in v0.0.38

func (*InstanceGroupResource) Update added in v0.0.38

func (InstanceGroupResource) ValidateConfig added in v0.0.38

type InventoryAPIModel

type InventoryAPIModel struct {
	Id           int    `json:"id"`
	Name         string `json:"name"`
	Description  string `json:"description,omitempty"`
	Organization int    `json:"organization"`
	Variables    string `json:"variables,omitempty"`
	Kind         string `json:"kind,omitempty"`
	HostFilter   string `json:"host_filter,omitempty"`
}

type InventoryDataSource

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

func (*InventoryDataSource) Configure

func (*InventoryDataSource) Metadata

func (*InventoryDataSource) Read

func (*InventoryDataSource) Schema

type InventoryModel

type InventoryModel struct {
	Id           types.String `tfsdk:"id"`
	Name         types.String `tfsdk:"name"`
	Description  types.String `tfsdk:"description"`
	Organization types.Int32  `tfsdk:"organization"`
	Variables    types.String `tfsdk:"variables"`
	Kind         types.String `tfsdk:"kind"`
	HostFilter   types.String `tfsdk:"host_filter"`
}

type InventoryResource

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

func (InventoryResource) ConfigValidators

func (d InventoryResource) ConfigValidators(ctx context.Context) []resource.ConfigValidator

func (*InventoryResource) Configure

func (*InventoryResource) Create

func (*InventoryResource) Delete

func (*InventoryResource) ImportState

func (*InventoryResource) Metadata

func (*InventoryResource) Read

func (*InventoryResource) Schema

func (*InventoryResource) Update

type InventorySourceAPIModel

type InventorySourceAPIModel struct {
	Id                   int    `json:"id"`
	Name                 string `json:"name"`
	Inventory            int    `json:"inventory"`
	Source               string `json:"source"`
	Credential           int    `json:"credential,omitempty"`
	Description          string `json:"description,omitempty"`
	ExecutionEnvironment any    `json:"execution_environment"`
	SourcePath           string `json:"source_path,omitempty"`
	EnabledValue         string `json:"enabled_value,omitempty"`
	EnabledVar           string `json:"enabled_var,omitempty"`
	HostFilter           string `json:"host_filter,omitempty"`
	OverwriteVars        bool   `json:"overwrite_vars,omitempty"`
	Overwrite            bool   `json:"overwrite,omitempty"`
	SourceVars           string `json:"source_vars,omitempty"`
	SourceProject        int    `json:"source_project,omitempty"`
	ScmBranch            string `json:"scm_branch,omitempty"`
	UpdateCacheTimeout   int    `json:"update_cache_timeout,omitempty"`
	UpdateOnLaunch       bool   `json:"update_on_launch,omitempty"`
	Verbosity            int    `json:"verbosity,omitempty"`
}

type InventorySourceDataSource

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

func (*InventorySourceDataSource) Configure

func (*InventorySourceDataSource) Metadata

func (*InventorySourceDataSource) Read

func (*InventorySourceDataSource) Schema

type InventorySourceModel

type InventorySourceModel struct {
	Id                   types.String `tfsdk:"id"`
	Name                 types.String `tfsdk:"name"`
	Inventory            types.Int32  `tfsdk:"inventory"`
	Source               types.String `tfsdk:"source"`
	Credential           types.Int32  `tfsdk:"credential"`
	Description          types.String `tfsdk:"description"`
	ExecutionEnvironment types.Int32  `tfsdk:"execution_environment"`
	SourcePath           types.String `tfsdk:"source_path"`
	EnabledValue         types.String `tfsdk:"enabled_value"`
	EnabledVar           types.String `tfsdk:"enabled_var"`
	HostFilter           types.String `tfsdk:"host_filter"`
	OverwriteVars        types.Bool   `tfsdk:"overwrite_vars"`
	Overwrite            types.Bool   `tfsdk:"overwrite"`
	SourceVars           types.String `tfsdk:"source_vars"`
	SourceProject        types.Int32  `tfsdk:"source_project"`
	ScmBranch            types.String `tfsdk:"scm_branch"`
	UpdateCacheTimeout   types.Int32  `tfsdk:"update_cache_timeout"`
	UpdateOnLaunch       types.Bool   `tfsdk:"update_on_launch"`
	Verbosity            types.Int32  `tfsdk:"verbosity"`
}

type InventorySourceResource

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

func (*InventorySourceResource) Configure

func (*InventorySourceResource) Create

func (*InventorySourceResource) Delete

func (*InventorySourceResource) ImportState

func (*InventorySourceResource) Metadata

func (*InventorySourceResource) Read

func (*InventorySourceResource) Schema

func (*InventorySourceResource) Update

func (InventorySourceResource) ValidateConfig

type JTChildAPIRead

type JTChildAPIRead struct {
	Count   int           `json:"count"`
	Results []ChildResult `json:"results"`
}

type JTCredentialAPIRead

type JTCredentialAPIRead struct {
	Count   int      `json:"count"`
	Results []Result `json:"results"`
}

type JTLabelsAPIRead

type JTLabelsAPIRead struct {
	Count        int           `json:"count"`
	LabelResults []LabelResult `json:"results"`
}

type JobTemplateAPIModel

type JobTemplateAPIModel struct {
	Id                             int    `json:"id"`
	Name                           string `json:"name,omitempty"`
	Description                    string `json:"description"`
	JobType                        string `json:"job_type,omitempty"`
	Inventory                      int    `json:"inventory,omitempty"`
	Project                        int    `json:"project,omitempty"`
	Playbook                       string `json:"playbook,omitempty"`
	ScmBranch                      string `json:"scm_branch,omitempty"`
	Forks                          int    `json:"forks,omitempty"`
	Limit                          string `json:"limit,omitempty"`
	Verbosity                      int    `json:"verbosity,omitempty"`
	ExtraVars                      string `json:"extra_vars,omitempty"`
	JobTags                        string `json:"job_tags,omitempty"`
	ForceHandlers                  bool   `json:"force_handlers,omitempty"`
	SkipTags                       string `json:"skip_tags,omitempty"`
	StartAtTask                    string `json:"start_at_task,omitempty"`
	Timeout                        int    `json:"timeout,omitempty"`
	UseFactCache                   bool   `json:"use_fact_cache,omitempty"`
	ExecutionEnvironment           int    `json:"execution_environment,omitempty"`
	HostConfigKey                  string `json:"host_config_key,omitempty"`
	AskScmBranchOnLaunch           bool   `json:"ask_scm_branch_on_launch,omitempty"`
	AskDiffModeOnLaunch            bool   `json:"ask_diff_mode_on_launch,omitempty"`
	AskVariablesOnLaunch           bool   `json:"ask_variables_on_launch,omitempty"`
	AskLimitOnLaunch               bool   `json:"ask_limit_on_launch,omitempty"`
	AskTagsOnLaunch                bool   `json:"ask_tags_on_launch,omitempty"`
	AskSkipTagsOnLaunch            bool   `json:"ask_skip_tags_on_launch,omitempty"`
	AskJobTypeOnLaunch             bool   `json:"ask_job_type_on_launch,omitempty"`
	AskVerbosityOnLaunch           bool   `json:"ask_verbosity_on_launch,omitempty"`
	AskInventoryOnLaunch           bool   `json:"ask_inventory_on_launch,omitempty"`
	AskCredentialOnLaunch          bool   `json:"ask_credential_on_launch,omitempty"`
	AskExecutionEnvironmenOnLaunch bool   `json:"ask_execution_environment_on_launch,omitempty"`
	AskLabelsOnLaunch              bool   `json:"ask_labels_on_launch,omitempty"`
	AskForksOnLaunch               bool   `json:"ask_forks_on_launch,omitempty"`
	AskJobSliceCountOnLaunch       bool   `json:"ask_job_slice_count_on_launch,omitempty"`
	AskTimeoutOnLaunch             bool   `json:"ask_timeout_on_launch,omitempty"`
	AskInstanceGroupsOnLaunch      bool   `json:"ask_instance_groups_on_launch,omitempty"`
	SurveyEnabled                  bool   `json:"survey_enabled,omitempty"`
	BecomeEnabled                  bool   `json:"become_enabled,omitempty"`
	DiffMode                       bool   `json:"diff_mode,omitempty"`
	AllowSimultaneous              bool   `json:"allow_simultaneous,omitempty"`
	CustomVirtualEnv               any    `json:"custom_virtualenv,omitempty"` //blank is returned by api as "custom_virtual": null (not "")
	JobSliceCount                  int    `json:"job_slice_count,omitempty"`
	WebhookService                 string `json:"webhook_service,omitempty"`
	WebhookCredential              any    `json:"webhook_credential,omitempty"` //blank is returned by api as "webhook_credentials": null (not "")
	PreventInstanceGroupFallback   bool   `json:"prevent_instance_group_fallback,omitempty"`
}

type JobTemplateCredentialResource

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

func (*JobTemplateCredentialResource) Configure

func (*JobTemplateCredentialResource) Create

func (*JobTemplateCredentialResource) Delete

func (*JobTemplateCredentialResource) ImportState

func (*JobTemplateCredentialResource) Metadata

func (*JobTemplateCredentialResource) Read

func (*JobTemplateCredentialResource) Schema

func (*JobTemplateCredentialResource) Update

type JobTemplateCredentialResourceModel

type JobTemplateCredentialResourceModel struct {
	JobTemplateId types.String `tfsdk:"job_template_id"`
	CredentialIds types.Set    `tfsdk:"credential_ids"`
}

type JobTemplateDataSource

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

func (JobTemplateDataSource) ConfigValidators

func (*JobTemplateDataSource) Configure

func (*JobTemplateDataSource) Metadata

func (*JobTemplateDataSource) Read

func (*JobTemplateDataSource) Schema

type JobTemplateInstanceGroupsResource

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

func (*JobTemplateInstanceGroupsResource) Configure

func (*JobTemplateInstanceGroupsResource) Create

func (*JobTemplateInstanceGroupsResource) Delete

func (*JobTemplateInstanceGroupsResource) ImportState

func (*JobTemplateInstanceGroupsResource) Metadata

func (*JobTemplateInstanceGroupsResource) Read

func (*JobTemplateInstanceGroupsResource) Schema

func (*JobTemplateInstanceGroupsResource) Update

type JobTemplateInstanceGroupsResourceModel

type JobTemplateInstanceGroupsResourceModel struct {
	JobTemplateId     types.String `tfsdk:"job_template_id"`
	InstanceGroupsIDs types.List   `tfsdk:"instance_groups_ids"`
}

type JobTemplateLabelsResource

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

func (*JobTemplateLabelsResource) Configure

func (*JobTemplateLabelsResource) Create

func (*JobTemplateLabelsResource) Delete

func (*JobTemplateLabelsResource) ImportState

func (*JobTemplateLabelsResource) Metadata

func (*JobTemplateLabelsResource) Read

func (*JobTemplateLabelsResource) Schema

func (*JobTemplateLabelsResource) Update

type JobTemplateLabelsResourceModel

type JobTemplateLabelsResourceModel struct {
	JobTemplateId types.String `tfsdk:"job_template_id"`
	LabelIDs      types.Set    `tfsdk:"label_ids"`
}

type JobTemplateModel

type JobTemplateModel struct {
	Id                             types.String `tfsdk:"id"`
	Name                           types.String `tfsdk:"name"`
	Description                    types.String `tfsdk:"description"`
	JobType                        types.String `tfsdk:"job_type"`
	Inventory                      types.Int32  `tfsdk:"inventory"`
	Project                        types.Int32  `tfsdk:"project"`
	Playbook                       types.String `tfsdk:"playbook"`
	ScmBranch                      types.String `tfsdk:"scm_branch"`
	Forks                          types.Int32  `tfsdk:"forks"`
	Limit                          types.String `tfsdk:"limit"`
	Verbosity                      types.Int32  `tfsdk:"verbosity"`
	ExtraVars                      types.String `tfsdk:"extra_vars"`
	JobTags                        types.String `tfsdk:"job_tags"`
	ForceHandlers                  types.Bool   `tfsdk:"force_handlers"`
	SkipTags                       types.String `tfsdk:"skip_tags"`
	StartAtTask                    types.String `tfsdk:"start_at_task"`
	Timeout                        types.Int32  `tfsdk:"timeout"`
	UseFactCache                   types.Bool   `tfsdk:"use_fact_cache"`
	ExecutionEnvironment           types.Int32  `tfsdk:"execution_environment"`
	HostConfigKey                  types.String `tfsdk:"host_config_key"`
	AskScmBranchOnLaunch           types.Bool   `tfsdk:"ask_scm_branch_on_launch"`
	AskDiffModeOnLaunch            types.Bool   `tfsdk:"ask_diff_mode_on_launch"`
	AskVariablesOnLaunch           types.Bool   `tfsdk:"ask_variables_on_launch"`
	AskLimitOnLaunch               types.Bool   `tfsdk:"ask_limit_on_launch"`
	AskTagsOnLaunch                types.Bool   `tfsdk:"ask_tags_on_launch"`
	AskSkipTagsOnLaunch            types.Bool   `tfsdk:"ask_skip_tags_on_launch"`
	AskJobTypeOnLaunch             types.Bool   `tfsdk:"ask_job_type_on_launch"`
	AskVerbosityOnLaunch           types.Bool   `tfsdk:"ask_verbosity_on_launch"`
	AskInventoryOnLaunch           types.Bool   `tfsdk:"ask_inventory_on_launch"`
	AskCredentialOnLaunch          types.Bool   `tfsdk:"ask_credential_on_launch"`
	AskExecutionEnvironmenOnLaunch types.Bool   `tfsdk:"ask_execution_environment_on_launch"`
	AskLabelsOnLaunch              types.Bool   `tfsdk:"ask_labels_on_launch"`
	AskForksOnLaunch               types.Bool   `tfsdk:"ask_forks_on_launch"`
	AskJobSliceCountOnLaunch       types.Bool   `tfsdk:"ask_job_slice_count_on_launch"`
	AskTimeoutOnLaunch             types.Bool   `tfsdk:"ask_timeout_on_launch"`
	AskInstanceGroupsOnLaunch      types.Bool   `tfsdk:"ask_instance_groups_on_launch"`
	SurveyEnabled                  types.Bool   `tfsdk:"survey_enabled"`
	BecomeEnabled                  types.Bool   `tfsdk:"become_enabled"`
	DiffMode                       types.Bool   `tfsdk:"diff_mode"`
	AllowSimultaneous              types.Bool   `tfsdk:"allow_simultaneous"`
	CustomVirtualEnv               types.String `tfsdk:"custom_virtualenv"`
	JobSliceCount                  types.Int32  `tfsdk:"job_slice_count"`
	WebhookService                 types.String `tfsdk:"webhook_service"`
	WebhookCredential              types.String `tfsdk:"webhook_credential"`
	PreventInstanceGroupFallback   types.Bool   `tfsdk:"prevent_instance_group_fallback"`
}

type JobTemplateNotifTemplErrResource

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

func (*JobTemplateNotifTemplErrResource) Configure

func (*JobTemplateNotifTemplErrResource) Create

func (*JobTemplateNotifTemplErrResource) Delete

func (*JobTemplateNotifTemplErrResource) ImportState

func (*JobTemplateNotifTemplErrResource) Metadata

func (*JobTemplateNotifTemplErrResource) Read

func (*JobTemplateNotifTemplErrResource) Schema

func (*JobTemplateNotifTemplErrResource) Update

type JobTemplateNotifTemplErrResourceModel

type JobTemplateNotifTemplErrResourceModel struct {
	JobTemplateId    types.String `tfsdk:"job_template_id"`
	NotifTEmplateIDs types.Set    `tfsdk:"notif_template_ids"`
}

type JobTemplateNotifTemplStartedResource

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

func (*JobTemplateNotifTemplStartedResource) Configure

func (*JobTemplateNotifTemplStartedResource) Create

func (*JobTemplateNotifTemplStartedResource) Delete

func (*JobTemplateNotifTemplStartedResource) ImportState

func (*JobTemplateNotifTemplStartedResource) Metadata

func (*JobTemplateNotifTemplStartedResource) Read

func (*JobTemplateNotifTemplStartedResource) Schema

func (*JobTemplateNotifTemplStartedResource) Update

type JobTemplateNotifTemplStartedResourceModel

type JobTemplateNotifTemplStartedResourceModel struct {
	JobTemplateId    types.String `tfsdk:"job_template_id"`
	NotifTEmplateIDs types.Set    `tfsdk:"notif_template_ids"`
}

type JobTemplateNotifTemplSuccessResource

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

func (*JobTemplateNotifTemplSuccessResource) Configure

func (*JobTemplateNotifTemplSuccessResource) Create

func (*JobTemplateNotifTemplSuccessResource) Delete

func (*JobTemplateNotifTemplSuccessResource) ImportState

func (*JobTemplateNotifTemplSuccessResource) Metadata

func (*JobTemplateNotifTemplSuccessResource) Read

func (*JobTemplateNotifTemplSuccessResource) Schema

func (*JobTemplateNotifTemplSuccessResource) Update

type JobTemplateNotifTemplSuccessResourceModel

type JobTemplateNotifTemplSuccessResourceModel struct {
	JobTemplateId    types.String `tfsdk:"job_template_id"`
	NotifTEmplateIDs types.Set    `tfsdk:"notif_template_ids"`
}

type JobTemplateResource

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

func (*JobTemplateResource) Configure

func (*JobTemplateResource) Create

func (*JobTemplateResource) Delete

func (*JobTemplateResource) ImportState

func (*JobTemplateResource) Metadata

func (*JobTemplateResource) Read

func (*JobTemplateResource) Schema

func (*JobTemplateResource) Update

func (JobTemplateResource) ValidateConfig

type JobTemplateSurvey

type JobTemplateSurvey struct {
	Name        string       `json:"name"`
	Description string       `json:"description"`
	Spec        []SurveySpec `json:"spec"`
}

type JobTemplateSurveyResource

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

func (*JobTemplateSurveyResource) Configure

func (*JobTemplateSurveyResource) Create

func (*JobTemplateSurveyResource) Delete

func (*JobTemplateSurveyResource) ImportState

func (*JobTemplateSurveyResource) Metadata

func (*JobTemplateSurveyResource) Read

func (*JobTemplateSurveyResource) Schema

func (*JobTemplateSurveyResource) Update

type JobTemplateSurveyResourceModel

type JobTemplateSurveyResourceModel struct {
	Id          types.String      `tfsdk:"id"`
	Name        types.String      `tfsdk:"name"`
	Description types.String      `tfsdk:"description"`
	Spec        []SurveySpecModel `tfsdk:"spec"`
}

type LabelAPIModel

type LabelAPIModel struct {
	Id           int    `json:"id"`
	Name         string `json:"name"`
	Organization int    `json:"organization"`
}

type LabelDissasocBody

type LabelDissasocBody struct {
	Id           int  `json:"id"`
	Disassociate bool `json:"disassociate"`
}

type LabelModel

type LabelModel struct {
	Id           types.String `tfsdk:"id"`
	Name         types.String `tfsdk:"name"`
	Organization types.Int32  `tfsdk:"organization"`
}

type LabelResult

type LabelResult struct {
	Id int `json:"id"`
}

type LabelsResource

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

func (*LabelsResource) Configure

func (*LabelsResource) Create

func (*LabelsResource) Delete

Left Intentionally blank, as there is no API endpoint to delete a label.

func (*LabelsResource) ImportState

func (*LabelsResource) Metadata

func (*LabelsResource) Read

func (*LabelsResource) Schema

func (*LabelsResource) Update

type MessageValue

type MessageValue struct {
	Body    string `json:"body"`
	Message string `json:"message"`
}

type Messages

type Messages struct {
	Error            MessageValue            `json:"error"`
	Started          MessageValue            `json:"started"`
	Success          MessageValue            `json:"success"`
	WorkflowApproval map[string]MessageValue `json:"workflow_approval"`
}

type NotificationTemplateAPI

type NotificationTemplateAPI struct {
	Id                        int    `json:"id"`
	Name                      string `json:"name"`
	Description               string `json:"description,omitempty"`
	Organization              int    `json:"organization"`
	NotificationType          string `json:"notification_type"`
	NotificationConfiguration any    `json:"notification_configuration,omitempty"`
	Messages                  any    `json:"messages,omitempty"`
}

type NotificationTemplatesResource

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

func (*NotificationTemplatesResource) Configure

func (*NotificationTemplatesResource) Create

func (*NotificationTemplatesResource) Delete

func (*NotificationTemplatesResource) ImportState

func (*NotificationTemplatesResource) Metadata

func (*NotificationTemplatesResource) Read

func (*NotificationTemplatesResource) Schema

func (*NotificationTemplatesResource) Update

type NotificationTemplatesResourceModel

type NotificationTemplatesResourceModel struct {
	Id                        types.String `tfsdk:"id"`
	Name                      types.String `tfsdk:"name"`
	Description               types.String `tfsdk:"description"`
	Organization              types.Int32  `tfsdk:"organization"`
	NotificationType          types.String `tfsdk:"notification_type"`
	NotificationConfiguration types.String `tfsdk:"notification_configuration"`
	Messages                  types.String `tfsdk:"messages"`
}

type OrganizationAPIModel

type OrganizationAPIModel struct {
	Id          int    `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description,omitempty"`
	DefaultEnv  int    `json:"default_environment,omitempty"`
	MaxHosts    int    `json:"max_hosts,omitempty"`
}

type OrganizationDataSource

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

func (OrganizationDataSource) ConfigValidators

func (*OrganizationDataSource) Configure

func (*OrganizationDataSource) Metadata

func (*OrganizationDataSource) Read

func (*OrganizationDataSource) Schema

type OrganizationModel

type OrganizationModel struct {
	Id          types.String `tfsdk:"id"`
	Name        types.String `tfsdk:"name"`
	Description types.String `tfsdk:"description"`
	DefaultEnv  types.Int32  `tfsdk:"default_environment"`
	MaxHosts    types.Int32  `tfsdk:"max_hosts"`
}

type OrganizationResource

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

func (*OrganizationResource) Configure

func (*OrganizationResource) Create

func (*OrganizationResource) Delete

func (*OrganizationResource) ImportState

func (*OrganizationResource) Metadata

func (*OrganizationResource) Read

func (*OrganizationResource) Schema

func (*OrganizationResource) Update

type ProjectAPIModel

type ProjectAPIModel struct {
	Id                 int    `json:"id"`
	Name               string `json:"name"`
	Organization       int    `json:"organization"`
	ScmType            string `json:"scm_type"`
	Description        string `json:"description,omitempty"`
	AllowOverride      bool   `json:"allow_override,omitempty"`
	Credential         int    `json:"credential,omitempty"`
	DefaultEnv         int    `json:"default_environment,omitempty"`
	LocalPath          string `json:"local_path,omitempty"`
	ScmBranch          string `json:"scm_branch,omitempty"`
	ScmClean           bool   `json:"scm_clean,omitempty"`
	ScmDelOnUpdate     bool   `json:"scm_delete_on_update,omitempty"`
	ScmRefSpec         string `json:"scm_refspec,omitempty"`
	ScmTrackSubmodules bool   `json:"scm_track_submodules,omitempty"`
	ScmUpdOnLaunch     bool   `json:"scm_update_on_launch,omitempty"`
	ScmUrl             string `json:"scm_url,omitempty"`
	Timeout            int    `json:"timeout"`
}

type ProjectDataSource

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

func (*ProjectDataSource) ConfigValidators

func (d *ProjectDataSource) ConfigValidators(ctx context.Context) []datasource.ConfigValidator

func (*ProjectDataSource) Configure

func (*ProjectDataSource) Metadata

func (*ProjectDataSource) Read

func (*ProjectDataSource) Schema

type ProjectModel

type ProjectModel struct {
	Id                 types.String `tfsdk:"id"`
	Name               types.String `tfsdk:"name"`
	Organization       types.Int32  `tfsdk:"organization"`
	ScmType            types.String `tfsdk:"scm_type"`
	Description        types.String `tfsdk:"description"`
	AllowOverride      types.Bool   `tfsdk:"allow_override"`
	Credential         types.Int32  `tfsdk:"credential"`
	DefaultEnv         types.Int32  `tfsdk:"default_environment"`
	LocalPath          types.String `tfsdk:"local_path"`
	ScmBranch          types.String `tfsdk:"scm_branch"`
	ScmClean           types.Bool   `tfsdk:"scm_clean"`
	ScmDelOnUpdate     types.Bool   `tfsdk:"scm_delete_on_update"`
	ScmRefSpec         types.String `tfsdk:"scm_refspec"`
	ScmTrackSubmodules types.Bool   `tfsdk:"scm_track_submodules"`
	ScmUpdOnLaunch     types.Bool   `tfsdk:"scm_update_on_launch"`
	ScmUrl             types.String `tfsdk:"scm_url"`
	Timeout            types.Int32  `tfsdk:"timeout"`
}

type ProjectResource

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

func (*ProjectResource) Configure

func (*ProjectResource) Create

func (*ProjectResource) Delete

func (*ProjectResource) ImportState

func (*ProjectResource) Metadata

func (*ProjectResource) Read

func (*ProjectResource) Schema

func (*ProjectResource) Update

func (ProjectResource) ValidateConfig

type Result

type Result struct {
	Id int `json:"id"`
}

type ScheduleAPIModel

type ScheduleAPIModel struct {
	Id                 int    `json:"id"`
	Name               string `json:"name"`
	Description        string `json:"description,omitempty"`
	UnifiedJobTemplate int    `json:"unified_job_template"`
	Rrule              string `json:"rrule"`
	Enabled            bool   `json:"enabled"`
}

type ScheduleDataSource

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

func (*ScheduleDataSource) Configure

func (*ScheduleDataSource) Metadata

func (*ScheduleDataSource) Read

func (*ScheduleDataSource) Schema

type ScheduleModel

type ScheduleModel struct {
	Id                 types.String `tfsdk:"id"`
	Name               types.String `tfsdk:"name"`
	Description        types.String `tfsdk:"description"`
	UnifiedJobTemplate types.Int32  `tfsdk:"unified_job_template"`
	Rrule              types.String `tfsdk:"rrule"`
	Enabled            types.Bool   `tfsdk:"enabled"`
}

type ScheduleResource

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

func (*ScheduleResource) Configure

func (*ScheduleResource) Create

func (*ScheduleResource) Delete

func (*ScheduleResource) ImportState

func (*ScheduleResource) Metadata

func (*ScheduleResource) Read

func (*ScheduleResource) Schema

func (*ScheduleResource) Update

type SlackConfiguration

type SlackConfiguration struct {
	Channels  []string `json:"channels"`
	HexColors string   `json:"hex_color"`
	Token     string   `json:"token"`
}

type SurveySpec

type SurveySpec struct {
	Max                 int    `json:"max"`
	Min                 int    `json:"min"`
	Type                string `json:"type"`
	Choices             any    `json:"choices,omitempty"`
	Default             any    `json:"default"`
	Required            bool   `json:"required"`
	Variable            string `json:"variable"`
	QuestionName        string `json:"question_name"`
	QuestionDescription string `json:"question_description"`
}

type SurveySpecModel

type SurveySpecModel struct {
	Max                 types.Int32  `tfsdk:"max"`
	Min                 types.Int32  `tfsdk:"min"`
	Type                types.String `tfsdk:"type"`
	Choices             types.List   `tfsdk:"choices"`
	Default             types.String `tfsdk:"default"`
	Required            types.Bool   `tfsdk:"required"`
	Variable            types.String `tfsdk:"variable"`
	QuestionName        types.String `tfsdk:"question_name"`
	QuestionDescription types.String `tfsdk:"question_description"`
}

type UserAPIModel

type UserAPIModel struct {
	Id              int    `json:"id"`
	Username        string `json:"username"`
	FirstName       string `json:"first_name,omitempty"`
	LastName        string `json:"last_name,omitempty"`
	Email           string `json:"email,omitempty"`
	IsSuperuser     bool   `json:"is_superuser"`
	IsSystemAuditor bool   `json:"is_system_auditor"`
	Password        string `json:"password"`
}

type UserDataSource

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

func (UserDataSource) ConfigValidators

func (d UserDataSource) ConfigValidators(ctx context.Context) []datasource.ConfigValidator

func (*UserDataSource) Configure

func (*UserDataSource) Metadata

func (*UserDataSource) Read

func (*UserDataSource) Schema

type UserModel

type UserModel struct {
	Id              types.String `tfsdk:"id"`
	Username        types.String `tfsdk:"username"`
	FirstName       types.String `tfsdk:"first_name"`
	LastName        types.String `tfsdk:"last_name"`
	Email           types.String `tfsdk:"email"`
	IsSuperuser     types.Bool   `tfsdk:"is_superuser"`
	IsSystemAuditor types.Bool   `tfsdk:"is_system_auditor"`
	Password        types.String `tfsdk:"password"`
}

type UserResource

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

func (*UserResource) ConfigValidators

func (r *UserResource) ConfigValidators(ctx context.Context) []resource.ConfigValidator

func (*UserResource) Configure

func (*UserResource) Create

func (*UserResource) Delete

func (*UserResource) ImportState

func (*UserResource) Metadata

func (*UserResource) Read

func (*UserResource) Schema

func (*UserResource) Update

type WebhookConfiguration added in v0.0.40

type WebhookConfiguration struct {
	Url                    string         `json:"url"`
	Headers                map[string]any `json:"headers"`
	Password               string         `json:"password"`
	Username               string         `json:"username"`
	HttpMethod             string         `json:"http_method"`
	DisableSslVerification bool           `json:"disable_ssl_verification"`
}

type WorkflowJobTemplateAPIModel

type WorkflowJobTemplateAPIModel struct {
	Id                   int    `json:"id"`
	Name                 string `json:"name"`
	Description          string `json:"description,omitempty"`
	ExtraVars            string `json:"extra_vars"`
	Organization         int    `json:"organization"`
	SurveyEnabled        bool   `json:"survey_enabled"`
	AllowSimultaneous    bool   `json:"allow_simultaneous"`
	AskVariablesOnLaunch bool   `json:"ask_variables_on_launch"`
	Inventory            any    `json:"inventory"`
	Limit                string `json:"limit,omitempty"`
	ScmBranch            string `json:"scm_branch,omitempty"`
	AskInventoryOnLaunch bool   `json:"ask_inventory_on_launch"`
	AskScmBranchOnLaunch bool   `json:"ask_scm_branch_on_launch"`
	AskLimitOnLaunch     bool   `json:"ask_limit_on_launch"`
	WebhookService       string `json:"webhook_service"`
	WebhookCredential    string `json:"webhook_credential"`
	AskLabelsOnLaunch    bool   `json:"ask_labels_on_launch"`
	AskSkipTagsOnLaunch  bool   `json:"ask_skip_tags_on_launch"`
	AskTagsOnLaunch      bool   `json:"ask_tags_on_launch"`
	SkipTags             string `json:"skip_tags,omitempty"`
	JobTags              string `json:"job_tags,omitempty"`
}

type WorkflowJobTemplateApprovalNode

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

func (*WorkflowJobTemplateApprovalNode) Configure

func (*WorkflowJobTemplateApprovalNode) Create

func (*WorkflowJobTemplateApprovalNode) Delete

func (*WorkflowJobTemplateApprovalNode) ImportState

func (*WorkflowJobTemplateApprovalNode) Metadata

func (*WorkflowJobTemplateApprovalNode) Read

func (*WorkflowJobTemplateApprovalNode) Schema

func (*WorkflowJobTemplateApprovalNode) Update

type WorkflowJobTemplateApprovalNodeModel

type WorkflowJobTemplateApprovalNodeModel struct {
	Id                    types.String `tfsdk:"id"`
	ApprovalTemplateId    types.Int32  `tfsdk:"approval_template_id"`
	WorkflowJobTemplateId types.Int32  `tfsdk:"workflow_job_template_id"`
	Name                  types.String `tfsdk:"name"`
	Description           types.String `tfsdk:"description"`
	Timeout               types.Int32  `tfsdk:"timeout"`
}

type WorkflowJobTemplateNodeAPIModel

type WorkflowJobTemplateNodeAPIModel struct {
	WorkflowJobId          int    `json:"workflow_job_template"`
	UnifiedJobTemplateId   int    `json:"unified_job_template"`
	Inventory              any    `json:"inventory"`
	ExtraData              any    `json:"extra_data,omitempty"`
	ScmBranch              string `json:"scm_branch,omitempty"`
	JobType                string `json:"job_type,omitempty"`
	JobTags                string `json:"job_tags,omitempty"`
	SkipTags               string `json:"skip_tags,omitempty"`
	Limit                  string `json:"limit,omitempty"`
	DiffMode               any    `json:"diff_mode,omitempty"`
	Verbosity              int    `json:"verbosity,omitempty"`
	AllParentsMustConverge bool   `json:"all_parents_must_converge"`
	Identifier             string `json:"identifier,omitempty"`
}

type WorkflowJobTemplatesJobNodeResource

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

func (*WorkflowJobTemplatesJobNodeResource) Configure

func (*WorkflowJobTemplatesJobNodeResource) Create

func (*WorkflowJobTemplatesJobNodeResource) Delete

func (*WorkflowJobTemplatesJobNodeResource) ImportState

func (*WorkflowJobTemplatesJobNodeResource) Metadata

func (*WorkflowJobTemplatesJobNodeResource) Read

func (*WorkflowJobTemplatesJobNodeResource) Schema

func (*WorkflowJobTemplatesJobNodeResource) Update

type WorkflowJobTemplatesJobNodeResourceModel

type WorkflowJobTemplatesJobNodeResourceModel struct {
	Id                     types.String `tfsdk:"id"`
	WorkflowJobId          types.Int32  `tfsdk:"workflow_job_template_id"`
	UnifiedJobTemplateId   types.Int32  `tfsdk:"unified_job_template"`
	Inventory              types.Int32  `tfsdk:"inventory"`
	ExtraData              types.String `tfsdk:"extra_data"`
	ScmBranch              types.String `tfsdk:"scm_branch"`
	JobType                types.String `tfsdk:"job_type"`
	JobTags                types.String `tfsdk:"job_tags"`
	SkipTags               types.String `tfsdk:"skip_tags"`
	Limit                  types.String `tfsdk:"limit"`
	DiffMode               types.Bool   `tfsdk:"diff_mode"`
	Verbosity              types.Int32  `tfsdk:"verbosity"`
	AllParentsMustConverge types.Bool   `tfsdk:"all_parents_must_converge"`
	Identifier             types.String `tfsdk:"identifier"`
}

type WorkflowJobTemplatesNodeAlwaysResource

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

func (*WorkflowJobTemplatesNodeAlwaysResource) Configure

func (*WorkflowJobTemplatesNodeAlwaysResource) Create

func (*WorkflowJobTemplatesNodeAlwaysResource) Delete

func (*WorkflowJobTemplatesNodeAlwaysResource) ImportState

func (*WorkflowJobTemplatesNodeAlwaysResource) Metadata

func (*WorkflowJobTemplatesNodeAlwaysResource) Read

func (*WorkflowJobTemplatesNodeAlwaysResource) Schema

func (*WorkflowJobTemplatesNodeAlwaysResource) Update

type WorkflowJobTemplatesNodeAlwaysResourceModel

type WorkflowJobTemplatesNodeAlwaysResourceModel struct {
	Id        types.String `tfsdk:"id"`
	AlwaysIds types.Set    `tfsdk:"always_ids"`
}

type WorkflowJobTemplatesNodeFailureResource

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

func (*WorkflowJobTemplatesNodeFailureResource) Configure

func (*WorkflowJobTemplatesNodeFailureResource) Create

func (*WorkflowJobTemplatesNodeFailureResource) Delete

func (*WorkflowJobTemplatesNodeFailureResource) ImportState

func (*WorkflowJobTemplatesNodeFailureResource) Metadata

func (*WorkflowJobTemplatesNodeFailureResource) Read

func (*WorkflowJobTemplatesNodeFailureResource) Schema

func (*WorkflowJobTemplatesNodeFailureResource) Update

type WorkflowJobTemplatesNodeFailureResourceModel

type WorkflowJobTemplatesNodeFailureResourceModel struct {
	Id         types.String `tfsdk:"id"`
	FailureIds types.Set    `tfsdk:"failure_ids"`
}

type WorkflowJobTemplatesNodeLabelResource

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

func (*WorkflowJobTemplatesNodeLabelResource) Configure

func (*WorkflowJobTemplatesNodeLabelResource) Create

func (*WorkflowJobTemplatesNodeLabelResource) Delete

func (*WorkflowJobTemplatesNodeLabelResource) ImportState

func (*WorkflowJobTemplatesNodeLabelResource) Metadata

func (*WorkflowJobTemplatesNodeLabelResource) Read

func (*WorkflowJobTemplatesNodeLabelResource) Schema

func (*WorkflowJobTemplatesNodeLabelResource) Update

type WorkflowJobTemplatesNodeLabelResourceModel

type WorkflowJobTemplatesNodeLabelResourceModel struct {
	Id       types.String `tfsdk:"id"`
	LabelIDs types.Set    `tfsdk:"label_ids"`
}

type WorkflowJobTemplatesNodeSuccessResource

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

func (*WorkflowJobTemplatesNodeSuccessResource) Configure

func (*WorkflowJobTemplatesNodeSuccessResource) Create

func (*WorkflowJobTemplatesNodeSuccessResource) Delete

func (*WorkflowJobTemplatesNodeSuccessResource) ImportState

func (*WorkflowJobTemplatesNodeSuccessResource) Metadata

func (*WorkflowJobTemplatesNodeSuccessResource) Read

func (*WorkflowJobTemplatesNodeSuccessResource) Schema

func (*WorkflowJobTemplatesNodeSuccessResource) Update

type WorkflowJobTemplatesNodeSuccessResourceModel

type WorkflowJobTemplatesNodeSuccessResourceModel struct {
	Id         types.String `tfsdk:"id"`
	SuccessIds types.Set    `tfsdk:"success_ids"`
}

type WorkflowJobTemplatesResource

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

func (*WorkflowJobTemplatesResource) Configure

func (*WorkflowJobTemplatesResource) Create

func (*WorkflowJobTemplatesResource) Delete

func (*WorkflowJobTemplatesResource) ImportState

func (*WorkflowJobTemplatesResource) Metadata

func (*WorkflowJobTemplatesResource) Read

func (*WorkflowJobTemplatesResource) Schema

func (*WorkflowJobTemplatesResource) Update

type WorkflowJobTemplatesResourceModel

type WorkflowJobTemplatesResourceModel struct {
	Id                   types.String `tfsdk:"id"`
	Name                 types.String `tfsdk:"name"`
	Description          types.String `tfsdk:"description"`
	ExtraVars            types.String `tfsdk:"extra_vars"`
	Organization         types.Int32  `tfsdk:"organization"`
	SurveyEnabled        types.Bool   `tfsdk:"survey_enabled"`
	AllowSimultaneous    types.Bool   `tfsdk:"allow_simultaneous"`
	AskVariablesOnLaunch types.Bool   `tfsdk:"ask_variables_on_launch"`
	Inventory            types.Int32  `tfsdk:"inventory"`
	Limit                types.String `tfsdk:"limit"`
	ScmBranch            types.String `tfsdk:"scm_branch"`
	AskInventoryOnLaunch types.Bool   `tfsdk:"ask_inventory_on_launch"`
	AskScmBranchOnLaunch types.Bool   `tfsdk:"ask_scm_branch_on_launch"`
	AskLimitOnLaunch     types.Bool   `tfsdk:"ask_limit_on_launch"`
	WebhookService       types.String `tfsdk:"webhook_service"`
	WebhookCredential    types.String `tfsdk:"webhook_credential"`
	AskLabelsOnLaunch    types.Bool   `tfsdk:"ask_labels_on_launch"`
	AskSkipTagsOnLaunch  types.Bool   `tfsdk:"ask_skip_tags_on_launch"`
	AskTagsOnLaunch      types.Bool   `tfsdk:"ask_tags_on_launch"`
	SkipTags             types.String `tfsdk:"skip_tags"`
	JobTags              types.String `tfsdk:"job_tags"`
}

type WorkflowJobTmplNodeApprvCreateAPIModel

type WorkflowJobTmplNodeApprvCreateAPIModel struct {
	Description any    `json:"description,omitempty"`
	Name        string `json:"name"`
	Timeout     any    `json:"timeout,omitempty"`
}

Jump to

Keyboard shortcuts

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