Documentation ¶
Index ¶
- func DataSources() []func() datasource.DataSource
- func NewEventResource() resource.Resource
- func NewPackageFeedResource() resource.Resource
- func NewPackageResource() resource.Resource
- func NewTaskResource() resource.Resource
- func Resources() []func() resource.Resource
- type EventResource
- func (f *EventResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (p *EventResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (p *EventResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (p *EventResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (p *EventResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (p *EventResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (p *EventResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (p *EventResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type EventResourceModel
- type PackageFeedResource
- func (f *PackageFeedResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (p *PackageFeedResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (p *PackageFeedResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (p *PackageFeedResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (p *PackageFeedResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (p *PackageFeedResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (p *PackageFeedResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (p *PackageFeedResource) Update(context.Context, resource.UpdateRequest, *resource.UpdateResponse)
- type PackageFeedResourceModel
- type PackageResource
- func (f *PackageResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (p *PackageResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (p *PackageResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (p *PackageResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (p *PackageResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (p *PackageResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (p *PackageResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (p *PackageResource) Update(context.Context, resource.UpdateRequest, *resource.UpdateResponse)
- type PackageResourceModel
- type TaskResource
- func (f *TaskResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (p *TaskResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (p *TaskResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (p *TaskResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (p *TaskResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (p *TaskResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (p *TaskResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (p *TaskResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type TaskResourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataSources ¶
func DataSources() []func() datasource.DataSource
func NewEventResource ¶
func NewPackageFeedResource ¶
func NewPackageResource ¶
func NewTaskResource ¶
Types ¶
type EventResource ¶
type EventResource struct {
// contains filtered or unexported fields
}
func (*EventResource) Configure ¶
func (f *EventResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*EventResource) Create ¶
func (p *EventResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create implements resource.Resource.
func (*EventResource) Delete ¶
func (p *EventResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
Delete implements resource.Resource.
func (*EventResource) ImportState ¶
func (p *EventResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*EventResource) Metadata ¶
func (p *EventResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata implements resource.Resource.
func (*EventResource) Read ¶
func (p *EventResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read implements resource.Resource.
func (*EventResource) Schema ¶
func (p *EventResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
Schema implements resource.Resource.
func (*EventResource) Update ¶
func (p *EventResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Update implements resource.Resource.
type EventResourceModel ¶
type PackageFeedResource ¶
type PackageFeedResource struct {
// contains filtered or unexported fields
}
func (*PackageFeedResource) Configure ¶
func (f *PackageFeedResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*PackageFeedResource) Create ¶
func (p *PackageFeedResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create implements resource.Resource.
func (*PackageFeedResource) Delete ¶
func (p *PackageFeedResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
Delete implements resource.Resource.
func (*PackageFeedResource) ImportState ¶
func (p *PackageFeedResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState implements resource.ResourceWithImportState.
func (*PackageFeedResource) Metadata ¶
func (p *PackageFeedResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata implements resource.Resource.
func (*PackageFeedResource) Read ¶
func (p *PackageFeedResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read implements resource.Resource.
func (*PackageFeedResource) Schema ¶
func (p *PackageFeedResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
Schema implements resource.Resource.
func (*PackageFeedResource) Update ¶
func (p *PackageFeedResource) Update(context.Context, resource.UpdateRequest, *resource.UpdateResponse)
Update implements resource.Resource.
type PackageResource ¶
type PackageResource struct {
// contains filtered or unexported fields
}
func (*PackageResource) Configure ¶
func (f *PackageResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*PackageResource) Create ¶
func (p *PackageResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create implements resource.Resource.
func (*PackageResource) Delete ¶
func (p *PackageResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
Delete implements resource.Resource.
func (*PackageResource) ImportState ¶
func (p *PackageResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState implements resource.ResourceWithImportState.
func (*PackageResource) Metadata ¶
func (p *PackageResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata implements resource.Resource.
func (*PackageResource) Read ¶
func (p *PackageResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read implements resource.Resource.
func (*PackageResource) Schema ¶
func (p *PackageResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
Schema implements resource.Resource.
func (*PackageResource) Update ¶
func (p *PackageResource) Update(context.Context, resource.UpdateRequest, *resource.UpdateResponse)
Update implements resource.Resource.
type PackageResourceModel ¶
type TaskResource ¶
type TaskResource struct {
// contains filtered or unexported fields
}
func (*TaskResource) Configure ¶
func (f *TaskResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*TaskResource) Create ¶
func (p *TaskResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create implements resource.Resource.
func (*TaskResource) Delete ¶
func (p *TaskResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
Delete implements resource.Resource.
func (*TaskResource) ImportState ¶
func (p *TaskResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*TaskResource) Metadata ¶
func (p *TaskResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata implements resource.Resource.
func (*TaskResource) Read ¶
func (p *TaskResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read implements resource.Resource.
func (*TaskResource) Schema ¶
func (p *TaskResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
Schema implements resource.Resource.
func (*TaskResource) Update ¶
func (p *TaskResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
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"` }