server_group

package
v0.0.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceVestackServerGroups

func DataSourceVestackServerGroups() *schema.Resource

func ResourceVestackServerGroup

func ResourceVestackServerGroup() *schema.Resource

Types

type VestackServerGroupService

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

func NewServerGroupService

func NewServerGroupService(c *ve.SdkClient) *VestackServerGroupService

func (*VestackServerGroupService) CreateResource

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

func (*VestackServerGroupService) DatasourceResources

func (*VestackServerGroupService) GetClient

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

func (*VestackServerGroupService) ModifyResource

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

func (*VestackServerGroupService) ReadResource

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

func (*VestackServerGroupService) ReadResourceId

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

func (*VestackServerGroupService) ReadResources

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

func (*VestackServerGroupService) RefreshResourceState

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

func (*VestackServerGroupService) RemoveResource

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

func (VestackServerGroupService) WithResourceResponseHandlers

func (VestackServerGroupService) WithResourceResponseHandlers(serverGroup map[string]interface{}) []ve.ResourceResponseHandler

Jump to

Keyboard shortcuts

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