Documentation ¶
Index ¶
- type ECloud
- func (p *ECloud) AddEgressSecurityGroupRule(req cloud.AddSecurityGroupRuleRequest) error
- func (p *ECloud) AddIngressSecurityGroupRule(req cloud.AddSecurityGroupRuleRequest) error
- func (p *ECloud) AllocateEip(req cloud.AllocateEipRequest) (ids []string, err error)
- func (p *ECloud) AssociateEip(id, instanceId, vpcId string) error
- func (p *ECloud) BatchCreate(m cloud.Params, num int) (instanceIds []string, err error)
- func (p *ECloud) BatchDelete(ids []string, regionId string) error
- func (p *ECloud) ContainerInstanceList(region string, pageNumber, pageSize int) ([]cloud.RegistryInstance, int, error)
- func (p *ECloud) ConvertPublicIpToEip(req cloud.ConvertPublicIpToEipRequest) error
- func (p *ECloud) CreateKeyPair(req cloud.CreateKeyPairRequest) (cloud.CreateKeyPairResponse, error)
- func (p *ECloud) CreateSecurityGroup(req cloud.CreateSecurityGroupRequest) (cloud.CreateSecurityGroupResponse, error)
- func (p *ECloud) CreateSwitch(req cloud.CreateSwitchRequest) (cloud.CreateSwitchResponse, error)
- func (p *ECloud) CreateVPC(req cloud.CreateVpcRequest) (cloud.CreateVpcResponse, error)
- func (p *ECloud) DescribeAvailableResource(req cloud.DescribeAvailableResourceRequest) (cloud.DescribeAvailableResourceResponse, error)
- func (p *ECloud) DescribeEip(req cloud.DescribeEipRequest) (cloud.DescribeEipResponse, error)
- func (p *ECloud) DescribeGroupRules(req cloud.DescribeGroupRulesRequest) (cloud.DescribeGroupRulesResponse, error)
- func (p *ECloud) DescribeImages(req cloud.DescribeImagesRequest) (cloud.DescribeImagesResponse, error)
- func (p *ECloud) DescribeInstanceTypes(req cloud.DescribeInstanceTypesRequest) (cloud.DescribeInstanceTypesResponse, error)
- func (p *ECloud) DescribeKeyPairs(req cloud.DescribeKeyPairsRequest) (cloud.DescribeKeyPairsResponse, error)
- func (p *ECloud) DescribeSecurityGroups(req cloud.DescribeSecurityGroupsRequest) (cloud.DescribeSecurityGroupsResponse, error)
- func (p *ECloud) DescribeSwitches(req cloud.DescribeSwitchesRequest) (cloud.DescribeSwitchesResponse, error)
- func (p *ECloud) DescribeVpcs(req cloud.DescribeVpcsRequest) (cloud.DescribeVpcsResponse, error)
- func (p *ECloud) DisassociateEip(id string) error
- func (p *ECloud) EnterpriseImageList(region, instanceId, repoId, namespace, repoName string, ...) ([]cloud.DockerArtifact, int, error)
- func (p *ECloud) EnterpriseNamespaceList(region, instanceId string, pageNumber, pageSize int) ([]cloud.Namespace, int, error)
- func (p *ECloud) EnterpriseRepositoryList(region, instanceId, namespace string, pageNumber, pageSize int) ([]cloud.Repository, int, error)
- func (p *ECloud) GetEips(ids []string, regionId string) (map[string]cloud.Eip, error)
- func (p *ECloud) GetInstances(ids []string) (instances []cloud.Instance, err error)
- func (p *ECloud) GetInstancesByCluster(regionId, clusterName string) (instances []cloud.Instance, err error)
- func (p *ECloud) GetInstancesByTags(region string, tags []cloud.Tag) (instances []cloud.Instance, err error)
- func (p *ECloud) GetObjectDownloadUrl(bucketName, objectKey string) (string, error)
- func (p *ECloud) GetOrders(req cloud.GetOrdersRequest) (cloud.GetOrdersResponse, error)
- func (p *ECloud) GetOssDownloadUrl(endpoint, bucketName, region string) string
- func (p *ECloud) GetRegions() (cloud.GetRegionsResponse, error)
- func (p *ECloud) GetSwitch(req cloud.GetSwitchRequest) (cloud.GetSwitchResponse, error)
- func (p *ECloud) GetVPC(req cloud.GetVpcRequest) (cloud.GetVpcResponse, error)
- func (p *ECloud) GetZones(req cloud.GetZonesRequest) (cloud.GetZonesResponse, error)
- func (p *ECloud) ImportKeyPair(req cloud.ImportKeyPairRequest) (cloud.ImportKeyPairResponse, error)
- func (p *ECloud) ListBucket(endpoint string) ([]cloud.BucketProperties, error)
- func (p *ECloud) ListObjects(endpoint, bucketName, prefix string) ([]cloud.ObjectProperties, error)
- func (p *ECloud) PersonalImageList(region, repoNamespace, repoName string, pageNum, pageSize int) ([]cloud.DockerArtifact, int, error)
- func (p *ECloud) PersonalNamespaceList(region string) ([]cloud.Namespace, error)
- func (p *ECloud) PersonalRepositoryList(region, namespace string, pageNumber, pageSize int) ([]cloud.Repository, int, error)
- func (p *ECloud) ProviderType() string
- func (p *ECloud) ReleaseEip(ids []string) (err error)
- func (p *ECloud) StartInstances(ids []string) error
- func (p *ECloud) StopInstances(ids []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ECloud ¶
type ECloud struct {
// contains filtered or unexported fields
}
func (*ECloud) AddEgressSecurityGroupRule ¶
func (p *ECloud) AddEgressSecurityGroupRule(req cloud.AddSecurityGroupRuleRequest) error
func (*ECloud) AddIngressSecurityGroupRule ¶
func (p *ECloud) AddIngressSecurityGroupRule(req cloud.AddSecurityGroupRuleRequest) error
func (*ECloud) AllocateEip ¶
func (p *ECloud) AllocateEip(req cloud.AllocateEipRequest) (ids []string, err error)
func (*ECloud) AssociateEip ¶
func (*ECloud) BatchCreate ¶
func (*ECloud) ContainerInstanceList ¶
func (*ECloud) ConvertPublicIpToEip ¶
func (p *ECloud) ConvertPublicIpToEip(req cloud.ConvertPublicIpToEipRequest) error
func (*ECloud) CreateKeyPair ¶
func (p *ECloud) CreateKeyPair(req cloud.CreateKeyPairRequest) (cloud.CreateKeyPairResponse, error)
func (*ECloud) CreateSecurityGroup ¶
func (p *ECloud) CreateSecurityGroup(req cloud.CreateSecurityGroupRequest) (cloud.CreateSecurityGroupResponse, error)
func (*ECloud) CreateSwitch ¶
func (p *ECloud) CreateSwitch(req cloud.CreateSwitchRequest) (cloud.CreateSwitchResponse, error)
func (*ECloud) CreateVPC ¶
func (p *ECloud) CreateVPC(req cloud.CreateVpcRequest) (cloud.CreateVpcResponse, error)
func (*ECloud) DescribeAvailableResource ¶
func (p *ECloud) DescribeAvailableResource(req cloud.DescribeAvailableResourceRequest) (cloud.DescribeAvailableResourceResponse, error)
func (*ECloud) DescribeEip ¶
func (p *ECloud) DescribeEip(req cloud.DescribeEipRequest) (cloud.DescribeEipResponse, error)
func (*ECloud) DescribeGroupRules ¶
func (p *ECloud) DescribeGroupRules(req cloud.DescribeGroupRulesRequest) (cloud.DescribeGroupRulesResponse, error)
func (*ECloud) DescribeImages ¶
func (p *ECloud) DescribeImages(req cloud.DescribeImagesRequest) (cloud.DescribeImagesResponse, error)
func (*ECloud) DescribeInstanceTypes ¶
func (p *ECloud) DescribeInstanceTypes(req cloud.DescribeInstanceTypesRequest) (cloud.DescribeInstanceTypesResponse, error)
func (*ECloud) DescribeKeyPairs ¶
func (p *ECloud) DescribeKeyPairs(req cloud.DescribeKeyPairsRequest) (cloud.DescribeKeyPairsResponse, error)
func (*ECloud) DescribeSecurityGroups ¶
func (p *ECloud) DescribeSecurityGroups(req cloud.DescribeSecurityGroupsRequest) (cloud.DescribeSecurityGroupsResponse, error)
func (*ECloud) DescribeSwitches ¶
func (p *ECloud) DescribeSwitches(req cloud.DescribeSwitchesRequest) (cloud.DescribeSwitchesResponse, error)
func (*ECloud) DescribeVpcs ¶
func (p *ECloud) DescribeVpcs(req cloud.DescribeVpcsRequest) (cloud.DescribeVpcsResponse, error)
func (*ECloud) DisassociateEip ¶
func (*ECloud) EnterpriseImageList ¶
func (*ECloud) EnterpriseNamespaceList ¶
func (*ECloud) EnterpriseRepositoryList ¶
func (*ECloud) GetInstances ¶
func (*ECloud) GetInstancesByCluster ¶
func (*ECloud) GetInstancesByTags ¶
func (*ECloud) GetObjectDownloadUrl ¶
func (*ECloud) GetOrders ¶
func (p *ECloud) GetOrders(req cloud.GetOrdersRequest) (cloud.GetOrdersResponse, error)
func (*ECloud) GetOssDownloadUrl ¶
func (*ECloud) GetRegions ¶
func (p *ECloud) GetRegions() (cloud.GetRegionsResponse, error)
func (*ECloud) GetSwitch ¶
func (p *ECloud) GetSwitch(req cloud.GetSwitchRequest) (cloud.GetSwitchResponse, error)
func (*ECloud) GetVPC ¶
func (p *ECloud) GetVPC(req cloud.GetVpcRequest) (cloud.GetVpcResponse, error)
func (*ECloud) GetZones ¶
func (p *ECloud) GetZones(req cloud.GetZonesRequest) (cloud.GetZonesResponse, error)
func (*ECloud) ImportKeyPair ¶
func (p *ECloud) ImportKeyPair(req cloud.ImportKeyPairRequest) (cloud.ImportKeyPairResponse, error)
func (*ECloud) ListBucket ¶
func (p *ECloud) ListBucket(endpoint string) ([]cloud.BucketProperties, error)
func (*ECloud) ListObjects ¶
func (p *ECloud) ListObjects(endpoint, bucketName, prefix string) ([]cloud.ObjectProperties, error)
func (*ECloud) PersonalImageList ¶
func (*ECloud) PersonalNamespaceList ¶
func (*ECloud) PersonalRepositoryList ¶
func (*ECloud) ProviderType ¶
func (*ECloud) ReleaseEip ¶
func (*ECloud) StartInstances ¶
func (*ECloud) StopInstances ¶
Click to show internal directories.
Click to hide internal directories.