1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type ArtifactNamespace string
// Enum values for ArtifactNamespace
const (
ArtifactNamespaceNone ArtifactNamespace = "NONE"
ArtifactNamespaceBuildId ArtifactNamespace = "BUILD_ID"
)
// Values returns all known values for ArtifactNamespace. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ArtifactNamespace) Values() []ArtifactNamespace {
return []ArtifactNamespace{
"NONE",
"BUILD_ID",
}
}
type ArtifactPackaging string
// Enum values for ArtifactPackaging
const (
ArtifactPackagingNone ArtifactPackaging = "NONE"
ArtifactPackagingZip ArtifactPackaging = "ZIP"
)
// Values returns all known values for ArtifactPackaging. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ArtifactPackaging) Values() []ArtifactPackaging {
return []ArtifactPackaging{
"NONE",
"ZIP",
}
}
type ArtifactsType string
// Enum values for ArtifactsType
const (
ArtifactsTypeCodepipeline ArtifactsType = "CODEPIPELINE"
ArtifactsTypeS3 ArtifactsType = "S3"
ArtifactsTypeNoArtifacts ArtifactsType = "NO_ARTIFACTS"
)
// Values returns all known values for ArtifactsType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ArtifactsType) Values() []ArtifactsType {
return []ArtifactsType{
"CODEPIPELINE",
"S3",
"NO_ARTIFACTS",
}
}
type AuthType string
// Enum values for AuthType
const (
AuthTypeOauth AuthType = "OAUTH"
AuthTypeBasicAuth AuthType = "BASIC_AUTH"
AuthTypePersonalAccessToken AuthType = "PERSONAL_ACCESS_TOKEN"
)
// Values returns all known values for AuthType. Note that this can be expanded in
// the future, and so it is only as up to date as the client. The ordering of this
// slice is not guaranteed to be stable across updates.
func (AuthType) Values() []AuthType {
return []AuthType{
"OAUTH",
"BASIC_AUTH",
"PERSONAL_ACCESS_TOKEN",
}
}
type BatchReportModeType string
// Enum values for BatchReportModeType
const (
BatchReportModeTypeReportIndividualBuilds BatchReportModeType = "REPORT_INDIVIDUAL_BUILDS"
BatchReportModeTypeReportAggregatedBatch BatchReportModeType = "REPORT_AGGREGATED_BATCH"
)
// Values returns all known values for BatchReportModeType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (BatchReportModeType) Values() []BatchReportModeType {
return []BatchReportModeType{
"REPORT_INDIVIDUAL_BUILDS",
"REPORT_AGGREGATED_BATCH",
}
}
type BucketOwnerAccess string
// Enum values for BucketOwnerAccess
const (
BucketOwnerAccessNone BucketOwnerAccess = "NONE"
BucketOwnerAccessReadOnly BucketOwnerAccess = "READ_ONLY"
BucketOwnerAccessFull BucketOwnerAccess = "FULL"
)
// Values returns all known values for BucketOwnerAccess. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (BucketOwnerAccess) Values() []BucketOwnerAccess {
return []BucketOwnerAccess{
"NONE",
"READ_ONLY",
"FULL",
}
}
type BuildBatchPhaseType string
// Enum values for BuildBatchPhaseType
const (
BuildBatchPhaseTypeSubmitted BuildBatchPhaseType = "SUBMITTED"
BuildBatchPhaseTypeDownloadBatchspec BuildBatchPhaseType = "DOWNLOAD_BATCHSPEC"
BuildBatchPhaseTypeInProgress BuildBatchPhaseType = "IN_PROGRESS"
BuildBatchPhaseTypeCombineArtifacts BuildBatchPhaseType = "COMBINE_ARTIFACTS"
BuildBatchPhaseTypeSucceeded BuildBatchPhaseType = "SUCCEEDED"
BuildBatchPhaseTypeFailed BuildBatchPhaseType = "FAILED"
BuildBatchPhaseTypeStopped BuildBatchPhaseType = "STOPPED"
)
// Values returns all known values for BuildBatchPhaseType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (BuildBatchPhaseType) Values() []BuildBatchPhaseType {
return []BuildBatchPhaseType{
"SUBMITTED",
"DOWNLOAD_BATCHSPEC",
"IN_PROGRESS",
"COMBINE_ARTIFACTS",
"SUCCEEDED",
"FAILED",
"STOPPED",
}
}
type BuildPhaseType string
// Enum values for BuildPhaseType
const (
BuildPhaseTypeSubmitted BuildPhaseType = "SUBMITTED"
BuildPhaseTypeQueued BuildPhaseType = "QUEUED"
BuildPhaseTypeProvisioning BuildPhaseType = "PROVISIONING"
BuildPhaseTypeDownloadSource BuildPhaseType = "DOWNLOAD_SOURCE"
BuildPhaseTypeInstall BuildPhaseType = "INSTALL"
BuildPhaseTypePreBuild BuildPhaseType = "PRE_BUILD"
BuildPhaseTypeBuild BuildPhaseType = "BUILD"
BuildPhaseTypePostBuild BuildPhaseType = "POST_BUILD"
BuildPhaseTypeUploadArtifacts BuildPhaseType = "UPLOAD_ARTIFACTS"
BuildPhaseTypeFinalizing BuildPhaseType = "FINALIZING"
BuildPhaseTypeCompleted BuildPhaseType = "COMPLETED"
)
// Values returns all known values for BuildPhaseType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (BuildPhaseType) Values() []BuildPhaseType {
return []BuildPhaseType{
"SUBMITTED",
"QUEUED",
"PROVISIONING",
"DOWNLOAD_SOURCE",
"INSTALL",
"PRE_BUILD",
"BUILD",
"POST_BUILD",
"UPLOAD_ARTIFACTS",
"FINALIZING",
"COMPLETED",
}
}
type CacheMode string
// Enum values for CacheMode
const (
CacheModeLocalDockerLayerCache CacheMode = "LOCAL_DOCKER_LAYER_CACHE"
CacheModeLocalSourceCache CacheMode = "LOCAL_SOURCE_CACHE"
CacheModeLocalCustomCache CacheMode = "LOCAL_CUSTOM_CACHE"
)
// Values returns all known values for CacheMode. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (CacheMode) Values() []CacheMode {
return []CacheMode{
"LOCAL_DOCKER_LAYER_CACHE",
"LOCAL_SOURCE_CACHE",
"LOCAL_CUSTOM_CACHE",
}
}
type CacheType string
// Enum values for CacheType
const (
CacheTypeNoCache CacheType = "NO_CACHE"
CacheTypeS3 CacheType = "S3"
CacheTypeLocal CacheType = "LOCAL"
)
// Values returns all known values for CacheType. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (CacheType) Values() []CacheType {
return []CacheType{
"NO_CACHE",
"S3",
"LOCAL",
}
}
type ComputeType string
// Enum values for ComputeType
const (
ComputeTypeBuildGeneral1Small ComputeType = "BUILD_GENERAL1_SMALL"
ComputeTypeBuildGeneral1Medium ComputeType = "BUILD_GENERAL1_MEDIUM"
ComputeTypeBuildGeneral1Large ComputeType = "BUILD_GENERAL1_LARGE"
ComputeTypeBuildGeneral12xlarge ComputeType = "BUILD_GENERAL1_2XLARGE"
ComputeTypeBuildLambda1gb ComputeType = "BUILD_LAMBDA_1GB"
ComputeTypeBuildLambda2gb ComputeType = "BUILD_LAMBDA_2GB"
ComputeTypeBuildLambda4gb ComputeType = "BUILD_LAMBDA_4GB"
ComputeTypeBuildLambda8gb ComputeType = "BUILD_LAMBDA_8GB"
ComputeTypeBuildLambda10gb ComputeType = "BUILD_LAMBDA_10GB"
)
// Values returns all known values for ComputeType. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (ComputeType) Values() []ComputeType {
return []ComputeType{
"BUILD_GENERAL1_SMALL",
"BUILD_GENERAL1_MEDIUM",
"BUILD_GENERAL1_LARGE",
"BUILD_GENERAL1_2XLARGE",
"BUILD_LAMBDA_1GB",
"BUILD_LAMBDA_2GB",
"BUILD_LAMBDA_4GB",
"BUILD_LAMBDA_8GB",
"BUILD_LAMBDA_10GB",
}
}
type CredentialProviderType string
// Enum values for CredentialProviderType
const (
CredentialProviderTypeSecretsManager CredentialProviderType = "SECRETS_MANAGER"
)
// Values returns all known values for CredentialProviderType. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (CredentialProviderType) Values() []CredentialProviderType {
return []CredentialProviderType{
"SECRETS_MANAGER",
}
}
type EnvironmentType string
// Enum values for EnvironmentType
const (
EnvironmentTypeWindowsContainer EnvironmentType = "WINDOWS_CONTAINER"
EnvironmentTypeLinuxContainer EnvironmentType = "LINUX_CONTAINER"
EnvironmentTypeLinuxGpuContainer EnvironmentType = "LINUX_GPU_CONTAINER"
EnvironmentTypeArmContainer EnvironmentType = "ARM_CONTAINER"
EnvironmentTypeWindowsServer2019Container EnvironmentType = "WINDOWS_SERVER_2019_CONTAINER"
EnvironmentTypeLinuxLambdaContainer EnvironmentType = "LINUX_LAMBDA_CONTAINER"
EnvironmentTypeArmLambdaContainer EnvironmentType = "ARM_LAMBDA_CONTAINER"
)
// Values returns all known values for EnvironmentType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (EnvironmentType) Values() []EnvironmentType {
return []EnvironmentType{
"WINDOWS_CONTAINER",
"LINUX_CONTAINER",
"LINUX_GPU_CONTAINER",
"ARM_CONTAINER",
"WINDOWS_SERVER_2019_CONTAINER",
"LINUX_LAMBDA_CONTAINER",
"ARM_LAMBDA_CONTAINER",
}
}
type EnvironmentVariableType string
// Enum values for EnvironmentVariableType
const (
EnvironmentVariableTypePlaintext EnvironmentVariableType = "PLAINTEXT"
EnvironmentVariableTypeParameterStore EnvironmentVariableType = "PARAMETER_STORE"
EnvironmentVariableTypeSecretsManager EnvironmentVariableType = "SECRETS_MANAGER"
)
// Values returns all known values for EnvironmentVariableType. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (EnvironmentVariableType) Values() []EnvironmentVariableType {
return []EnvironmentVariableType{
"PLAINTEXT",
"PARAMETER_STORE",
"SECRETS_MANAGER",
}
}
type FileSystemType string
// Enum values for FileSystemType
const (
FileSystemTypeEfs FileSystemType = "EFS"
)
// Values returns all known values for FileSystemType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (FileSystemType) Values() []FileSystemType {
return []FileSystemType{
"EFS",
}
}
type ImagePullCredentialsType string
// Enum values for ImagePullCredentialsType
const (
ImagePullCredentialsTypeCodebuild ImagePullCredentialsType = "CODEBUILD"
ImagePullCredentialsTypeServiceRole ImagePullCredentialsType = "SERVICE_ROLE"
)
// Values returns all known values for ImagePullCredentialsType. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
// The ordering of this slice is not guaranteed to be stable across updates.
func (ImagePullCredentialsType) Values() []ImagePullCredentialsType {
return []ImagePullCredentialsType{
"CODEBUILD",
"SERVICE_ROLE",
}
}
type LanguageType string
// Enum values for LanguageType
const (
LanguageTypeJava LanguageType = "JAVA"
LanguageTypePython LanguageType = "PYTHON"
LanguageTypeNodeJs LanguageType = "NODE_JS"
LanguageTypeRuby LanguageType = "RUBY"
LanguageTypeGolang LanguageType = "GOLANG"
LanguageTypeDocker LanguageType = "DOCKER"
LanguageTypeAndroid LanguageType = "ANDROID"
LanguageTypeDotnet LanguageType = "DOTNET"
LanguageTypeBase LanguageType = "BASE"
LanguageTypePhp LanguageType = "PHP"
)
// Values returns all known values for LanguageType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (LanguageType) Values() []LanguageType {
return []LanguageType{
"JAVA",
"PYTHON",
"NODE_JS",
"RUBY",
"GOLANG",
"DOCKER",
"ANDROID",
"DOTNET",
"BASE",
"PHP",
}
}
type LogsConfigStatusType string
// Enum values for LogsConfigStatusType
const (
LogsConfigStatusTypeEnabled LogsConfigStatusType = "ENABLED"
LogsConfigStatusTypeDisabled LogsConfigStatusType = "DISABLED"
)
// Values returns all known values for LogsConfigStatusType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (LogsConfigStatusType) Values() []LogsConfigStatusType {
return []LogsConfigStatusType{
"ENABLED",
"DISABLED",
}
}
type PlatformType string
// Enum values for PlatformType
const (
PlatformTypeDebian PlatformType = "DEBIAN"
PlatformTypeAmazonLinux PlatformType = "AMAZON_LINUX"
PlatformTypeUbuntu PlatformType = "UBUNTU"
PlatformTypeWindowsServer PlatformType = "WINDOWS_SERVER"
)
// Values returns all known values for PlatformType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (PlatformType) Values() []PlatformType {
return []PlatformType{
"DEBIAN",
"AMAZON_LINUX",
"UBUNTU",
"WINDOWS_SERVER",
}
}
type ProjectSortByType string
// Enum values for ProjectSortByType
const (
ProjectSortByTypeName ProjectSortByType = "NAME"
ProjectSortByTypeCreatedTime ProjectSortByType = "CREATED_TIME"
ProjectSortByTypeLastModifiedTime ProjectSortByType = "LAST_MODIFIED_TIME"
)
// Values returns all known values for ProjectSortByType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ProjectSortByType) Values() []ProjectSortByType {
return []ProjectSortByType{
"NAME",
"CREATED_TIME",
"LAST_MODIFIED_TIME",
}
}
type ProjectVisibilityType string
// Enum values for ProjectVisibilityType
const (
ProjectVisibilityTypePublicRead ProjectVisibilityType = "PUBLIC_READ"
ProjectVisibilityTypePrivate ProjectVisibilityType = "PRIVATE"
)
// Values returns all known values for ProjectVisibilityType. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ProjectVisibilityType) Values() []ProjectVisibilityType {
return []ProjectVisibilityType{
"PUBLIC_READ",
"PRIVATE",
}
}
type ReportCodeCoverageSortByType string
// Enum values for ReportCodeCoverageSortByType
const (
ReportCodeCoverageSortByTypeLineCoveragePercentage ReportCodeCoverageSortByType = "LINE_COVERAGE_PERCENTAGE"
ReportCodeCoverageSortByTypeFilePath ReportCodeCoverageSortByType = "FILE_PATH"
)
// Values returns all known values for ReportCodeCoverageSortByType. Note that
// this can be expanded in the future, and so it is only as up to date as the
// client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (ReportCodeCoverageSortByType) Values() []ReportCodeCoverageSortByType {
return []ReportCodeCoverageSortByType{
"LINE_COVERAGE_PERCENTAGE",
"FILE_PATH",
}
}
type ReportExportConfigType string
// Enum values for ReportExportConfigType
const (
ReportExportConfigTypeS3 ReportExportConfigType = "S3"
ReportExportConfigTypeNoExport ReportExportConfigType = "NO_EXPORT"
)
// Values returns all known values for ReportExportConfigType. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ReportExportConfigType) Values() []ReportExportConfigType {
return []ReportExportConfigType{
"S3",
"NO_EXPORT",
}
}
type ReportGroupSortByType string
// Enum values for ReportGroupSortByType
const (
ReportGroupSortByTypeName ReportGroupSortByType = "NAME"
ReportGroupSortByTypeCreatedTime ReportGroupSortByType = "CREATED_TIME"
ReportGroupSortByTypeLastModifiedTime ReportGroupSortByType = "LAST_MODIFIED_TIME"
)
// Values returns all known values for ReportGroupSortByType. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ReportGroupSortByType) Values() []ReportGroupSortByType {
return []ReportGroupSortByType{
"NAME",
"CREATED_TIME",
"LAST_MODIFIED_TIME",
}
}
type ReportGroupStatusType string
// Enum values for ReportGroupStatusType
const (
ReportGroupStatusTypeActive ReportGroupStatusType = "ACTIVE"
ReportGroupStatusTypeDeleting ReportGroupStatusType = "DELETING"
)
// Values returns all known values for ReportGroupStatusType. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ReportGroupStatusType) Values() []ReportGroupStatusType {
return []ReportGroupStatusType{
"ACTIVE",
"DELETING",
}
}
type ReportGroupTrendFieldType string
// Enum values for ReportGroupTrendFieldType
const (
ReportGroupTrendFieldTypePassRate ReportGroupTrendFieldType = "PASS_RATE"
ReportGroupTrendFieldTypeDuration ReportGroupTrendFieldType = "DURATION"
ReportGroupTrendFieldTypeTotal ReportGroupTrendFieldType = "TOTAL"
ReportGroupTrendFieldTypeLineCoverage ReportGroupTrendFieldType = "LINE_COVERAGE"
ReportGroupTrendFieldTypeLinesCovered ReportGroupTrendFieldType = "LINES_COVERED"
ReportGroupTrendFieldTypeLinesMissed ReportGroupTrendFieldType = "LINES_MISSED"
ReportGroupTrendFieldTypeBranchCoverage ReportGroupTrendFieldType = "BRANCH_COVERAGE"
ReportGroupTrendFieldTypeBranchesCovered ReportGroupTrendFieldType = "BRANCHES_COVERED"
ReportGroupTrendFieldTypeBranchesMissed ReportGroupTrendFieldType = "BRANCHES_MISSED"
)
// Values returns all known values for ReportGroupTrendFieldType. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
// The ordering of this slice is not guaranteed to be stable across updates.
func (ReportGroupTrendFieldType) Values() []ReportGroupTrendFieldType {
return []ReportGroupTrendFieldType{
"PASS_RATE",
"DURATION",
"TOTAL",
"LINE_COVERAGE",
"LINES_COVERED",
"LINES_MISSED",
"BRANCH_COVERAGE",
"BRANCHES_COVERED",
"BRANCHES_MISSED",
}
}
type ReportPackagingType string
// Enum values for ReportPackagingType
const (
ReportPackagingTypeZip ReportPackagingType = "ZIP"
ReportPackagingTypeNone ReportPackagingType = "NONE"
)
// Values returns all known values for ReportPackagingType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ReportPackagingType) Values() []ReportPackagingType {
return []ReportPackagingType{
"ZIP",
"NONE",
}
}
type ReportStatusType string
// Enum values for ReportStatusType
const (
ReportStatusTypeGenerating ReportStatusType = "GENERATING"
ReportStatusTypeSucceeded ReportStatusType = "SUCCEEDED"
ReportStatusTypeFailed ReportStatusType = "FAILED"
ReportStatusTypeIncomplete ReportStatusType = "INCOMPLETE"
ReportStatusTypeDeleting ReportStatusType = "DELETING"
)
// Values returns all known values for ReportStatusType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ReportStatusType) Values() []ReportStatusType {
return []ReportStatusType{
"GENERATING",
"SUCCEEDED",
"FAILED",
"INCOMPLETE",
"DELETING",
}
}
type ReportType string
// Enum values for ReportType
const (
ReportTypeTest ReportType = "TEST"
ReportTypeCodeCoverage ReportType = "CODE_COVERAGE"
)
// Values returns all known values for ReportType. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (ReportType) Values() []ReportType {
return []ReportType{
"TEST",
"CODE_COVERAGE",
}
}
type RetryBuildBatchType string
// Enum values for RetryBuildBatchType
const (
RetryBuildBatchTypeRetryAllBuilds RetryBuildBatchType = "RETRY_ALL_BUILDS"
RetryBuildBatchTypeRetryFailedBuilds RetryBuildBatchType = "RETRY_FAILED_BUILDS"
)
// Values returns all known values for RetryBuildBatchType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (RetryBuildBatchType) Values() []RetryBuildBatchType {
return []RetryBuildBatchType{
"RETRY_ALL_BUILDS",
"RETRY_FAILED_BUILDS",
}
}
type ServerType string
// Enum values for ServerType
const (
ServerTypeGithub ServerType = "GITHUB"
ServerTypeBitbucket ServerType = "BITBUCKET"
ServerTypeGithubEnterprise ServerType = "GITHUB_ENTERPRISE"
)
// Values returns all known values for ServerType. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (ServerType) Values() []ServerType {
return []ServerType{
"GITHUB",
"BITBUCKET",
"GITHUB_ENTERPRISE",
}
}
type SharedResourceSortByType string
// Enum values for SharedResourceSortByType
const (
SharedResourceSortByTypeArn SharedResourceSortByType = "ARN"
SharedResourceSortByTypeModifiedTime SharedResourceSortByType = "MODIFIED_TIME"
)
// Values returns all known values for SharedResourceSortByType. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
// The ordering of this slice is not guaranteed to be stable across updates.
func (SharedResourceSortByType) Values() []SharedResourceSortByType {
return []SharedResourceSortByType{
"ARN",
"MODIFIED_TIME",
}
}
type SortOrderType string
// Enum values for SortOrderType
const (
SortOrderTypeAscending SortOrderType = "ASCENDING"
SortOrderTypeDescending SortOrderType = "DESCENDING"
)
// Values returns all known values for SortOrderType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (SortOrderType) Values() []SortOrderType {
return []SortOrderType{
"ASCENDING",
"DESCENDING",
}
}
type SourceAuthType string
// Enum values for SourceAuthType
const (
SourceAuthTypeOauth SourceAuthType = "OAUTH"
)
// Values returns all known values for SourceAuthType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (SourceAuthType) Values() []SourceAuthType {
return []SourceAuthType{
"OAUTH",
}
}
type SourceType string
// Enum values for SourceType
const (
SourceTypeCodecommit SourceType = "CODECOMMIT"
SourceTypeCodepipeline SourceType = "CODEPIPELINE"
SourceTypeGithub SourceType = "GITHUB"
SourceTypeS3 SourceType = "S3"
SourceTypeBitbucket SourceType = "BITBUCKET"
SourceTypeGithubEnterprise SourceType = "GITHUB_ENTERPRISE"
SourceTypeNoSource SourceType = "NO_SOURCE"
)
// Values returns all known values for SourceType. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (SourceType) Values() []SourceType {
return []SourceType{
"CODECOMMIT",
"CODEPIPELINE",
"GITHUB",
"S3",
"BITBUCKET",
"GITHUB_ENTERPRISE",
"NO_SOURCE",
}
}
type StatusType string
// Enum values for StatusType
const (
StatusTypeSucceeded StatusType = "SUCCEEDED"
StatusTypeFailed StatusType = "FAILED"
StatusTypeFault StatusType = "FAULT"
StatusTypeTimedOut StatusType = "TIMED_OUT"
StatusTypeInProgress StatusType = "IN_PROGRESS"
StatusTypeStopped StatusType = "STOPPED"
)
// Values returns all known values for StatusType. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (StatusType) Values() []StatusType {
return []StatusType{
"SUCCEEDED",
"FAILED",
"FAULT",
"TIMED_OUT",
"IN_PROGRESS",
"STOPPED",
}
}
type WebhookBuildType string
// Enum values for WebhookBuildType
const (
WebhookBuildTypeBuild WebhookBuildType = "BUILD"
WebhookBuildTypeBuildBatch WebhookBuildType = "BUILD_BATCH"
)
// Values returns all known values for WebhookBuildType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (WebhookBuildType) Values() []WebhookBuildType {
return []WebhookBuildType{
"BUILD",
"BUILD_BATCH",
}
}
type WebhookFilterType string
// Enum values for WebhookFilterType
const (
WebhookFilterTypeEvent WebhookFilterType = "EVENT"
WebhookFilterTypeBaseRef WebhookFilterType = "BASE_REF"
WebhookFilterTypeHeadRef WebhookFilterType = "HEAD_REF"
WebhookFilterTypeActorAccountId WebhookFilterType = "ACTOR_ACCOUNT_ID"
WebhookFilterTypeFilePath WebhookFilterType = "FILE_PATH"
WebhookFilterTypeCommitMessage WebhookFilterType = "COMMIT_MESSAGE"
)
// Values returns all known values for WebhookFilterType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (WebhookFilterType) Values() []WebhookFilterType {
return []WebhookFilterType{
"EVENT",
"BASE_REF",
"HEAD_REF",
"ACTOR_ACCOUNT_ID",
"FILE_PATH",
"COMMIT_MESSAGE",
}
}
|