Documentation
¶
Index ¶
- type Provider
- func (p *Provider) BucketDump(ctx context.Context, action, bucketName string) ([]schema.BucketResult, error)
- func (p *Provider) ExecuteCloudVMCommand(instanceID, cmd string)
- func (p *Provider) Name() string
- func (p *Provider) Resources(ctx context.Context) (schema.Resources, error)
- func (p *Provider) UserManagement(action, username, password string) (schema.IAMResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func (*Provider) BucketDump ¶
func (*Provider) ExecuteCloudVMCommand ¶
ExecuteCloudVMCommand routes through JDCloud Cloud Assistant (assistant.jdcloud-api.com). Region must be a real VM region (cn-north-1 / cn-east-2 / ...); we resolve it from the host cache populated by `cloudlist` so `shell <instance-id>` works regardless of the session's current region setting.
func (*Provider) UserManagement ¶
UserManagement powers the iam-user-check payload. JDCloud's CreateSubUser is atomic (name + password + consoleLogin in one call), so we only need an AttachSubUserPolicy follow-up to grant administrator privilege.
Click to show internal directories.
Click to hide internal directories.