provider

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: MIT Imports: 36 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 NewNavigatorRunResource

func NewNavigatorRunResource() resource.Resource

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"`
}

func (AnsibleOptionsModel) Value

type AnsibleProvider

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

func (*AnsibleProvider) Configure

func (*AnsibleProvider) DataSources

func (p *AnsibleProvider) DataSources(ctx context.Context) []func() datasource.DataSource

func (*AnsibleProvider) Metadata

func (*AnsibleProvider) Resources

func (p *AnsibleProvider) Resources(ctx context.Context) []func() resource.Resource

func (*AnsibleProvider) Schema

type AnsibleProviderModel

type AnsibleProviderModel struct {
	BaseRunDirectory    types.String `tfsdk:"base_run_directory"`
	PersistRunDirectory types.Bool   `tfsdk:"persist_run_directory"`
}

type ArtifactQueryModel

type ArtifactQueryModel struct {
	JSONPath types.String `tfsdk:"jsonpath"`
	Result   types.String `tfsdk:"result"`
}

func (ArtifactQueryModel) AttrTypes added in v0.2.0

func (ArtifactQueryModel) AttrTypes() map[string]attr.Type

func (*ArtifactQueryModel) Set

func (ArtifactQueryModel) Value

type ExecutionEnvironmentModel

type ExecutionEnvironmentModel struct {
	ContainerEngine          types.String `tfsdk:"container_engine"`
	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) Value

type NavigatorRunResource struct {
	// contains filtered or unexported fields
}
type NavigatorRunResourceModel struct {
	Playbook               types.String   `tfsdk:"playbook"`
	Inventory              types.String   `tfsdk:"inventory"`
	WorkingDirectory       types.String   `tfsdk:"working_directory"`
	ExecutionEnvironment   types.Object   `tfsdk:"execution_environment"`
	AnsibleNavigatorBinary types.String   `tfsdk:"ansible_navigator_binary"`
	AnsibleOptions         types.Object   `tfsdk:"ansible_options"`
	Timezone               types.String   `tfsdk:"timezone"`
	RunOnDestroy           types.Bool     `tfsdk:"run_on_destroy"`
	Triggers               types.Map      `tfsdk:"triggers"`
	ReplacementTriggers    types.Map      `tfsdk:"replacement_triggers"`
	ArtifactQueries        types.Map      `tfsdk:"artifact_queries"`
	ID                     types.String   `tfsdk:"id"`
	Command                types.String   `tfsdk:"command"`
	Timeouts               timeouts.Value `tfsdk:"timeouts"`
}
func (m *NavigatorRunResourceModel) Set(ctx context.Context, run navigatorRun) diag.Diagnostics
func (m NavigatorRunResourceModel) Value(ctx context.Context, run *navigatorRun, opts *providerOptions, runs uint32) diag.Diagnostics

type PrivateKeyModel added in v0.7.0

type PrivateKeyModel struct {
	Name types.String `tfsdk:"name"`
	Data types.String `tfsdk:"data"`
}

func (PrivateKeyModel) Value added in v0.7.0

Jump to

Keyboard shortcuts

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