core

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSources

func DataSources() []func() datasource.DataSource

func NewEventResource

func NewEventResource() resource.Resource

func NewPackageFeedResource

func NewPackageFeedResource() resource.Resource

func NewPackageResource

func NewPackageResource() resource.Resource

func NewTaskResource

func NewTaskResource() resource.Resource

func Resources

func Resources() []func() resource.Resource

Types

type EventResource

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

func (*EventResource) Configure

func (*EventResource) Create

Create implements resource.Resource.

func (*EventResource) Delete

Delete implements resource.Resource.

func (*EventResource) ImportState

func (*EventResource) Metadata

Metadata implements resource.Resource.

func (*EventResource) Read

Read implements resource.Resource.

func (*EventResource) Schema

Schema implements resource.Resource.

func (*EventResource) Update

Update implements resource.Resource.

type EventResourceModel

type EventResourceModel struct {
	Name types.String `tfsdk:"name"`

	Script types.String `tfsdk:"script"`

	User  types.String `tfsdk:"user"`
	Event types.String `tfsdk:"event"`

	Run  types.Bool   `tfsdk:"run"`
	When types.String `tfsdk:"when"`
}

type PackageFeedResource

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

func (*PackageFeedResource) Configure

func (*PackageFeedResource) Create

Create implements resource.Resource.

func (*PackageFeedResource) Delete

Delete implements resource.Resource.

func (*PackageFeedResource) ImportState

ImportState implements resource.ResourceWithImportState.

func (*PackageFeedResource) Metadata

Metadata implements resource.Resource.

func (*PackageFeedResource) Read

Read implements resource.Resource.

func (*PackageFeedResource) Schema

Schema implements resource.Resource.

func (*PackageFeedResource) Update

Update implements resource.Resource.

type PackageFeedResourceModel

type PackageFeedResourceModel struct {
	Name types.String `tfsdk:"name"`
	URL  types.String `tfsdk:"url"`
}

type PackageResource

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

func (*PackageResource) Configure

func (*PackageResource) Create

Create implements resource.Resource.

func (*PackageResource) Delete

Delete implements resource.Resource.

func (*PackageResource) ImportState

ImportState implements resource.ResourceWithImportState.

func (*PackageResource) Metadata

Metadata implements resource.Resource.

func (*PackageResource) Read

Read implements resource.Resource.

func (*PackageResource) Schema

Schema implements resource.Resource.

func (*PackageResource) Update

Update implements resource.Resource.

type PackageResourceModel

type PackageResourceModel struct {
	Name    types.String `tfsdk:"name"`
	Version types.String `tfsdk:"version"`
	File    types.String `tfsdk:"file"`
	URL     types.String `tfsdk:"url"`
	Wizard  types.Map    `tfsdk:"wizard"`
	Beta    types.Bool   `tfsdk:"beta"`

	Run types.Bool `tfsdk:"run"`
}

type TaskResource

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

func (*TaskResource) Configure

func (*TaskResource) Create

Create implements resource.Resource.

func (*TaskResource) Delete

Delete implements resource.Resource.

func (*TaskResource) ImportState

func (*TaskResource) Metadata

Metadata implements resource.Resource.

func (*TaskResource) Read

Read implements resource.Resource.

func (*TaskResource) Schema

Schema implements resource.Resource.

func (*TaskResource) Update

Update implements resource.Resource.

type TaskResourceModel

type TaskResourceModel struct {
	ID   types.Int64  `tfsdk:"id"`
	Name types.String `tfsdk:"name"`

	Service types.String `tfsdk:"service"`
	Script  types.String `tfsdk:"script"`

	Schedule types.String `tfsdk:"schedule"`
	User     types.String `tfsdk:"user"`

	Run  types.Bool   `tfsdk:"run"`
	When types.String `tfsdk:"when"`
}

Jump to

Keyboard shortcuts

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