plugins

package
v0.0.0-...-81fcf0e Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2020 License: Apache-2.0 Imports: 35 Imported by: 2

Documentation

Index

Constants

View Source
const (
	LB_TYPE_EXTERNAL = "external_lb"
	LB_TYPE_INTERNAL = "internal_lb"
)
View Source
const (
	CHARGE_TYPE_PREPAID = "PREPAID"
	CHARGE_TYPE_BY_HOUR = "POSTPAID_BY_HOUR"
	RESULT_CODE_SUCCESS = "0"
	RESULT_CODE_ERROR   = "1"

	ARRAY_SIZE_REAL        = "realSize"
	ARRAY_SIZE_AS_EXPECTED = "fillArrayWithExpectedNum"
)
View Source
const (
	MARIADB_VERSION_10_0_10  = "10.0.10"
	MARIADB_VERSION_10_01_09 = "10.1.9"
	MARIADB_VERSION_05_07_17 = "5.7.17"

	DEFAULT_MARIADB_USER_NAME              = "mariadb"
	DEFAULT_MARIADB_CHARACTER_SET          = "utf8"
	DEFAULT_MARIADB_LOWER_CASE_TABLE_NAMES = "1"

	MARIADB_WAIT_INIT_STATUS = 3
	MARIADB_RUNNING_STATUS   = 2

	MARIADB_FLOW_SUCCESS_STATUS = 0
	MARIADB_FLOW_FAILED_STATUS  = 1
	MARAIDB_FLOW_DOING_STATUS   = 2
)
View Source
const (
	MYSQL_VM_STATUS_RUNNING  = 1
	MYSQL_VM_STATUS_ISOLATED = 5

	MYSQL_INSTANCE_ROLE_MASTER            = "master"
	MYSQL_INSTANCE_ROLE_READONLY          = "ro"
	MYSQL_INSTANCE_ROLE_DISASTER_RECOVERY = "dr"
)
View Source
const (
	BACKUP_METHOD_LOGICAL  = "logical"
	BACKUP_METHOD_PHYSICAL = "physical"
)

--------------create backup interface ----------------------//

View Source
const (
	PROVIDER_NAME = "qcloud"
	VERSION       = "v1"
)
View Source
const (
	REDIS_STATUS_RUNNING  = 4
	REDIS_STATUS_ISOLATED = 5
)
View Source
const (
	QCLOUD_ENDPOINT_VPC                = "vpc.tencentcloudapi.com"
	QCLOUD_ERR_CODE_RESOURCE_NOT_FOUND = "ResourceNotFound"
)
View Source
const (
	DISK_STATE_ATTACHED   = "ATTACHED"
	DISK_STATE_UNATTACHED = "UNATTACHED"
)
View Source
const (
	QCLOUD_ENDPOINT_CVM              = "cvm.tencentcloudapi.com"
	RENEW_FLAG_NOTIFY_AND_AUTO_RENEW = "NOTIFY_AND_AUTO_RENEW"
)
View Source
const (
	ELASTIC_NIC_STATE_AVAILABLE = "AVAILABLE"
)
View Source
const (
	INSTANCE_STATE_RUNNING = "RUNNING"
)

Variables

View Source
var (
	INVALID_PARAMETERS          = errors.New("Invalid parameters")
	VM_WAIT_STATE_TIMEOUT_ERROR = errors.New("qcloud wait vm timeout")
	VM_NOT_FOUND_ERROR          = errors.New("qcloud vm not found")
)
View Source
var BillingModeMap = map[string]int64{
	CHARGE_TYPE_BY_HOUR: 0,
	CHARGE_TYPE_PREPAID: 1,
}
View Source
var BucketActions = make(map[string]Action)
View Source
var EIPActions = make(map[string]Action)
View Source
var ElasticNicActions = make(map[string]Action)
View Source
var LogActions = make(map[string]Action)

LogActions define

View Source
var MariadbActions = make(map[string]Action)
View Source
var MysqlVmActions = make(map[string]Action)
View Source
var NatGatewayActions = make(map[string]Action)
View Source
var PeeringConnectionActions = make(map[string]Action)
View Source
var RedisActions = make(map[string]Action)
View Source
var RoutePolicyActions = make(map[string]Action)
View Source
var RouteTableActions = make(map[string]Action)
View Source
var SecurityGroupActions = make(map[string]Action)
View Source
var SecurityPolicyActions = make(map[string]Action)
View Source
var StorageActions = make(map[string]Action)
View Source
var SubnetActions = make(map[string]Action)
View Source
var UserActions = make(map[string]Action)
View Source
var VmActions = make(map[string]Action)
View Source
var VpcActions = make(map[string]Action)

Functions

func BindCvmInstanceSecurityGroups

func BindCvmInstanceSecurityGroups(providerParams string, instanceId string, securityGroups []string) error

func BindMariadbInstanceSecurityGroups

func BindMariadbInstanceSecurityGroups(providerParams string, instanceId string, securityGroups []string) error

func BindMySqlInstanceSecurityGroups

func BindMySqlInstanceSecurityGroups(providerParams string, instanceId string, securityGroups []string) error

func CountLineNumber

func CountLineNumber(wLine int, rLine string) (string, string)

CountLineNumber .

func CreateCbsClient

func CreateCbsClient(region, secretId, secretKey string) (client *cbs.Client, err error)

func CreateDescribeZonesClient

func CreateDescribeZonesClient(region, secretId, secretKey string) (client *cvm.Client, err error)

func CreateEIPClient

func CreateEIPClient(region, secretId, secretKey string) (client *vpc.Client, err error)

func CreateElasticNicClient

func CreateElasticNicClient(region, secretId, secretKey string) (client *vpc.Client, err error)

func CreateMariadbClient

func CreateMariadbClient(region, secretId, secretKey string) (client *mariadb.Client, err error)

func CreateMysqlVmClient

func CreateMysqlVmClient(region, secretId, secretKey string) (client *cdb.Client, err error)

func CreateRedisClient

func CreateRedisClient(region, secretId, secretKey string) (client *redis.Client, err error)

func CreateRouteTableClient

func CreateRouteTableClient(region, secretId, secretKey string) (client *vpc.Client, err error)

func CreateSecurityGroup

func CreateSecurityGroup(providerParam string, name string, description string) (string, error)

func CreateSubnetClient

func CreateSubnetClient(region, secretId, secretKey string) (client *vpc.Client, err error)

func CreateVpcClient

func CreateVpcClient(region, secretId, secretKey string) (client *vpc.Client, err error)

func ExtractJsonFromStruct

func ExtractJsonFromStruct(s interface{}) map[string]string

func GetArrayFromString

func GetArrayFromString(rawData string, arraySizeType string, expectedLen int) ([]string, error)

func GetAvaliableZoneInfo

func GetAvaliableZoneInfo(region, secretid, secretkey string) (map[string]int, error)

func GetMapFromProviderParams

func GetMapFromProviderParams(providerParams string) (map[string]string, error)

func GetRegionFromProviderParams

func GetRegionFromProviderParams(providerParams string) (string, error)

func IsValidValue

func IsValidValue(inputValue string, validValues []string) error

func LogReadLine

func LogReadLine(cmd *exec.Cmd, stdout io.ReadCloser) ([]string, error)

LogReadLine .

func QueryCvmInstance

func QueryCvmInstance(providerParams string, filter Filter) ([]*cvm.Instance, error)

func QueryMariadbInstance

func QueryMariadbInstance(providerParams string, filter Filter) ([]*mariadb.DBInstance, error)

func QueryMariadbInstanceSecurityGroups

func QueryMariadbInstanceSecurityGroups(providerParams string, instanceId string) ([]string, error)

func QueryMySqlInstanceSecurityGroups

func QueryMySqlInstanceSecurityGroups(providerParams string, instanceId string) ([]string, error)

-------------query security group by instanceId-----------//

func QueryMysqlInstance

func QueryMysqlInstance(providerParams string, filter Filter) ([]*cdb.InstanceInfo, error)

--------------query mysql instance ------------------//

func QuerySecurityGroupPolicies

func QuerySecurityGroupPolicies(providerParam string, securityGroupId string) (vpc.SecurityGroupPolicySet, error)

func QuerySecurityGroups

func QuerySecurityGroups(providerParam string, securityGroupIds []string) ([]*vpc.SecurityGroup, error)

func RegisterPlugin

func RegisterPlugin(name string, plugin Plugin)

func SetBucketAcl

func SetBucketAcl(region, secretID, secretKey, bucketUrl, uin, permission string) error

func TransLittleCamelcaseToShortLineFormat

func TransLittleCamelcaseToShortLineFormat(inputValue string) (string, error)

func UnmarshalJson

func UnmarshalJson(source interface{}, target interface{}) error

Types

type Action

type Action interface {
	ReadParam(param interface{}) (interface{}, error)
	//CheckParam(param interface{}) error
	Do(param interface{}) (interface{}, error)
}

type AddBackTargetAction

type AddBackTargetAction struct {
}

func (*AddBackTargetAction) Do

func (action *AddBackTargetAction) Do(input interface{}) (interface{}, error)

func (*AddBackTargetAction) ReadParam

func (action *AddBackTargetAction) ReadParam(param interface{}) (interface{}, error)

type AssociateRouteTableInput

type AssociateRouteTableInput struct {
	CallBackParameter
	Guid           string `json:"guid,omitempty"`
	ProviderParams string `json:"provider_params,omitempty"`
	SubnetId       string `json:"subnet_id,omitempty"`
	RouteTableId   string `json:"route_table_id,omitempty"`
	Location       string `json:"location"`
	APISecret      string `json:"api_secret"`
}

type AssociateRouteTableInputs

type AssociateRouteTableInputs struct {
	Inputs []AssociateRouteTableInput `json:"inputs,omitempty"`
}

---------------associate subnet-----------------------//

type AssociateRouteTableOutput

type AssociateRouteTableOutput struct {
	CallBackParameter
	Result
	RequestId string `json:"request_id,omitempty"`
	Guid      string `json:"guid,omitempty"`
}

type AssociateRouteTableOutputs

type AssociateRouteTableOutputs struct {
	Outputs []AssociateRouteTableOutput `json:"outputs,omitempty"`
}

type BackTargetInput

type BackTargetInput struct {
	CallBackParameter
	Guid           string `json:"guid"`
	ProviderParams string `json:"provider_params"`
	LbId           string `json:"lb_id"`
	Port           string `json:"lb_port"`
	Protocol       string `json:"protocol"`
	HostIds        string `json:"host_ids"`
	HostPorts      string `json:"host_ports"`
	Location       string `json:"location"`
	APISecret      string `json:"api_secret"`
	DeleteListener string `json:"delete_listener"`
}

type BackTargetInputs

type BackTargetInputs struct {
	Inputs []BackTargetInput `json:"inputs,omitempty"`
}

type BackTargetOutput

type BackTargetOutput struct {
	CallBackParameter
	Result
	ListenerId string `json:"listener_id,omitempty"`
	Guid       string `json:"guid,omitempty"`
}

type BackTargetOutputs

type BackTargetOutputs struct {
	Outputs []BackTargetOutput `json:"outputs,omitempty"`
}

type BucketCreateAction

type BucketCreateAction struct {
}

func (*BucketCreateAction) Do

func (action *BucketCreateAction) Do(input interface{}) (interface{}, error)

func (*BucketCreateAction) ReadParam

func (action *BucketCreateAction) ReadParam(param interface{}) (interface{}, error)

type BucketDeleteAction

type BucketDeleteAction struct {
}

func (*BucketDeleteAction) Do

func (action *BucketDeleteAction) Do(input interface{}) (interface{}, error)

func (*BucketDeleteAction) ReadParam

func (action *BucketDeleteAction) ReadParam(param interface{}) (interface{}, error)

type BucketInput

type BucketInput struct {
	CallBackParameter
	Guid           string `json:"guid,omitempty"`
	BucketName     string `json:"bucket_name,omitempty"`
	ProviderParams string `json:"provider_params,omitempty"`
	Location       string `json:"location"`
	APISecret      string `json:"api_secret"`
	AccountAppId   string `json:"account_app_id"`
	IsPublic       string `json:"is_public"`
	ForceDelete    string `json:"force_delete"`
}

type BucketInputs

type BucketInputs struct {
	Inputs []BucketInput `json:"inputs,omitempty"`
}

type BucketOutput

type BucketOutput struct {
	CallBackParameter
	Result
	RequestId  string `json:"request_id,omitempty"`
	Guid       string `json:"guid,omitempty"`
	BucketName string `json:"bucket_name,omitempty"`
	BucketUrl  string `json:"bucket_url,omitempty"`
}

type BucketOutputs

type BucketOutputs struct {
	Outputs []BucketOutput `json:"outputs,omitempty"`
}

type BucketPlugin

type BucketPlugin struct {
}

func (*BucketPlugin) GetActionByName

func (plugin *BucketPlugin) GetActionByName(actionName string) (Action, error)

type CallBackParameter

type CallBackParameter struct {
	Parameter string `json:"callbackParameter,omitempty"`
}

type CbsPlugin

type CbsPlugin struct {
}

func (*CbsPlugin) GetActionByName

func (plugin *CbsPlugin) GetActionByName(actionName string) (Action, error)

type ClbDetail

type ClbDetail struct {
	Id     string
	Vip    string
	Status uint64 // 0 创建中  ,1 正常运行
	Name   string
}

type ClbPlugin

type ClbPlugin struct {
}

func (*ClbPlugin) GetActionByName

func (plugin *ClbPlugin) GetActionByName(actionName string) (Action, error)

type ClbTargetPlugin

type ClbTargetPlugin struct {
}

func (*ClbTargetPlugin) GetActionByName

func (plugin *ClbTargetPlugin) GetActionByName(actionName string) (Action, error)

type CommonInputs

type CommonInputs struct {
	Inputs []interface{} `json:"inputs,omitempty"`
}

type CreateAndMountCbsDiskAction

type CreateAndMountCbsDiskAction struct {
}

func (*CreateAndMountCbsDiskAction) Do

func (action *CreateAndMountCbsDiskAction) Do(input interface{}) (interface{}, error)

func (*CreateAndMountCbsDiskAction) ReadParam

func (action *CreateAndMountCbsDiskAction) ReadParam(param interface{}) (interface{}, error)

type CreateAndMountCbsDiskInput

type CreateAndMountCbsDiskInput struct {
	CallBackParameter
	Guid             string `json:"guid,omitempty"`
	ProviderParams   string `json:"provider_params,omitempty"`
	DiskType         string `json:"disk_type,omitempty"`
	DiskSize         string `json:"disk_size,omitempty"`
	DiskName         string `json:"disk_name,omitempty"`
	Id               string `json:"id,omitempty"`
	DiskChargeType   string `json:"disk_charge_type,omitempty"`
	DiskChargePeriod string `json:"disk_charge_period,omitempty"`
	Location         string `json:"location"`
	APISecret        string `json:"api_secret"`

	//use to attch and format
	InstanceId       string `json:"instance_id,omitempty"`
	InstanceGuid     string `json:"instance_guid,omitempty"`
	InstanceSeed     string `json:"seed,omitempty"`
	InstancePassword string `json:"password,omitempty"`
	FileSystemType   string `json:"file_system_type,omitempty"`
	MountDir         string `json:"mount_dir,omitempty"`
}

type CreateAndMountCbsDiskInputs

type CreateAndMountCbsDiskInputs struct {
	Inputs []CreateAndMountCbsDiskInput `json:"inputs,omitempty"`
}

type CreateAndMountCbsDiskOutput

type CreateAndMountCbsDiskOutput struct {
	CallBackParameter
	Result
	Guid       string `json:"guid,omitempty"`
	VolumeName string `json:"volume_name,omitempty"`
	DiskId     string `json:"disk_id,omitempty"`
}

type CreateAndMountCbsDiskOutputs

type CreateAndMountCbsDiskOutputs struct {
	Outputs []CreateAndMountCbsDiskOutput `json:"outputs,omitempty"`
}

type CreateClbAction

type CreateClbAction struct {
}

func (*CreateClbAction) Do

func (action *CreateClbAction) Do(input interface{}) (interface{}, error)

func (*CreateClbAction) ReadParam

func (action *CreateClbAction) ReadParam(param interface{}) (interface{}, error)

type CreateClbInput

type CreateClbInput struct {
	CallBackParameter
	Guid           string `json:"guid"`
	ProviderParams string `json:"provider_params"`
	Name           string `json:"name"`
	Type           string `json:"type"`
	VpcId          string `json:"vpc_id"`
	SubnetId       string `json:"subnet_id"`
	Id             string `json:"id"`
	Location       string `json:"location"`
	APISecret      string `json:"api_secret"`
}

type CreateClbInputs

type CreateClbInputs struct {
	Inputs []CreateClbInput `json:"inputs,omitempty"`
}

type CreateClbOutput

type CreateClbOutput struct {
	CallBackParameter
	Result
	Guid string `json:"guid,omitempty"`
	Id   string `json:"id,omitempty"`
	Vip  string `json:"vip,omitempty"`
}

type CreateClbOutputs

type CreateClbOutputs struct {
	Outputs []CreateClbOutput `json:"outputs,omitempty"`
}

type CreateRoutePolicyAction

type CreateRoutePolicyAction struct {
}

func (*CreateRoutePolicyAction) Do

func (action *CreateRoutePolicyAction) Do(input interface{}) (interface{}, error)

func (*CreateRoutePolicyAction) ReadParam

func (action *CreateRoutePolicyAction) ReadParam(param interface{}) (interface{}, error)

type CreateRoutePolicyInput

type CreateRoutePolicyInput struct {
	CallBackParameter
	Guid            string `json:"guid,omitempty"`
	Id              string `json:"id,omitempty"`
	ProviderParams  string `json:"provider_params,omitempty"`
	RouteTableId    string `json:"route_table_id,omitempty"`
	DestinationCidr string `json:"dest_cidr,omitempty"`
	GatewayType     string `json:"gateway_type,omitempty"`
	GatewayId       string `json:"gateway_id,omitempty"`
	Description     string `json:"desc,omitempty"`
	Location        string `json:"location"`
	APISecret       string `json:"api_secret"`
}

type CreateRoutePolicyInputs

type CreateRoutePolicyInputs struct {
	Inputs []CreateRoutePolicyInput `json:"inputs,omitempty"`
}

type CreateRoutePolicyOutput

type CreateRoutePolicyOutput struct {
	CallBackParameter
	Result
	RequestId string `json:"request_id,omitempty"`
	Guid      string `json:"guid,omitempty"`
	Id        string `json:"id,omitempty"`
}

type CreateRoutePolicyOutputs

type CreateRoutePolicyOutputs struct {
	Outputs []CreateRoutePolicyOutput `json:"outputs,omitempty"`
}

type CreateSubnetWithRouteTableAction

type CreateSubnetWithRouteTableAction struct {
}

CreateSubnetWithRouteTable

func (*CreateSubnetWithRouteTableAction) Do

func (action *CreateSubnetWithRouteTableAction) Do(input interface{}) (interface{}, error)

func (*CreateSubnetWithRouteTableAction) ReadParam

func (action *CreateSubnetWithRouteTableAction) ReadParam(param interface{}) (interface{}, error)

type DelBackTargetAction

type DelBackTargetAction struct {
}

func (*DelBackTargetAction) Do

func (action *DelBackTargetAction) Do(input interface{}) (interface{}, error)

func (*DelBackTargetAction) ReadParam

func (action *DelBackTargetAction) ReadParam(param interface{}) (interface{}, error)

type DelBackTargetOutput

type DelBackTargetOutput struct {
	CallBackParameter
	Result
	Guid string `json:"guid,omitempty"`
}

type DelBackTargetOutputs

type DelBackTargetOutputs struct {
	Outputs []DelBackTargetOutput `json:"outputs,omitempty"`
}

type DeleteRoutePolicyAction

type DeleteRoutePolicyAction struct {
}

func (*DeleteRoutePolicyAction) Do

func (action *DeleteRoutePolicyAction) Do(input interface{}) (interface{}, error)

func (*DeleteRoutePolicyAction) ReadParam

func (action *DeleteRoutePolicyAction) ReadParam(param interface{}) (interface{}, error)

type DeleteRoutePolicyInput

type DeleteRoutePolicyInput struct {
	CallBackParameter
	Guid           string `json:"guid,omitempty"`
	Id             string `json:"id,omitempty"`
	ProviderParams string `json:"provider_params,omitempty"`
	RouteTableId   string `json:"route_table_id,omitempty"`
	Location       string `json:"location"`
	APISecret      string `json:"api_secret"`
}

type DeleteRoutePolicyInputs

type DeleteRoutePolicyInputs struct {
	Inputs []DeleteRoutePolicyInput `json:"inputs,omitempty"`
}

----------------------terminate route policy----------------------

type DeleteRoutePolicyOutput

type DeleteRoutePolicyOutput struct {
	CallBackParameter
	Result
	RequestId string `json:"request_id,omitempty"`
	Guid      string `json:"guid,omitempty"`
}

type DeleteRoutePolicyOutputs

type DeleteRoutePolicyOutputs struct {
	Outputs []DeleteRoutePolicyOutput `json:"outputs,omitempty"`
}

type EIPAttachAction

type EIPAttachAction struct {
}

func (*EIPAttachAction) Do

func (action *EIPAttachAction) Do(input interface{}) (interface{}, error)

func (*EIPAttachAction) ReadParam

func (action *EIPAttachAction) ReadParam(param interface{}) (interface{}, error)

type EIPBindNatAction

type EIPBindNatAction struct {
}

func (*EIPBindNatAction) Do

func (action *EIPBindNatAction) Do(input interface{}) (interface{}, error)

func (*EIPBindNatAction) ReadParam

func (action *EIPBindNatAction) ReadParam(param interface{}) (interface{}, error)

type EIPCreateAction

type EIPCreateAction struct {
}

func (*EIPCreateAction) Do

func (action *EIPCreateAction) Do(input interface{}) (interface{}, error)

func (*EIPCreateAction) ReadParam

func (action *EIPCreateAction) ReadParam(param interface{}) (interface{}, error)

type EIPDetachAction

type EIPDetachAction struct {
}

func (*EIPDetachAction) Do

func (action *EIPDetachAction) Do(input interface{}) (interface{}, error)

func (*EIPDetachAction) ReadParam

func (action *EIPDetachAction) ReadParam(param interface{}) (interface{}, error)

type EIPInfo

type EIPInfo struct {
	EIP string `json:"eip,omitempty"`
	Id  string `json:"id,omitempty"`
}

type EIPInput

type EIPInput struct {
	CallBackParameter
	Guid           string `json:"guid,omitempty"`
	ProviderParams string `json:"provider_params,omitempty"`
	AddressCount   string `json:"address_count,omitempty"`
	InstanceId     string `json:"instance_id,omitempty"`
	VpcId          string `json:"vpc_id,omitempty"`
	NatId          string `json:"nat_id,omitempty"`
	Eip            string `json:"eip,omitempty"`
	Id             string `json:"id,omitempty"`
	Location       string `json:"location"`
	APISecret      string `json:"api_secret"`
}

type EIPInputs

type EIPInputs struct {
	Inputs []EIPInput `json:"inputs,omitempty"`
}

type EIPOutput

type EIPOutput struct {
	CallBackParameter
	Result
	RequestId string    `json:"request_id,omitempty"`
	Guid      string    `json:"guid,omitempty"`
	EIPS      []EIPInfo `json:"eips,omitempty"`
}

type EIPOutputs

type EIPOutputs struct {
	Outputs []EIPOutput `json:"outputs,omitempty"`
}

type EIPPlugin

type EIPPlugin struct {
}

func (*EIPPlugin) GetActionByName

func (plugin *EIPPlugin) GetActionByName(actionName string) (Action, error)

type EIPTerminateAction

type EIPTerminateAction struct {
}

func (*EIPTerminateAction) Do

func (action *EIPTerminateAction) Do(input interface{}) (interface{}, error)

func (*EIPTerminateAction) ReadParam

func (action *EIPTerminateAction) ReadParam(param interface{}) (interface{}, error)

type EIPUnBindNatAction

type EIPUnBindNatAction struct {
}

func (*EIPUnBindNatAction) Do

func (action *EIPUnBindNatAction) Do(input interface{}) (interface{}, error)

func (*EIPUnBindNatAction) ReadParam

func (action *EIPUnBindNatAction) ReadParam(param interface{}) (interface{}, error)

type ElasticNicAttachAction

type ElasticNicAttachAction struct {
}

func (*ElasticNicAttachAction) Do

func (action *ElasticNicAttachAction) Do(input interface{}) (interface{}, error)

func (*ElasticNicAttachAction) ReadParam

func (action *ElasticNicAttachAction) ReadParam(param interface{}) (interface{}, error)

type ElasticNicCreateAction

type ElasticNicCreateAction struct {
}

func (*ElasticNicCreateAction) Do

func (action *ElasticNicCreateAction) Do(input interface{}) (interface{}, error)

func (*ElasticNicCreateAction) ReadParam

func (action *ElasticNicCreateAction) ReadParam(param interface{}) (interface{}, error)

type ElasticNicDetachAction

type ElasticNicDetachAction struct {
}

func (*ElasticNicDetachAction) Do

func (action *ElasticNicDetachAction) Do(input interface{}) (interface{}, error)

func (*ElasticNicDetachAction) ReadParam

func (action *ElasticNicDetachAction) ReadParam(param interface{}) (interface{}, error)

type ElasticNicInput

type ElasticNicInput struct {
	CallBackParameter
	Guid               string   `json:"guid,omitempty"`
	ProviderParams     string   `json:"provider_params,omitempty"`
	Name               string   `json:"name,omitempty"`
	Description        string   `json:"description,omitempty"`
	SecurityGroupId    []string `json:"security_group_id,omitempty"`
	PrivateIpAddresses []string `json:"private_ip_addr,omitempty"`
	VpcId              string   `json:"vpc_id,omitempty"`
	SubnetId           string   `json:"subnet_id,omitempty"`
	InstanceId         string   `json:"instance_id,omitempty"`
	Id                 string   `json:"id,omitempty"`
	Location           string   `json:"location"`
	APISecret          string   `json:"api_secret"`
}

type ElasticNicInputs

type ElasticNicInputs struct {
	Inputs []ElasticNicInput `json:"inputs,omitempty"`
}

type ElasticNicOutput

type ElasticNicOutput struct {
	CallBackParameter
	Result
	RequestId       string   `json:"request_id,omitempty"`
	Guid            string   `json:"guid,omitempty"`
	Id              string   `json:"id,omitempty"`
	PrivateIp       string   `json:"private_ip,omitempty"`
	AttachGroupList []string `json:"attach_group_list,omitempty"`
}

type ElasticNicOutputs

type ElasticNicOutputs struct {
	Outputs []ElasticNicOutput `json:"outputs,omitempty"`
}

type ElasticNicPlugin

type ElasticNicPlugin struct {
}

func (*ElasticNicPlugin) GetActionByName

func (plugin *ElasticNicPlugin) GetActionByName(actionName string) (Action, error)

type ElasticNicTerminateAction

type ElasticNicTerminateAction struct {
}

func (*ElasticNicTerminateAction) Do

func (action *ElasticNicTerminateAction) Do(input interface{}) (interface{}, error)

func (*ElasticNicTerminateAction) ReadParam

func (action *ElasticNicTerminateAction) ReadParam(param interface{}) (interface{}, error)

type Filter

type Filter struct {
	Name   string
	Values []string
}

type LogPlugin

type LogPlugin struct {
}

LogPlugin .

func (*LogPlugin) GetActionByName

func (plugin *LogPlugin) GetActionByName(actionName string) (Action, error)

GetActionByName .

type LogSearchAction

type LogSearchAction struct {
}

LogSearchAction .

func (*LogSearchAction) Do

func (action *LogSearchAction) Do(input interface{}) (interface{}, error)

Do .

func (*LogSearchAction) ReadParam

func (action *LogSearchAction) ReadParam(param interface{}) (interface{}, error)

ReadParam .

func (*LogSearchAction) Search

func (action *LogSearchAction) Search(input *SearchInput) (interface{}, error)

Search .

type LogSearchDetailAction

type LogSearchDetailAction struct {
}

LogSearchDetailAction .

func (*LogSearchDetailAction) Do

func (action *LogSearchDetailAction) Do(input interface{}) (interface{}, error)

Do .

func (*LogSearchDetailAction) ReadParam

func (action *LogSearchDetailAction) ReadParam(param interface{}) (interface{}, error)

ReadParam .

func (*LogSearchDetailAction) SearchDetail

func (action *LogSearchDetailAction) SearchDetail(input *SearchDetailInput) (string, error)

SearchDetail .

type MariadbCreateAction

type MariadbCreateAction struct {
}

func (*MariadbCreateAction) Do

func (action *MariadbCreateAction) Do(input interface{}) (interface{}, error)

func (*MariadbCreateAction) ReadParam

func (action *MariadbCreateAction) ReadParam(param interface{}) (interface{}, error)

type MariadbInput

type MariadbInput struct {
	CallBackParameter
	Guid           string `json:"guid,omitempty"`
	Seed           string `json:"seed,omitempty"`
	ProviderParams string `json:"provider_params,omitempty"`
	UserName       string `json:"user_name,omitempty"`
	Location       string `json:"location"`
	APISecret      string `json:"api_secret"`

	Id           string `json:"id,omitempty"`
	Zones        string `json:"zones,omitempty"` //split by ,
	NodeCount    string `json:"node_count,omitempty"`
	MemorySize   string `json:"memory_size,omitempty"`
	StorageSize  string `json:"storage_size,omitempty"`
	VpcId        string `json:"vpc_id,omitempty"`
	SubnetId     string `json:"subnet_id,omitempty"`
	ChargePeriod string `json:"charge_period,omitempty"`
	DbVersion    string `json:"db_version,omitempty"`
	Password     string `json:"password,omitempty"`

	//初始化时使用
	CharacterSet        string `json:"character_set,omitempty"`
	LowerCaseTableNames string `json:"lower_case_table_names,omitempty"`
}

type MariadbInputs

type MariadbInputs struct {
	Inputs []MariadbInput `json:"inputs,omitempty"`
}

type MariadbOutput

type MariadbOutput struct {
	CallBackParameter
	Result
	RequestId string `json:"request_id,omitempty"`
	Guid      string `json:"guid,omitempty"`
	Id        string `json:"id,omitempty"`
	PrivateIp string `json:"private_ip,omitempty"`
	Port      string `json:"private_port,omitempty"`
	UserName  string `json:"user_name,omitempty"`
	Password  string `json:"password,omitempty"`
}

type MariadbOutputs

type MariadbOutputs struct {
	Outputs []MariadbOutput `json:"outputs,omitempty"`
}

type MariadbPlugin

type MariadbPlugin struct {
}

func (*MariadbPlugin) GetActionByName

func (plugin *MariadbPlugin) GetActionByName(actionName string) (Action, error)

type MysqlBindSecurityGroupAction

type MysqlBindSecurityGroupAction struct {
}

-------------add security group to instance-----------//

func (*MysqlBindSecurityGroupAction) Do

func (action *MysqlBindSecurityGroupAction) Do(input interface{}) (interface{}, error)

func (*MysqlBindSecurityGroupAction) ReadParam

func (action *MysqlBindSecurityGroupAction) ReadParam(param interface{}) (interface{}, error)

type MysqlBindSecurityGroupInput

type MysqlBindSecurityGroupInput struct {
	CallBackParameter
	Guid             string `json:"guid,omitempty"`
	ProviderParams   string `json:"provider_params,omitempty"`
	MySqlId          string `json:"mysql_id,omitempty"`
	SecurityGroupIds string `json:"security_group_ids,omitempty"`
	Location         string `json:"location"`
	APISecret        string `json:"api_secret"`
}

type MysqlBindSecurityGroupInputs

type MysqlBindSecurityGroupInputs struct {
	Inputs []MysqlBindSecurityGroupInput `json:"inputs,omitempty"`
}

type MysqlBindSecurityGroupOutput

type MysqlBindSecurityGroupOutput struct {
	CallBackParameter
	Result
	Guid string `json:"guid,omitempty"`
}

type MysqlBindSecurityGroupOutputs

type MysqlBindSecurityGroupOutputs struct {
	Outputs []MysqlBindSecurityGroupOutput `json:"outputs,omitempty"`
}

type MysqlCreateBackupAction

type MysqlCreateBackupAction struct {
}

func (*MysqlCreateBackupAction) Do

func (action *MysqlCreateBackupAction) Do(input interface{}) (interface{}, error)

func (*MysqlCreateBackupAction) ReadParam

func (action *MysqlCreateBackupAction) ReadParam(param interface{}) (interface{}, error)

type MysqlCreateBackupInput

type MysqlCreateBackupInput struct {
	CallBackParameter
	Guid           string `json:"guid,omitempty"`
	ProviderParams string `json:"provider_params,omitempty"`
	MysqlId        string `json:"mysql_id,omitempty"`
	BackUpMethod   string `json:"backup_method,omitempty"`
	BackUpDatabase string `json:"backup_database,omitempty"`
	BackUpTable    string `json:"backup_table,omitempty"`
	Location       string `json:"location"`
	APISecret      string `json:"api_secret"`
}

type MysqlCreateBackupInputs

type MysqlCreateBackupInputs struct {
	Inputs []MysqlCreateBackupInput `json:"inputs,omitempty"`
}

type MysqlCreateBackupOutput

type MysqlCreateBackupOutput struct {
	CallBackParameter
	Result
	Guid     string `json:"guid,omitempty"`
	BackupId string `json:"backup_id,omitempty"`
}

type MysqlCreateBackupOutputs

type MysqlCreateBackupOutputs struct {
	Outputs []MysqlCreateBackupOutput `json:"outputs,omitempty"`
}

type MysqlDeleteBackupAction

type MysqlDeleteBackupAction struct {
}

----------delete backup action-------------//

func (*MysqlDeleteBackupAction) Do

func (action *MysqlDeleteBackupAction) Do(input interface{}) (interface{}, error)

func (*MysqlDeleteBackupAction) ReadParam

func (action *MysqlDeleteBackupAction) ReadParam(param interface{}) (interface{}, error)

type MysqlDeleteBackupInput

type MysqlDeleteBackupInput struct {
	CallBackParameter
	Guid           string `json:"guid,omitempty"`
	ProviderParams string `json:"provider_params,omitempty"`
	MySqlId        string `json:"mysql_id,omitempty"`
	BackupId       string `json:"backup_id,omitempty"`
	Location       string `json:"location"`
	APISecret      string `json:"api_secret"`
}

type MysqlDeleteBackupInputs

type MysqlDeleteBackupInputs struct {
	Inputs []MysqlDeleteBackupInput `json:"inputs,omitempty"`
}

type MysqlDeleteBackupOutput

type MysqlDeleteBackupOutput struct {
	CallBackParameter
	Result
	Guid string `json:"guid,omitempty"`
}

type MysqlDeleteBackupOutputs

type MysqlDeleteBackupOutputs struct {
	Outputs []MysqlDeleteBackupOutput `json:"outputs,omitempty"`
}

type MysqlVmCreateAction

type MysqlVmCreateAction struct {
}

func (*MysqlVmCreateAction) Do

func (action *MysqlVmCreateAction) Do(input interface{}) (interface{}, error)

func (*MysqlVmCreateAction) MysqlVmCreateCheckParam

func (action *MysqlVmCreateAction) MysqlVmCreateCheckParam(input MysqlVmInput) error

func (*MysqlVmCreateAction) ReadParam

func (action *MysqlVmCreateAction) ReadParam(param interface{}) (interface{}, error)

type MysqlVmInput

type MysqlVmInput struct {
	CallBackParameter
	Guid             string `json:"guid,omitempty"`
	Seed             string `json:"seed,omitempty"`
	ProviderParams   string `json:"provider_params,omitempty"`
	InstanceRole     string `json:"instance_role,omitempty"`
	MasterInstanceId string `json:"master_instance_id,omitempty"`
	MasterRegion     string `json:"master_region,omitempty"`
	EngineVersion    string `json:"engine_version,omitempty"`
	MemorySize       string `json:"memory_size,omitempty"`
	VolumeSize       string `json:"volume_size,omitempty"`
	VpcId            string `json:"vpc_id,omitempty"`
	SubnetId         string `json:"subnet_id,omitempty"`
	Name             string `json:"name,omitempty"`
	Id               string `json:"id,omitempty"`
	Count            int64  `json:"count,omitempty"`
	ChargeType       string `json:"charge_type,omitempty"`
	ChargePeriod     string `json:"charge_period,omitempty"`
	Password         string `json:"password,omitempty"`
	UserName         string `json:"user_name,omitempty"`
	Location         string `json:"location"`
	APISecret        string `json:"api_secret"`

	//初始化时使用
	CharacterSet        string `json:"character_set,omitempty"`
	LowerCaseTableNames string `json:"lower_case_table_names,omitempty"`
}

type MysqlVmInputs

type MysqlVmInputs struct {
	Inputs []MysqlVmInput `json:"inputs,omitempty"`
}

type MysqlVmOutput

type MysqlVmOutput struct {
	CallBackParameter
	Result
	RequestId string `json:"request_id,omitempty"`
	Guid      string `json:"guid,omitempty"`
	Id        string `json:"id,omitempty"`
	PrivateIp string `json:"private_ip,omitempty"`

	//用户名和密码
	Port     string `json:"private_port,omitempty"`
	UserName string `json:"user_name,omitempty"`
	Password string `json:"password,omitempty"`
}

type MysqlVmOutputs

type MysqlVmOutputs struct {
	Outputs []MysqlVmOutput `json:"outputs,omitempty"`
}

type MysqlVmPlugin

type MysqlVmPlugin struct {
}

func (*MysqlVmPlugin) GetActionByName

func (plugin *MysqlVmPlugin) GetActionByName(actionName string) (Action, error)

type MysqlVmRestartAction

type MysqlVmRestartAction struct {
}

func (*MysqlVmRestartAction) Do

func (action *MysqlVmRestartAction) Do(input interface{}) (interface{}, error)

func (*MysqlVmRestartAction) ReadParam

func (action *MysqlVmRestartAction) ReadParam(param interface{}) (interface{}, error)

type MysqlVmTerminateAction

type MysqlVmTerminateAction struct {
}

func (*MysqlVmTerminateAction) Do

func (action *MysqlVmTerminateAction) Do(input interface{}) (interface{}, error)

func (*MysqlVmTerminateAction) ReadParam

func (action *MysqlVmTerminateAction) ReadParam(param interface{}) (interface{}, error)

type NatGatewayCreateAction

type NatGatewayCreateAction struct {
}

func (*NatGatewayCreateAction) Do

func (action *NatGatewayCreateAction) Do(input interface{}) (interface{}, error)

func (*NatGatewayCreateAction) ReadParam

func (action *NatGatewayCreateAction) ReadParam(param interface{}) (interface{}, error)

type NatGatewayInput

type NatGatewayInput struct {
	CallBackParameter
	Guid            string `json:"guid,omitempty"`
	ProviderParams  string `json:"provider_params,omitempty"`
	Name            string `json:"name,omitempty"`
	VpcId           string `json:"vpc_id,omitempty"`
	MaxConcurrent   string `json:"max_concurrent,omitempty"`
	BandWidth       string `json:"bandwidth,omitempty"`
	AssignedEipSet  string `json:"assigned_eip_set,omitempty"`
	AutoAllocEipNum int    `json:"auto_alloc_eip_num,omitempty"`
	Id              string `json:"id,omitempty"`
	Eip             string `json:"eip,omitempty"`
	EipId           string `json:"eip_id,omitempty"`
	Location        string `json:"location"`
	APISecret       string `json:"api_secret"`
}

type NatGatewayInputs

type NatGatewayInputs struct {
	Inputs []NatGatewayInput `json:"inputs,omitempty"`
}

type NatGatewayOutput

type NatGatewayOutput struct {
	CallBackParameter
	Result
	RequestId string `json:"request_id,omitempty"`
	Guid      string `json:"guid,omitempty"`
	Id        string `json:"id,omitempty"`
	Eip       string `json:"eip,omitempty"`
	EipId     string `json:"eip_id,omitempty"`
}

type NatGatewayOutputs

type NatGatewayOutputs struct {
	Outputs []NatGatewayOutput `json:"outputs,omitempty"`
}

type NatGatewayPlugin

type NatGatewayPlugin struct {
}

func (*NatGatewayPlugin) GetActionByName

func (plugin *NatGatewayPlugin) GetActionByName(actionName string) (Action, error)

type NatGatewayTerminateAction

type NatGatewayTerminateAction struct {
}

func (*NatGatewayTerminateAction) Do

func (action *NatGatewayTerminateAction) Do(input interface{}) (interface{}, error)

func (*NatGatewayTerminateAction) ReadParam

func (action *NatGatewayTerminateAction) ReadParam(param interface{}) (interface{}, error)

type PeeringConnectionCreateAction

type PeeringConnectionCreateAction struct {
}

func (*PeeringConnectionCreateAction) Do

func (action *PeeringConnectionCreateAction) Do(input interface{}) (interface{}, error)

func (*PeeringConnectionCreateAction) ReadParam

func (action *PeeringConnectionCreateAction) ReadParam(param interface{}) (interface{}, error)

type PeeringConnectionInput

type PeeringConnectionInput struct {
	CallBackParameter
	Guid               string `json:"guid,omitempty"`
	ProviderParams     string `json:"provider_params,omitempty"`
	Name               string `json:"name,omitempty"`
	PeerProviderParams string `json:"peer_provider_params,omitempty"`
	VpcId              string `json:"vpc_id,omitempty"`
	PeerVpcId          string `json:"peer_vpc_id,omitempty"`
	PeerUin            string `json:"peer_uin,omitempty"`
	Bandwidth          string `json:"bandwidth,omitempty"`
	Id                 string `json:"id,omitempty"`
	Location           string `json:"location"`
	APISecret          string `json:"api_secret"`
	PeerLocation       string `json:"peer_location"`
}

type PeeringConnectionInputs

type PeeringConnectionInputs struct {
	Inputs []PeeringConnectionInput `json:"inputs,omitempty"`
}

type PeeringConnectionOutput

type PeeringConnectionOutput struct {
	CallBackParameter
	Result
	RequestId string `json:"request_id,omitempty"`
	Guid      string `json:"guid,omitempty"`
	Id        string `json:"id,omitempty"`
}

type PeeringConnectionOutputs

type PeeringConnectionOutputs struct {
	Outputs []PeeringConnectionOutput `json:"outputs,omitempty"`
}

type PeeringConnectionPlugin

type PeeringConnectionPlugin struct {
}

func (*PeeringConnectionPlugin) GetActionByName

func (plugin *PeeringConnectionPlugin) GetActionByName(actionName string) (Action, error)

type PeeringConnectionTerminateAction

type PeeringConnectionTerminateAction struct {
}

func (*PeeringConnectionTerminateAction) Do

func (action *PeeringConnectionTerminateAction) Do(input interface{}) (interface{}, error)

func (*PeeringConnectionTerminateAction) ReadParam

func (action *PeeringConnectionTerminateAction) ReadParam(param interface{}) (interface{}, error)

type Plugin

type Plugin interface {
	GetActionByName(actionName string) (Action, error)
}

type PluginRequest

type PluginRequest struct {
	Version      string
	ProviderName string
	Name         string
	Action       string
	Parameters   interface{}
}

type PluginResponse

type PluginResponse struct {
	ResultCode string      `json:"resultCode"`
	ResultMsg  string      `json:"resultMessage"`
	Results    interface{} `json:"results"`
}

func Process

func Process(pluginRequest *PluginRequest) (*PluginResponse, error)

type RedisCreateAction

type RedisCreateAction struct {
}

func (*RedisCreateAction) Do

func (action *RedisCreateAction) Do(input interface{}) (interface{}, error)

func (*RedisCreateAction) ReadParam

func (action *RedisCreateAction) ReadParam(param interface{}) (interface{}, error)

type RedisDeleteAction

type RedisDeleteAction struct {
}

func (*RedisDeleteAction) Do

func (action *RedisDeleteAction) Do(input interface{}) (interface{}, error)

func (*RedisDeleteAction) ReadParam

func (action *RedisDeleteAction) ReadParam(param interface{}) (interface{}, error)

type RedisDeleteInput

type RedisDeleteInput struct {
	CallBackParameter
	Guid           string `json:"guid,omitempty"`
	ID             string `json:"id,omitempty"`
	ProviderParams string `json:"provider_params,omitempty"`
	Location       string `json:"location"`
	APISecret      string `json:"api_secret"`
}

type RedisDeleteInputs

type RedisDeleteInputs struct {
	Inputs []RedisDeleteInput `json:"inputs,omitempty"`
}

type RedisDeleteOutput

type RedisDeleteOutput struct {
	CallBackParameter
	Result
	Guid      string `json:"guid,omitempty"`
	RequestId string `json:"request_id,omitempty"`
	ID        string `json:"id,omitempty"`
}

type RedisDeleteOutputs

type RedisDeleteOutputs struct {
	Outputs []RedisDeleteOutput `json:"outputs,omitempty"`
}

type RedisInput

type RedisInput struct {
	CallBackParameter
	Guid             string `json:"guid,omitempty"`
	InstanceName     string `json:"instance_name,omitempty"`
	ProviderParams   string `json:"provider_params,omitempty"`
	TypeID           string `json:"type_id,omitempty"`
	MemSize          string `json:"mem_size,omitempty"`
	GoodsNum         uint64 `json:"goods_num,omitempty"`
	Period           string `json:"period,omitempty"`
	Password         string `json:"password,omitempty"`
	BillingMode      string `json:"billing_mode,omitempty"`
	VpcID            string `json:"vpc_id,omitempty"`
	SubnetID         string `json:"subnet_id,omitempty"`
	SecurityGroupIds string `json:"security_group_ids,omitempty"`
	ID               string `json:"id,omitempty"`
	Location         string `json:"location"`
	APISecret        string `json:"api_secret"`
	Seed             string `json:"seed,omitempty"`
}

type RedisInputs

type RedisInputs struct {
	Inputs []RedisInput `json:"inputs,omitempty"`
}

type RedisOutput

type RedisOutput struct {
	CallBackParameter
	Result
	RequestId    string `json:"request_id,omitempty"`
	Guid         string `json:"guid,omitempty"`
	InstanceName string `json:"instance_name,omitempty"`
	DealID       string `json:"deal_id,omitempty"`
	TaskID       int64  `json:"task_id,omitempty"`
	ID           string `json:"id,omitempty"`
	Vip          string `json:"vip,omitempty"`
	Port         string `json:"port,omitempty"`
	Password     string `json:"password,omitempty"`
}

type RedisOutputs

type RedisOutputs struct {
	Outputs []RedisOutput `json:"outputs,omitempty"`
}

type RedisPlugin

type RedisPlugin struct {
}

func (*RedisPlugin) GetActionByName

func (plugin *RedisPlugin) GetActionByName(actionName string) (Action, error)

type Result

type Result struct {
	Code    string `json:"errorCode"`
	Message string `json:"errorMessage"`
}

type RoutePolicyPlugin

type RoutePolicyPlugin struct {
}

func (*RoutePolicyPlugin) GetActionByName

func (plugin *RoutePolicyPlugin) GetActionByName(actionName string) (Action, error)

type RouteTableAssociateSubnetAction

type RouteTableAssociateSubnetAction struct {
}

func (*RouteTableAssociateSubnetAction) Do

func (action *RouteTableAssociateSubnetAction) Do(input interface{}) (interface{}, error)

func (*RouteTableAssociateSubnetAction) ReadParam

func (action *RouteTableAssociateSubnetAction) ReadParam(param interface{}) (interface{}, error)

type RouteTableCreateAction

type RouteTableCreateAction struct {
}

func (*RouteTableCreateAction) Do

func (action *RouteTableCreateAction) Do(input interface{}) (interface{}, error)

func (*RouteTableCreateAction) ReadParam

func (action *RouteTableCreateAction) ReadParam(param interface{}) (interface{}, error)

type RouteTableInput

type RouteTableInput struct {
	CallBackParameter
	Guid           string `json:"guid,omitempty"`
	ProviderParams string `json:"provider_params,omitempty"`
	Id             string `json:"id,omitempty"`
	Name           string `json:"name,omitempty"`
	VpcId          string `json:"vpc_id,omitempty"`
	Location       string `json:"location"`
	APISecret      string `json:"api_secret"`
}

type RouteTableInputs

type RouteTableInputs struct {
	Inputs []RouteTableInput `json:"inputs,omitempty"`
}

type RouteTableOutput

type RouteTableOutput struct {
	CallBackParameter
	Result
	RequestId string `json:"request_id,omitempty"`
	Guid      string `json:"guid,omitempty"`
	Id        string `json:"id,omitempty"`
}

type RouteTableOutputs

type RouteTableOutputs struct {
	Outputs []RouteTableOutput `json:"outputs,omitempty"`
}

type RouteTablePlugin

type RouteTablePlugin struct {
}

func (*RouteTablePlugin) GetActionByName

func (plugin *RouteTablePlugin) GetActionByName(actionName string) (Action, error)

type RouteTableTerminateAction

type RouteTableTerminateAction struct {
}

func (*RouteTableTerminateAction) Do

func (action *RouteTableTerminateAction) Do(input interface{}) (interface{}, error)

func (*RouteTableTerminateAction) ReadParam

func (action *RouteTableTerminateAction) ReadParam(param interface{}) (interface{}, error)

type SearchDetailInput

type SearchDetailInput struct {
	CallBackParameter
	FileName        string `json:"file_name,omitempty"`
	LineNumber      string `json:"line_number,omitempty"`
	RelateLineCount int    `json:"relate_line_count,omitempty"`
}

SearchDetailInput .

type SearchDetailInputs

type SearchDetailInputs struct {
	Inputs []SearchDetailInput `json:"inputs,omitempty"`
}

SearchDetailInputs .

type SearchDetailOutput

type SearchDetailOutput struct {
	CallBackParameter
	Result
	FileName   string `json:"file_name,omitempty"`
	LineNumber string `json:"line_number,omitempty"`
	Logs       string `json:"logs,omitempty"`
}

SearchDetailOutput .

type SearchDetailOutputs

type SearchDetailOutputs struct {
	Outputs []SearchDetailOutput `json:"outputs,omitempty"`
}

SearchDetailOutputs .

type SearchInput

type SearchInput struct {
	CallBackParameter
	Guid       string `json:"guid,omitempty"`
	KeyWord    string `json:"key_word,omitempty"`
	LineNumber int    `json:"line_number,omitempty"`
}

SearchInput .

type SearchInputs

type SearchInputs struct {
	Inputs []SearchInput `json:"inputs,omitempty"`
}

SearchInputs .

type SearchOutput

type SearchOutput struct {
	CallBackParameter
	Result
	FileName string `json:"file_name,omitempty"`
	Line     string `json:"line_number,omitempty"`
	Log      string `json:"log,omitempty"`
}

SearchOutput .

type SearchOutputs

type SearchOutputs struct {
	Outputs []SearchOutput `json:"outputs,omitempty"`
}

SearchOutputs .

type SecurityGroupCreateAction

type SecurityGroupCreateAction struct{}

func (*SecurityGroupCreateAction) Do

func (action *SecurityGroupCreateAction) Do(input interface{}) (interface{}, error)

func (*SecurityGroupCreateAction) ReadParam

func (action *SecurityGroupCreateAction) ReadParam(param interface{}) (interface{}, error)

type SecurityGroupCreateInput

type SecurityGroupCreateInput struct {
	CallBackParameter
	Guid           string `json:"guid,omitempty"`
	ProviderParams string `json:"provider_params,omitempty"`
	Name           string `json:"name,omitempty"`
	Id             string `json:"id,omitempty"`
	Description    string `json:"description,omitempty"`
	Location       string `json:"location"`
	APISecret      string `json:"api_secret"`
}

type SecurityGroupCreateInputs

type SecurityGroupCreateInputs struct {
	Inputs []SecurityGroupCreateInput `json:"inputs,omitempty"`
}

type SecurityGroupCreateOutput

type SecurityGroupCreateOutput struct {
	CallBackParameter
	Result
	// RequestId string `json:"request_id,omitempty"`
	Guid string `json:"guid,omitempty"`
	Id   string `json:"id,omitempty"`
}

type SecurityGroupCreateOutputs

type SecurityGroupCreateOutputs struct {
	Outputs []SecurityGroupCreateOutput `json:"outputs,omitempty"`
}

type SecurityGroupCreatePolicies

type SecurityGroupCreatePolicies struct {
}

func (*SecurityGroupCreatePolicies) Do

func (action *SecurityGroupCreatePolicies) Do(input interface{}) (interface{}, error)

func (*SecurityGroupCreatePolicies) ReadParam

func (action *SecurityGroupCreatePolicies) ReadParam(param interface{}) (interface{}, error)

type SecurityGroupDeletePolicies

type SecurityGroupDeletePolicies struct {
}

func (*SecurityGroupDeletePolicies) Do

func (action *SecurityGroupDeletePolicies) Do(input interface{}) (interface{}, error)

func (*SecurityGroupDeletePolicies) ReadParam

func (action *SecurityGroupDeletePolicies) ReadParam(param interface{}) (interface{}, error)

type SecurityGroupPlugin

type SecurityGroupPlugin struct{}

func (*SecurityGroupPlugin) GetActionByName

func (plugin *SecurityGroupPlugin) GetActionByName(actionName string) (Action, error)

type SecurityGroupPolicyInput

type SecurityGroupPolicyInput struct {
	CallBackParameter
	Guid              string `json:"guid,omitempty"`
	ProviderParams    string `json:"provider_params,omitempty"`
	Id                string `json:"security_group_id,omitempty"`
	PolicyType        string `json:"policy_type,omitempty"`
	PolicyCidrBlock   string `json:"policy_cidr_block,omitempty"`
	PolicyProtocol    string `json:"policy_protocol,omitempty"`
	PolicyPort        string `json:"policy_port,omitempty"`
	PolicyAction      string `json:"policy_action,omitempty"`
	PolicyDescription string `json:"policy_description,omitempty"`
	Location          string `json:"location"`
	APISecret         string `json:"api_secret"`
}

type SecurityGroupPolicyInputs

type SecurityGroupPolicyInputs struct {
	Inputs []SecurityGroupPolicyInput `json:"inputs,omitempty"`
}

type SecurityGroupPolicyOutput

type SecurityGroupPolicyOutput struct {
	CallBackParameter
	Result
	RequestId string `json:"requestId,omitempty"`
	Guid      string `json:"guid,omitempty"`
}

type SecurityGroupPolicyOutputs

type SecurityGroupPolicyOutputs struct {
	Outputs []SecurityGroupPolicyOutput `json:"outputs,omitempty"`
}

type SecurityGroupTerminateAction

type SecurityGroupTerminateAction struct{}

func (*SecurityGroupTerminateAction) Do

func (action *SecurityGroupTerminateAction) Do(input interface{}) (interface{}, error)

func (*SecurityGroupTerminateAction) ReadParam

func (action *SecurityGroupTerminateAction) ReadParam(param interface{}) (interface{}, error)

type SecurityGroupTerminateInput

type SecurityGroupTerminateInput struct {
	CallBackParameter
	Guid           string `json:"guid,omitempty"`
	ProviderParams string `json:"provider_params,omitempty"`
	Id             string `json:"id,omitempty"`
	Location       string `json:"location"`
	APISecret      string `json:"api_secret"`
}

type SecurityGroupTerminateInputs

type SecurityGroupTerminateInputs struct {
	Inputs []SecurityGroupTerminateInput `json:"inputs,omitempty"`
}

type SecurityGroupTerminateOutput

type SecurityGroupTerminateOutput struct {
	CallBackParameter
	Result
	// RequestId string `json:"request_id,omitempty"`
	Guid string `json:"guid,omitempty"`
	Id   string `json:"id,omitempty"`
}

type SecurityGroupTerminateOutputs

type SecurityGroupTerminateOutputs struct {
	Outputs []SecurityGroupTerminateOutput `json:"outputs,omitempty"`
}

type SecurityPolicyPlugin

type SecurityPolicyPlugin struct {
}

func (*SecurityPolicyPlugin) GetActionByName

func (plugin *SecurityPolicyPlugin) GetActionByName(actionName string) (Action, error)

type StorageCreateAction

type StorageCreateAction struct {
}

func (*StorageCreateAction) Do

func (action *StorageCreateAction) Do(input interface{}) (interface{}, error)

func (*StorageCreateAction) ReadParam

func (action *StorageCreateAction) ReadParam(param interface{}) (interface{}, error)

type StorageInput

type StorageInput struct {
	CallBackParameter
	Guid             string `json:"guid,omitempty"`
	ProviderParams   string `json:"provider_params,omitempty"`
	DiskType         string `json:"disk_type,omitempty"`
	DiskSize         string `json:"disk_size,omitempty"`
	DiskName         string `json:"disk_name,omitempty"`
	Id               string `json:"id,omitempty"`
	DiskChargeType   string `json:"disk_charge_type,omitempty"`
	DiskChargePeriod string `json:"disk_charge_period,omitempty"`
	InstanceId       string `json:"instance_id,omitempty"`
	Location         string `json:"location"`
	APISecret        string `json:"api_secret"`
}

type StorageInputs

type StorageInputs struct {
	Inputs []StorageInput `json:"inputs,omitempty"`
}

type StorageOutput

type StorageOutput struct {
	CallBackParameter
	Result
	Guid      string `json:"guid,omitempty"`
	RequestId string `json:"request_id,omitempty"`
	Id        string `json:"id,omitempty"`
}

type StorageOutputs

type StorageOutputs struct {
	Outputs []StorageOutput `json:"outputs,omitempty"`
}

type StoragePlugin

type StoragePlugin struct {
}

func (*StoragePlugin) GetActionByName

func (plugin *StoragePlugin) GetActionByName(actionName string) (Action, error)

type StorageTerminateAction

type StorageTerminateAction struct {
}

func (*StorageTerminateAction) Do

func (action *StorageTerminateAction) Do(input interface{}) (interface{}, error)

func (*StorageTerminateAction) ReadParam

func (action *StorageTerminateAction) ReadParam(param interface{}) (interface{}, error)

type SubnetCreateAction

type SubnetCreateAction struct {
}

func (*SubnetCreateAction) Do

func (action *SubnetCreateAction) Do(input interface{}) (interface{}, error)

func (*SubnetCreateAction) ReadParam

func (action *SubnetCreateAction) ReadParam(param interface{}) (interface{}, error)

type SubnetInput

type SubnetInput struct {
	CallBackParameter
	Guid           string `json:"guid,omitempty"`
	ProviderParams string `json:"provider_params,omitempty"`
	Id             string `json:"id,omitempty"`
	Name           string `json:"name,omitempty"`
	CidrBlock      string `json:"cidr_block,omitempty"`
	VpcId          string `json:"vpc_id,omitempty"`
	RouteTableId   string `json:"route_table_id,omitempty"`
	Location       string `json:"location"`
	APISecret      string `json:"api_secret"`
}

type SubnetInputs

type SubnetInputs struct {
	Inputs []SubnetInput `json:"inputs,omitempty"`
}

type SubnetOutput

type SubnetOutput struct {
	CallBackParameter
	Result
	RequestId    string `json:"request_id,omitempty"`
	Guid         string `json:"guid,omitempty"`
	Id           string `json:"id,omitempty"`
	RouteTableId string `json:"route_table_id,omitempty"`
}

type SubnetOutputs

type SubnetOutputs struct {
	Outputs []SubnetOutput `json:"outputs,omitempty"`
}

type SubnetPlugin

type SubnetPlugin struct {
}

func (*SubnetPlugin) GetActionByName

func (plugin *SubnetPlugin) GetActionByName(actionName string) (Action, error)

type SubnetTerminateAction

type SubnetTerminateAction struct {
}

func (*SubnetTerminateAction) Do

func (action *SubnetTerminateAction) Do(input interface{}) (interface{}, error)

func (*SubnetTerminateAction) ReadParam

func (action *SubnetTerminateAction) ReadParam(param interface{}) (interface{}, error)

type TerminateClbAction

type TerminateClbAction struct {
}

func (*TerminateClbAction) Do

func (action *TerminateClbAction) Do(input interface{}) (interface{}, error)

func (*TerminateClbAction) ReadParam

func (action *TerminateClbAction) ReadParam(param interface{}) (interface{}, error)

type TerminateClbInput

type TerminateClbInput struct {
	CallBackParameter
	Guid           string `json:"guid"`
	ProviderParams string `json:"provider_params"`
	Id             string `json:"id"`
	Location       string `json:"location"`
	APISecret      string `json:"api_secret"`
}

type TerminateClbInputs

type TerminateClbInputs struct {
	Inputs []TerminateClbInput `json:"inputs,omitempty"`
}

type TerminateClbOutput

type TerminateClbOutput struct {
	CallBackParameter
	Result
	Guid string `json:"guid,omitempty"`
}

type TerminateClbOutputs

type TerminateClbOutputs struct {
	Outputs []TerminateClbOutput `json:"outputs,omitempty"`
}

type TerminateSubnetWithRouteTableAction

type TerminateSubnetWithRouteTableAction struct {
}

func (*TerminateSubnetWithRouteTableAction) Do

func (action *TerminateSubnetWithRouteTableAction) Do(input interface{}) (interface{}, error)

func (*TerminateSubnetWithRouteTableAction) ReadParam

func (action *TerminateSubnetWithRouteTableAction) ReadParam(param interface{}) (interface{}, error)

type UmountAndTerminateDiskAction

type UmountAndTerminateDiskAction struct {
}

-----------umount action ------------//

func (*UmountAndTerminateDiskAction) Do

func (action *UmountAndTerminateDiskAction) Do(input interface{}) (interface{}, error)

func (*UmountAndTerminateDiskAction) ReadParam

func (action *UmountAndTerminateDiskAction) ReadParam(param interface{}) (interface{}, error)

type UmountCbsDiskInput

type UmountCbsDiskInput struct {
	CallBackParameter
	Guid           string `json:"guid,omitempty"`
	ProviderParams string `json:"provider_params,omitempty"`
	Id             string `json:"id,omitempty"`
	VolumeName     string `json:"volume_name,omitempty"`
	MountDir       string `json:"mount_dir,omitempty"`
	Location       string `json:"location"`
	APISecret      string `json:"api_secret"`

	//use to attch and format
	InstanceId       string `json:"instance_id,omitempty"`
	InstanceGuid     string `json:"instance_guid,omitempty"`
	InstanceSeed     string `json:"seed,omitempty"`
	InstancePassword string `json:"password,omitempty"`
}

type UmountCbsDiskInputs

type UmountCbsDiskInputs struct {
	Inputs []UmountCbsDiskInput `json:"inputs,omitempty"`
}

type UmountCbsDiskOutput

type UmountCbsDiskOutput struct {
	CallBackParameter
	Result
	Guid string `json:"guid,omitempty"`
}

type UmountCbsDiskOutputs

type UmountCbsDiskOutputs struct {
	Outputs []UmountCbsDiskOutput `json:"outputs,omitempty"`
}

type UnformatedDisks

type UnformatedDisks struct {
	Volumes []string `json:"unformatedDisks,omitempty"`
}

type UserAddAction

type UserAddAction struct {
}

func (*UserAddAction) Do

func (action *UserAddAction) Do(input interface{}) (interface{}, error)

func (*UserAddAction) ReadParam

func (action *UserAddAction) ReadParam(param interface{}) (interface{}, error)

type UserDeleteAction

type UserDeleteAction struct {
}

func (*UserDeleteAction) Do

func (action *UserDeleteAction) Do(input interface{}) (interface{}, error)

func (*UserDeleteAction) ReadParam

func (action *UserDeleteAction) ReadParam(param interface{}) (interface{}, error)

type UserInput

type UserInput struct {
	CallBackParameter
	Guid             string `json:"guid,omitempty"`
	UserName         string `json:"user_name,omitempty"`
	Password         string `json:"password,omitempty"`
	ProviderParams   string `json:"provider_params,omitempty"`
	Location         string `json:"location,omitempty"`
	APISecret        string `json:"api_secret,omitempty"`
	BucketUrl        string `json:"bucket_url,omitempty"`
	BucketPermission string `json:"bucket_permission,omitempty"`
	Seed             string `json:"seed,omitempty"`
}

type UserInputs

type UserInputs struct {
	Inputs []UserInput `json:"inputs,omitempty"`
}

type UserObj

type UserObj struct {
	UserName string `json:"user_name"`
	Uin      string `json:"uin"`
	Uid      string `json:"uid"`
}

func ListSubUsers

func ListSubUsers(client *cam.Client) (users []UserObj, err error)

type UserOutput

type UserOutput struct {
	CallBackParameter
	Result
	RequestId string `json:"request_id,omitempty"`
	Guid      string `json:"guid,omitempty"`
	SecretId  string `json:"secret_id,omitempty"`
	SecretKey string `json:"secret_key,omitempty"`
	Password  string `json:"password,omitempty"`
	Uid       string `json:"uid,omitempty"`
	Uin       string `json:"uin,omitempty"`
}

type UserOutputs

type UserOutputs struct {
	Outputs []UserOutput `json:"outputs,omitempty"`
}

type UserPlugin

type UserPlugin struct {
}

func (*UserPlugin) GetActionByName

func (plugin *UserPlugin) GetActionByName(actionName string) (Action, error)

type VmAddSecurityGroupsAction

type VmAddSecurityGroupsAction struct {
}

func (*VmAddSecurityGroupsAction) Do

func (action *VmAddSecurityGroupsAction) Do(inputs interface{}) (interface{}, error)

func (*VmAddSecurityGroupsAction) ReadParam

func (action *VmAddSecurityGroupsAction) ReadParam(param interface{}) (interface{}, error)

type VmAddSecurityGroupsInputs

type VmAddSecurityGroupsInputs struct {
	Inputs []VmBindSecurityGroupInput `json:"inputs,omitempty"`
}

type VmAddSecurityGroupsOutputs

type VmAddSecurityGroupsOutputs struct {
	Outputs []VmBindSecurityGroupOutput `json:"outputs,omitempty"`
}

type VmBindSecurityGroupInput

type VmBindSecurityGroupInput struct {
	CallBackParameter
	Guid             string `json:"guid,omitempty"`
	ProviderParams   string `json:"provider_params,omitempty"`
	InstanceId       string `json:"instance_id,omitempty"`
	SecurityGroupIds string `json:"security_group_ids,omitempty"`
	Location         string `json:"location"`
	APISecret        string `json:"api_secret"`
}

type VmBindSecurityGroupInputs

type VmBindSecurityGroupInputs struct {
	Inputs []VmBindSecurityGroupInput `json:"inputs,omitempty"`
}

type VmBindSecurityGroupOutput

type VmBindSecurityGroupOutput struct {
	CallBackParameter
	Result
	Guid string `json:"guid,omitempty"`
}

type VmBindSecurityGroupOutputs

type VmBindSecurityGroupOutputs struct {
	Outputs []VmBindSecurityGroupOutput `json:"outputs,omitempty"`
}

type VmBindSecurityGroupsAction

type VmBindSecurityGroupsAction struct {
}

func (*VmBindSecurityGroupsAction) Do

func (action *VmBindSecurityGroupsAction) Do(input interface{}) (interface{}, error)

func (*VmBindSecurityGroupsAction) ReadParam

func (action *VmBindSecurityGroupsAction) ReadParam(param interface{}) (interface{}, error)

type VmCreateAction

type VmCreateAction struct {
}

func (*VmCreateAction) Do

func (action *VmCreateAction) Do(input interface{}) (interface{}, error)

func (*VmCreateAction) ReadParam

func (action *VmCreateAction) ReadParam(param interface{}) (interface{}, error)

type VmCreateInput

type VmCreateInput struct {
	CallBackParameter
	Guid                 string `json:"guid,omitempty"`
	Seed                 string `json:"seed,omitempty"`
	ProviderParams       string `json:"provider_params,omitempty"`
	Location             string `json:"location"`
	APISecret            string `json:"api_secret"`
	VpcId                string `json:"vpc_id,omitempty"`
	SubnetId             string `json:"subnet_id,omitempty"`
	InstanceName         string `json:"instance_name,omitempty"`
	Id                   string `json:"id,omitempty"`
	HostType             string `json:"host_type,omitempty"`
	InstanceType         string `json:"instance_type,omitempty"`
	InstanceFamily       string `json:"instance_family,omitempty"`
	ImageId              string `json:"image_id,omitempty"`
	SystemDiskSize       string `json:"system_disk_size,omitempty"`
	InstanceChargeType   string `json:"instance_charge_type,omitempty"`
	InstanceChargePeriod string `json:"instance_charge_period,omitempty"`
	InstancePrivateIp    string `json:"instance_private_ip,omitempty"`
	Password             string `json:"password,omitempty"`
	ProjectId            string `json:"project_id,omitempty"`
}

type VmCreateInputs

type VmCreateInputs struct {
	Inputs []VmCreateInput `json:"inputs,omitempty"`
}

type VmCreateOutput

type VmCreateOutput struct {
	CallBackParameter
	Result
	Guid              string `json:"guid,omitempty"`
	RequestId         string `json:"request_id,omitempty"`
	Id                string `json:"id,omitempty"`
	Cpu               string `json:"cpu,omitempty"`
	Memory            string `json:"memory,omitempty"`
	Password          string `json:"password,omitempty"`
	InstanceState     string `json:"instance_state,omitempty"`
	InstancePrivateIp string `json:"instance_private_ip,omitempty"`
}

type VmCreateOutputs

type VmCreateOutputs struct {
	Outputs []VmCreateOutput `json:"outputs,omitempty"`
}

type VmPlugin

type VmPlugin struct{}

func (*VmPlugin) GetActionByName

func (plugin *VmPlugin) GetActionByName(actionName string) (Action, error)

type VmRemoveSecurityGroupsAction

type VmRemoveSecurityGroupsAction struct {
}

vm remove security group

func (*VmRemoveSecurityGroupsAction) Do

func (action *VmRemoveSecurityGroupsAction) Do(inputs interface{}) (interface{}, error)

func (*VmRemoveSecurityGroupsAction) ReadParam

func (action *VmRemoveSecurityGroupsAction) ReadParam(param interface{}) (interface{}, error)

type VmRemoveSecurityGroupsInputs

type VmRemoveSecurityGroupsInputs struct {
	Inputs []VmBindSecurityGroupInput `json:"inputs,omitempty"`
}

type VmRemoveSecurityGroupsOutputs

type VmRemoveSecurityGroupsOutputs struct {
	Outputs []VmBindSecurityGroupOutput `json:"outputs,omitempty"`
}

type VmStartAction

type VmStartAction struct {
}

func (*VmStartAction) Do

func (action *VmStartAction) Do(input interface{}) (interface{}, error)

func (*VmStartAction) ReadParam

func (action *VmStartAction) ReadParam(param interface{}) (interface{}, error)

type VmStartInput

type VmStartInput VmTerminateInput

type VmStartInputs

type VmStartInputs struct {
	Inputs []VmStartInput `json:"inputs,omitempty"`
}

type VmStartOutput

type VmStartOutput VmTerminateOutput

type VmStartOutputs

type VmStartOutputs struct {
	Outputs []VmStartOutput `json:"outputs,omitempty"`
}

type VmStopAction

type VmStopAction struct {
}

func (*VmStopAction) Do

func (action *VmStopAction) Do(input interface{}) (interface{}, error)

func (*VmStopAction) ReadParam

func (action *VmStopAction) ReadParam(param interface{}) (interface{}, error)

type VmStopInput

type VmStopInput VmTerminateInput

type VmStopInputs

type VmStopInputs struct {
	Inputs []VmStopInput `json:"inputs,omitempty"`
}

type VmStopOutput

type VmStopOutput VmTerminateOutput

type VmStopOutputs

type VmStopOutputs struct {
	Outputs []VmStopOutput `json:"outputs,omitempty"`
}

type VmTerminateAction

type VmTerminateAction struct {
}

func (*VmTerminateAction) Do

func (action *VmTerminateAction) Do(input interface{}) (interface{}, error)

func (*VmTerminateAction) ReadParam

func (action *VmTerminateAction) ReadParam(param interface{}) (interface{}, error)

type VmTerminateInput

type VmTerminateInput struct {
	CallBackParameter
	Guid           string `json:"guid,omitempty"`
	Id             string `json:"id,omitempty"`
	ProviderParams string `json:"provider_params,omitempty"`
	Location       string `json:"location"`
	APISecret      string `json:"api_secret"`
}

type VmTerminateInputs

type VmTerminateInputs struct {
	Inputs []VmTerminateInput `json:"inputs,omitempty"`
}

type VmTerminateOutput

type VmTerminateOutput struct {
	CallBackParameter
	Result
	Guid      string `json:"guid,omitempty"`
	Id        string `json:"id,omitempty"`
	RequestId string `json:"request_id,omitempty"`
}

type VmTerminateOutputs

type VmTerminateOutputs struct {
	Outputs []VmTerminateOutput `json:"outputs,omitempty"`
}

type VpcCreateAction

type VpcCreateAction struct {
}

func (*VpcCreateAction) Do

func (action *VpcCreateAction) Do(input interface{}) (interface{}, error)

func (*VpcCreateAction) ReadParam

func (action *VpcCreateAction) ReadParam(param interface{}) (interface{}, error)

type VpcInput

type VpcInput struct {
	CallBackParameter
	Guid           string `json:"guid,omitempty"`
	ProviderParams string `json:"provider_params,omitempty"`
	Id             string `json:"id,omitempty"`
	Name           string `json:"name,omitempty"`
	CidrBlock      string `json:"cidr_block,omitempty"`
	Location       string `json:"location"`
	APISecret      string `json:"api_secret"`
}

type VpcInputs

type VpcInputs struct {
	Inputs []VpcInput `json:"inputs,omitempty"`
}

type VpcOutput

type VpcOutput struct {
	CallBackParameter
	Result
	RequestId    string `json:"request_id,omitempty"`
	Guid         string `json:"guid,omitempty"`
	RouteTableId string `json:"route_table_id,omitempty"`
	Id           string `json:"id,omitempty"`
}

type VpcOutputs

type VpcOutputs struct {
	Outputs []VpcOutput `json:"outputs,omitempty"`
}

type VpcPlugin

type VpcPlugin struct {
}

func (*VpcPlugin) GetActionByName

func (plugin *VpcPlugin) GetActionByName(actionName string) (Action, error)

type VpcTerminateAction

type VpcTerminateAction struct {
}

func (*VpcTerminateAction) Do

func (action *VpcTerminateAction) Do(input interface{}) (interface{}, error)

func (*VpcTerminateAction) ReadParam

func (action *VpcTerminateAction) ReadParam(param interface{}) (interface{}, error)

Directories

Path Synopsis
bussiness_plugins

Jump to

Keyboard shortcuts

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