...

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

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

     1  // Code generated by smithy-go-codegen DO NOT EDIT.
     2  
     3  package types
     4  
     5  type EncryptionType string
     6  
     7  // Enum values for EncryptionType
     8  const (
     9  	EncryptionTypeAes256 EncryptionType = "AES256"
    10  	EncryptionTypeKms    EncryptionType = "KMS"
    11  )
    12  
    13  // Values returns all known values for EncryptionType. Note that this can be
    14  // expanded in the future, and so it is only as up to date as the client. The
    15  // ordering of this slice is not guaranteed to be stable across updates.
    16  func (EncryptionType) Values() []EncryptionType {
    17  	return []EncryptionType{
    18  		"AES256",
    19  		"KMS",
    20  	}
    21  }
    22  
    23  type FindingSeverity string
    24  
    25  // Enum values for FindingSeverity
    26  const (
    27  	FindingSeverityInformational FindingSeverity = "INFORMATIONAL"
    28  	FindingSeverityLow           FindingSeverity = "LOW"
    29  	FindingSeverityMedium        FindingSeverity = "MEDIUM"
    30  	FindingSeverityHigh          FindingSeverity = "HIGH"
    31  	FindingSeverityCritical      FindingSeverity = "CRITICAL"
    32  	FindingSeverityUndefined     FindingSeverity = "UNDEFINED"
    33  )
    34  
    35  // Values returns all known values for FindingSeverity. Note that this can be
    36  // expanded in the future, and so it is only as up to date as the client. The
    37  // ordering of this slice is not guaranteed to be stable across updates.
    38  func (FindingSeverity) Values() []FindingSeverity {
    39  	return []FindingSeverity{
    40  		"INFORMATIONAL",
    41  		"LOW",
    42  		"MEDIUM",
    43  		"HIGH",
    44  		"CRITICAL",
    45  		"UNDEFINED",
    46  	}
    47  }
    48  
    49  type ImageActionType string
    50  
    51  // Enum values for ImageActionType
    52  const (
    53  	ImageActionTypeExpire ImageActionType = "EXPIRE"
    54  )
    55  
    56  // Values returns all known values for ImageActionType. Note that this can be
    57  // expanded in the future, and so it is only as up to date as the client. The
    58  // ordering of this slice is not guaranteed to be stable across updates.
    59  func (ImageActionType) Values() []ImageActionType {
    60  	return []ImageActionType{
    61  		"EXPIRE",
    62  	}
    63  }
    64  
    65  type ImageFailureCode string
    66  
    67  // Enum values for ImageFailureCode
    68  const (
    69  	ImageFailureCodeInvalidImageDigest            ImageFailureCode = "InvalidImageDigest"
    70  	ImageFailureCodeInvalidImageTag               ImageFailureCode = "InvalidImageTag"
    71  	ImageFailureCodeImageTagDoesNotMatchDigest    ImageFailureCode = "ImageTagDoesNotMatchDigest"
    72  	ImageFailureCodeImageNotFound                 ImageFailureCode = "ImageNotFound"
    73  	ImageFailureCodeMissingDigestAndTag           ImageFailureCode = "MissingDigestAndTag"
    74  	ImageFailureCodeImageReferencedByManifestList ImageFailureCode = "ImageReferencedByManifestList"
    75  	ImageFailureCodeKmsError                      ImageFailureCode = "KmsError"
    76  )
    77  
    78  // Values returns all known values for ImageFailureCode. 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 (ImageFailureCode) Values() []ImageFailureCode {
    82  	return []ImageFailureCode{
    83  		"InvalidImageDigest",
    84  		"InvalidImageTag",
    85  		"ImageTagDoesNotMatchDigest",
    86  		"ImageNotFound",
    87  		"MissingDigestAndTag",
    88  		"ImageReferencedByManifestList",
    89  		"KmsError",
    90  	}
    91  }
    92  
    93  type ImageTagMutability string
    94  
    95  // Enum values for ImageTagMutability
    96  const (
    97  	ImageTagMutabilityMutable   ImageTagMutability = "MUTABLE"
    98  	ImageTagMutabilityImmutable ImageTagMutability = "IMMUTABLE"
    99  )
   100  
   101  // Values returns all known values for ImageTagMutability. Note that this can be
   102  // expanded in the future, and so it is only as up to date as the client. The
   103  // ordering of this slice is not guaranteed to be stable across updates.
   104  func (ImageTagMutability) Values() []ImageTagMutability {
   105  	return []ImageTagMutability{
   106  		"MUTABLE",
   107  		"IMMUTABLE",
   108  	}
   109  }
   110  
   111  type LayerAvailability string
   112  
   113  // Enum values for LayerAvailability
   114  const (
   115  	LayerAvailabilityAvailable   LayerAvailability = "AVAILABLE"
   116  	LayerAvailabilityUnavailable LayerAvailability = "UNAVAILABLE"
   117  )
   118  
   119  // Values returns all known values for LayerAvailability. Note that this can be
   120  // expanded in the future, and so it is only as up to date as the client. The
   121  // ordering of this slice is not guaranteed to be stable across updates.
   122  func (LayerAvailability) Values() []LayerAvailability {
   123  	return []LayerAvailability{
   124  		"AVAILABLE",
   125  		"UNAVAILABLE",
   126  	}
   127  }
   128  
   129  type LayerFailureCode string
   130  
   131  // Enum values for LayerFailureCode
   132  const (
   133  	LayerFailureCodeInvalidLayerDigest LayerFailureCode = "InvalidLayerDigest"
   134  	LayerFailureCodeMissingLayerDigest LayerFailureCode = "MissingLayerDigest"
   135  )
   136  
   137  // Values returns all known values for LayerFailureCode. Note that this can be
   138  // expanded in the future, and so it is only as up to date as the client. The
   139  // ordering of this slice is not guaranteed to be stable across updates.
   140  func (LayerFailureCode) Values() []LayerFailureCode {
   141  	return []LayerFailureCode{
   142  		"InvalidLayerDigest",
   143  		"MissingLayerDigest",
   144  	}
   145  }
   146  
   147  type LifecyclePolicyPreviewStatus string
   148  
   149  // Enum values for LifecyclePolicyPreviewStatus
   150  const (
   151  	LifecyclePolicyPreviewStatusInProgress LifecyclePolicyPreviewStatus = "IN_PROGRESS"
   152  	LifecyclePolicyPreviewStatusComplete   LifecyclePolicyPreviewStatus = "COMPLETE"
   153  	LifecyclePolicyPreviewStatusExpired    LifecyclePolicyPreviewStatus = "EXPIRED"
   154  	LifecyclePolicyPreviewStatusFailed     LifecyclePolicyPreviewStatus = "FAILED"
   155  )
   156  
   157  // Values returns all known values for LifecyclePolicyPreviewStatus. Note that
   158  // this can be expanded in the future, and so it is only as up to date as the
   159  // client. The ordering of this slice is not guaranteed to be stable across
   160  // updates.
   161  func (LifecyclePolicyPreviewStatus) Values() []LifecyclePolicyPreviewStatus {
   162  	return []LifecyclePolicyPreviewStatus{
   163  		"IN_PROGRESS",
   164  		"COMPLETE",
   165  		"EXPIRED",
   166  		"FAILED",
   167  	}
   168  }
   169  
   170  type ReplicationStatus string
   171  
   172  // Enum values for ReplicationStatus
   173  const (
   174  	ReplicationStatusInProgress ReplicationStatus = "IN_PROGRESS"
   175  	ReplicationStatusComplete   ReplicationStatus = "COMPLETE"
   176  	ReplicationStatusFailed     ReplicationStatus = "FAILED"
   177  )
   178  
   179  // Values returns all known values for ReplicationStatus. Note that this can be
   180  // expanded in the future, and so it is only as up to date as the client. The
   181  // ordering of this slice is not guaranteed to be stable across updates.
   182  func (ReplicationStatus) Values() []ReplicationStatus {
   183  	return []ReplicationStatus{
   184  		"IN_PROGRESS",
   185  		"COMPLETE",
   186  		"FAILED",
   187  	}
   188  }
   189  
   190  type RepositoryFilterType string
   191  
   192  // Enum values for RepositoryFilterType
   193  const (
   194  	RepositoryFilterTypePrefixMatch RepositoryFilterType = "PREFIX_MATCH"
   195  )
   196  
   197  // Values returns all known values for RepositoryFilterType. Note that this can be
   198  // expanded in the future, and so it is only as up to date as the client. The
   199  // ordering of this slice is not guaranteed to be stable across updates.
   200  func (RepositoryFilterType) Values() []RepositoryFilterType {
   201  	return []RepositoryFilterType{
   202  		"PREFIX_MATCH",
   203  	}
   204  }
   205  
   206  type ScanFrequency string
   207  
   208  // Enum values for ScanFrequency
   209  const (
   210  	ScanFrequencyScanOnPush     ScanFrequency = "SCAN_ON_PUSH"
   211  	ScanFrequencyContinuousScan ScanFrequency = "CONTINUOUS_SCAN"
   212  	ScanFrequencyManual         ScanFrequency = "MANUAL"
   213  )
   214  
   215  // Values returns all known values for ScanFrequency. Note that this can be
   216  // expanded in the future, and so it is only as up to date as the client. The
   217  // ordering of this slice is not guaranteed to be stable across updates.
   218  func (ScanFrequency) Values() []ScanFrequency {
   219  	return []ScanFrequency{
   220  		"SCAN_ON_PUSH",
   221  		"CONTINUOUS_SCAN",
   222  		"MANUAL",
   223  	}
   224  }
   225  
   226  type ScanningConfigurationFailureCode string
   227  
   228  // Enum values for ScanningConfigurationFailureCode
   229  const (
   230  	ScanningConfigurationFailureCodeRepositoryNotFound ScanningConfigurationFailureCode = "REPOSITORY_NOT_FOUND"
   231  )
   232  
   233  // Values returns all known values for ScanningConfigurationFailureCode. Note that
   234  // this can be expanded in the future, and so it is only as up to date as the
   235  // client. The ordering of this slice is not guaranteed to be stable across
   236  // updates.
   237  func (ScanningConfigurationFailureCode) Values() []ScanningConfigurationFailureCode {
   238  	return []ScanningConfigurationFailureCode{
   239  		"REPOSITORY_NOT_FOUND",
   240  	}
   241  }
   242  
   243  type ScanningRepositoryFilterType string
   244  
   245  // Enum values for ScanningRepositoryFilterType
   246  const (
   247  	ScanningRepositoryFilterTypeWildcard ScanningRepositoryFilterType = "WILDCARD"
   248  )
   249  
   250  // Values returns all known values for ScanningRepositoryFilterType. Note that
   251  // this can be expanded in the future, and so it is only as up to date as the
   252  // client. The ordering of this slice is not guaranteed to be stable across
   253  // updates.
   254  func (ScanningRepositoryFilterType) Values() []ScanningRepositoryFilterType {
   255  	return []ScanningRepositoryFilterType{
   256  		"WILDCARD",
   257  	}
   258  }
   259  
   260  type ScanStatus string
   261  
   262  // Enum values for ScanStatus
   263  const (
   264  	ScanStatusInProgress             ScanStatus = "IN_PROGRESS"
   265  	ScanStatusComplete               ScanStatus = "COMPLETE"
   266  	ScanStatusFailed                 ScanStatus = "FAILED"
   267  	ScanStatusUnsupportedImage       ScanStatus = "UNSUPPORTED_IMAGE"
   268  	ScanStatusActive                 ScanStatus = "ACTIVE"
   269  	ScanStatusPending                ScanStatus = "PENDING"
   270  	ScanStatusScanEligibilityExpired ScanStatus = "SCAN_ELIGIBILITY_EXPIRED"
   271  	ScanStatusFindingsUnavailable    ScanStatus = "FINDINGS_UNAVAILABLE"
   272  )
   273  
   274  // Values returns all known values for ScanStatus. Note that this can be expanded
   275  // in the future, and so it is only as up to date as the client. The ordering of
   276  // this slice is not guaranteed to be stable across updates.
   277  func (ScanStatus) Values() []ScanStatus {
   278  	return []ScanStatus{
   279  		"IN_PROGRESS",
   280  		"COMPLETE",
   281  		"FAILED",
   282  		"UNSUPPORTED_IMAGE",
   283  		"ACTIVE",
   284  		"PENDING",
   285  		"SCAN_ELIGIBILITY_EXPIRED",
   286  		"FINDINGS_UNAVAILABLE",
   287  	}
   288  }
   289  
   290  type ScanType string
   291  
   292  // Enum values for ScanType
   293  const (
   294  	ScanTypeBasic    ScanType = "BASIC"
   295  	ScanTypeEnhanced ScanType = "ENHANCED"
   296  )
   297  
   298  // Values returns all known values for ScanType. Note that this can be expanded in
   299  // the future, and so it is only as up to date as the client. The ordering of this
   300  // slice is not guaranteed to be stable across updates.
   301  func (ScanType) Values() []ScanType {
   302  	return []ScanType{
   303  		"BASIC",
   304  		"ENHANCED",
   305  	}
   306  }
   307  
   308  type TagStatus string
   309  
   310  // Enum values for TagStatus
   311  const (
   312  	TagStatusTagged   TagStatus = "TAGGED"
   313  	TagStatusUntagged TagStatus = "UNTAGGED"
   314  	TagStatusAny      TagStatus = "ANY"
   315  )
   316  
   317  // Values returns all known values for TagStatus. Note that this can be expanded
   318  // in the future, and so it is only as up to date as the client. The ordering of
   319  // this slice is not guaranteed to be stable across updates.
   320  func (TagStatus) Values() []TagStatus {
   321  	return []TagStatus{
   322  		"TAGGED",
   323  		"UNTAGGED",
   324  		"ANY",
   325  	}
   326  }
   327  

View as plain text