repo stringlengths 6 47 | file_url stringlengths 77 269 | file_path stringlengths 5 186 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-07 08:35:43 2026-01-07 08:55:24 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/sqs/checksums.go | vendor/github.com/aws/aws-sdk-go/service/sqs/checksums.go | package sqs
import (
"crypto/md5"
"encoding/hex"
"fmt"
"strings"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/request"
)
var (
errChecksumMissingBody = fmt.Errorf("cannot compute checksum. missing body")
errChecksumMissingMD5 = fmt.Errorf("cannot ver... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/sts/api.go | vendor/github.com/aws/aws-sdk-go/service/sts/api.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package sts
import (
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/aws/aws-sdk-go/aws/request"
)
const opAssumeRole = "AssumeRole"
// AssumeRoleRequest generates a "aws/request.Request" representin... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/sts/examples_test.go | vendor/github.com/aws/aws-sdk-go/service/sts/examples_test.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package sts_test
import (
"fmt"
"strings"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/sts"
)
var _ time.Duration
var _ strings.Read... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/sts/service.go | vendor/github.com/aws/aws-sdk-go/service/sts/service.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package sts
import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk-go/aws/client/metadata"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/aws/signer/v4"
"github.com/aws/aws-s... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/sts/errors.go | vendor/github.com/aws/aws-sdk-go/service/sts/errors.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package sts
const (
// ErrCodeExpiredTokenException for service response error code
// "ExpiredTokenException".
//
// The web identity token that was passed is expired or is not valid. Get a
// new identity token from the identity provider and... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/sts/customizations_test.go | vendor/github.com/aws/aws-sdk-go/service/sts/customizations_test.go | package sts_test
import (
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/awstesting/unit"
"github.com/aws/aws-sdk-go/service/sts"
)
var svc = sts.New(unit.Session, &aws.Config{
Region: aws.String("mock-region"),
})
func TestUnsignedRequest_AssumeRoleWithSAML(t *testing.T) {
req, _ := svc... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/sts/customizations.go | vendor/github.com/aws/aws-sdk-go/service/sts/customizations.go | package sts
import "github.com/aws/aws-sdk-go/aws/request"
func init() {
initRequest = func(r *request.Request) {
switch r.Operation.Name {
case opAssumeRoleWithSAML, opAssumeRoleWithWebIdentity:
r.Handlers.Sign.Clear() // these operations are unsigned
}
}
}
| go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/sts/doc.go | vendor/github.com/aws/aws-sdk-go/service/sts/doc.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package sts provides the client and types for making API
// requests to AWS Security Token Service.
//
// The AWS Security Token Service (STS) is a web service that enables you to
// request temporary, limited-privilege credentials for AWS Identit... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/statusok_error.go | vendor/github.com/aws/aws-sdk-go/service/s3/statusok_error.go | package s3
import (
"bytes"
"io/ioutil"
"net/http"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/internal/sdkio"
)
func copyMultipartStatusOKUnmarhsalError(r *request.Request) {
b, err := ioutil.ReadAll(r.HTTPResponse.Body)
if err != nil {
r.Error... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/unmarshal_error_test.go | vendor/github.com/aws/aws-sdk-go/service/s3/unmarshal_error_test.go | package s3_test
import (
"bytes"
"fmt"
"io/ioutil"
"net/http"
"strings"
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/awstesting/unit"
"github.com/aws/aws-sdk-go/service/s3"
)
type testErrorCase struct {
... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/api.go | vendor/github.com/aws/aws-sdk-go/service/s3/api.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package s3
import (
"fmt"
"io"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/private/protocol"
"github.com/aws/aws-sdk-go/private/protocol/r... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/platform_handlers.go | vendor/github.com/aws/aws-sdk-go/service/s3/platform_handlers.go | // +build !go1.6
package s3
import "github.com/aws/aws-sdk-go/aws/request"
func platformRequestHandlers(r *request.Request) {
}
| go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/examples_test.go | vendor/github.com/aws/aws-sdk-go/service/s3/examples_test.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package s3_test
import (
"fmt"
"strings"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/s3"
)
var _ time.Duration
var _ strings.Reader... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/sse.go | vendor/github.com/aws/aws-sdk-go/service/s3/sse.go | package s3
import (
"crypto/md5"
"encoding/base64"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/request"
)
var errSSERequiresSSL = awserr.New("ConfigError", "cannot send SSE keys over HTTP.", nil)
func validateSSERequiresSSL(r *request.Request) {
if r.HTTPRequest.URL.Scheme == "https" ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/service.go | vendor/github.com/aws/aws-sdk-go/service/s3/service.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package s3
import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk-go/aws/client/metadata"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/aws/signer/v4"
"github.com/aws/aws-sd... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/waiters.go | vendor/github.com/aws/aws-sdk-go/service/s3/waiters.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package s3
import (
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/request"
)
// WaitUntilBucketExists uses the Amazon S3 API operation
// HeadBucket to wait for a condition to be met before returning.
// If the condition... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/bucket_location_test.go | vendor/github.com/aws/aws-sdk-go/service/s3/bucket_location_test.go | package s3_test
import (
"bytes"
"io/ioutil"
"net/http"
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/awstesting/unit"
"github.com/aws/aws-sdk-go/service/s3"
)
var s3LocationTests = []struct {
body string... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/statusok_error_test.go | vendor/github.com/aws/aws-sdk-go/service/s3/statusok_error_test.go | package s3_test
import (
"fmt"
"net/http"
"net/http/httptest"
"testing"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/awstesting/unit"
"github.com/aws/aws-sdk-go/service/s3"
)
const errMsg = `<Error><Code>ErrorCode</Code><Message>message body</Messa... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/errors.go | vendor/github.com/aws/aws-sdk-go/service/s3/errors.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package s3
const (
// ErrCodeBucketAlreadyExists for service response error code
// "BucketAlreadyExists".
//
// The requested bucket name is not available. The bucket namespace is shared
// by all users of the system. Please select a differen... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/customizations_test.go | vendor/github.com/aws/aws-sdk-go/service/s3/customizations_test.go | package s3_test
import (
"crypto/md5"
"encoding/base64"
"io/ioutil"
"net/http"
"net/http/httptest"
"strings"
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/awstesting/unit"
"github.com/aws/aws-sdk-go/service/s3"
)
func assertMD5(t *testing.T, r... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/doc_custom.go | vendor/github.com/aws/aws-sdk-go/service/s3/doc_custom.go | // Upload Managers
//
// The s3manager package's Uploader provides concurrent upload of content to S3
// by taking advantage of S3's Multipart APIs. The Uploader also supports both
// io.Reader for streaming uploads, and will also take advantage of io.ReadSeeker
// for optimizations if the Body satisfies that type. Onc... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/customizations.go | vendor/github.com/aws/aws-sdk-go/service/s3/customizations.go | package s3
import (
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk-go/aws/request"
)
func init() {
initClient = defaultInitClientFn
initRequest = defaultInitRequestFn
}
func defaultInitClientFn(c *client.Client) {
// Support building custom endpoints based on config
c.Handlers.Build.PushFront(u... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/unmarshal_error_leak_test.go | vendor/github.com/aws/aws-sdk-go/service/s3/unmarshal_error_leak_test.go | package s3
import (
"net/http"
"testing"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/awstesting"
)
func TestUnmarhsalErrorLeak(t *testing.T) {
req := &request.Request{
HTTPRequest: &http.Request{
Header: make(http.Header),
Body: &awstesting.ReadCloser{Size: 2048},
},
}
req.H... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/bucket_location.go | vendor/github.com/aws/aws-sdk-go/service/s3/bucket_location.go | package s3
import (
"io/ioutil"
"regexp"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/aws/aws-sdk-go/aws/request"
)
var reBucketLocation = regexp.MustCompile(`>([^<>]+)<\/Location`)
// NormalizeBucketLocation is a utility function w... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/body_hash_test.go | vendor/github.com/aws/aws-sdk-go/service/s3/body_hash_test.go | package s3
import (
"bytes"
"crypto/md5"
"fmt"
"io"
"io/ioutil"
"net/http"
"strings"
"testing"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/internal/sdkio"
)
type errorReader struct{}
func (errorReader) Read([]byte) (int, error) {
return 0, f... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/bench_test.go | vendor/github.com/aws/aws-sdk-go/service/s3/bench_test.go | package s3
import (
"bytes"
"testing"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/awstesting/unit"
)
func BenchmarkPresign_GetObject(b *testing.B) {
sess := unit.Session
svc := New(sess)
for i := 0; i < b.N; i++ {
req, _ := svc.GetObjectRequest(&GetObjectInput{
Bucket: aws.String(... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/platform_handlers_go1.6_test.go | vendor/github.com/aws/aws-sdk-go/service/s3/platform_handlers_go1.6_test.go | // +build go1.6
package s3_test
import (
"bytes"
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/awstesting/unit"
"github.com/aws/aws-sdk-go/service/s3"
)
func TestAdd100Continue_Added(t *testing.T) {
svc := s3.New(unit.Session)
r, _ := svc.PutObjectRequest(&s3.PutObjectInput{
Bucket: ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/sse_test.go | vendor/github.com/aws/aws-sdk-go/service/s3/sse_test.go | package s3_test
import (
"strings"
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/awstesting/unit"
"github.com/aws/aws-sdk-go/service/s3"
)
func TestSSECustomerKeyOverHTTPError(t *testing.T) {
s := s3.New(unit.Session, &aws.Config{DisableSSL: aws.Bo... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/host_style_bucket_test.go | vendor/github.com/aws/aws-sdk-go/service/s3/host_style_bucket_test.go | package s3_test
import (
"net/url"
"strings"
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/awstesting/unit"
"github.com/aws/aws-sdk-go/service/s3"
)
type s3BucketTest struct {
bucket string
url string
errCode string
}
var (
sslTests = []s... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/platform_handlers_go1.6.go | vendor/github.com/aws/aws-sdk-go/service/s3/platform_handlers_go1.6.go | // +build go1.6
package s3
import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/request"
)
func platformRequestHandlers(r *request.Request) {
if r.Operation.HTTPMethod == "PUT" {
// 100-Continue should only be used on put requests.
r.Handlers.Sign.PushBack(add100Continue)
}
}
func add100C... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/host_style_bucket.go | vendor/github.com/aws/aws-sdk-go/service/s3/host_style_bucket.go | package s3
import (
"fmt"
"net/url"
"regexp"
"strings"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/request"
)
// an operationBlacklist is a list of operation names that should a
// request handler should not be executed with.
type operationBlacklist []... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/body_hash.go | vendor/github.com/aws/aws-sdk-go/service/s3/body_hash.go | package s3
import (
"bytes"
"crypto/md5"
"crypto/sha256"
"encoding/base64"
"encoding/hex"
"fmt"
"hash"
"io"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/internal/sdkio"
)
const (
contentMD5Header = "Content-M... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/doc.go | vendor/github.com/aws/aws-sdk-go/service/s3/doc.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package s3 provides the client and types for making API
// requests to Amazon Simple Storage Service.
//
// See https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01 for more information on this service.
//
// See s3 package documentation for more... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/s3/unmarshal_error.go | vendor/github.com/aws/aws-sdk-go/service/s3/unmarshal_error.go | package s3
import (
"encoding/xml"
"fmt"
"io"
"io/ioutil"
"net/http"
"strings"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/request"
)
type xmlErrorResponse struct {
XMLName xml.Name `xml:"Error"`
Code string `xml:"Code"`
Message string `xml... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/dynamodb/api.go | vendor/github.com/aws/aws-sdk-go/service/dynamodb/api.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package dynamodb
import (
"fmt"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/private/protocol"
"github.com/aws/aws-sdk-go/private/protocol/j... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/dynamodb/examples_test.go | vendor/github.com/aws/aws-sdk-go/service/dynamodb/examples_test.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package dynamodb_test
import (
"fmt"
"strings"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/dynamodb"
)
var _ time.Duration
var _ st... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/dynamodb/service.go | vendor/github.com/aws/aws-sdk-go/service/dynamodb/service.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package dynamodb
import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk-go/aws/client/metadata"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/aws/signer/v4"
"github.com/aws/... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/dynamodb/waiters.go | vendor/github.com/aws/aws-sdk-go/service/dynamodb/waiters.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package dynamodb
import (
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/request"
)
// WaitUntilTableExists uses the DynamoDB API operation
// DescribeTable to wait for a condition to be met before returning.
// If the co... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/dynamodb/errors.go | vendor/github.com/aws/aws-sdk-go/service/dynamodb/errors.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package dynamodb
const (
// ErrCodeBackupInUseException for service response error code
// "BackupInUseException".
//
// There is another ongoing conflicting backup control plane operation on the
// table. The backups is either being created, ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/dynamodb/customizations_test.go | vendor/github.com/aws/aws-sdk-go/service/dynamodb/customizations_test.go | package dynamodb_test
import (
"bytes"
"io/ioutil"
"net/http"
"os"
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/awstesting/unit"
"github.com/aws/aws-sdk-go/service/d... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/dynamodb/doc_custom.go | vendor/github.com/aws/aws-sdk-go/service/dynamodb/doc_custom.go | /*
AttributeValue Marshaling and Unmarshaling Helpers
Utility helpers to marshal and unmarshal AttributeValue to and
from Go types can be found in the dynamodbattribute sub package. This package
provides has specialized functions for the common ways of working with
AttributeValues. Such as map[string]*AttributeValue, ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/dynamodb/customizations.go | vendor/github.com/aws/aws-sdk-go/service/dynamodb/customizations.go | package dynamodb
import (
"bytes"
"hash/crc32"
"io"
"io/ioutil"
"math"
"strconv"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk-go/aws/request"
)
type retryer struct {
client.DefaultRetryer
}
func (d retryer) R... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/dynamodb/doc.go | vendor/github.com/aws/aws-sdk-go/service/dynamodb/doc.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package dynamodb provides the client and types for making API
// requests to Amazon DynamoDB.
//
// Amazon DynamoDB is a fully managed NoSQL database service that provides fast
// and predictable performance with seamless scalability. DynamoDB let... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/shared_test.go | vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/shared_test.go | package dynamodbattribute
import (
"reflect"
"testing"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/dynamodb"
)
type testBinarySetStruct struct {
Binarys [][]byte `dynamodbav:",binaryset"`
}
type testNumberSetStruct struct {
Numbers []int `dynamodbav:",numberset"`
}
type testStrin... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/converter_test.go | vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/converter_test.go | package dynamodbattribute
import (
"math"
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/service/dynamodb"
)
type mySimpleStruct struct {
String string
Int int
Uint uint
Float32 float32
Float64 float64
Bool bool
Null *interface{}
... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/marshaler_examples_test.go | vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/marshaler_examples_test.go | package dynamodbattribute_test
import (
"fmt"
"reflect"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/dynamodb"
"github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute"
)
func ExampleMarshal() {
type Record struct {
Bytes []byte
MyField string
Letters []string
Numbers []int... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/tag_test.go | vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/tag_test.go | package dynamodbattribute
import (
"reflect"
"testing"
)
func TestTagParse(t *testing.T) {
cases := []struct {
in reflect.StructTag
json, av bool
expect tag
}{
{`json:""`, true, false, tag{}},
{`json:"name"`, true, false, tag{Name: "name"}},
{`json:"name,omitempty"`, true, false, tag{Name: "na... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/field_test.go | vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/field_test.go | package dynamodbattribute
import (
"reflect"
"testing"
)
type testUnionValues struct {
Name string
Value interface{}
}
type unionSimple struct {
A int
B string
C []string
}
type unionComplex struct {
unionSimple
A int
}
type unionTagged struct {
A int `json:"A"`
}
type unionTaggedComplex struct {
unio... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/marshaler_test.go | vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/marshaler_test.go | package dynamodbattribute
import (
"math"
"reflect"
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/aws/aws-sdk-go/service/dynamodb"
)
type simpleMarshalStruct struct {
Byte []byte
String string
Int int
Uint ui... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/encode.go | vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/encode.go | package dynamodbattribute
import (
"fmt"
"reflect"
"strconv"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/dynamodb"
)
// An UnixTime provides aliasing of time.Time into a type that when marshaled
// and unmarshaled with DynamoDB AttributeValues it will be done so as number
// inste... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/field.go | vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/field.go | package dynamodbattribute
import (
"reflect"
"sort"
"strings"
)
type field struct {
tag
Name string
NameFromTag bool
Index []int
Type reflect.Type
}
func fieldByName(fields []field, name string) (field, bool) {
foldExists := false
foldField := field{}
for _, f := range fields {
if f.Name == n... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/converter_examples_test.go | vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/converter_examples_test.go | package dynamodbattribute_test
import (
"fmt"
"reflect"
"github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute"
)
func ExampleConvertTo() {
type Record struct {
MyField string
Letters []string
Numbers []int
}
r := Record{
MyField: "MyFieldValue",
Letters: []string{"a", "b", "c", "d"},
Numbe... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/tag.go | vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/tag.go | package dynamodbattribute
import (
"reflect"
"strings"
)
type tag struct {
Name string
Ignore bool
OmitEmpty bool
OmitEmptyElem bool
AsString bool
AsBinSet, AsNumSet, AsStrSet bool
AsUnixTime ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/encode_test.go | vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/encode_test.go | package dynamodbattribute
import (
"fmt"
"reflect"
"testing"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/service/dynamodb"
)
func TestMarshalErrorTypes(t *testing.T) {
var _ awserr.Error = (*InvalidMarshalError)(nil)
var _ awserr.Error = (*unsuppo... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/doc.go | vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/doc.go | // Package dynamodbattribute provides marshaling and unmarshaling utilities to
// convert between Go types and dynamodb.AttributeValues.
//
// These utilities allow you to marshal slices, maps, structs, and scalar values
// to and from dynamodb.AttributeValue. These are useful when marshaling
// Go value tyes to dynamo... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/decode.go | vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/decode.go | package dynamodbattribute
import (
"fmt"
"reflect"
"strconv"
"time"
"github.com/aws/aws-sdk-go/service/dynamodb"
)
// An Unmarshaler is an interface to provide custom unmarshaling of
// AttributeValues. Use this to provide custom logic determining
// how AttributeValues should be unmarshaled.
// type ExampleU... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/decode_test.go | vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/decode_test.go | package dynamodbattribute
import (
"fmt"
"reflect"
"strconv"
"testing"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/service/dynamodb"
)
func TestUnmarshalErrorTypes(t *testing.T) {
var _ awserr.Error = (*UnmarshalTypeError)(nil)
var _ awserr.Error... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/converter.go | vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/converter.go | package dynamodbattribute
import (
"bytes"
"encoding/json"
"fmt"
"reflect"
"runtime"
"strconv"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/service/dynamodb"
)
// ConvertToMap accepts a map[string]interface{} or struct and converts it to a
// map[string]*dynamodb.AttributeValue.
//
// If... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/kinesis/api.go | vendor/github.com/aws/aws-sdk-go/service/kinesis/api.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package kinesis
import (
"fmt"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/private/protocol"
"github.com/aws/aws-sdk-go/private/protocol/js... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/kinesis/service.go | vendor/github.com/aws/aws-sdk-go/service/kinesis/service.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package kinesis
import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk-go/aws/client/metadata"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/aws/signer/v4"
"github.com/aws/a... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/kinesis/waiters.go | vendor/github.com/aws/aws-sdk-go/service/kinesis/waiters.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package kinesis
import (
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/request"
)
// WaitUntilStreamExists uses the Kinesis API operation
// DescribeStream to wait for a condition to be met before returning.
// If the co... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/kinesis/errors.go | vendor/github.com/aws/aws-sdk-go/service/kinesis/errors.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package kinesis
const (
// ErrCodeExpiredIteratorException for service response error code
// "ExpiredIteratorException".
//
// The provided iterator exceeds the maximum age allowed.
ErrCodeExpiredIteratorException = "ExpiredIteratorException"... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/kinesis/customizations_test.go | vendor/github.com/aws/aws-sdk-go/service/kinesis/customizations_test.go | package kinesis
import (
"io"
"net/http"
"testing"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/awstesting/unit"
)
type testReader struct {
duration time.Duration
}
func (r *testReader) Read(b []byte) (int, ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/kinesis/customizations.go | vendor/github.com/aws/aws-sdk-go/service/kinesis/customizations.go | package kinesis
import (
"time"
"github.com/aws/aws-sdk-go/aws/request"
)
var readDuration = 5 * time.Second
func init() {
ops := []string{
opGetRecords,
}
initRequest = func(r *request.Request) {
for _, operation := range ops {
if r.Operation.Name == operation {
r.ApplyOptions(request.WithResponseR... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/kinesis/doc.go | vendor/github.com/aws/aws-sdk-go/service/kinesis/doc.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package kinesis provides the client and types for making API
// requests to Amazon Kinesis.
//
// Amazon Kinesis Data Streams is a managed service that scales elastically
// for real-time processing of streaming big data.
//
// See https://docs.aw... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/elastictranscoder/api.go | vendor/github.com/aws/aws-sdk-go/service/elastictranscoder/api.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package elastictranscoder
import (
"fmt"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/aws/aws-sdk-go/aws/request"
)
const opCancelJob = "CancelJob"
// CancelJobRequest generates a "aws/request.Request" r... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/elastictranscoder/service.go | vendor/github.com/aws/aws-sdk-go/service/elastictranscoder/service.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package elastictranscoder
import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk-go/aws/client/metadata"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/aws/signer/v4"
"github... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/elastictranscoder/waiters.go | vendor/github.com/aws/aws-sdk-go/service/elastictranscoder/waiters.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package elastictranscoder
import (
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/request"
)
// WaitUntilJobComplete uses the Amazon Elastic Transcoder API operation
// ReadJob to wait for a condition to be met before ret... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/elastictranscoder/errors.go | vendor/github.com/aws/aws-sdk-go/service/elastictranscoder/errors.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package elastictranscoder
const (
// ErrCodeAccessDeniedException for service response error code
// "AccessDeniedException".
//
// General authentication failure. The request was not signed correctly.
ErrCodeAccessDeniedException = "AccessDen... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/elastictranscoder/doc.go | vendor/github.com/aws/aws-sdk-go/service/elastictranscoder/doc.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package elastictranscoder provides the client and types for making API
// requests to Amazon Elastic Transcoder.
//
// The AWS Elastic Transcoder Service.
//
// See elastictranscoder package documentation for more information.
// https://docs.aws.... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/cloudfront/api.go | vendor/github.com/aws/aws-sdk-go/service/cloudfront/api.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package cloudfront
import (
"fmt"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/private/protocol"
"github.com/aws/aws-sdk-go/private/protocol... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/cloudfront/examples_test.go | vendor/github.com/aws/aws-sdk-go/service/cloudfront/examples_test.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package cloudfront_test
import (
"fmt"
"strings"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/cloudfront"
)
var _ time.Duration
var ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/cloudfront/service.go | vendor/github.com/aws/aws-sdk-go/service/cloudfront/service.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package cloudfront
import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk-go/aws/client/metadata"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/aws/signer/v4"
"github.com/aw... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/cloudfront/waiters.go | vendor/github.com/aws/aws-sdk-go/service/cloudfront/waiters.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package cloudfront
import (
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/request"
)
// WaitUntilDistributionDeployed uses the CloudFront API operation
// GetDistribution to wait for a condition to be met before returnin... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/cloudfront/errors.go | vendor/github.com/aws/aws-sdk-go/service/cloudfront/errors.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package cloudfront
const (
// ErrCodeAccessDenied for service response error code
// "AccessDenied".
//
// Access denied.
ErrCodeAccessDenied = "AccessDenied"
// ErrCodeBatchTooLarge for service response error code
// "BatchTooLarge".
ErrC... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/cloudfront/doc.go | vendor/github.com/aws/aws-sdk-go/service/cloudfront/doc.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package cloudfront provides the client and types for making API
// requests to Amazon CloudFront.
//
// This is the Amazon CloudFront API Reference. This guide is for developers
// who need detailed information about CloudFront API actions, data t... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/route53/unmarshal_error_test.go | vendor/github.com/aws/aws-sdk-go/service/route53/unmarshal_error_test.go | package route53_test
import (
"bytes"
"io/ioutil"
"net/http"
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/awstesting/unit"
"github.com/aws/aws-sdk-go/service/route53"
)
func makeClientWithResponse(response... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/route53/api.go | vendor/github.com/aws/aws-sdk-go/service/route53/api.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package route53
import (
"fmt"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/aws/aws-sdk-go/aws/request"
)
const opAssociateVPCWithHostedZone = "AssociateVPCWithHostedZone"
// AssociateVPCWithHost... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/route53/examples_test.go | vendor/github.com/aws/aws-sdk-go/service/route53/examples_test.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package route53_test
import (
"fmt"
"strings"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/route53"
)
var _ time.Duration
var _ stri... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/route53/service.go | vendor/github.com/aws/aws-sdk-go/service/route53/service.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package route53
import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk-go/aws/client/metadata"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/aws/signer/v4"
"github.com/aws/a... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/route53/waiters.go | vendor/github.com/aws/aws-sdk-go/service/route53/waiters.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package route53
import (
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/request"
)
// WaitUntilResourceRecordSetsChanged uses the Route 53 API operation
// GetChange to wait for a condition to be met before returning.
// ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/route53/errors.go | vendor/github.com/aws/aws-sdk-go/service/route53/errors.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package route53
const (
// ErrCodeConcurrentModification for service response error code
// "ConcurrentModification".
//
// Another user submitted a request to create, update, or delete the object
// at the same time that you did. Retry the re... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/route53/customizations_test.go | vendor/github.com/aws/aws-sdk-go/service/route53/customizations_test.go | package route53_test
import (
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/awstesting/unit"
"github.com/aws/aws-sdk-go/service/route53"
)
func TestBuildCorrectURI(t *testing.T) {
const expectPath = "/2013-04-01/hostedzone/ABCDEFG"
svc := route53.New(unit.Session)
svc.Handlers.Validate... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/route53/customizations.go | vendor/github.com/aws/aws-sdk-go/service/route53/customizations.go | package route53
import (
"net/url"
"regexp"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/private/protocol/restxml"
)
func init() {
initClient = func(c *client.Client) {
c.Handlers.Build.PushBack(sanitizeURL)
... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/route53/unmarshal_error_leak_test.go | vendor/github.com/aws/aws-sdk-go/service/route53/unmarshal_error_leak_test.go | package route53
import (
"net/http"
"testing"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/awstesting"
)
func TestUnmarhsalErrorLeak(t *testing.T) {
req := &request.Request{
Operation: &request.Operation{
Name: opChangeResourceRecordSets,
},
HTTPRequest: &http.Request{
Header: ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/route53/doc.go | vendor/github.com/aws/aws-sdk-go/service/route53/doc.go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package route53 provides the client and types for making API
// requests to Amazon Route 53.
//
// See https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01 for more information on this service.
//
// See route53 package documentation for mor... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/service/route53/unmarshal_error.go | vendor/github.com/aws/aws-sdk-go/service/route53/unmarshal_error.go | package route53
import (
"bytes"
"encoding/xml"
"io/ioutil"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/private/protocol/restxml"
)
type baseXMLErrorResponse struct {
XMLName xml.Name
}
type standardXMLErrorResponse struct {
XMLName xml.Name `x... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/awstesting/assert_test.go | vendor/github.com/aws/aws-sdk-go/awstesting/assert_test.go | package awstesting_test
import (
"encoding/xml"
"testing"
"github.com/aws/aws-sdk-go/awstesting"
)
func TestAssertJSON(t *testing.T) {
cases := []struct {
e, a string
asserts bool
}{
{
e: `{"RecursiveStruct":{"RecursiveMap":{"foo":{"NoRecurse":"foo"},"bar":{"NoRecurse":"bar"}}}}`,
a: ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/awstesting/client.go | vendor/github.com/aws/aws-sdk-go/awstesting/client.go | package awstesting
import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk-go/aws/client/metadata"
"github.com/aws/aws-sdk-go/aws/defaults"
)
// NewClient creates and initializes a generic service client for testing.
func NewClient(cfgs ...*aws.Config) *client.Clien... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/awstesting/custom_ca_bundle.go | vendor/github.com/aws/aws-sdk-go/awstesting/custom_ca_bundle.go | package awstesting
import (
"io/ioutil"
"net"
"net/http"
"os"
"strings"
"time"
)
func availableLocalAddr(ip string) (string, error) {
l, err := net.Listen("tcp", ip+":0")
if err != nil {
return "", err
}
defer l.Close()
return l.Addr().String(), nil
}
// CreateTLSServer will create the TLS server on an... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/awstesting/util.go | vendor/github.com/aws/aws-sdk-go/awstesting/util.go | package awstesting
import (
"io"
"os"
"strings"
"time"
"github.com/aws/aws-sdk-go/private/util"
)
// ZeroReader is a io.Reader which will always write zeros to the byte slice provided.
type ZeroReader struct{}
// Read fills the provided byte slice with zeros returning the number of bytes written.
func (r *Zero... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/awstesting/assert.go | vendor/github.com/aws/aws-sdk-go/awstesting/assert.go | package awstesting
import (
"encoding/json"
"encoding/xml"
"fmt"
"net/url"
"reflect"
"regexp"
"sort"
"strings"
"testing"
)
// Match is a testing helper to test for testing error by comparing expected
// with a regular expression.
func Match(t *testing.T, regex, expected string) {
if !regexp.MustCompile(rege... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/awstesting/util_test.go | vendor/github.com/aws/aws-sdk-go/awstesting/util_test.go | package awstesting_test
import (
"io"
"testing"
"github.com/aws/aws-sdk-go/awstesting"
)
func TestReadCloserClose(t *testing.T) {
rc := awstesting.ReadCloser{Size: 1}
err := rc.Close()
if err != nil {
t.Errorf("expect nil, got %v", err)
}
if !rc.Closed {
t.Errorf("expect closed, was not")
}
if e, a :=... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/awstesting/mock/mock.go | vendor/github.com/aws/aws-sdk-go/awstesting/mock/mock.go | package mock
import (
"net/http"
"net/http/httptest"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk-go/aws/client/metadata"
"github.com/aws/aws-sdk-go/aws/session"
)
// Session is a mock session which is used to hit the mock server
var Session = func() *session.S... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/awstesting/unit/unit.go | vendor/github.com/aws/aws-sdk-go/awstesting/unit/unit.go | // Package unit performs initialization and validation for unit tests
package unit
import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/credentials"
"github.com/aws/aws-sdk-go/aws/session"
)
// Session is a shared session for unit tests to use.
var Session = session.Must(session.NewSession(aws.N... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/aws/types_test.go | vendor/github.com/aws/aws-sdk-go/aws/types_test.go | package aws
import (
"bytes"
"math/rand"
"testing"
)
func TestWriteAtBuffer(t *testing.T) {
b := &WriteAtBuffer{}
n, err := b.WriteAt([]byte{1}, 0)
if err != nil {
t.Errorf("expected no error, but received %v", err)
}
if e, a := 1, n; e != a {
t.Errorf("expected %d, but recieved %d", e, a)
}
n, err = ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/aws/url_1_7.go | vendor/github.com/aws/aws-sdk-go/aws/url_1_7.go | // +build !go1.8
package aws
import (
"net/url"
"strings"
)
// URLHostname will extract the Hostname without port from the URL value.
//
// Copy of Go 1.8's net/url#URL.Hostname functionality.
func URLHostname(url *url.URL) string {
return stripPort(url.Host)
}
// stripPort is copy of Go 1.8 url#URL.Hostname fu... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/aws/types.go | vendor/github.com/aws/aws-sdk-go/aws/types.go | package aws
import (
"io"
"sync"
"github.com/aws/aws-sdk-go/internal/sdkio"
)
// ReadSeekCloser wraps a io.Reader returning a ReaderSeekerCloser. Should
// only be used with an io.Reader that is also an io.Seeker. Doing so may
// cause request signature errors, or request body's not sent for GET, HEAD
// and DELE... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/aws/errors.go | vendor/github.com/aws/aws-sdk-go/aws/errors.go | package aws
import "github.com/aws/aws-sdk-go/aws/awserr"
var (
// ErrMissingRegion is an error that is returned if region configuration is
// not found.
//
// @readonly
ErrMissingRegion = awserr.New("MissingRegion", "could not find region configuration", nil)
// ErrMissingEndpoint is an error that is returned... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/github.com/aws/aws-sdk-go/aws/context_test.go | vendor/github.com/aws/aws-sdk-go/aws/context_test.go | package aws_test
import (
"fmt"
"testing"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/awstesting"
)
func TestSleepWithContext(t *testing.T) {
ctx := &awstesting.FakeContext{DoneCh: make(chan struct{})}
err := aws.SleepWithContext(ctx, 1*time.Millisecond)
if err != nil {
t.Errorf("exp... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.