provider

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MPL-2.0 Imports: 26 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 NewProjectResource

func NewProjectResource() resource.Resource

func NewTrustPolicyResource

func NewTrustPolicyResource() resource.Resource

Types

type DepotProvider

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

func (*DepotProvider) Configure

func (*DepotProvider) DataSources

func (p *DepotProvider) DataSources(ctx context.Context) []func() datasource.DataSource

func (*DepotProvider) Metadata

func (*DepotProvider) Resources

func (p *DepotProvider) Resources(ctx context.Context) []func() resource.Resource

func (*DepotProvider) Schema

type DepotProviderModel

type DepotProviderModel struct {
	Token types.String `tfsdk:"token"`
}

type ProjectResource

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

func (*ProjectResource) Configure

func (*ProjectResource) Create

func (*ProjectResource) Delete

func (*ProjectResource) ImportState

func (*ProjectResource) Metadata

func (*ProjectResource) Read

func (*ProjectResource) Schema

func (*ProjectResource) Update

type ProjectResourceCacheModel

type ProjectResourceCacheModel struct {
	Size   types.Int64 `tfsdk:"size"`
	Expiry types.Int64 `tfsdk:"expiry"`
}

type ProjectResourceModel

type ProjectResourceModel struct {
	Id             types.String `tfsdk:"id"`
	OrganizationId types.String `tfsdk:"organization_id"`
	Name           types.String `tfsdk:"name"`
	Region         types.String `tfsdk:"region"`
	Cache          types.Object `tfsdk:"cache"`
}

type TrustPolicyBuildkiteResourceModel

type TrustPolicyBuildkiteResourceModel struct {
	Organization types.String `tfsdk:"organization"`
	Pipeline     types.String `tfsdk:"pipeline"`
}

type TrustPolicyCircleciResourceModel

type TrustPolicyCircleciResourceModel struct {
	Organization types.String `tfsdk:"organization"`
	Project      types.String `tfsdk:"project"`
}

type TrustPolicyGithubResourceModel

type TrustPolicyGithubResourceModel struct {
	Owner      types.String `tfsdk:"owner"`
	Repository types.String `tfsdk:"repository"`
}

type TrustPolicyResource

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

func (*TrustPolicyResource) Configure

func (*TrustPolicyResource) Create

func (*TrustPolicyResource) Delete

func (*TrustPolicyResource) ImportState

func (*TrustPolicyResource) Metadata

func (*TrustPolicyResource) Read

func (*TrustPolicyResource) Schema

func (*TrustPolicyResource) Update

type TrustPolicyResourceModel

type TrustPolicyResourceModel struct {
	Id        types.String `tfsdk:"id"`
	ProjectId types.String `tfsdk:"project_id"`
	Github    types.Object `tfsdk:"github"`
	Buildkite types.Object `tfsdk:"buildkite"`
	Circleci  types.Object `tfsdk:"circleci"`
}

Jump to

Keyboard shortcuts

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