...

Source file src/github.com/aws/aws-sdk-go-v2/service/ecrpublic/types/enums.go

Documentation: github.com/aws/aws-sdk-go-v2/service/ecrpublic/types

     1  // Code generated by smithy-go-codegen DO NOT EDIT.
     2  
     3  package types
     4  
     5  type ImageFailureCode string
     6  
     7  // Enum values for ImageFailureCode
     8  const (
     9  	ImageFailureCodeInvalidImageDigest            ImageFailureCode = "InvalidImageDigest"
    10  	ImageFailureCodeInvalidImageTag               ImageFailureCode = "InvalidImageTag"
    11  	ImageFailureCodeImageTagDoesNotMatchDigest    ImageFailureCode = "ImageTagDoesNotMatchDigest"
    12  	ImageFailureCodeImageNotFound                 ImageFailureCode = "ImageNotFound"
    13  	ImageFailureCodeMissingDigestAndTag           ImageFailureCode = "MissingDigestAndTag"
    14  	ImageFailureCodeImageReferencedByManifestList ImageFailureCode = "ImageReferencedByManifestList"
    15  	ImageFailureCodeKmsError                      ImageFailureCode = "KmsError"
    16  )
    17  
    18  // Values returns all known values for ImageFailureCode. Note that this can be
    19  // expanded in the future, and so it is only as up to date as the client. The
    20  // ordering of this slice is not guaranteed to be stable across updates.
    21  func (ImageFailureCode) Values() []ImageFailureCode {
    22  	return []ImageFailureCode{
    23  		"InvalidImageDigest",
    24  		"InvalidImageTag",
    25  		"ImageTagDoesNotMatchDigest",
    26  		"ImageNotFound",
    27  		"MissingDigestAndTag",
    28  		"ImageReferencedByManifestList",
    29  		"KmsError",
    30  	}
    31  }
    32  
    33  type LayerAvailability string
    34  
    35  // Enum values for LayerAvailability
    36  const (
    37  	LayerAvailabilityAvailable   LayerAvailability = "AVAILABLE"
    38  	LayerAvailabilityUnavailable LayerAvailability = "UNAVAILABLE"
    39  )
    40  
    41  // Values returns all known values for LayerAvailability. Note that this can be
    42  // expanded in the future, and so it is only as up to date as the client. The
    43  // ordering of this slice is not guaranteed to be stable across updates.
    44  func (LayerAvailability) Values() []LayerAvailability {
    45  	return []LayerAvailability{
    46  		"AVAILABLE",
    47  		"UNAVAILABLE",
    48  	}
    49  }
    50  
    51  type LayerFailureCode string
    52  
    53  // Enum values for LayerFailureCode
    54  const (
    55  	LayerFailureCodeInvalidLayerDigest LayerFailureCode = "InvalidLayerDigest"
    56  	LayerFailureCodeMissingLayerDigest LayerFailureCode = "MissingLayerDigest"
    57  )
    58  
    59  // Values returns all known values for LayerFailureCode. Note that this can be
    60  // expanded in the future, and so it is only as up to date as the client. The
    61  // ordering of this slice is not guaranteed to be stable across updates.
    62  func (LayerFailureCode) Values() []LayerFailureCode {
    63  	return []LayerFailureCode{
    64  		"InvalidLayerDigest",
    65  		"MissingLayerDigest",
    66  	}
    67  }
    68  
    69  type RegistryAliasStatus string
    70  
    71  // Enum values for RegistryAliasStatus
    72  const (
    73  	RegistryAliasStatusActive   RegistryAliasStatus = "ACTIVE"
    74  	RegistryAliasStatusPending  RegistryAliasStatus = "PENDING"
    75  	RegistryAliasStatusRejected RegistryAliasStatus = "REJECTED"
    76  )
    77  
    78  // Values returns all known values for RegistryAliasStatus. Note that this can be
    79  // expanded in the future, and so it is only as up to date as the client. The
    80  // ordering of this slice is not guaranteed to be stable across updates.
    81  func (RegistryAliasStatus) Values() []RegistryAliasStatus {
    82  	return []RegistryAliasStatus{
    83  		"ACTIVE",
    84  		"PENDING",
    85  		"REJECTED",
    86  	}
    87  }
    88  

View as plain text