Documentation ¶
Overview ¶
DO NOT EDIT This file was automatically generated with go generate
DO NOT EDIT This file was automatically generated with go generate
Index ¶
- Variables
- func DriverSupportedActions() map[string][]string
- type AwsDriver
- func (d *AwsDriver) Attach_Internetgateway(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Attach_Internetgateway_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Attach_Policy(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Attach_Policy_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Attach_Routetable(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Attach_Routetable_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Attach_Volume(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Attach_Volume_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Check_Instance(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Check_Instance_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Bucket(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Bucket_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Group(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Group_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Instance(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Instance_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Internetgateway(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Internetgateway_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Keypair(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Keypair_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Route(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Route_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Routetable(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Routetable_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Securitygroup(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Securitygroup_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Storageobject(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Storageobject_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Subnet(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Subnet_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Tags(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Tags_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_User(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_User_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Volume(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Volume_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Vpc(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Vpc_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Bucket(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Bucket_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Group(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Group_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Instance(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Instance_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Internetgateway(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Internetgateway_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Keypair(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Keypair_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Route(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Route_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Routetable(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Routetable_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Securitygroup(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Securitygroup_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Storageobject(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Storageobject_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Subnet(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Subnet_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_User(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_User_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Volume(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Volume_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Vpc(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Vpc_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Detach_Internetgateway(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Detach_Internetgateway_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Detach_Policy(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Detach_Policy_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Detach_Routetable(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Detach_Routetable_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Lookup(lookups ...string) driver.DriverFn
- func (d *AwsDriver) SetDryRun(dry bool)
- func (d *AwsDriver) SetLogger(l *logger.Logger)
- func (d *AwsDriver) Start_Instance(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Start_Instance_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Stop_Instance(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Stop_Instance_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Update_Instance(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Update_Instance_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Update_Securitygroup(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Update_Securitygroup_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Update_Subnet(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Update_Subnet_DryRun(params map[string]interface{}) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
var AWSTemplatesDefinitions = map[string]template.TemplateDefinition{ "createvpc": template.TemplateDefinition{ Action: "create", Entity: "vpc", Api: "ec2", RequiredParams: []string{"cidr"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "deletevpc": template.TemplateDefinition{ Action: "delete", Entity: "vpc", Api: "ec2", RequiredParams: []string{"id"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createsubnet": template.TemplateDefinition{ Action: "create", Entity: "subnet", Api: "ec2", RequiredParams: []string{"cidr", "vpc"}, ExtraParams: []string{"zone"}, TagsMapping: []string{}, }, "updatesubnet": template.TemplateDefinition{ Action: "update", Entity: "subnet", Api: "ec2", RequiredParams: []string{"id"}, ExtraParams: []string{"public-vms"}, TagsMapping: []string{}, }, "deletesubnet": template.TemplateDefinition{ Action: "delete", Entity: "subnet", Api: "ec2", RequiredParams: []string{"id"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createinstance": template.TemplateDefinition{ Action: "create", Entity: "instance", Api: "ec2", RequiredParams: []string{"image", "type", "count", "count", "subnet"}, ExtraParams: []string{"lock", "key", "ip", "group", "userdata"}, TagsMapping: []string{"name"}, }, "updateinstance": template.TemplateDefinition{ Action: "update", Entity: "instance", Api: "ec2", RequiredParams: []string{"id"}, ExtraParams: []string{"lock", "group", "type"}, TagsMapping: []string{}, }, "deleteinstance": template.TemplateDefinition{ Action: "delete", Entity: "instance", Api: "ec2", RequiredParams: []string{"id"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "startinstance": template.TemplateDefinition{ Action: "start", Entity: "instance", Api: "ec2", RequiredParams: []string{"id"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "stopinstance": template.TemplateDefinition{ Action: "stop", Entity: "instance", Api: "ec2", RequiredParams: []string{"id"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "checkinstance": template.TemplateDefinition{ Action: "check", Entity: "instance", Api: "ec2", RequiredParams: []string{"id", "state", "timeout"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createsecuritygroup": template.TemplateDefinition{ Action: "create", Entity: "securitygroup", Api: "ec2", RequiredParams: []string{"description", "name", "vpc"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "updatesecuritygroup": template.TemplateDefinition{ Action: "update", Entity: "securitygroup", Api: "ec2", RequiredParams: []string{"cidr", "id", "protocol"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "deletesecuritygroup": template.TemplateDefinition{ Action: "delete", Entity: "securitygroup", Api: "ec2", RequiredParams: []string{"id"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createvolume": template.TemplateDefinition{ Action: "create", Entity: "volume", Api: "ec2", RequiredParams: []string{"zone", "size"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "deletevolume": template.TemplateDefinition{ Action: "delete", Entity: "volume", Api: "ec2", RequiredParams: []string{"id"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "attachvolume": template.TemplateDefinition{ Action: "attach", Entity: "volume", Api: "ec2", RequiredParams: []string{"device", "instance", "id"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createinternetgateway": template.TemplateDefinition{ Action: "create", Entity: "internetgateway", Api: "ec2", RequiredParams: []string{}, ExtraParams: []string{}, TagsMapping: []string{}, }, "deleteinternetgateway": template.TemplateDefinition{ Action: "delete", Entity: "internetgateway", Api: "ec2", RequiredParams: []string{"id"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "attachinternetgateway": template.TemplateDefinition{ Action: "attach", Entity: "internetgateway", Api: "ec2", RequiredParams: []string{"id", "vpc"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "detachinternetgateway": template.TemplateDefinition{ Action: "detach", Entity: "internetgateway", Api: "ec2", RequiredParams: []string{"id", "vpc"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createroutetable": template.TemplateDefinition{ Action: "create", Entity: "routetable", Api: "ec2", RequiredParams: []string{"vpc"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "deleteroutetable": template.TemplateDefinition{ Action: "delete", Entity: "routetable", Api: "ec2", RequiredParams: []string{"id"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "attachroutetable": template.TemplateDefinition{ Action: "attach", Entity: "routetable", Api: "ec2", RequiredParams: []string{"id", "subnet"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "detachroutetable": template.TemplateDefinition{ Action: "detach", Entity: "routetable", Api: "ec2", RequiredParams: []string{"association"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createroute": template.TemplateDefinition{ Action: "create", Entity: "route", Api: "ec2", RequiredParams: []string{"cidr", "gateway", "table"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "deleteroute": template.TemplateDefinition{ Action: "delete", Entity: "route", Api: "ec2", RequiredParams: []string{"cidr", "table"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createtags": template.TemplateDefinition{ Action: "create", Entity: "tags", Api: "ec2", RequiredParams: []string{"resource"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createkeypair": template.TemplateDefinition{ Action: "create", Entity: "keypair", Api: "ec2", RequiredParams: []string{"name"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "deletekeypair": template.TemplateDefinition{ Action: "delete", Entity: "keypair", Api: "ec2", RequiredParams: []string{"id"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createuser": template.TemplateDefinition{ Action: "create", Entity: "user", Api: "iam", RequiredParams: []string{"name"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "deleteuser": template.TemplateDefinition{ Action: "delete", Entity: "user", Api: "iam", RequiredParams: []string{"name"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "creategroup": template.TemplateDefinition{ Action: "create", Entity: "group", Api: "iam", RequiredParams: []string{"name"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "deletegroup": template.TemplateDefinition{ Action: "delete", Entity: "group", Api: "iam", RequiredParams: []string{"name"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "attachpolicy": template.TemplateDefinition{ Action: "attach", Entity: "policy", Api: "iam", RequiredParams: []string{"arn", "user"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "detachpolicy": template.TemplateDefinition{ Action: "detach", Entity: "policy", Api: "iam", RequiredParams: []string{"arn", "user"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createbucket": template.TemplateDefinition{ Action: "create", Entity: "bucket", Api: "s3", RequiredParams: []string{"name"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "deletebucket": template.TemplateDefinition{ Action: "delete", Entity: "bucket", Api: "s3", RequiredParams: []string{"name"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createstorageobject": template.TemplateDefinition{ Action: "create", Entity: "storageobject", Api: "s3", RequiredParams: []string{"file", "bucket"}, ExtraParams: []string{"name"}, TagsMapping: []string{}, }, "deletestorageobject": template.TemplateDefinition{ Action: "delete", Entity: "storageobject", Api: "s3", RequiredParams: []string{"bucket", "key"}, ExtraParams: []string{}, TagsMapping: []string{}, }, }
var DriverDefinitions = []struct { RequiredParams map[string]string ExtraParams map[string]string TagsMapping map[string]string Api string Action, Entity string Input, ApiMethod, OutputExtractor string DryRunUnsupported bool ManualFuncDefinition bool }{ { Action: "create", Entity: graph.Vpc.String(), Api: "ec2", Input: "CreateVpcInput", ApiMethod: "CreateVpc", OutputExtractor: "aws.StringValue(output.Vpc.VpcId)", RequiredParams: map[string]string{ "CidrBlock": "cidr", }, }, { Action: "delete", Entity: graph.Vpc.String(), Api: "ec2", Input: "DeleteVpcInput", ApiMethod: "DeleteVpc", RequiredParams: map[string]string{ "VpcId": "id", }, }, { Action: "create", Entity: graph.Subnet.String(), Api: "ec2", Input: "CreateSubnetInput", ApiMethod: "CreateSubnet", OutputExtractor: "aws.StringValue(output.Subnet.SubnetId)", RequiredParams: map[string]string{ "CidrBlock": "cidr", "VpcId": "vpc", }, ExtraParams: map[string]string{ "AvailabilityZone": "zone", }, }, { Action: "update", Entity: graph.Subnet.String(), Api: "ec2", Input: "ModifySubnetAttributeInput", ApiMethod: "ModifySubnetAttribute", DryRunUnsupported: true, RequiredParams: map[string]string{ "SubnetId": "id", }, ExtraParams: map[string]string{ "MapPublicIpOnLaunch": "public-vms", }, }, { Action: "delete", Entity: graph.Subnet.String(), Api: "ec2", Input: "DeleteSubnetInput", ApiMethod: "DeleteSubnet", RequiredParams: map[string]string{ "SubnetId": "id", }, }, { Action: "create", Entity: graph.Instance.String(), Api: "ec2", Input: "RunInstancesInput", ApiMethod: "RunInstances", OutputExtractor: "aws.StringValue(output.Instances[0].InstanceId)", RequiredParams: map[string]string{ "ImageId": "image", "MaxCount": "count", "MinCount": "count", "InstanceType": "type", "SubnetId": "subnet", }, ExtraParams: map[string]string{ "KeyName": "key", "PrivateIpAddress": "ip", "UserData": "userdata", "SecurityGroupIds": "group", "DisableApiTermination": "lock", }, TagsMapping: map[string]string{ "Name": "name", }, }, { Action: "update", Entity: graph.Instance.String(), Api: "ec2", Input: "ModifyInstanceAttributeInput", ApiMethod: "ModifyInstanceAttribute", RequiredParams: map[string]string{ "InstanceId": "id", }, ExtraParams: map[string]string{ "InstanceType": "type", "Groups": "group", "DisableApiTermination": "lock", }, }, { Action: "delete", Entity: graph.Instance.String(), Api: "ec2", Input: "TerminateInstancesInput", ApiMethod: "TerminateInstances", RequiredParams: map[string]string{ "InstanceIds": "id", }, }, { Action: "start", Entity: graph.Instance.String(), Api: "ec2", Input: "StartInstancesInput", ApiMethod: "StartInstances", OutputExtractor: "aws.StringValue(output.StartingInstances[0].InstanceId)", RequiredParams: map[string]string{ "InstanceIds": "id", }, }, { Action: "stop", Entity: graph.Instance.String(), Api: "ec2", Input: "StopInstancesInput", ApiMethod: "StopInstances", OutputExtractor: "aws.StringValue(output.StoppingInstances[0].InstanceId)", RequiredParams: map[string]string{ "InstanceIds": "id", }, }, { Action: "check", Entity: graph.Instance.String(), Api: "ec2", ManualFuncDefinition: true, RequiredParams: map[string]string{ "Id": "id", "State": "state", "Timeout": "timeout", }, }, { Action: "create", Entity: graph.SecurityGroup.String(), Api: "ec2", Input: "CreateSecurityGroupInput", ApiMethod: "CreateSecurityGroup", OutputExtractor: "aws.StringValue(output.GroupId)", RequiredParams: map[string]string{ "GroupName": "name", "VpcId": "vpc", "Description": "description", }, }, { Action: "update", Entity: graph.SecurityGroup.String(), Api: "ec2", ManualFuncDefinition: true, RequiredParams: map[string]string{ "GroupId": "id", "CidrIp": "cidr", "IpProtocol": "protocol", }, }, { Action: "delete", Entity: graph.SecurityGroup.String(), Api: "ec2", Input: "DeleteSecurityGroupInput", ApiMethod: "DeleteSecurityGroup", RequiredParams: map[string]string{ "GroupId": "id", }, }, { Action: "create", Entity: graph.Volume.String(), Api: "ec2", Input: "CreateVolumeInput", ApiMethod: "CreateVolume", OutputExtractor: "aws.StringValue(output.VolumeId)", RequiredParams: map[string]string{ "AvailabilityZone": "zone", "Size": "size", }, }, { Action: "delete", Entity: graph.Volume.String(), Api: "ec2", Input: "DeleteVolumeInput", ApiMethod: "DeleteVolume", RequiredParams: map[string]string{ "VolumeId": "id", }, }, { Action: "attach", Entity: graph.Volume.String(), Api: "ec2", Input: "AttachVolumeInput", ApiMethod: "AttachVolume", OutputExtractor: "aws.StringValue(output.VolumeId)", RequiredParams: map[string]string{ "Device": "device", "VolumeId": "id", "InstanceId": "instance", }, }, { Action: "create", Entity: graph.InternetGateway.String(), Api: "ec2", Input: "CreateInternetGatewayInput", ApiMethod: "CreateInternetGateway", OutputExtractor: "aws.StringValue(output.InternetGateway.InternetGatewayId)", RequiredParams: map[string]string{}, }, { Action: "delete", Entity: graph.InternetGateway.String(), Api: "ec2", Input: "DeleteInternetGatewayInput", ApiMethod: "DeleteInternetGateway", RequiredParams: map[string]string{ "InternetGatewayId": "id", }, }, { Action: "attach", Entity: graph.InternetGateway.String(), Api: "ec2", Input: "AttachInternetGatewayInput", ApiMethod: "AttachInternetGateway", RequiredParams: map[string]string{ "InternetGatewayId": "id", "VpcId": "vpc", }, }, { Action: "detach", Entity: graph.InternetGateway.String(), Api: "ec2", Input: "DetachInternetGatewayInput", ApiMethod: "DetachInternetGateway", RequiredParams: map[string]string{ "InternetGatewayId": "id", "VpcId": "vpc", }, }, { Action: "create", Entity: graph.RouteTable.String(), Api: "ec2", Input: "CreateRouteTableInput", ApiMethod: "CreateRouteTable", OutputExtractor: "aws.StringValue(output.RouteTable.RouteTableId)", RequiredParams: map[string]string{ "VpcId": "vpc"}, }, { Action: "delete", Entity: graph.RouteTable.String(), Api: "ec2", Input: "DeleteRouteTableInput", ApiMethod: "DeleteRouteTable", RequiredParams: map[string]string{ "RouteTableId": "id", }, }, { Action: "attach", Entity: graph.RouteTable.String(), Api: "ec2", Input: "AssociateRouteTableInput", ApiMethod: "AssociateRouteTable", OutputExtractor: "aws.StringValue(output.AssociationId)", RequiredParams: map[string]string{ "RouteTableId": "id", "SubnetId": "subnet", }, }, { Action: "detach", Entity: graph.RouteTable.String(), Api: "ec2", Input: "DisassociateRouteTableInput", ApiMethod: "DisassociateRouteTable", RequiredParams: map[string]string{ "AssociationId": "association", }, }, { Action: "create", Entity: "route", Api: "ec2", Input: "CreateRouteInput", ApiMethod: "CreateRoute", RequiredParams: map[string]string{ "RouteTableId": "table", "DestinationCidrBlock": "cidr", "GatewayId": "gateway", }, }, { Action: "delete", Entity: "route", Api: "ec2", Input: "DeleteRouteInput", ApiMethod: "DeleteRoute", RequiredParams: map[string]string{ "RouteTableId": "table", "DestinationCidrBlock": "cidr", }, }, { Action: "create", Entity: "tags", Api: "ec2", ManualFuncDefinition: true, RequiredParams: map[string]string{ "Resources": "resource", }, }, { Action: "create", Entity: graph.Keypair.String(), Api: "ec2", ManualFuncDefinition: true, RequiredParams: map[string]string{ "KeyName": "name", }, }, { Action: "delete", Entity: graph.Keypair.String(), Api: "ec2", Input: "DeleteKeyPairInput", ApiMethod: "DeleteKeyPair", RequiredParams: map[string]string{ "KeyName": "id", }, }, { Action: "create", Entity: graph.User.String(), Api: "iam", DryRunUnsupported: true, Input: "CreateUserInput", ApiMethod: "CreateUser", OutputExtractor: "aws.StringValue(output.User.UserId)", RequiredParams: map[string]string{ "UserName": "name", }, }, { Action: "delete", Entity: graph.User.String(), Api: "iam", DryRunUnsupported: true, Input: "DeleteUserInput", ApiMethod: "DeleteUser", RequiredParams: map[string]string{ "UserName": "name", }, }, { Action: "create", Entity: graph.Group.String(), Api: "iam", DryRunUnsupported: true, Input: "CreateGroupInput", ApiMethod: "CreateGroup", OutputExtractor: "aws.StringValue(output.Group.GroupId)", RequiredParams: map[string]string{ "GroupName": "name", }, }, { Action: "delete", Entity: graph.Group.String(), Api: "iam", DryRunUnsupported: true, Input: "DeleteGroupInput", ApiMethod: "DeleteGroup", RequiredParams: map[string]string{ "GroupName": "name", }, }, { Action: "attach", Entity: graph.Policy.String(), Api: "iam", DryRunUnsupported: true, Input: "AttachUserPolicyInput", ApiMethod: "AttachUserPolicy", RequiredParams: map[string]string{ "PolicyArn": "arn", "UserName": "user", }, }, { Action: "detach", Entity: "policy", Api: "iam", DryRunUnsupported: true, Input: "DetachUserPolicyInput", ApiMethod: "DetachUserPolicy", RequiredParams: map[string]string{ "PolicyArn": "arn", "UserName": "user", }, }, { Action: "create", Entity: graph.Bucket.String(), Api: "s3", DryRunUnsupported: true, Input: "CreateBucketInput", ApiMethod: "CreateBucket", OutputExtractor: "params[\"name\"]", RequiredParams: map[string]string{ "Bucket": "name", }, }, { Action: "delete", Entity: graph.Bucket.String(), Api: "s3", DryRunUnsupported: true, Input: "DeleteBucketInput", ApiMethod: "DeleteBucket", RequiredParams: map[string]string{ "Bucket": "name", }, }, { Action: "create", Entity: graph.Object.String(), Api: "s3", ManualFuncDefinition: true, RequiredParams: map[string]string{ "Bucket": "bucket", "Body": "file", }, ExtraParams: map[string]string{ "Key": "name", }, }, { Action: "delete", Entity: graph.Object.String(), Api: "s3", DryRunUnsupported: true, Input: "DeleteObjectInput", ApiMethod: "DeleteObject", RequiredParams: map[string]string{ "Bucket": "bucket", "Key": "key", }, }, }
Functions ¶
func DriverSupportedActions ¶
Types ¶
type AwsDriver ¶
type AwsDriver struct {
// contains filtered or unexported fields
}
func (*AwsDriver) Attach_Internetgateway ¶
This function was auto generated
func (*AwsDriver) Attach_Internetgateway_DryRun ¶
func (d *AwsDriver) Attach_Internetgateway_DryRun(params map[string]interface{}) (interface{}, error)
This function was auto generated
func (*AwsDriver) Attach_Policy ¶
This function was auto generated
func (*AwsDriver) Attach_Policy_DryRun ¶
This function was auto generated
func (*AwsDriver) Attach_Routetable ¶
This function was auto generated
func (*AwsDriver) Attach_Routetable_DryRun ¶
This function was auto generated
func (*AwsDriver) Attach_Volume ¶
This function was auto generated
func (*AwsDriver) Attach_Volume_DryRun ¶
This function was auto generated
func (*AwsDriver) Check_Instance ¶
func (*AwsDriver) Check_Instance_DryRun ¶
func (*AwsDriver) Create_Bucket ¶
This function was auto generated
func (*AwsDriver) Create_Bucket_DryRun ¶
This function was auto generated
func (*AwsDriver) Create_Group ¶
This function was auto generated
func (*AwsDriver) Create_Group_DryRun ¶
This function was auto generated
func (*AwsDriver) Create_Instance ¶
This function was auto generated
func (*AwsDriver) Create_Instance_DryRun ¶
This function was auto generated
func (*AwsDriver) Create_Internetgateway ¶
This function was auto generated
func (*AwsDriver) Create_Internetgateway_DryRun ¶
func (d *AwsDriver) Create_Internetgateway_DryRun(params map[string]interface{}) (interface{}, error)
This function was auto generated
func (*AwsDriver) Create_Keypair ¶
func (*AwsDriver) Create_Keypair_DryRun ¶
func (*AwsDriver) Create_Route ¶
This function was auto generated
func (*AwsDriver) Create_Route_DryRun ¶
This function was auto generated
func (*AwsDriver) Create_Routetable ¶
This function was auto generated
func (*AwsDriver) Create_Routetable_DryRun ¶
This function was auto generated
func (*AwsDriver) Create_Securitygroup ¶
This function was auto generated
func (*AwsDriver) Create_Securitygroup_DryRun ¶
This function was auto generated
func (*AwsDriver) Create_Storageobject ¶
This function was auto generated
func (*AwsDriver) Create_Storageobject_DryRun ¶
This function was auto generated
func (*AwsDriver) Create_Subnet ¶
This function was auto generated
func (*AwsDriver) Create_Subnet_DryRun ¶
This function was auto generated
func (*AwsDriver) Create_Tags ¶
func (*AwsDriver) Create_Tags_DryRun ¶
func (*AwsDriver) Create_User ¶
This function was auto generated
func (*AwsDriver) Create_User_DryRun ¶
This function was auto generated
func (*AwsDriver) Create_Volume ¶
This function was auto generated
func (*AwsDriver) Create_Volume_DryRun ¶
This function was auto generated
func (*AwsDriver) Create_Vpc ¶
This function was auto generated
func (*AwsDriver) Create_Vpc_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_Bucket ¶
This function was auto generated
func (*AwsDriver) Delete_Bucket_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_Group ¶
This function was auto generated
func (*AwsDriver) Delete_Group_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_Instance ¶
This function was auto generated
func (*AwsDriver) Delete_Instance_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_Internetgateway ¶
This function was auto generated
func (*AwsDriver) Delete_Internetgateway_DryRun ¶
func (d *AwsDriver) Delete_Internetgateway_DryRun(params map[string]interface{}) (interface{}, error)
This function was auto generated
func (*AwsDriver) Delete_Keypair ¶
This function was auto generated
func (*AwsDriver) Delete_Keypair_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_Route ¶
This function was auto generated
func (*AwsDriver) Delete_Route_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_Routetable ¶
This function was auto generated
func (*AwsDriver) Delete_Routetable_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_Securitygroup ¶
This function was auto generated
func (*AwsDriver) Delete_Securitygroup_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_Storageobject ¶
This function was auto generated
func (*AwsDriver) Delete_Storageobject_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_Subnet ¶
This function was auto generated
func (*AwsDriver) Delete_Subnet_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_User ¶
This function was auto generated
func (*AwsDriver) Delete_User_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_Volume ¶
This function was auto generated
func (*AwsDriver) Delete_Volume_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_Vpc ¶
This function was auto generated
func (*AwsDriver) Delete_Vpc_DryRun ¶
This function was auto generated
func (*AwsDriver) Detach_Internetgateway ¶
This function was auto generated
func (*AwsDriver) Detach_Internetgateway_DryRun ¶
func (d *AwsDriver) Detach_Internetgateway_DryRun(params map[string]interface{}) (interface{}, error)
This function was auto generated
func (*AwsDriver) Detach_Policy ¶
This function was auto generated
func (*AwsDriver) Detach_Policy_DryRun ¶
This function was auto generated
func (*AwsDriver) Detach_Routetable ¶
This function was auto generated
func (*AwsDriver) Detach_Routetable_DryRun ¶
This function was auto generated
func (*AwsDriver) Start_Instance ¶
This function was auto generated
func (*AwsDriver) Start_Instance_DryRun ¶
This function was auto generated
func (*AwsDriver) Stop_Instance ¶
This function was auto generated
func (*AwsDriver) Stop_Instance_DryRun ¶
This function was auto generated
func (*AwsDriver) Update_Instance ¶
This function was auto generated
func (*AwsDriver) Update_Instance_DryRun ¶
This function was auto generated
func (*AwsDriver) Update_Securitygroup ¶
func (*AwsDriver) Update_Securitygroup_DryRun ¶
func (*AwsDriver) Update_Subnet ¶
This function was auto generated
func (*AwsDriver) Update_Subnet_DryRun ¶
This function was auto generated