provider

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IncrementRuns added in v0.2.0

func IncrementRuns(ctx context.Context, diags *diag.Diagnostics, getKey GetKey, setKey SetKey) uint32

func New

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

func NewNavigatorRunResource

func NewNavigatorRunResource() resource.Resource

func SetRuns added in v0.2.0

func SetRuns(ctx context.Context, diags *diag.Diagnostics, setKey SetKey, runs uint32)

Types

type AnsibleOptionsModel

type AnsibleOptionsModel struct {
	ForceHandlers types.Bool `tfsdk:"force_handlers"`
	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 GetKey added in v0.2.0

type GetKey func(ctx context.Context, key string) ([]byte, diag.Diagnostics)
type NavigatorRunResource struct {
	// contains filtered or unexported fields
}
type NavigatorRunResourceModel struct {
	WorkingDirectory       types.String   `tfsdk:"working_directory"`
	Playbook               types.String   `tfsdk:"playbook"`
	Inventory              types.String   `tfsdk:"inventory"`
	ExecutionEnvironment   types.Object   `tfsdk:"execution_environment"`
	AnsibleNavigatorBinary types.String   `tfsdk:"ansible_navigator_binary"`
	AnsibleOptions         types.Object   `tfsdk:"ansible_options"`
	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"`
}

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

type SetKey added in v0.2.0

type SetKey func(ctx context.Context, key string, value []byte) diag.Diagnostics

type TerraformOperation added in v0.3.0

type TerraformOperation int

func (TerraformOperation) String added in v0.3.0

func (op TerraformOperation) String() string

Jump to

Keyboard shortcuts

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