Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewNavigatorRunDataSource() datasource.DataSource
- func NewNavigatorRunResource() resource.Resource
- type AnsibleOptionsModel
- func (AnsibleOptionsModel) AttrTypes() map[string]attr.Type
- func (AnsibleOptionsModel) Defaults() basetypes.ObjectValue
- func (m *AnsibleOptionsModel) Set(ctx context.Context, run *navigatorRun) diag.Diagnostics
- func (m AnsibleOptionsModel) Value(ctx context.Context, options *ansible.Options) diag.Diagnostics
- type AnsibleProvider
- func (p *AnsibleProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *AnsibleProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *AnsibleProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *AnsibleProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *AnsibleProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type AnsibleProviderModel
- type ArtifactQueryModel
- type ExecutionEnvironmentModel
- type NavigatorRunDataSource
- func (d *NavigatorRunDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *NavigatorRunDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *NavigatorRunDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *NavigatorRunDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type NavigatorRunDataSourceModel
- func (m *NavigatorRunDataSourceModel) Set(ctx context.Context, run navigatorRun) diag.Diagnostics
- func (m *NavigatorRunDataSourceModel) SetDefaults(ctx context.Context) diag.Diagnostics
- func (m NavigatorRunDataSourceModel) Value(ctx context.Context, run *navigatorRun, opts *providerOptions) diag.Diagnostics
- type NavigatorRunResource
- func (r *NavigatorRunResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *NavigatorRunResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *NavigatorRunResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *NavigatorRunResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *NavigatorRunResource) ModifyPlan(ctx context.Context, req resource.ModifyPlanRequest, ...)
- func (r *NavigatorRunResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *NavigatorRunResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *NavigatorRunResource) ShouldRun(plan *NavigatorRunResourceModel, state *NavigatorRunResourceModel) bool
- func (NavigatorRunResource) TriggersAttr(data *NavigatorRunResourceModel, attribute string) attr.Value
- func (r *NavigatorRunResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type NavigatorRunResourceModel
- type PrivateKeyModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNavigatorRunDataSource ¶ added in v0.15.0
func NewNavigatorRunDataSource() datasource.DataSource
func NewNavigatorRunResource ¶
Types ¶
type AnsibleOptionsModel ¶
type AnsibleOptionsModel struct { ForceHandlers types.Bool `tfsdk:"force_handlers"` SkipTags types.List `tfsdk:"skip_tags"` StartAtTask types.String `tfsdk:"start_at_task"` Limit types.List `tfsdk:"limit"` Tags types.List `tfsdk:"tags"` PrivateKeys types.List `tfsdk:"private_keys"` KnownHosts types.List `tfsdk:"known_hosts"` HostKeyChecking types.Bool `tfsdk:"host_key_checking"` }
func (AnsibleOptionsModel) AttrTypes ¶ added in v0.19.0
func (AnsibleOptionsModel) AttrTypes() map[string]attr.Type
func (AnsibleOptionsModel) Defaults ¶ added in v0.19.0
func (AnsibleOptionsModel) Defaults() basetypes.ObjectValue
func (*AnsibleOptionsModel) Set ¶ added in v0.19.0
func (m *AnsibleOptionsModel) Set(ctx context.Context, run *navigatorRun) diag.Diagnostics
func (AnsibleOptionsModel) Value ¶
func (m AnsibleOptionsModel) Value(ctx context.Context, options *ansible.Options) diag.Diagnostics
type AnsibleProvider ¶
type AnsibleProvider struct {
// contains filtered or unexported fields
}
func (*AnsibleProvider) Configure ¶
func (p *AnsibleProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*AnsibleProvider) DataSources ¶
func (p *AnsibleProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*AnsibleProvider) Metadata ¶
func (p *AnsibleProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*AnsibleProvider) Resources ¶
func (p *AnsibleProvider) Resources(ctx context.Context) []func() resource.Resource
func (*AnsibleProvider) Schema ¶
func (p *AnsibleProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type AnsibleProviderModel ¶
type ArtifactQueryModel ¶
type ArtifactQueryModel struct { JQFilter types.String `tfsdk:"jq_filter"` Results types.List `tfsdk:"results"` }
func (ArtifactQueryModel) AttrTypes ¶ added in v0.2.0
func (ArtifactQueryModel) AttrTypes() map[string]attr.Type
func (*ArtifactQueryModel) Set ¶
func (m *ArtifactQueryModel) Set(ctx context.Context, query ansible.ArtifactQuery) diag.Diagnostics
func (ArtifactQueryModel) Value ¶
func (m ArtifactQueryModel) Value(ctx context.Context, query *ansible.ArtifactQuery) diag.Diagnostics
type ExecutionEnvironmentModel ¶
type ExecutionEnvironmentModel struct { ContainerEngine types.String `tfsdk:"container_engine"` Enabled types.Bool `tfsdk:"enabled"` EnvironmentVariablesPass types.List `tfsdk:"environment_variables_pass"` EnvironmentVariablesSet types.Map `tfsdk:"environment_variables_set"` Image types.String `tfsdk:"image"` PullArguments types.List `tfsdk:"pull_arguments"` PullPolicy types.String `tfsdk:"pull_policy"` ContainerOptions types.List `tfsdk:"container_options"` }
func (ExecutionEnvironmentModel) AttrTypes ¶ added in v0.2.0
func (ExecutionEnvironmentModel) AttrTypes() map[string]attr.Type
func (ExecutionEnvironmentModel) Defaults ¶ added in v0.15.0
func (ExecutionEnvironmentModel) Defaults() basetypes.ObjectValue
func (ExecutionEnvironmentModel) Value ¶
func (m ExecutionEnvironmentModel) Value(ctx context.Context, settings *ansible.NavigatorSettings) diag.Diagnostics
type NavigatorRunDataSource ¶ added in v0.15.0
type NavigatorRunDataSource struct {
// contains filtered or unexported fields
}
func (*NavigatorRunDataSource) Configure ¶ added in v0.15.0
func (d *NavigatorRunDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*NavigatorRunDataSource) Metadata ¶ added in v0.15.0
func (d *NavigatorRunDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*NavigatorRunDataSource) Read ¶ added in v0.15.0
func (d *NavigatorRunDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*NavigatorRunDataSource) Schema ¶ added in v0.15.0
func (d *NavigatorRunDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type NavigatorRunDataSourceModel ¶ added in v0.15.0
type NavigatorRunDataSourceModel struct {}
func (*NavigatorRunDataSourceModel) Set ¶ added in v0.15.0
func (m *NavigatorRunDataSourceModel) Set(ctx context.Context, run navigatorRun) diag.Diagnostics
func (*NavigatorRunDataSourceModel) SetDefaults ¶ added in v0.15.0
func (m *NavigatorRunDataSourceModel) SetDefaults(ctx context.Context) diag.Diagnostics
func (NavigatorRunDataSourceModel) Value ¶ added in v0.15.0
func (m NavigatorRunDataSourceModel) Value(ctx context.Context, run *navigatorRun, opts *providerOptions) diag.Diagnostics
type NavigatorRunResource ¶
type NavigatorRunResource struct {
// contains filtered or unexported fields
}
func (*NavigatorRunResource) Configure ¶
func (r *NavigatorRunResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*NavigatorRunResource) Create ¶
func (r *NavigatorRunResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*NavigatorRunResource) Delete ¶
func (r *NavigatorRunResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*NavigatorRunResource) Metadata ¶
func (r *NavigatorRunResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*NavigatorRunResource) ModifyPlan ¶ added in v0.13.0
func (r *NavigatorRunResource) ModifyPlan(ctx context.Context, req resource.ModifyPlanRequest, resp *resource.ModifyPlanResponse)
func (*NavigatorRunResource) Read ¶
func (r *NavigatorRunResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*NavigatorRunResource) Schema ¶
func (r *NavigatorRunResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*NavigatorRunResource) ShouldRun ¶ added in v0.6.0
func (r *NavigatorRunResource) ShouldRun(plan *NavigatorRunResourceModel, state *NavigatorRunResourceModel) bool
func (NavigatorRunResource) TriggersAttr ¶ added in v0.21.0
func (NavigatorRunResource) TriggersAttr(data *NavigatorRunResourceModel, attribute string) attr.Value
TODO find better solution
func (*NavigatorRunResource) Update ¶
func (r *NavigatorRunResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type NavigatorRunResourceModel ¶
type NavigatorRunResourceModel struct {}
func (*NavigatorRunResourceModel) Set ¶ added in v0.12.0
func (m *NavigatorRunResourceModel) Set(ctx context.Context, run navigatorRun) diag.Diagnostics
func (NavigatorRunResourceModel) Value ¶ added in v0.12.0
func (m NavigatorRunResourceModel) Value(ctx context.Context, run *navigatorRun, opts *providerOptions, runs uint32) diag.Diagnostics
type PrivateKeyModel ¶ added in v0.7.0
func (PrivateKeyModel) AttrTypes ¶ added in v0.19.0
func (PrivateKeyModel) AttrTypes() map[string]attr.Type
func (PrivateKeyModel) Value ¶ added in v0.7.0
func (m PrivateKeyModel) Value(ctx context.Context, key *ansible.PrivateKey) diag.Diagnostics
Click to show internal directories.
Click to hide internal directories.