provider

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: MIT Imports: 15 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 NewCORSOriginResource

func NewCORSOriginResource() resource.Resource

func NewDatasetResource

func NewDatasetResource() resource.Resource

func NewProjectDataSource

func NewProjectDataSource() datasource.DataSource

func NewProjectResource

func NewProjectResource() resource.Resource

func NewProjectTokenResource

func NewProjectTokenResource() resource.Resource

Types

type CORSOriginResource

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

func (*CORSOriginResource) Configure

func (*CORSOriginResource) Create

func (*CORSOriginResource) Delete

func (*CORSOriginResource) GetSchema

func (*CORSOriginResource) ImportState

func (*CORSOriginResource) Metadata

func (*CORSOriginResource) Read

func (*CORSOriginResource) Update

type CORSOriginResourceModel

type CORSOriginResourceModel struct {
	Id               types.String `tfsdk:"id"`
	Origin           types.String `tfsdk:"origin"`
	AllowCredentials types.Bool   `tfsdk:"allow_credentials"`
	Project          types.String `tfsdk:"project"`
}

type DatasetResource

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

func (*DatasetResource) Configure

func (*DatasetResource) Create

func (*DatasetResource) Delete

func (*DatasetResource) GetSchema

func (*DatasetResource) ImportState

func (*DatasetResource) Metadata

func (*DatasetResource) Read

func (*DatasetResource) Update

type DatasetResourceModel

type DatasetResourceModel struct {
	Project types.String `tfsdk:"project"`
	Name    types.String `tfsdk:"name"`
	AclMode types.String `tfsdk:"acl_mode"`
}

type ProjectDataSource

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

ProjectDataSource defines the data source implementation.

func (*ProjectDataSource) Configure

func (*ProjectDataSource) GetSchema

func (*ProjectDataSource) Metadata

func (*ProjectDataSource) Read

type ProjectDataSourceModel

type ProjectDataSourceModel struct {
	Id                  types.String `tfsdk:"id"`
	Name                types.String `tfsdk:"name"`
	Organization        types.String `tfsdk:"organization"`
	StudioHost          types.String `tfsdk:"studio_host"`
	ExternalStudioHost  types.String `tfsdk:"external_studio_host"`
	IsDisabledByUser    types.Bool   `tfsdk:"disabled_by_user"`
	ActivityFeedEnabled types.Bool   `tfsdk:"activity_feed_enabled"`
}

ProjectDataSourceModel describes the data source data model.

type ProjectResource

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

func (*ProjectResource) Configure

func (*ProjectResource) Create

func (*ProjectResource) Delete

func (*ProjectResource) GetSchema

func (*ProjectResource) ImportState

func (*ProjectResource) Metadata

func (*ProjectResource) Read

func (*ProjectResource) Update

type ProjectResourceModel

type ProjectResourceModel struct {
	Id                  types.String `tfsdk:"id"`
	Name                types.String `tfsdk:"name"`
	Organization        types.String `tfsdk:"organization"`
	StudioHost          types.String `tfsdk:"studio_host"`
	ExternalStudioHost  types.String `tfsdk:"external_studio_host"`
	Color               types.String `tfsdk:"color"`
	IsDisabledByUser    types.Bool   `tfsdk:"disabled_by_user"`
	ActivityFeedEnabled types.Bool   `tfsdk:"activity_feed_enabled"`
}

ProjectResourceModel describes the resource data model.

type ProjectTokenResource

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

func (*ProjectTokenResource) Configure

func (*ProjectTokenResource) Create

func (*ProjectTokenResource) Delete

func (*ProjectTokenResource) GetSchema

func (*ProjectTokenResource) ImportState

func (*ProjectTokenResource) Metadata

func (*ProjectTokenResource) Read

func (*ProjectTokenResource) Update

type ProjectTokenResourceModel

type ProjectTokenResourceModel struct {
	Id       types.String `tfsdk:"id"`
	Project  types.String `tfsdk:"project"`
	Label    types.String `tfsdk:"label"`
	RoleName types.String `tfsdk:"role_name"`
	Key      types.String `tfsdk:"key"`
}

type SanityProvider

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

SanityProvider defines the provider implementation.

func (*SanityProvider) Configure

func (*SanityProvider) DataSources

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

func (*SanityProvider) GetSchema

func (p *SanityProvider) GetSchema(ctx context.Context) (tfsdk.Schema, diag.Diagnostics)

func (*SanityProvider) Metadata

func (*SanityProvider) Resources

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

type SanityProviderModel

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

SanityProviderModel describes the provider data model.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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