repo_name
stringlengths
1
52
repo_creator
stringclasses
6 values
programming_language
stringclasses
4 values
code
stringlengths
0
9.68M
num_lines
int64
1
234k
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
66
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
131
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
97
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
66
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
75
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
42
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
83
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
250
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
100
karpenter-core
aws
Go
//go:build random_test_delay /* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software d...
105
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
65
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
46
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
123
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
557
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
77
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
60
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
102
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
87
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
77
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
49
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
208
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
76
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
107
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
58
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
28
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
172
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
39
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
179
karpenter-core
aws
Go
/* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
64
lightsailctl
aws
Go
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 // Package main is where lightsailctl command begins. package main import ( "fmt" "log" "os" "regexp" "github.com/aws/lightsailctl/internal" "github.com/aws/lightsailctl/internal/plugin" ) func main() ...
35
lightsailctl
aws
Go
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package main import ( "os" "reflect" "testing" "github.com/aws/lightsailctl/internal/plugin" ) func setArgs(args []string) { os.Args = args } func setPluginMain(f func(string, []string)) { pluginMain ...
48
lightsailctl
aws
Go
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package internal import ( "context" "fmt" "log" "github.com/aws/aws-sdk-go-v2/service/lightsail" ) type ContainerAPIMetadataGetter interface { GetContainerAPIMetadata( context.Context, *lightsail.Ge...
68
lightsailctl
aws
Go
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package internal import ( "context" "errors" "fmt" "io" "log" "os" "strconv" "strings" "testing" "github.com/aws/aws-sdk-go-v2/service/lightsail" ) type fakeContainerAPIMetadataGetter string func ...
123
lightsailctl
aws
Go
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package internal import ( "strings" "golang.org/x/mod/semver" ) const Version Semver = "v1.0.6-fix26" type Semver string func (v Semver) IsValid() bool { return semver.IsValid(v.String()) } func (v Sem...
31
lightsailctl
aws
Go
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package internal_test import ( "testing" "github.com/aws/lightsailctl/internal" ) func TestVersionGlobalIsValid(t *testing.T) { if !internal.Version.IsValid() { t.Errorf("internal.Version value %q is no...
18
lightsailctl
aws
Go
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package cs import ( "context" "encoding/base64" "encoding/json" "errors" "io" "log" "os" "strings" "github.com/docker/docker/api/types" "github.com/docker/docker/api/types/registry" "github.com/doc...
124
lightsailctl
aws
Go
package cs import ( "encoding/json" "fmt" "io" "os" "strings" "testing" "github.com/docker/docker/pkg/jsonmessage" ) func TestExtractDigest(t *testing.T) { got := "" badAux := json.RawMessage("42") extractDigest(&got)(jsonmessage.JSONMessage{Aux: &badAux}) if got != "" { t.Errorf("unexpected got: %q", g...
47
lightsailctl
aws
Go
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 // Package cs implements features related to Lightsail (C)ontainer (S)ervice. package cs import ( "context" "crypto/rand" "encoding/base32" "fmt" "io" "log" "time" "github.com/aws/aws-sdk-go-v2/aws" ...
150
lightsailctl
aws
Go
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package cs import ( "context" "fmt" "reflect" "strconv" "strings" "testing" "time" "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/service/lightsail" "github.com/aws/aws-sdk-go-v2/s...
223
lightsailctl
aws
Go
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 // Package plugin implements extensions for AWS CLI's lightsail subcommand. // See: https://github.com/aws/aws-cli/tree/ce7dc9a61b/awscli/customizations/lightsail package plugin import ( "bytes" "context" "...
201
lightsailctl
aws
Go
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package plugin import ( "fmt" "reflect" "strconv" "strings" "testing" "testing/quick" "github.com/aws/lightsailctl/internal/cs" ) func TestInputVersion(t *testing.T) { var tests = []struct { pass ...
143
porting-advisor-for-graviton
aws
Go
package main import "fmt" func main() { fmt.Println("Hello world") }
8
porting-advisor-for-graviton
aws
Go
// You can edit this code! // Click here and start typing. package main import "fmt" func main() { fmt.Println("Hello world") }
10
rolesanywhere-credential-helper
aws
Go
package aws_signing_helper import ( "crypto/tls" "crypto/x509" "encoding/base64" "errors" "net/http" "runtime" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/arn" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/rolesanywhere-credential-helper/...
141
rolesanywhere-credential-helper
aws
Go
package aws_signing_helper import ( "crypto/rand" "encoding/base64" "encoding/json" "errors" "fmt" "io" "log" "net" "net/http" "os" "strconv" "strings" "sync" "time" "github.com/aws/aws-sdk-go/aws/arn" ) const DefaultPort = 9911 const LocalHostAddress = "127.0.0.1" var RefreshTime = time.Minute * tim...
320
rolesanywhere-credential-helper
aws
Go
package aws_signing_helper import ( "bytes" "crypto" "crypto/ecdsa" "crypto/rand" "crypto/rsa" "crypto/sha256" "crypto/sha512" "crypto/x509" "encoding/base64" "encoding/hex" "encoding/pem" "errors" "fmt" "io" "log" "net/http" "os" "sort" "strings" "time" "github.com/aws/aws-sdk-go/aws" "github.c...
591
rolesanywhere-credential-helper
aws
Go
package aws_signing_helper import ( "crypto" "crypto/ecdsa" "crypto/elliptic" "crypto/rand" "crypto/rsa" "crypto/sha256" "crypto/sha512" "crypto/x509" "encoding/base64" "encoding/hex" "errors" "io/ioutil" "log" "net/http" "net/http/httptest" "os" "os/exec" "strings" "testing" "time" "unicode/utf8"...
617
rolesanywhere-credential-helper
aws
Go
package aws_signing_helper import ( "bufio" "log" "os" "path/filepath" "strings" "time" ) const UpdateRefreshTime = time.Minute * time.Duration(5) const AwsSharedCredentialsFileEnvVarName = "AWS_SHARED_CREDENTIALS_FILE" const BufferSize = 49152 // Structure to contain a temporary credential type TemporaryCrede...
199
rolesanywhere-credential-helper
aws
Go
package main import ( "bufio" "crypto" "encoding/binary" "encoding/hex" "encoding/json" "flag" "fmt" "io/ioutil" "log" "os" "strings" helper "github.com/aws/rolesanywhere-credential-helper/aws_signing_helper" ) // Common flags that must be contained in all flag sets var ( privateKeyId string cer...
281
rolesanywhere-credential-helper
aws
Go
package main import ( "testing" ) func TestParseArgs(t *testing.T) { args := []string{ "read-certificate-data", "--certificate", "/path/to/cert.pem", } setupFlags() var command = commands[args[0]] command.Parse(args[1:]) if certificateId != "/path/to/cert.pem" { t.Errorf("Expected %s, got %s", "/path/...
21
rolesanywhere-credential-helper
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package rolesanywhere 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" ) const opCreateSession = "CreateSession...
659
rolesanywhere-credential-helper
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package rolesanywhere provides the client and types for making API // requests to RolesAnywhere Service. // // See https://docs.aws.amazon.com/goto/WebAPI/roles-anywhere-2018-05-10 for more information on this service. // // See rolesanywhere pack...
27
rolesanywhere-credential-helper
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package rolesanywhere import ( "github.com/aws/aws-sdk-go/private/protocol" ) const ( // ErrCodeAccessDeniedException for service response error code // "AccessDeniedException". ErrCodeAccessDeniedException = "AccessDeniedException" // ErrCo...
29
rolesanywhere-credential-helper
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package rolesanywhere 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...
106
rolesanywhere-credential-helper
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package rolesanywhereiface provides an interface to enable mocking the RolesAnywhere Service service client // for testing your code. // // It is important to note that this interface will have breaking changes // when the service model is updated...
69
secrets-store-csi-driver-provider-aws
aws
Go
package main import ( "flag" "fmt" "net" "os" "os/signal" "syscall" "google.golang.org/grpc" "k8s.io/client-go/kubernetes" "k8s.io/client-go/rest" "k8s.io/klog/v2" csidriver "sigs.k8s.io/secrets-store-csi-driver/provider/v1alpha1" "github.com/aws/secrets-store-csi-driver-provider-aws/auth" "github.com/a...
85
secrets-store-csi-driver-provider-aws
aws
Go
/* * Package responsible for returning an AWS SDK session with credentials * given an AWS region, K8s namespace, and K8s service account. * * This package requries that the K8s service account be associated with an IAM * role via IAM Roles for Service Accounts (IRSA). */ package auth import ( "context" "fmt" ...
158
secrets-store-csi-driver-provider-aws
aws
Go
package auth import ( "context" "fmt" "strings" "testing" "github.com/aws/aws-sdk-go/service/sts/stsiface" authv1 "k8s.io/api/authentication/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes/fake" k8sv1 "k8s.io/client-go/kubernetes/typed/core/v1" ) ...
163
secrets-store-csi-driver-provider-aws
aws
Go
package provider import ( "context" "fmt" "strconv" "strings" "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/ssm" "github.com/aws/aws-sdk-go/service/ssm/ssmiface" "github.com/aws/secrets-store-csi-driver-provi...
215
secrets-store-csi-driver-provider-aws
aws
Go
package provider import ( "context" "fmt" "io/ioutil" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/secretsmanager" "github.com/aws/aws-sdk-go/service/secretsmanager/secretsmanageriface" "github.com/aws/secrets-store-csi-driver-provider-aws/utils" ...
283
secrets-store-csi-driver-provider-aws
aws
Go
package provider import ( "fmt" "os" "path/filepath" "regexp" "strings" "github.com/aws/aws-sdk-go/aws/arn" "sigs.k8s.io/yaml" ) // An RE pattern to check for bad paths var badPathRE = regexp.MustCompile("(/\\.\\./)|(^\\.\\./)|(/\\.\\.$)") // An individual record from the mount request indicating the secret ...
378
secrets-store-csi-driver-provider-aws
aws
Go
package provider import ( "fmt" "strings" "testing" ) var singleRegion = []string{"us-west-2"} func TestGetSecretTypeSM(t *testing.T) { descriptor := SecretDescriptor{ ObjectName: "arn:aws:secretsmanager:us-west-2:123456789012:secret:/feaw", } secretType := descriptor.GetSecretType() if secretType != Secr...
623
secrets-store-csi-driver-provider-aws
aws
Go
/* * Package responsible for fetching secrets from the service. * * This package defines the abstract interface used to fetch secrets, a factory * to supply the concrete implementation for a given secret type, and the * various implementations. * */ package provider import ( "context" "github.com/aws/aws-sdk...
59
secrets-store-csi-driver-provider-aws
aws
Go
package provider import ( "encoding/json" "fmt" "github.com/jmespath/go-jmespath" ) // Contains the actual contents of the secret fetched from either Secrete Manager // or SSM Parameter Store along with the original descriptor. type SecretValue struct { Value []byte Descriptor SecretDescriptor } func (p *S...
63
secrets-store-csi-driver-provider-aws
aws
Go
package provider import ( "fmt" "testing" ) var TEST_OBJECT_NAME = "jsonObject" func RunGetJsonSecretTest(t *testing.T, jsonContent string, path string, objectAlias string, expectedErrorMessage string) { jmesPath := []JMESPathEntry{ { Path: path, ObjectAlias: objectAlias, }, } descriptor := Se...
73
secrets-store-csi-driver-provider-aws
aws
Go
/* * Package responsible for reciving incomming mount requests from the driver. * * This package acts as the high level orchestrator; unpacking the message and * calling the provider implementation to fetch the secrets. * */ package server import ( "context" "encoding/json" "fmt" "io/ioutil" "os" "strings"...
329
secrets-store-csi-driver-provider-aws
aws
Go
package server import ( "context" "encoding/json" "fmt" "io/ioutil" "os" "path/filepath" "regexp" "strconv" "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/aws/session" "github.com/aws/aws-sdk-...
2,554
secrets-store-csi-driver-provider-aws
aws
Go
package utils import ( "errors" "github.com/aws/aws-sdk-go/aws/awserr" ) //Helper method to check if the request is fatal/4XX status func IsFatalError(errMsg error) bool { if reqErr, ok := errMsg.(awserr.RequestFailure); ok { // check if client side error occurred if reqErr.StatusCode() >= 400 && reqErr.Stat...
28
secrets-store-csi-driver-provider-aws
aws
Go
package utils import ( "testing" "github.com/aws/aws-sdk-go/aws/awserr" "github.com/stretchr/testify/assert" ) type awsError awserr.Error type WrapAwsError struct { awsError code string message string err error } func (w WrapAwsError) Error() string { return awserr.SprintError(w.code, w.message, "", w.Or...
46
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
191
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
289
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // Code generated by mockery v1.0.0. DO NOT EDIT. package mocks import ( log "github.com/aws/session-manager-plugin/src/log" mock "github.com/stretchr/testify/mock" time "time" ) // IWebSocketChannel is an autogenerated mock type for the ...
112
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
52
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
938
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
626
session-manager-plugin
aws
Go
// Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. // Code generated by mockery 2.7.4. DO NOT EDIT. package mocks import ( list "container/list" communicator "github.com/aws/session-manager-plugin/src/communicator" datachannel "github.com/aws/session-manager-plugin/src/datachannel" log "g...
340
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
138
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
67
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // Code generated by mockery v1.0.0. DO NOT EDIT. package mocks import ( log "github.com/aws/session-manager-plugin/src/log" mock "github.com/stretchr/testify/mock" ) // IEncrypter is an autogenerated mock type for the IEncrypter type type...
78
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
30
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
88
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
264
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
107
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
55
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
80
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
201
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
57
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
66
session-manager-plugin
aws
Go
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
187
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
191
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
172
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
102
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
572
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
1,065
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
41
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
59
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
43
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
66
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
44
session-manager-plugin
aws
Go
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
33