workspaces

package
v0.1.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DataSourceGetName = "workspace"
)
View Source
const (
	DataSourceListName = "workspaces"
)
View Source
const (
	ResourceName = "workspace"
)

Variables

This section is empty.

Functions

func NewDataSourceGet

func NewDataSourceGet() datasource.DataSource

NewDataSourceGet is a helper function to simplify the provider implementation.

func NewDataSourceList

func NewDataSourceList() datasource.DataSource

NewDataSourceList is a helper function to simplify the provider implementation.

func NewResource

func NewResource() resource.Resource

NewResource is a helper function to simplify the provider implementation.

func NewSizeValidator

func NewSizeValidator() validator.String

NewSizeValidator returns an AttributeValidator which ensures that any configured attribute value:

  • Is a string.
  • Matches the workspace size format.

Null (unconfigured) and unknown (known after apply) values are skipped.

func ValidateTerraformSize

func ValidateTerraformSize(value string) error

Types

type SizeError

type SizeError string

SizeError is the error that indicates an invalid workspace size format.

func (SizeError) Error

func (err SizeError) Error() string

Jump to

Keyboard shortcuts

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