storageprofile

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SchemaStorageProfile = "storage_profile"
)

Variables

View Source
var (
	ErrStorageProfileIDIsEmpty = errors.New("storage profile ID is empty")
	ErrStorageProfileNotFound  = errors.New("storage profile not found")
)

Functions

func Schema

func Schema(opts ...common.AttributeOpts) schema.Attribute

Schema

returns the schema.Attribute for the storage profile.

Default values are :
- Optional: true
- Computed: false
- Required: false

You can override the default values by using the following options:
- IsComputed()
- IsRequired()
- IsOptional()

If the override is define all the default values are set to false.

Types

type Handler

type Handler interface {
	GetStorageProfile(storageProfileID string, refresh bool) (*govcdtypes.CatalogStorageProfiles, error)
	GetStorageProfileReference(storageProfileID string, refresh bool) (*govcdtypes.Reference, error)
	FindStorageProfileID(storageProfileName string) (string, error)
}

Jump to

Keyboard shortcuts

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