Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewEnvironmentResource() resource.Resource
- func NewProjectResource() resource.Resource
- func NewSnapshotResource() resource.Resource
- func NewTeamResource() resource.Resource
- func NewUserResource() resource.Resource
- type EnvironmentResource
- func (r *EnvironmentResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *EnvironmentResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *EnvironmentResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *EnvironmentResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *EnvironmentResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *EnvironmentResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *EnvironmentResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *EnvironmentResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type EnvironmentResourceModel
- type LynxProviderModel
- type ProjectResource
- func (r *ProjectResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ProjectResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ProjectResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ProjectResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ProjectResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ProjectResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ProjectResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ProjectResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ProjectResourceModel
- type ProjectResourceSmallModel
- type SnapshotResource
- func (r *SnapshotResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *SnapshotResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *SnapshotResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *SnapshotResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *SnapshotResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *SnapshotResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *SnapshotResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *SnapshotResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type SnapshotResourceModel
- type TeamResource
- func (r *TeamResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *TeamResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *TeamResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *TeamResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *TeamResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *TeamResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *TeamResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *TeamResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type TeamResourceModel
- type TeamResourceSmallModel
- type UserResource
- func (r *UserResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *UserResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *UserResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *UserResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *UserResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *UserResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *UserResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *UserResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type UserResourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEnvironmentResource ¶ added in v0.2.0
func NewProjectResource ¶ added in v0.2.0
func NewSnapshotResource ¶ added in v0.2.0
func NewTeamResource ¶ added in v0.2.0
func NewUserResource ¶
Types ¶
type EnvironmentResource ¶ added in v0.2.0
type EnvironmentResource struct {
// contains filtered or unexported fields
}
EnvironmentResource defines the resource implementation.
func (*EnvironmentResource) Configure ¶ added in v0.2.0
func (r *EnvironmentResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*EnvironmentResource) Create ¶ added in v0.2.0
func (r *EnvironmentResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*EnvironmentResource) Delete ¶ added in v0.2.0
func (r *EnvironmentResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*EnvironmentResource) ImportState ¶ added in v0.2.0
func (r *EnvironmentResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*EnvironmentResource) Metadata ¶ added in v0.2.0
func (r *EnvironmentResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*EnvironmentResource) Read ¶ added in v0.2.0
func (r *EnvironmentResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*EnvironmentResource) Schema ¶ added in v0.2.0
func (r *EnvironmentResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*EnvironmentResource) Update ¶ added in v0.2.0
func (r *EnvironmentResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type EnvironmentResourceModel ¶ added in v0.2.0
type EnvironmentResourceModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Slug types.String `tfsdk:"slug"` Username types.String `tfsdk:"username"` Secret types.String `tfsdk:"secret"` Project *ProjectResourceSmallModel `tfsdk:"project"` }
EnvironmentResourceModel describes the resource data model.
type LynxProviderModel ¶
type LynxProviderModel struct { ApiURL types.String `tfsdk:"api_url"` ApiKey types.String `tfsdk:"api_key"` }
LynxProviderModel describes the provider data model.
type ProjectResource ¶ added in v0.2.0
type ProjectResource struct {
// contains filtered or unexported fields
}
ProjectResource defines the resource implementation.
func (*ProjectResource) Configure ¶ added in v0.2.0
func (r *ProjectResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ProjectResource) Create ¶ added in v0.2.0
func (r *ProjectResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ProjectResource) Delete ¶ added in v0.2.0
func (r *ProjectResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ProjectResource) ImportState ¶ added in v0.2.0
func (r *ProjectResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ProjectResource) Metadata ¶ added in v0.2.0
func (r *ProjectResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ProjectResource) Read ¶ added in v0.2.0
func (r *ProjectResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ProjectResource) Schema ¶ added in v0.2.0
func (r *ProjectResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ProjectResource) Update ¶ added in v0.2.0
func (r *ProjectResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ProjectResourceModel ¶ added in v0.2.0
type ProjectResourceModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Slug types.String `tfsdk:"slug"` Description types.String `tfsdk:"description"` Team *TeamResourceSmallModel `tfsdk:"team"` }
ProjectResourceModel describes the resource data model.
type ProjectResourceSmallModel ¶ added in v0.2.0
ProjectResourceSmallModel describes the nested project resource data model.
type SnapshotResource ¶ added in v0.2.0
type SnapshotResource struct {
// contains filtered or unexported fields
}
SnapshotResource defines the resource implementation.
func (*SnapshotResource) Configure ¶ added in v0.2.0
func (r *SnapshotResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*SnapshotResource) Create ¶ added in v0.2.0
func (r *SnapshotResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*SnapshotResource) Delete ¶ added in v0.2.0
func (r *SnapshotResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*SnapshotResource) ImportState ¶ added in v0.2.0
func (r *SnapshotResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*SnapshotResource) Metadata ¶ added in v0.2.0
func (r *SnapshotResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*SnapshotResource) Read ¶ added in v0.2.0
func (r *SnapshotResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*SnapshotResource) Schema ¶ added in v0.2.0
func (r *SnapshotResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*SnapshotResource) Update ¶ added in v0.2.0
func (r *SnapshotResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type SnapshotResourceModel ¶ added in v0.2.0
type SnapshotResourceModel struct { ID types.String `tfsdk:"id"` Title types.String `tfsdk:"title"` Description types.String `tfsdk:"description"` RecordType types.String `tfsdk:"record_type"` RecordID types.String `tfsdk:"record_id"` Team *TeamResourceSmallModel `tfsdk:"team"` }
SnapshotResourceModel describes the resource data model.
type TeamResource ¶ added in v0.2.0
type TeamResource struct {
// contains filtered or unexported fields
}
TeamResource defines the resource implementation.
func (*TeamResource) Configure ¶ added in v0.2.0
func (r *TeamResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*TeamResource) Create ¶ added in v0.2.0
func (r *TeamResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*TeamResource) Delete ¶ added in v0.2.0
func (r *TeamResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*TeamResource) ImportState ¶ added in v0.2.0
func (r *TeamResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*TeamResource) Metadata ¶ added in v0.2.0
func (r *TeamResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*TeamResource) Read ¶ added in v0.2.0
func (r *TeamResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*TeamResource) Schema ¶ added in v0.2.0
func (r *TeamResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*TeamResource) Update ¶ added in v0.2.0
func (r *TeamResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type TeamResourceModel ¶ added in v0.2.0
type TeamResourceModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Slug types.String `tfsdk:"slug"` Description types.String `tfsdk:"description"` Members types.List `tfsdk:"members"` }
TeamResourceModel describes the resource data model.
type TeamResourceSmallModel ¶ added in v0.2.0
TeamResourceSmallModel describes the nested team resource data model.
type UserResource ¶
type UserResource struct {
// contains filtered or unexported fields
}
UserResource defines the resource implementation.
func (*UserResource) Configure ¶
func (r *UserResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*UserResource) Create ¶
func (r *UserResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*UserResource) Delete ¶
func (r *UserResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*UserResource) ImportState ¶
func (r *UserResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*UserResource) Metadata ¶
func (r *UserResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*UserResource) Read ¶
func (r *UserResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*UserResource) Schema ¶
func (r *UserResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*UserResource) Update ¶
func (r *UserResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)