provider

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 16 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 NewEnvironmentResource added in v0.2.0

func NewEnvironmentResource() resource.Resource

func NewProjectResource added in v0.2.0

func NewProjectResource() resource.Resource

func NewSnapshotResource added in v0.2.0

func NewSnapshotResource() resource.Resource

func NewTeamResource added in v0.2.0

func NewTeamResource() resource.Resource

func NewUserResource

func NewUserResource() resource.Resource

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 (*EnvironmentResource) Create added in v0.2.0

func (*EnvironmentResource) Delete added in v0.2.0

func (*EnvironmentResource) ImportState added in v0.2.0

func (*EnvironmentResource) Metadata added in v0.2.0

func (*EnvironmentResource) Read added in v0.2.0

func (*EnvironmentResource) Schema added in v0.2.0

func (*EnvironmentResource) Update added in v0.2.0

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 (*ProjectResource) Create added in v0.2.0

func (*ProjectResource) Delete added in v0.2.0

func (*ProjectResource) ImportState added in v0.2.0

func (*ProjectResource) Metadata added in v0.2.0

func (*ProjectResource) Read added in v0.2.0

func (*ProjectResource) Schema added in v0.2.0

func (*ProjectResource) Update added in v0.2.0

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

type ProjectResourceSmallModel struct {
	ID types.String `tfsdk:"id"`
}

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 (*SnapshotResource) Create added in v0.2.0

func (*SnapshotResource) Delete added in v0.2.0

func (*SnapshotResource) ImportState added in v0.2.0

func (*SnapshotResource) Metadata added in v0.2.0

func (*SnapshotResource) Read added in v0.2.0

func (*SnapshotResource) Schema added in v0.2.0

func (*SnapshotResource) Update added in v0.2.0

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 (*TeamResource) Create added in v0.2.0

func (*TeamResource) Delete added in v0.2.0

func (*TeamResource) ImportState added in v0.2.0

func (*TeamResource) Metadata added in v0.2.0

func (*TeamResource) Read added in v0.2.0

func (*TeamResource) Schema added in v0.2.0

func (*TeamResource) Update added in v0.2.0

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

type TeamResourceSmallModel struct {
	ID types.String `tfsdk:"id"`
}

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 (*UserResource) Create

func (*UserResource) Delete

func (*UserResource) ImportState

func (*UserResource) Metadata

func (*UserResource) Read

func (*UserResource) Schema

func (*UserResource) Update

type UserResourceModel

type UserResourceModel struct {
	ID       types.String `tfsdk:"id"`
	Name     types.String `tfsdk:"name"`
	Email    types.String `tfsdk:"email"`
	Role     types.String `tfsdk:"role"`
	Password types.String `tfsdk:"password"`
}

UserResourceModel describes the resource data model.

Jump to

Keyboard shortcuts

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