mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-29 04:16:07 +00:00
Update vendored deps, including AWS SDK, openpgp, ftp, ...
This commit is contained in:
+2242
-556
File diff suppressed because it is too large
Load Diff
+16
-10
@@ -3,18 +3,24 @@
|
||||
// Package ecs provides the client and types for making API
|
||||
// requests to Amazon EC2 Container Service.
|
||||
//
|
||||
// Amazon EC2 Container Service (Amazon ECS) is a highly scalable, fast, container
|
||||
// management service that makes it easy to run, stop, and manage Docker containers
|
||||
// on a cluster of EC2 instances. Amazon ECS lets you launch and stop container-enabled
|
||||
// applications with simple API calls, allows you to get the state of your cluster
|
||||
// from a centralized service, and gives you access to many familiar Amazon
|
||||
// EC2 features like security groups, Amazon EBS volumes, and IAM roles.
|
||||
// Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast,
|
||||
// container management service that makes it easy to run, stop, and manage
|
||||
// Docker containers on a cluster. You can host your cluster on a serverless
|
||||
// infrastructure that is managed by Amazon ECS by launching your services or
|
||||
// tasks using the Fargate launch type. For more control, you can host your
|
||||
// tasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2) instances
|
||||
// that you manage by using the EC2 launch type. For more information about
|
||||
// launch types, see Amazon ECS Launch Types (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html).
|
||||
//
|
||||
// Amazon ECS lets you launch and stop container-based applications with simple
|
||||
// API calls, allows you to get the state of your cluster from a centralized
|
||||
// service, and gives you access to many familiar Amazon EC2 features.
|
||||
//
|
||||
// You can use Amazon ECS to schedule the placement of containers across your
|
||||
// cluster based on your resource needs, isolation policies, and availability
|
||||
// requirements. Amazon EC2 Container Service eliminates the need for you to
|
||||
// operate your own cluster management and configuration management systems
|
||||
// or worry about scaling your management infrastructure.
|
||||
// requirements. Amazon ECS eliminates the need for you to operate your own
|
||||
// cluster management and configuration management systems or worry about scaling
|
||||
// your management infrastructure.
|
||||
//
|
||||
// See https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13 for more information on this service.
|
||||
//
|
||||
@@ -23,7 +29,7 @@
|
||||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To Amazon EC2 Container Service with the SDK use the New function to create
|
||||
// To contact Amazon EC2 Container Service with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
|
||||
+42
-5
@@ -4,6 +4,12 @@ package ecs
|
||||
|
||||
const (
|
||||
|
||||
// ErrCodeAccessDeniedException for service response error code
|
||||
// "AccessDeniedException".
|
||||
//
|
||||
// You do not have authorization to perform the requested action.
|
||||
ErrCodeAccessDeniedException = "AccessDeniedException"
|
||||
|
||||
// ErrCodeAttributeLimitExceededException for service response error code
|
||||
// "AttributeLimitExceededException".
|
||||
//
|
||||
@@ -12,12 +18,19 @@ const (
|
||||
// a resource with DeleteAttributes.
|
||||
ErrCodeAttributeLimitExceededException = "AttributeLimitExceededException"
|
||||
|
||||
// ErrCodeBlockedException for service response error code
|
||||
// "BlockedException".
|
||||
//
|
||||
// Your AWS account has been blocked. Contact AWS Support (http://aws.amazon.com/contact-us/)
|
||||
// for more information.
|
||||
ErrCodeBlockedException = "BlockedException"
|
||||
|
||||
// ErrCodeClientException for service response error code
|
||||
// "ClientException".
|
||||
//
|
||||
// These errors are usually caused by a client action, such as using an action
|
||||
// or resource on behalf of a user that doesn't have permission to use the action
|
||||
// or resource, or specifying an identifier that is not valid.
|
||||
// or resource on behalf of a user that doesn't have permissions to use the
|
||||
// action or resource, or specifying an identifier that is not valid.
|
||||
ErrCodeClientException = "ClientException"
|
||||
|
||||
// ErrCodeClusterContainsContainerInstancesException for service response error code
|
||||
@@ -36,6 +49,12 @@ const (
|
||||
// For more information, see UpdateService and DeleteService.
|
||||
ErrCodeClusterContainsServicesException = "ClusterContainsServicesException"
|
||||
|
||||
// ErrCodeClusterContainsTasksException for service response error code
|
||||
// "ClusterContainsTasksException".
|
||||
//
|
||||
// You cannot delete a cluster that has active tasks.
|
||||
ErrCodeClusterContainsTasksException = "ClusterContainsTasksException"
|
||||
|
||||
// ErrCodeClusterNotFoundException for service response error code
|
||||
// "ClusterNotFoundException".
|
||||
//
|
||||
@@ -67,6 +86,19 @@ const (
|
||||
// that there is no update path to the current version.
|
||||
ErrCodeNoUpdateAvailableException = "NoUpdateAvailableException"
|
||||
|
||||
// ErrCodePlatformTaskDefinitionIncompatibilityException for service response error code
|
||||
// "PlatformTaskDefinitionIncompatibilityException".
|
||||
//
|
||||
// The specified platform version does not satisfy the task definition’s required
|
||||
// capabilities.
|
||||
ErrCodePlatformTaskDefinitionIncompatibilityException = "PlatformTaskDefinitionIncompatibilityException"
|
||||
|
||||
// ErrCodePlatformUnknownException for service response error code
|
||||
// "PlatformUnknownException".
|
||||
//
|
||||
// The specified platform version does not exist.
|
||||
ErrCodePlatformUnknownException = "PlatformUnknownException"
|
||||
|
||||
// ErrCodeServerException for service response error code
|
||||
// "ServerException".
|
||||
//
|
||||
@@ -76,9 +108,8 @@ const (
|
||||
// ErrCodeServiceNotActiveException for service response error code
|
||||
// "ServiceNotActiveException".
|
||||
//
|
||||
// The specified service is not active. You cannot update a service that is
|
||||
// not active. If you have previously deleted a service, you can re-create it
|
||||
// with CreateService.
|
||||
// The specified service is not active. You can't update a service that is inactive.
|
||||
// If you have previously deleted a service, you can re-create it with CreateService.
|
||||
ErrCodeServiceNotActiveException = "ServiceNotActiveException"
|
||||
|
||||
// ErrCodeServiceNotFoundException for service response error code
|
||||
@@ -96,6 +127,12 @@ const (
|
||||
// cluster-specific and region-specific.
|
||||
ErrCodeTargetNotFoundException = "TargetNotFoundException"
|
||||
|
||||
// ErrCodeUnsupportedFeatureException for service response error code
|
||||
// "UnsupportedFeatureException".
|
||||
//
|
||||
// The specified task is not supported in this region.
|
||||
ErrCodeUnsupportedFeatureException = "UnsupportedFeatureException"
|
||||
|
||||
// ErrCodeUpdateInProgressException for service response error code
|
||||
// "UpdateInProgressException".
|
||||
//
|
||||
|
||||
+40
@@ -83,6 +83,14 @@ func ExampleECS_CreateService_shared00() {
|
||||
fmt.Println(ecs.ErrCodeInvalidParameterException, aerr.Error())
|
||||
case ecs.ErrCodeClusterNotFoundException:
|
||||
fmt.Println(ecs.ErrCodeClusterNotFoundException, aerr.Error())
|
||||
case ecs.ErrCodeUnsupportedFeatureException:
|
||||
fmt.Println(ecs.ErrCodeUnsupportedFeatureException, aerr.Error())
|
||||
case ecs.ErrCodePlatformUnknownException:
|
||||
fmt.Println(ecs.ErrCodePlatformUnknownException, aerr.Error())
|
||||
case ecs.ErrCodePlatformTaskDefinitionIncompatibilityException:
|
||||
fmt.Println(ecs.ErrCodePlatformTaskDefinitionIncompatibilityException, aerr.Error())
|
||||
case ecs.ErrCodeAccessDeniedException:
|
||||
fmt.Println(ecs.ErrCodeAccessDeniedException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
@@ -130,6 +138,14 @@ func ExampleECS_CreateService_shared01() {
|
||||
fmt.Println(ecs.ErrCodeInvalidParameterException, aerr.Error())
|
||||
case ecs.ErrCodeClusterNotFoundException:
|
||||
fmt.Println(ecs.ErrCodeClusterNotFoundException, aerr.Error())
|
||||
case ecs.ErrCodeUnsupportedFeatureException:
|
||||
fmt.Println(ecs.ErrCodeUnsupportedFeatureException, aerr.Error())
|
||||
case ecs.ErrCodePlatformUnknownException:
|
||||
fmt.Println(ecs.ErrCodePlatformUnknownException, aerr.Error())
|
||||
case ecs.ErrCodePlatformTaskDefinitionIncompatibilityException:
|
||||
fmt.Println(ecs.ErrCodePlatformTaskDefinitionIncompatibilityException, aerr.Error())
|
||||
case ecs.ErrCodeAccessDeniedException:
|
||||
fmt.Println(ecs.ErrCodeAccessDeniedException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
@@ -169,6 +185,8 @@ func ExampleECS_DeleteCluster_shared00() {
|
||||
fmt.Println(ecs.ErrCodeClusterContainsContainerInstancesException, aerr.Error())
|
||||
case ecs.ErrCodeClusterContainsServicesException:
|
||||
fmt.Println(ecs.ErrCodeClusterContainsServicesException, aerr.Error())
|
||||
case ecs.ErrCodeClusterContainsTasksException:
|
||||
fmt.Println(ecs.ErrCodeClusterContainsTasksException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
@@ -815,6 +833,16 @@ func ExampleECS_RunTask_shared00() {
|
||||
fmt.Println(ecs.ErrCodeInvalidParameterException, aerr.Error())
|
||||
case ecs.ErrCodeClusterNotFoundException:
|
||||
fmt.Println(ecs.ErrCodeClusterNotFoundException, aerr.Error())
|
||||
case ecs.ErrCodeUnsupportedFeatureException:
|
||||
fmt.Println(ecs.ErrCodeUnsupportedFeatureException, aerr.Error())
|
||||
case ecs.ErrCodePlatformUnknownException:
|
||||
fmt.Println(ecs.ErrCodePlatformUnknownException, aerr.Error())
|
||||
case ecs.ErrCodePlatformTaskDefinitionIncompatibilityException:
|
||||
fmt.Println(ecs.ErrCodePlatformTaskDefinitionIncompatibilityException, aerr.Error())
|
||||
case ecs.ErrCodeAccessDeniedException:
|
||||
fmt.Println(ecs.ErrCodeAccessDeniedException, aerr.Error())
|
||||
case ecs.ErrCodeBlockedException:
|
||||
fmt.Println(ecs.ErrCodeBlockedException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
@@ -856,6 +884,12 @@ func ExampleECS_UpdateService_shared00() {
|
||||
fmt.Println(ecs.ErrCodeServiceNotFoundException, aerr.Error())
|
||||
case ecs.ErrCodeServiceNotActiveException:
|
||||
fmt.Println(ecs.ErrCodeServiceNotActiveException, aerr.Error())
|
||||
case ecs.ErrCodePlatformUnknownException:
|
||||
fmt.Println(ecs.ErrCodePlatformUnknownException, aerr.Error())
|
||||
case ecs.ErrCodePlatformTaskDefinitionIncompatibilityException:
|
||||
fmt.Println(ecs.ErrCodePlatformTaskDefinitionIncompatibilityException, aerr.Error())
|
||||
case ecs.ErrCodeAccessDeniedException:
|
||||
fmt.Println(ecs.ErrCodeAccessDeniedException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
@@ -896,6 +930,12 @@ func ExampleECS_UpdateService_shared01() {
|
||||
fmt.Println(ecs.ErrCodeServiceNotFoundException, aerr.Error())
|
||||
case ecs.ErrCodeServiceNotActiveException:
|
||||
fmt.Println(ecs.ErrCodeServiceNotActiveException, aerr.Error())
|
||||
case ecs.ErrCodePlatformUnknownException:
|
||||
fmt.Println(ecs.ErrCodePlatformUnknownException, aerr.Error())
|
||||
case ecs.ErrCodePlatformTaskDefinitionIncompatibilityException:
|
||||
fmt.Println(ecs.ErrCodePlatformTaskDefinitionIncompatibilityException, aerr.Error())
|
||||
case ecs.ErrCodeAccessDeniedException:
|
||||
fmt.Println(ecs.ErrCodeAccessDeniedException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user