volume

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceVestackVolumes

func DataSourceVestackVolumes() *schema.Resource

func ResourceVestackVolume

func ResourceVestackVolume() *schema.Resource

Types

type VestackVolumeService

type VestackVolumeService struct {
	Client     *ve.SdkClient
	Dispatcher *ve.Dispatcher
}

func NewVolumeService

func NewVolumeService(c *ve.SdkClient) *VestackVolumeService

func (*VestackVolumeService) CreateResource

func (s *VestackVolumeService) CreateResource(resourceData *schema.ResourceData, resource *schema.Resource) []ve.Callback

func (*VestackVolumeService) DatasourceResources

func (*VestackVolumeService) GetClient

func (s *VestackVolumeService) GetClient() *ve.SdkClient

func (*VestackVolumeService) ModifyResource

func (s *VestackVolumeService) ModifyResource(resourceData *schema.ResourceData, resource *schema.Resource) []ve.Callback

func (*VestackVolumeService) ReadResource

func (s *VestackVolumeService) ReadResource(resourceData *schema.ResourceData, volumeId string) (data map[string]interface{}, err error)

func (*VestackVolumeService) ReadResourceId

func (s *VestackVolumeService) ReadResourceId(id string) string

func (*VestackVolumeService) ReadResources

func (s *VestackVolumeService) ReadResources(condition map[string]interface{}) (data []interface{}, err error)

func (*VestackVolumeService) RefreshResourceState

func (s *VestackVolumeService) RefreshResourceState(resourceData *schema.ResourceData, target []string, timeout time.Duration, id string) *resource.StateChangeConf

func (*VestackVolumeService) RemoveResource

func (s *VestackVolumeService) RemoveResource(resourceData *schema.ResourceData, r *schema.Resource) []ve.Callback

func (VestackVolumeService) WithResourceResponseHandlers

func (VestackVolumeService) WithResourceResponseHandlers(volume map[string]interface{}) []ve.ResourceResponseHandler

Jump to

Keyboard shortcuts

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