MCPcopy Create free account

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

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

↓ 1 callersMethodHasQuery
HasQuery returns if a query with the key specified exists with one or more values.
encoding/httpbinding/encode.go:121
↓ 1 callersFunctionHasQueryKeys
HasQueryKeys validates that the actual set of query items contains the keys provided. Returns an error if any key is not found.
testing/rest.go:172
↓ 1 callersMethodHeaders
Headers returns a Header used for encoding headers with the given prefix
encoding/httpbinding/encode.go:91
↓ 1 callersFunctionInitializeMiddlewareFunc
InitializeMiddlewareFunc returns a InitializeMiddleware with the unique ID provided, and the func to be invoked.
middleware/step_initialize.go:48
↓ 1 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_initialize.go:155
↓ 1 callersFunctionInt16Map
Int16Map returns a map of int16 pointers from the values passed in.
ptr/to_ptr.go:172
↓ 1 callersFunctionInt16Slice
Int16Slice returns a slice of int16 pointers from the values passed in.
ptr/to_ptr.go:160
↓ 1 callersFunctionInt32Map
Int32Map returns a map of int32 pointers from the values passed in.
ptr/to_ptr.go:201
↓ 1 callersFunctionInt32Slice
Int32Slice returns a slice of int32 pointers from the values passed in.
ptr/to_ptr.go:189
↓ 1 callersFunctionInt63n
Int63n returns a int64 between zero and value of max, read from an io.Reader source.
rand/rand.go:18
↓ 1 callersMethodInt64Counter
integer/synchronous
metrics/metrics.go:26
↓ 1 callersMethodInt64Gauge
(name string, opts ...InstrumentOption)
metrics/metrics.go:28
↓ 1 callersMethodInt64Histogram
(name string, opts ...InstrumentOption)
metrics/metrics.go:29
↓ 1 callersFunctionInt64Map
Int64Map returns a map of int64 pointers from the values passed in.
ptr/to_ptr.go:230
↓ 1 callersFunctionInt64Slice
Int64Slice returns a slice of int64 pointers from the values passed in.
ptr/to_ptr.go:218
↓ 1 callersFunctionInt8Map
Int8Map returns a map of int8 pointers from the values passed in.
ptr/to_ptr.go:143
↓ 1 callersFunctionInt8Slice
Int8Slice returns a slice of int8 pointers from the values passed in.
ptr/to_ptr.go:131
↓ 1 callersFunctionIntMap
IntMap returns a map of int pointers from the values passed in.
ptr/to_ptr.go:114
↓ 1 callersFunctionIntSlice
IntSlice returns a slice of int pointers from the values passed in.
ptr/to_ptr.go:102
↓ 1 callersMethodIsHTTPS
IsHTTPS returns if the request is HTTPS. Returns false if no endpoint URL is set.
transport/http/request.go:37
↓ 1 callersMethodIsSigned
(string)
aws-http-auth/v4/v4.go:48
↓ 1 callersFunctionIsValidHostLabel
IsValidHostLabel returns if the input is a single valid [RFC 1123] host label. If allowSubDomains is true, will allow validation to include nested hos
endpoints/private/rulesfn/uri.go:18
↓ 1 callersFunctionJoinPath
JoinPath returns an absolute URL path composed of the two paths provided. Enforces that the returned path begins with '/'. If added path is empty the
transport/http/url.go:8
↓ 1 callersFunctionJoinRawQuery
JoinRawQuery returns an absolute raw query expression. Any duplicate '&' will be collapsed to single separator between values.
transport/http/url.go:28
↓ 1 callersMethodLen
Len returns the number of invalid parameter errors
validation.go:39
↓ 1 callersMethodList
List returns a list of all middleware in the stack by step.
middleware/stack.go:113
↓ 1 callersMethodLoad
(t interface{})
document/internal/serde/field_cache.go:14
↓ 1 callersMethodLoadOrStore
(t interface{}, fs *CachedFields)
document/internal/serde/field_cache.go:21
↓ 1 callersMethodLogf
Logf logs the given classification and message to the underlying logger.
logging/logger.go:69
↓ 1 callersMethodMarshalSmithyDocument
()
document/document.go:54
↓ 1 callersFunctionNew
New creates a new LRU cache with the given capacity.
container/private/cache/lru/lru.go:17
↓ 1 callersFunctionNewAnonymousScheme
NewAnonymousScheme returns the anonymous HTTP auth scheme.
transport/http/auth_schemes.go:11
↓ 1 callersFunctionNewAuthenticationMiddleware
NewAuthenticationMiddleware returns an initialized AuthenticationMiddleware.
auth/bearer/middleware.go:38
↓ 1 callersFunctionNewBuildStep
NewBuildStep returns an BuildStep ready to have middleware for build added to it.
middleware/step_build.go:85
↓ 1 callersFunctionNewClientHandler
NewClientHandler returns an initialized middleware handler for the client. Deprecated: Use [NewClientHandlerWithOptions].
transport/http/client.go:39
↓ 1 callersFunctionNewClientHandlerWithOptions
NewClientHandlerWithOptions returns an initialized middleware handler for the client with applied options.
transport/http/client.go:45
↓ 1 callersFunctionNewDeserializeStep
NewDeserializeStep returns an DeserializeStep ready to have middleware for deserialize added to it.
middleware/step_deserialize.go:86
↓ 1 callersFunctionNewEncoderWithRawPath
NewHTTPBindingEncoder creates a new encoder from the passed in request. All query and header values will be added on top of the request's existing val
encoding/httpbinding/encode.go:39
↓ 1 callersFunctionNewFinalizeStep
NewFinalizeStep returns an FinalizeStep ready to have middleware for finalize added to it.
middleware/step_finalize.go:85
↓ 1 callersFunctionNewSerializeStep
NewSerializeStep returns an SerializeStep ready to have middleware for serialize added to it.
middleware/step_serialize.go:89
↓ 1 callersFunctionNewUserAgentBuilder
NewUserAgentBuilder returns a new UserAgentBuilder.
transport/http/user_agent.go:13
↓ 1 callersFunctionNotHaveHeaderKeys
NotHaveHeaderKeys validates that header set does not contains any of the keys. Returns an error if a header key is found in the header set.
testing/rest.go:80
↓ 1 callersFunctionNotHaveQueryKeys
NotHaveQueryKeys validates that the actual set of query items does not contain the keys provided. Returns an error if any key is found.
testing/rest.go:205
↓ 1 callersMethodPackage
Package returns the Go package name for the import. Returns alias if set.
ptr/gen_scalars.go:37
↓ 1 callersFunctionParseDateTime
ParseDateTime parses a string as a date-time, (RFC3339 section 5.6) Example: 1985-04-12T23:20:50.52Z
time/time.go:37
↓ 1 callersFunctionParseEpochSeconds
ParseEpochSeconds returns value as a Unix time in seconds with with decimal precision Example: 1515531081.123
time/time.go:77
↓ 1 callersFunctionParseRawQuery
ParseRawQuery returns a slice of QueryItems extracted from the raw query string. The parsed QueryItems preserve escaping of key and values. All + esc
testing/rest.go:118
↓ 1 callersFunctionParseTag
ParseTag splits a struct field tag into its name and comma-separated options.
document/internal/serde/tags.go:16
↓ 1 callersFunctionParseURL
ParseURL returns a [URL] if the provided string could be parsed. Returns nil if the string could not be parsed. Any parsing error will be added to the
endpoints/private/rulesfn/uri.go:42
↓ 1 callersMethodPop
()
middleware/stack.go:194
↓ 1 callersFunctionPopSpan
PopSpan pops the current Span off the context, setting the active Span on the returned Context back to its parent and returning the REMOVED one. PopS
tracing/context.go:44
↓ 1 callersFunctionPtrToValue
PtrToValue given the input value will dereference pointers and returning the element pointed to.
document/internal/serde/serde.go:51
↓ 1 callersMethodPut
Store a value under the given key.
container/private/cache/cache.go:18
↓ 1 callersMethodPutIdleConn
(ctx context.Context)
transport/http/metrics.go:142
↓ 1 callersMethodPutObjectMRAP
(ctx context.Context, in *PutObjectMRAPInput)
aws-http-auth/sigv4a/e2e_test.go:87
↓ 1 callersMethodRead
(p []byte)
transport/http/internal/io/safe_test.go:16
↓ 1 callersMethodRead
Read populates the passed in byte slice with the value the ByteLoop was created with. Returns the size of bytes written. If the reader is closed, io.E
testing/reader.go:19
↓ 1 callersMethodRemove
Remove removes the middleware by id. Returns error if the middleware doesn't exist.
middleware/step_initialize.go:196
↓ 1 callersMethodSchemeID
()
transport/http/auth.go:12
↓ 1 callersMethodSeek
(int64, int)
aws-http-auth/internal/v4/signer_test.go:430
↓ 1 callersMethodSetAll
SetAll accepts all of the given Properties into the receiver, overwriting any existing keys in the case of conflicts.
properties.go:49
↓ 1 callersFunctionSetAuthOptions
SetAuthOptions sets auth Options on Properties.
auth/option.go:23
↓ 1 callersFunctionSetDisableDoubleEncoding
SetDisableDoubleEncoding sets whether the payload is unsigned on Properties.
transport/http/properties.go:78
↓ 1 callersMethodSetHeader
SetHeader returns a HeaderValue for setting the given header name
encoding/httpbinding/encode.go:86
↓ 1 callersFunctionSetIsUnsignedPayload
SetIsUnsignedPayload sets whether the payload is unsigned on Properties.
transport/http/properties.go:67
↓ 1 callersMethodSetQuery
SetQuery returns a QueryValue used for setting the given query key
encoding/httpbinding/encode.go:110
↓ 1 callersFunctionSetSigV4ASigningName
SetSigV4ASigningName sets the signing name on Properties.
transport/http/properties.go:45
↓ 1 callersFunctionSetSigV4ASigningRegions
SetSigV4ASigningRegions sets the v4a signing region set on Properties.
transport/http/properties.go:56
↓ 1 callersFunctionSetSigV4SigningName
SetSigV4SigningName sets the signing name on Properties.
transport/http/properties.go:23
↓ 1 callersFunctionSetSigV4SigningRegion
SetSigV4SigningRegion sets the signing region on Properties.
transport/http/properties.go:34
↓ 1 callersMethodSetStatus
(status SpanStatus)
tracing/tracing.go:72
↓ 1 callersMethodSetURI
SetURI returns a URIValue used for setting the given path key
encoding/httpbinding/encode.go:105
↓ 1 callersMethodSignString
(string)
aws-http-auth/internal/v4/signer.go:43
↓ 1 callersMethodSignWithBearerToken
(context.Context, Token, Message)
auth/bearer/middleware.go:18
↓ 1 callersMethodSignWithBearerToken
SignWithBearerToken returns a copy of the HTTP request with the bearer token added via the "Authorization" header, per RFC 6750, https://datatracker.i
auth/bearer/middleware.go:90
↓ 1 callersMethodSigner
()
transport/http/auth.go:14
↓ 1 callersFunctionSplitHTTPDateTimestampHeaderListValues
SplitHTTPDateTimestampHeaderListValues attempts to split the HTTP-Date timestamp values in the slice by commas, and return a list of all values separa
transport/http/headerlist.go:126
↓ 1 callersFunctionSplitHeaderListValues
SplitHeaderListValues attempts to split the elements of the slice by commas, and return a list of all values separated. Returns error if unable to sep
transport/http/headerlist.go:27
↓ 1 callersFunctionSplitURI
SplitURI parses a Smithy HTTP binding trait URI
encoding/httpbinding/uri.go:97
↓ 1 callersFunctionStartSpan
StartSpan is a convenience API for creating tracing Spans from a Context. StartSpan uses the operation-scoped Tracer, previously stored using [WithOp
tracing/context.go:93
↓ 1 callersMethodStartSpan
(ctx context.Context, name string, opts ...SpanOption)
tracing/tracing.go:54
↓ 1 callersMethodStop
()
metrics/metrics.go:103
↓ 1 callersMethodString
String encodes v as a query string value
encoding/httpbinding/query.go:48
↓ 1 callersMethodString
String encodes the value v as the header string value
encoding/httpbinding/header.go:52
↓ 1 callersMethodString
String encodes v as a URI string value
encoding/httpbinding/uri.go:36
↓ 1 callersMethodString
String returns the string output of the XML encoder
encoding/xml/encoder.go:38
↓ 1 callersMethodString
String returns the String output of the JSON encoder
encoding/json/encoder.go:23
↓ 1 callersMethodString
()
middleware/stack.go:135
↓ 1 callersFunctionStringMap
StringMap returns a map of string pointers from the values passed in.
ptr/to_ptr.go:85
↓ 1 callersFunctionStringSlice
StringSlice returns a slice of string pointers from the values passed in.
ptr/to_ptr.go:73
↓ 1 callersFunctionStructToXML
StructToXML writes an XMLNode to a xml.Encoder as tokens.
testing/xml/xmlToStruct.go:135
↓ 1 callersFunctionSubString
Substring returns the substring of the input provided. If the start or stop indexes are not valid for the input nil will be returned. If errors occur
endpoints/private/rulesfn/strings.go:6
↓ 1 callersMethodSwap
Swap removes the middleware by id, replacing it with the new middleware. Returns the middleware removed, or error if the middleware to be removed does
middleware/step_build.go:182
↓ 1 callersMethodSwap
Swap removes the middleware by id, replacing it with the new middleware. Returns the middleware removed, or error if the middleware to be removed does
middleware/step_initialize.go:183
↓ 1 callersMethodTLSHandshakeStart
()
transport/http/metrics.go:132
↓ 1 callersFunctionTime
Time returns a pointer value for the time.Time value passed in.
ptr/to_ptr.go:444
↓ 1 callersFunctionTimeMap
TimeMap returns a map of time.Time pointers from the values passed in.
ptr/to_ptr.go:462
↓ 1 callersFunctionTimeSlice
TimeSlice returns a slice of time.Time pointers from the values passed in.
ptr/to_ptr.go:450
↓ 1 callersMethodTracer
(scope string, opts ...TracerOption)
tracing/tracing.go:34
↓ 1 callersFunctionURIEncode
URIEncode returns an percent-encoded [RFC3986 section 2.1] version of the input string. [RFC3986 section 2.1]: https://www.rfc-editor.org/rfc/rfc3986
endpoints/private/rulesfn/uri.go:92
← previousnext →801–900 of 3,047, ranked by callers