Documentation ¶
Index ¶
- func DataSourceVestackEcsInstances() *schema.Resource
- func ResourceVestackEcsInstance() *schema.Resource
- type VestackEcsService
- func (s *VestackEcsService) CommonResponseConvert() map[string]ve.ResponseConvert
- func (s *VestackEcsService) CreateResource(resourceData *schema.ResourceData, resource *schema.Resource) []ve.Callback
- func (s *VestackEcsService) DatasourceResources(data *schema.ResourceData, resource *schema.Resource) ve.DataSourceInfo
- func (s *VestackEcsService) GetClient() *ve.SdkClient
- func (s *VestackEcsService) ModifyResource(resourceData *schema.ResourceData, resource *schema.Resource) (callbacks []ve.Callback)
- func (s *VestackEcsService) ReadResource(resourceData *schema.ResourceData, instanceId string) (data map[string]interface{}, err error)
- func (s *VestackEcsService) ReadResourceId(id string) string
- func (s *VestackEcsService) ReadResources(condition map[string]interface{}) ([]interface{}, error)
- func (s *VestackEcsService) RefreshResourceState(resourceData *schema.ResourceData, target []string, timeout time.Duration, ...) *resource.StateChangeConf
- func (s *VestackEcsService) RemoveResource(resourceData *schema.ResourceData, r *schema.Resource) []ve.Callback
- func (s *VestackEcsService) StartOrStopInstanceCallback(resourceData *schema.ResourceData, isStop bool) ve.Callback
- func (s *VestackEcsService) WithResourceResponseHandlers(ecs map[string]interface{}) []ve.ResourceResponseHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type VestackEcsService ¶
type VestackEcsService struct { Client *ve.SdkClient Dispatcher *ve.Dispatcher }
func NewEcsService ¶
func NewEcsService(c *ve.SdkClient) *VestackEcsService
func (*VestackEcsService) CommonResponseConvert ¶
func (s *VestackEcsService) CommonResponseConvert() map[string]ve.ResponseConvert
func (*VestackEcsService) CreateResource ¶
func (s *VestackEcsService) CreateResource(resourceData *schema.ResourceData, resource *schema.Resource) []ve.Callback
func (*VestackEcsService) DatasourceResources ¶
func (s *VestackEcsService) DatasourceResources(data *schema.ResourceData, resource *schema.Resource) ve.DataSourceInfo
func (*VestackEcsService) GetClient ¶
func (s *VestackEcsService) GetClient() *ve.SdkClient
func (*VestackEcsService) ModifyResource ¶
func (s *VestackEcsService) ModifyResource(resourceData *schema.ResourceData, resource *schema.Resource) (callbacks []ve.Callback)
func (*VestackEcsService) ReadResource ¶
func (s *VestackEcsService) ReadResource(resourceData *schema.ResourceData, instanceId string) (data map[string]interface{}, err error)
func (*VestackEcsService) ReadResourceId ¶
func (s *VestackEcsService) ReadResourceId(id string) string
func (*VestackEcsService) ReadResources ¶
func (s *VestackEcsService) ReadResources(condition map[string]interface{}) ([]interface{}, error)
func (*VestackEcsService) RefreshResourceState ¶
func (s *VestackEcsService) RefreshResourceState(resourceData *schema.ResourceData, target []string, timeout time.Duration, id string) *resource.StateChangeConf
func (*VestackEcsService) RemoveResource ¶
func (s *VestackEcsService) RemoveResource(resourceData *schema.ResourceData, r *schema.Resource) []ve.Callback
func (*VestackEcsService) StartOrStopInstanceCallback ¶
func (s *VestackEcsService) StartOrStopInstanceCallback(resourceData *schema.ResourceData, isStop bool) ve.Callback
func (*VestackEcsService) WithResourceResponseHandlers ¶
func (s *VestackEcsService) WithResourceResponseHandlers(ecs map[string]interface{}) []ve.ResourceResponseHandler
Click to show internal directories.
Click to hide internal directories.