Documentation ¶
Index ¶
- func CreateDisk(vmName string, diskMap map[string]interface{}, session *image.Client) (*vm.Disk, error)
- func CreateElasticityPolicy(policyMap map[string]interface{}) oneflow.ElasticityPolicy
- func CreateRole(roleMap map[string]interface{}) oneflow.Role
- func CreateScheduledPolicy(policyMap map[string]interface{}) oneflow.ScheduledPolicy
- func GetCredentials() ([]string, error)
- func Provider() *schema.Provider
- type Client
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDisk ¶
func CreateElasticityPolicy ¶
func CreateElasticityPolicy(policyMap map[string]interface{}) oneflow.ElasticityPolicy
func CreateRole ¶
func CreateScheduledPolicy ¶
func CreateScheduledPolicy(policyMap map[string]interface{}) oneflow.ScheduledPolicy
func GetCredentials ¶
Types ¶
type Client ¶
type Client struct { Session *client.Client VMSession *vm.Client ImageSession *image.Client ServiceSession *oneflow.Client NetworkSession *network.Client SystemSession *system.Client VMTimeout int }
Client struct
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config struct
func CreateConfig ¶
Source Files ¶
- config.go
- data_source_datastore.go
- data_source_host.go
- data_source_image.go
- data_source_service.go
- data_source_user.go
- data_source_vm_template.go
- data_source_vnetwork.go
- import_vm_instance.go
- provider.go
- resource_disk.go
- resource_elasticity_policy.go
- resource_group.go
- resource_host.go
- resource_image.go
- resource_scheduled_policy.go
- resource_service.go
- resource_service_role.go
- resource_service_template.go
- resource_user.go
- resource_vm_instance.go
- resource_vm_template.go
- resource_vmgroup.go
- resource_vnetwork.go
Click to show internal directories.
Click to hide internal directories.