MCPcopy Create free account

hub / github.com/aws/smithy-go / functions

Functions3,047 in github.com/aws/smithy-go

↓ 10 callersMethodbuilder
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/MiddlewareRegistrar.java:75
↓ 10 callersMethodgetDocumentation
@return Gets the optional documentation for the field.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ConfigField.java:66
↓ 10 callersFunctiongetIctx
(ctx context.Context)
transport/http/interceptor_middleware.go:16
↓ 10 callersFunctionnoError
(t *testing.T, err error)
middleware/shared_test.go:15
↓ 10 callersMethodresolvedFunction
Set the name of the MiddlewareRegistrar function. @param resolvedFunction a symbol that resolves to the function . @return Returns the builder.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/MiddlewareRegistrar.java:118
↓ 10 callersFunctionseekable
Tests herein are meant to verify individual components of the v4 signer implementation and should generally not be calling Do() directly. The full al
aws-http-auth/internal/v4/signer_test.go:21
↓ 10 callersMethodstring
(String string)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/MiddlewareIdentifier.java:82
↓ 10 callersMethodtoBuilder
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/Synthetic.java:77
↓ 10 callersMethodtype
Sets the type of the config field. @param type A Symbol representing the type of the config field. @return Returns the builder.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ConfigField.java:145
↓ 9 callersMethodDo
(*http.Request)
transport/http/client.go:16
↓ 9 callersMethodHandleSerialize
(ctx context.Context, in SerializeInput)
middleware/step_serialize.go:27
↓ 9 callersFunctionNewStackRequest
NewStackRequest returns an initialized request ready to be populated with the HTTP request details. Returns empty interface so the function can be use
transport/http/request.go:26
↓ 9 callersMethodRecord
(context.Context, int64, ...RecordMetricOption)
metrics/metrics.go:74
↓ 9 callersMethodbuild
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:457
↓ 9 callersMethodgetClientPlugins
Gets a list of plugins to apply to the generated client. @return Returns the list of RuntimePlugins to apply to the client.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/GoIntegration.java:201
↓ 9 callersMethodgetDefaultShapeName
(Shape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolVisitor.java:235
↓ 9 callersMethodgetIntegrations
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:564
↓ 9 callersFunctionmockInitializeMiddleware
(id string)
middleware/shared_test.go:22
↓ 9 callersMethodnormalize
Normalizes a scalar shape, erasing any nullability information and giving the shape a single unique synthetic ID. Non-scalar shapes are returned unmod
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde/SerdeUtil.java:69
↓ 9 callersMethodoperationPredicate
Sets a predicate that determines if the plugin applies to a specific operation. <p>When this method is called, the {@code servicePredicate} is automa
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/RuntimeClientPlugin.java:288
↓ 9 callersMethodparseVersion
Parse a semantic version string into a {@link SemanticVersion}. @param version the semantic version string @return the SemanticVersion representing t
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:147
↓ 9 callersMethodwriteMiddleware
Writes the middleware definition to the provided writer. See the writeMiddleware overloaded function signature for a more complete definition. @param
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoStackStepMiddlewareGenerator.java:216
↓ 8 callersFunctionDecorateHandler
DecorateHandler decorates a handler with a middleware. Wrapping the handler with the middleware.
middleware/middleware.go:62
↓ 8 callersMethodEncode
Encode returns the CBOR encoding of v.
document/cbor/encode.go:44
↓ 8 callersMethodEntry
Entry returns a Value encoder with map's element. It writes the member wrapper start tag for each entry.
encoding/xml/map.go:49
↓ 8 callersMethodHandleFinalize
(ctx context.Context, in FinalizeInput)
middleware/step_finalize.go:24
↓ 8 callersMethodInsert
Insert injects the middleware relative to an existing middleware ID. Returns error if the original middleware does not exist, or the middleware being
middleware/step_build.go:154
↓ 8 callersFunctionNewInitializeStep
NewInitializeStep returns an InitializeStep ready to have middleware for initialize added to it.
middleware/step_initialize.go:86
↓ 8 callersFunctionNewStack
NewStack returns an initialize empty stack.
middleware/stack.go:76
↓ 8 callersFunctionNewTokenCache
NewTokenCache returns a initialized TokenCache that implements the TokenProvider interface. Wrapping the provider passed in. Also taking a set of opti
auth/bearer/token_cache.go:81
↓ 8 callersMethodRetrieveBearerToken
RetrieveBearerToken returns the token if it could be obtained, or error if a valid token could not be retrieved. The passed in Context's cancel/deadl
auth/bearer/token_cache.go:112
↓ 8 callersMethodToken
Token on a Node Decoder returns a xml StartElement. It returns a boolean that indicates the a token is the node decoder's end node token; and an error
encoding/xml/xml_decoder.go:28
↓ 8 callersMethodValue
Value adds a new element to the JSON Array. Returns a Value type that is used to encode the array element.
encoding/json/array.go:22
↓ 8 callersFunctioncompose
(major majorType, minor byte)
encoding/cbor/encode.go:137
↓ 8 callersMethodempty
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/Scope.java:33
↓ 8 callersMethodgetHandleMethodName
Get the handle method name. @return handler method name.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoStackStepMiddlewareGenerator.java:309
↓ 8 callersMethodgetSerializerName
(Shape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde/cbor/CborSerializerGenerator.java:58
↓ 8 callersMethodgetSettings
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:536
↓ 8 callersMethodrun
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/EnumGenerator.java:47
↓ 8 callersMethodservice
(ServiceShape service)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:592
↓ 8 callersMethodversion
Set the dependency version. @param version the version @return the builder
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:418
↓ 8 callersFunctionwithMetricProps
(opts ...metrics.RecordMetricOption)
metrics/smithyotelmetrics/option.go:16
↓ 8 callersMethodwriteGoTemplate
Writes the contents and arguments as a template to the writer. @param contents string to write @param args Arguments to use when evaluating the c
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:358
↓ 7 callersMethodAdd
Add injects the middleware to the relative position of the middleware group. Add never returns an error. It used to for duplicate phases but this beh
middleware/step_initialize.go:134
↓ 7 callersMethodClose
Close closes the ByteLoop, and prevents any further reading.
testing/reader.go:33
↓ 7 callersMethodDoChan
DoChan is like Do but returns a channel that will receive the results when they are ready. The returned channel will not be closed.
internal/sync/singleflight/singleflight.go:114
↓ 7 callersFunctionEncode
Encode returns a byte slice that encodes the given Value.
encoding/cbor/cbor.go:126
↓ 7 callersMethodGetValue
()
document/json/encoder.go:42
↓ 7 callersMethodKey
Key adds the given named key to the JSON object. Returns a Value encoder that should be used to encode a JSON value type.
encoding/json/object.go:27
↓ 7 callersMethodLong
Long encodes v as a XML number. It will auto close the parent xml element tag.
encoding/xml/value.go:131
↓ 7 callersFunctionNew
New returns an instance of Signer with applied options.
aws-http-auth/sigv4/sigv4.go:28
↓ 7 callersFunctionUnsignedPayload
UnsignedPayload provides the sentinel value for a payload hash to indicate that a request's payload is unsigned.
aws-http-auth/v4/v4.go:53
↓ 7 callersMethodasWritable
Creates a Writable which renders the middleware. @param body A Writable that renders the middleware body. @param fields A Writable that renders the mi
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoStackStepMiddlewareGenerator.java:287
↓ 7 callersMethodbuild
Builds the middleware generator. @return the middleware generator.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoStackStepMiddlewareGenerator.java:392
↓ 7 callersMethodbuildCanonicalRequest
()
aws-http-auth/internal/v4/signer.go:142
↓ 7 callersMethodbuilder
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:234
↓ 7 callersFunctiondecodeArgument
pulls the next argument out of the buffer expects one of the sized arguments and will error otherwise - callers that need to check for the indefinite
encoding/cbor/decode.go:281
↓ 7 callersMethoddocumentation
Sets the documentation for the config field. @param documentation The documentation for the config field. @return Returns the builder.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ConfigField.java:156
↓ 7 callersFunctionencodeArg
(t majorType, arg I, p []byte)
encoding/cbor/encode.go:155
↓ 7 callersMethodexpectCollectionShape
Returns the shape unpacked as a CollectionShape. Throws and exception if the passed in shape is not a list or set. @param shape the list or set shape
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/CodegenUtils.java:309
↓ 7 callersMethodgetArchetype
Get the archetype shape that this clone is based on. @return the original archetype shape
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/Synthetic.java:49
↓ 7 callersMethodgetDependencies
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:204
↓ 7 callersMethodgetExportedParameterName
(Parameter parameter)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointParametersGenerator.java:222
↓ 7 callersMethodgetReference
(Symbol symbol)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolUtils.java:200
↓ 7 callersMethodgetSerializerName
(Shape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/protocol/JsonSerializerGenerator.java:49
↓ 7 callersMethodgetSyntheticTypeNamespace
Get the namespace where synthetic types are generated at runtime. @return synthetic type namespace
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/CodegenUtils.java:146
↓ 7 callersMethodgoBlockTemplate
Returns a Writable that can later be invoked to write the contents as template as a code block instead of single content of text. @param beforeNewLin
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:203
↓ 7 callersFunctionitoarglen
(v I)
encoding/cbor/encode.go:141
↓ 7 callersMethodjoinWritables
Joins multiple writables together within a single writable without newlines between writables in the list. @param writables list of writables to join
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:121
↓ 7 callersMethodmodifyHeader
(value string)
encoding/httpbinding/header.go:43
↓ 7 callersFunctionnewOrderedIDs
(cap int)
middleware/ordered_group.go:30
↓ 7 callersFunctionnewValue
newValue writes the start element xml tag and returns a Value
encoding/xml/value.go:35
↓ 7 callersFunctionpeekMinor
(p []byte)
encoding/cbor/decode.go:273
↓ 7 callersMethodtoString
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:94
↓ 7 callersMethodupdateKey
(value string)
encoding/httpbinding/query.go:28
↓ 6 callersMethodArray
Array returns an array encoder. By default, the members of array are wrapped with `<member>` element tag. If value is marked as flattened, the start e
encoding/xml/value.go:233
↓ 6 callersMethodBuild
Build returns a build standard HTTP request value from the Smithy request. The request's stream is wrapped in a safe container that allows it to be re
transport/http/request.go:160
↓ 6 callersMethodClose
Close encodes the end of the JSON Array
encoding/json/array.go:33
↓ 6 callersMethodDo
Do executes and returns the results of the given function, making sure that only one execution is in-flight for a given key at a time. If a duplicate
internal/sync/singleflight/singleflight.go:84
↓ 6 callersFunctionGetStackValue
GetStackValues returns the value pointed to by the key within the stack values, if it is present.
middleware/stack_values.go:26
↓ 6 callersFunctionGetStructFields
GetStructFields returns a list of fields for the given type. Type info is cached to avoid repeated calls into the reflect package
document/internal/serde/field.go:42
↓ 6 callersMethodHandleInitialize
(ctx context.Context, in InitializeInput)
middleware/step_initialize.go:25
↓ 6 callersFunctionIsNoSerde
IsNoSerde returns whether the given type implements the no smithy document serde interface.
document/document.go:91
↓ 6 callersMethodList
List returns a list of the middleware in the step.
middleware/step_initialize.go:218
↓ 6 callersMethodLong
Long encodes v as a JSON number
encoding/json/value.go:45
↓ 6 callersMethodMap
* Map returns a map encoder. By default, the map entries are wrapped with `<entry>` element tag. If value is marked as flattened, the start element i
encoding/xml/value.go:255
↓ 6 callersFunctionNewRingBuffer
NewRingBuffer method takes in a byte slice as an input and returns a RingBuffer.
io/ringbuffer.go:20
↓ 6 callersMethodStore
(v time.Time)
transport/http/metrics.go:191
↓ 6 callersMethodValues
Values returns a shallow clone of the property set's values.
properties.go:61
↓ 6 callersFunctionWithStackValue
WithStackValue adds a key value pair to the context that is intended to be scoped to a stack. Use ClearStackValues to get a new context with all stack
middleware/stack_values.go:12
↓ 6 callersMethodcreateDefaultHttpApplicationProtocol
Creates a default HTTP application protocol. @return Returns the created application protocol.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ApplicationProtocol.java:54
↓ 6 callersMethodexecute
(PluginContext context)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoCodegenPlugin.java:35
↓ 6 callersFunctionexpectIDList
(t *testing.T, expect, actual []string)
middleware/shared_test.go:88
↓ 6 callersMethodfileManifest
(FileManifest fileManifest)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ManifestWriter.java:153
↓ 6 callersMethodgenerateDeserFunction
Generates a function for deserializing the output shape, dispatching body handling to the supplied function. @param shape The shape to generat
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/DocumentShapeDeserVisitor.java:419
↓ 6 callersMethodgenerateSerFunction
Generates a function for serializing the input shape, dispatching the body generation to the supplied function. @param shape The shape to gene
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/DocumentShapeSerVisitor.java:328
↓ 6 callersMethodgetVersion
Get the version of the dependency. @return the version
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:146
↓ 6 callersMethodimportPath
Set the import path. @param importPath the import path @return the builder
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:396
↓ 6 callersMethodisNilable
(Symbol symbol)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolUtils.java:221
↓ 6 callersMethodisNillable
Returns if the Go type generated for the shape is comparable to nil. @param shape the shape to check @return if the shape's go type is comparable to
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/knowledge/GoPointableIndex.java:257
← previousnext →101–200 of 3,047, ranked by callers