evalphobia/aws-sdk-go-v2-wrapper

View on GitHub
s3/type_enum.go

Summary

Maintainability
A
1 hr
Test Coverage

Similar blocks of code found in 4 locations. Consider refactoring.
Open

const (
    StorageClassStandard           StorageClass = StorageClass(SDK.StorageClassStandard)
    StorageClassReducedRedundancy  StorageClass = StorageClass(SDK.StorageClassReducedRedundancy)
    StorageClassStandardIa         StorageClass = StorageClass(SDK.StorageClassStandardIa)
    StorageClassOnezoneIa          StorageClass = StorageClass(SDK.StorageClassOnezoneIa)
Severity: Major
Found in s3/type_enum.go and 3 other locations - About 35 mins to fix
dynamodb/type_enum.go on lines 325..333
s3/type_enum.go on lines 119..127
s3/type_enum.go on lines 195..203

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 107.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 4 locations. Consider refactoring.
Open

const (
    ObjectCannedACLPrivate                ObjectCannedACL = ObjectCannedACL(SDK.ObjectCannedACLPrivate)
    ObjectCannedACLPublicRead             ObjectCannedACL = ObjectCannedACL(SDK.ObjectCannedACLPublicRead)
    ObjectCannedACLPublicReadWrite        ObjectCannedACL = ObjectCannedACL(SDK.ObjectCannedACLPublicReadWrite)
    ObjectCannedACLAuthenticatedRead      ObjectCannedACL = ObjectCannedACL(SDK.ObjectCannedACLAuthenticatedRead)
Severity: Major
Found in s3/type_enum.go and 3 other locations - About 35 mins to fix
dynamodb/type_enum.go on lines 325..333
s3/type_enum.go on lines 195..203
s3/type_enum.go on lines 305..313

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 107.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 4 locations. Consider refactoring.
Open

const (
    ObjectStorageClassStandard           ObjectStorageClass = ObjectStorageClass(SDK.ObjectStorageClassStandard)
    ObjectStorageClassReducedRedundancy  ObjectStorageClass = ObjectStorageClass(SDK.ObjectStorageClassReducedRedundancy)
    ObjectStorageClassGlacier            ObjectStorageClass = ObjectStorageClass(SDK.ObjectStorageClassGlacier)
    ObjectStorageClassStandardIa         ObjectStorageClass = ObjectStorageClass(SDK.ObjectStorageClassStandardIa)
Severity: Major
Found in s3/type_enum.go and 3 other locations - About 35 mins to fix
dynamodb/type_enum.go on lines 325..333
s3/type_enum.go on lines 119..127
s3/type_enum.go on lines 305..313

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 107.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

exported method BucketCannedACL.IsPublicReadWrite should have comment or be unexported
Open

func (v BucketCannedACL) IsPublicReadWrite() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method BucketLocationConstraint.IsApSoutheast1 should have comment or be unexported
Open

func (v BucketLocationConstraint) IsApSoutheast1() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method BucketLocationConstraint.IsEuCentral1 should have comment or be unexported
Open

func (v BucketLocationConstraint) IsEuCentral1() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported type ObjectLockLegalHoldStatus should have comment or be unexported
Open

type ObjectLockLegalHoldStatus string
Severity: Minor
Found in s3/type_enum.go by golint

exported method BucketLocationConstraint.IsEuWest1 should have comment or be unexported
Open

func (v BucketLocationConstraint) IsEuWest1() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method BucketLocationConstraint.IsApSoutheast2 should have comment or be unexported
Open

func (v BucketLocationConstraint) IsApSoutheast2() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported const ObjectLockRetentionModeGovernance should have comment (or a comment on this block) or be unexported
Open

    ObjectLockRetentionModeGovernance ObjectLockRetentionMode = ObjectLockRetentionMode(SDK.ObjectLockRetentionModeGovernance)
Severity: Minor
Found in s3/type_enum.go by golint

exported method ObjectStorageClass.IsStandardIa should have comment or be unexported
Open

func (v ObjectStorageClass) IsStandardIa() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported type ObjectVersionStorageClass should have comment or be unexported
Open

type ObjectVersionStorageClass string
Severity: Minor
Found in s3/type_enum.go by golint

exported type RequestCharged should have comment or be unexported
Open

type RequestCharged string
Severity: Minor
Found in s3/type_enum.go by golint

exported method BucketLocationConstraint.IsUsWest1 should have comment or be unexported
Open

func (v BucketLocationConstraint) IsUsWest1() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported type ExpirationStatus should have comment or be unexported
Open

type ExpirationStatus string
Severity: Minor
Found in s3/type_enum.go by golint

exported method ObjectCannedACL.IsBucketOwnerRead should have comment or be unexported
Open

func (v ObjectCannedACL) IsBucketOwnerRead() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method ObjectStorageClass.IsOnezoneIa should have comment or be unexported
Open

func (v ObjectStorageClass) IsOnezoneIa() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method ObjectCannedACL.IsPrivate should have comment or be unexported
Open

func (v ObjectCannedACL) IsPrivate() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method ObjectStorageClass.IsGlacier should have comment or be unexported
Open

func (v ObjectStorageClass) IsGlacier() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method RequestCharged.IsRequester should have comment or be unexported
Open

func (v RequestCharged) IsRequester() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method RequestPayer.IsRequester should have comment or be unexported
Open

func (v RequestPayer) IsRequester() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported type BucketCannedACL should have comment or be unexported
Open

type BucketCannedACL string
Severity: Minor
Found in s3/type_enum.go by golint

exported method ExpirationStatus.IsDisabled should have comment or be unexported
Open

func (v ExpirationStatus) IsDisabled() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method ObjectCannedACL.IsBucketOwnerFullControl should have comment or be unexported
Open

func (v ObjectCannedACL) IsBucketOwnerFullControl() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method ObjectLockLegalHoldStatus.IsOn should have comment or be unexported
Open

func (v ObjectLockLegalHoldStatus) IsOn() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported type ObjectLockMode should have comment or be unexported
Open

type ObjectLockMode string
Severity: Minor
Found in s3/type_enum.go by golint

exported const ObjectLockModeGovernance should have comment (or a comment on this block) or be unexported
Open

    ObjectLockModeGovernance ObjectLockMode = ObjectLockMode(SDK.ObjectLockModeGovernance)
Severity: Minor
Found in s3/type_enum.go by golint

exported method ObjectLockMode.IsGovernance should have comment or be unexported
Open

func (v ObjectLockMode) IsGovernance() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported const BucketLocationConstraintEu should have comment (or a comment on this block) or be unexported
Open

    BucketLocationConstraintEu           BucketLocationConstraint = BucketLocationConstraint(SDK.BucketLocationConstraintEu)
Severity: Minor
Found in s3/type_enum.go by golint

exported const MetadataDirectiveCopy should have comment (or a comment on this block) or be unexported
Open

    MetadataDirectiveCopy    MetadataDirective = MetadataDirective(SDK.MetadataDirectiveCopy)
Severity: Minor
Found in s3/type_enum.go by golint

exported method ObjectCannedACL.IsPublicRead should have comment or be unexported
Open

func (v ObjectCannedACL) IsPublicRead() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported type ObjectLockRetentionMode should have comment or be unexported
Open

type ObjectLockRetentionMode string
Severity: Minor
Found in s3/type_enum.go by golint

exported type ObjectStorageClass should have comment or be unexported
Open

type ObjectStorageClass string
Severity: Minor
Found in s3/type_enum.go by golint

exported const ReplicationStatusComplete should have comment (or a comment on this block) or be unexported
Open

    ReplicationStatusComplete ReplicationStatus = ReplicationStatus(SDK.ReplicationStatusComplete)
Severity: Minor
Found in s3/type_enum.go by golint

exported const RequestPayerRequester should have comment (or a comment on this block) or be unexported
Open

    RequestPayerRequester RequestPayer = "requester"
Severity: Minor
Found in s3/type_enum.go by golint

exported const BucketCannedACLPrivate should have comment (or a comment on this block) or be unexported
Open

    BucketCannedACLPrivate           BucketCannedACL = BucketCannedACL(SDK.BucketCannedACLPrivate)
Severity: Minor
Found in s3/type_enum.go by golint

exported method BucketLocationConstraint.IsUsWest2 should have comment or be unexported
Open

func (v BucketLocationConstraint) IsUsWest2() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported type EncodingType should have comment or be unexported
Open

type EncodingType string
Severity: Minor
Found in s3/type_enum.go by golint

exported type MetadataDirective should have comment or be unexported
Open

type MetadataDirective string
Severity: Minor
Found in s3/type_enum.go by golint

exported method MetadataDirective.IsCopy should have comment or be unexported
Open

func (v MetadataDirective) IsCopy() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method ObjectLockRetentionMode.IsGovernance should have comment or be unexported
Open

func (v ObjectLockRetentionMode) IsGovernance() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method ObjectStorageClass.IsReducedRedundancy should have comment or be unexported
Open

func (v ObjectStorageClass) IsReducedRedundancy() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method ObjectStorageClass.IsDeepArchive should have comment or be unexported
Open

func (v ObjectStorageClass) IsDeepArchive() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method BucketCannedACL.IsPrivate should have comment or be unexported
Open

func (v BucketCannedACL) IsPrivate() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method BucketLocationConstraint.IsApNortheast1 should have comment or be unexported
Open

func (v BucketLocationConstraint) IsApNortheast1() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method EncodingType.IsURL should have comment or be unexported
Open

func (v EncodingType) IsURL() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method ObjectCannedACL.IsPublicReadWrite should have comment or be unexported
Open

func (v ObjectCannedACL) IsPublicReadWrite() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method ObjectLockRetentionMode.IsCompliance should have comment or be unexported
Open

func (v ObjectLockRetentionMode) IsCompliance() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method BucketLocationConstraint.IsEu should have comment or be unexported
Open

func (v BucketLocationConstraint) IsEu() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method BucketLocationConstraint.IsCnNorth1 should have comment or be unexported
Open

func (v BucketLocationConstraint) IsCnNorth1() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported const PermissionFullControl should have comment (or a comment on this block) or be unexported
Open

    PermissionFullControl Permission = Permission(SDK.PermissionFullControl)
Severity: Minor
Found in s3/type_enum.go by golint

exported const EncodingTypeURL should have comment (or a comment on this block) or be unexported
Open

    EncodingTypeURL EncodingType = EncodingType(SDK.EncodingTypeUrl)
Severity: Minor
Found in s3/type_enum.go by golint

exported method ObjectCannedACL.IsAuthenticatedRead should have comment or be unexported
Open

func (v ObjectCannedACL) IsAuthenticatedRead() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported const ObjectVersionStorageClassStandard should have comment (or a comment on this block) or be unexported
Open

    ObjectVersionStorageClassStandard ObjectVersionStorageClass = ObjectVersionStorageClass(SDK.ObjectVersionStorageClassStandard)
Severity: Minor
Found in s3/type_enum.go by golint

exported type ReplicationStatus should have comment or be unexported
Open

type ReplicationStatus string
Severity: Minor
Found in s3/type_enum.go by golint

exported method ReplicationStatus.IsPending should have comment or be unexported
Open

func (v ReplicationStatus) IsPending() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method ReplicationStatus.IsFailed should have comment or be unexported
Open

func (v ReplicationStatus) IsFailed() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method BucketCannedACL.IsAuthenticatedRead should have comment or be unexported
Open

func (v BucketCannedACL) IsAuthenticatedRead() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method ObjectStorageClass.IsStandard should have comment or be unexported
Open

func (v ObjectStorageClass) IsStandard() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method ReplicationStatus.IsReplica should have comment or be unexported
Open

func (v ReplicationStatus) IsReplica() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported const ExpirationStatusEnabled should have comment (or a comment on this block) or be unexported
Open

    ExpirationStatusEnabled  ExpirationStatus = ExpirationStatus(SDK.ExpirationStatusEnabled)
Severity: Minor
Found in s3/type_enum.go by golint

exported method MetadataDirective.IsReplace should have comment or be unexported
Open

func (v MetadataDirective) IsReplace() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported const ObjectLockLegalHoldStatusOn should have comment (or a comment on this block) or be unexported
Open

    ObjectLockLegalHoldStatusOn  ObjectLockLegalHoldStatus = ObjectLockLegalHoldStatus(SDK.ObjectLockLegalHoldStatusOn)
Severity: Minor
Found in s3/type_enum.go by golint

exported method ObjectLockLegalHoldStatus.IsOff should have comment or be unexported
Open

func (v ObjectLockLegalHoldStatus) IsOff() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported const ObjectStorageClassStandard should have comment (or a comment on this block) or be unexported
Open

    ObjectStorageClassStandard           ObjectStorageClass = ObjectStorageClass(SDK.ObjectStorageClassStandard)
Severity: Minor
Found in s3/type_enum.go by golint

exported method ObjectStorageClass.IsIntelligentTiering should have comment or be unexported
Open

func (v ObjectStorageClass) IsIntelligentTiering() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported const RequestChargedRequester should have comment (or a comment on this block) or be unexported
Open

    RequestChargedRequester RequestCharged = RequestCharged(SDK.RequestChargedRequester)
Severity: Minor
Found in s3/type_enum.go by golint

exported method BucketCannedACL.IsPublicRead should have comment or be unexported
Open

func (v BucketCannedACL) IsPublicRead() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported type BucketLocationConstraint should have comment or be unexported
Open

type BucketLocationConstraint string
Severity: Minor
Found in s3/type_enum.go by golint

exported method BucketLocationConstraint.IsApSouth1 should have comment or be unexported
Open

func (v BucketLocationConstraint) IsApSouth1() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method BucketLocationConstraint.IsSaEast1 should have comment or be unexported
Open

func (v BucketLocationConstraint) IsSaEast1() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported const ObjectCannedACLPrivate should have comment (or a comment on this block) or be unexported
Open

    ObjectCannedACLPrivate                ObjectCannedACL = ObjectCannedACL(SDK.ObjectCannedACLPrivate)
Severity: Minor
Found in s3/type_enum.go by golint

exported method ObjectLockMode.IsCompliance should have comment or be unexported
Open

func (v ObjectLockMode) IsCompliance() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method ExpirationStatus.IsEnabled should have comment or be unexported
Open

func (v ExpirationStatus) IsEnabled() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method ObjectCannedACL.IsAwsExecRead should have comment or be unexported
Open

func (v ObjectCannedACL) IsAwsExecRead() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method ObjectVersionStorageClass.IsStandard should have comment or be unexported
Open

func (v ObjectVersionStorageClass) IsStandard() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported type Permission should have comment or be unexported
Open

type Permission string
Severity: Minor
Found in s3/type_enum.go by golint

exported type ObjectCannedACL should have comment or be unexported
Open

type ObjectCannedACL string
Severity: Minor
Found in s3/type_enum.go by golint

exported method ReplicationStatus.IsComplete should have comment or be unexported
Open

func (v ReplicationStatus) IsComplete() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported type RequestPayer should have comment or be unexported
Open

type RequestPayer string
Severity: Minor
Found in s3/type_enum.go by golint

exported method TransitionStorageClass.IsIntelligentTiering should have comment or be unexported
Open

func (v TransitionStorageClass) IsIntelligentTiering() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported const TypeCanonicalUser should have comment (or a comment on this block) or be unexported
Open

    TypeCanonicalUser         Type = Type(SDK.TypeCanonicalUser)
Severity: Minor
Found in s3/type_enum.go by golint

exported const StorageClassStandard should have comment (or a comment on this block) or be unexported
Open

    StorageClassStandard           StorageClass = StorageClass(SDK.StorageClassStandard)
Severity: Minor
Found in s3/type_enum.go by golint

exported method TaggingDirective.IsReplace should have comment or be unexported
Open

func (v TaggingDirective) IsReplace() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported type TransitionStorageClass should have comment or be unexported
Open

type TransitionStorageClass string
Severity: Minor
Found in s3/type_enum.go by golint

exported type Type should have comment or be unexported
Open

type Type string
Severity: Minor
Found in s3/type_enum.go by golint

exported method StorageClass.IsOnezoneIa should have comment or be unexported
Open

func (v StorageClass) IsOnezoneIa() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported const TaggingDirectiveCopy should have comment (or a comment on this block) or be unexported
Open

    TaggingDirectiveCopy    TaggingDirective = TaggingDirective(SDK.TaggingDirectiveCopy)
Severity: Minor
Found in s3/type_enum.go by golint

exported method StorageClass.IsIntelligentTiering should have comment or be unexported
Open

func (v StorageClass) IsIntelligentTiering() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method StorageClass.IsGlacier should have comment or be unexported
Open

func (v StorageClass) IsGlacier() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method TransitionStorageClass.IsOnezoneIa should have comment or be unexported
Open

func (v TransitionStorageClass) IsOnezoneIa() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method TransitionStorageClass.IsDeepArchive should have comment or be unexported
Open

func (v TransitionStorageClass) IsDeepArchive() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method StorageClass.IsReducedRedundancy should have comment or be unexported
Open

func (v StorageClass) IsReducedRedundancy() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported const ServerSideEncryptionAes256 should have comment (or a comment on this block) or be unexported
Open

    ServerSideEncryptionAes256 ServerSideEncryption = "AES256"
Severity: Minor
Found in s3/type_enum.go by golint

exported method Type.IsGroup should have comment or be unexported
Open

func (v Type) IsGroup() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method StorageClass.IsStandardIa should have comment or be unexported
Open

func (v StorageClass) IsStandardIa() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method TaggingDirective.IsCopy should have comment or be unexported
Open

func (v TaggingDirective) IsCopy() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method Type.IsAmazonCustomerByEmail should have comment or be unexported
Open

func (v Type) IsAmazonCustomerByEmail() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method TransitionStorageClass.IsStandardIa should have comment or be unexported
Open

func (v TransitionStorageClass) IsStandardIa() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method Type.IsCanonicalUser should have comment or be unexported
Open

func (v Type) IsCanonicalUser() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported const TransitionStorageClassGlacier should have comment (or a comment on this block) or be unexported
Open

    TransitionStorageClassGlacier            TransitionStorageClass = TransitionStorageClass(SDK.TransitionStorageClassGlacier)
Severity: Minor
Found in s3/type_enum.go by golint

exported method TransitionStorageClass.IsGlacier should have comment or be unexported
Open

func (v TransitionStorageClass) IsGlacier() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported type ServerSideEncryption should have comment or be unexported
Open

type ServerSideEncryption string
Severity: Minor
Found in s3/type_enum.go by golint

exported method ServerSideEncryption.IsAwsKms should have comment or be unexported
Open

func (v ServerSideEncryption) IsAwsKms() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported type StorageClass should have comment or be unexported
Open

type StorageClass string
Severity: Minor
Found in s3/type_enum.go by golint

exported method StorageClass.IsStandard should have comment or be unexported
Open

func (v StorageClass) IsStandard() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported method StorageClass.IsDeepArchive should have comment or be unexported
Open

func (v StorageClass) IsDeepArchive() bool {
Severity: Minor
Found in s3/type_enum.go by golint

exported type TaggingDirective should have comment or be unexported
Open

type TaggingDirective string
Severity: Minor
Found in s3/type_enum.go by golint

exported method ServerSideEncryption.IsAes256 should have comment or be unexported
Open

func (v ServerSideEncryption) IsAes256() bool {
Severity: Minor
Found in s3/type_enum.go by golint

There are no issues that match your filters.

Category
Status