_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c178800 | test | // MouseToElement moves the mouse over exactly one element in the selection. | {
"resource": ""
} | ||
c178801 | test | // loggingMiddleware logs requests to the proxy | {
"resource": ""
} | ||
c178802 | test | // chainHandlers takes a set of middleware and joins them together
// into a single Middleware, making it much simpler to compose middleware
// together | {
"resource": ""
} | ||
c178803 | test | // HTTPReverseProxy provides a default setup for proxying
// internal components within the framework | {
"resource": ""
} | ||
c178804 | test | // CheckInstallation checks installation of all of the tools | {
"resource": ""
} | ||
c178805 | test | // CheckVersion checks installation of a given binary using semver-compatible
// comparisions | {
"resource": ""
} | ||
c178806 | test | // GetVersionForBinary gets the version of a given Ruby binary | {
"resource": ""
} | ||
c178807 | test | // getUser finds a user | {
"resource": ""
} | ||
c178808 | test | // Login handles the login API call to the User Service. | {
"resource": ""
} | ||
c178809 | test | // Deal with the login request. | {
"resource": ""
} | ||
c178810 | test | // Deal with the logout request. | {
"resource": ""
} | ||
c178811 | test | // Show the current user if logged in, otherwise display a login form. | {
"resource": ""
} | ||
c178812 | test | // Run the web application. | {
"resource": ""
} | ||
c178813 | test | // WithRequest specifies the details of the HTTP request that will be used to
// confirm that the Provider provides an API listening on the given interface.
// Mandatory. | {
"resource": ""
} | ||
c178814 | test | // WillRespondWith specifies the details of the HTTP response that will be used to
// confirm that the Provider must satisfy. Mandatory. | {
"resource": ""
} | ||
c178815 | test | // Checks to see if someone has tried to submit a JSON string
// for an object, which is no longer supported | {
"resource": ""
} | ||
c178816 | test | // ByUsername finds a user by their username. | {
"resource": ""
} | ||
c178817 | test | // ByID finds a user by their ID | {
"resource": ""
} | ||
c178818 | test | // UserLogin logs a user in, returning an auth token and the user object | {
"resource": ""
} | ||
c178819 | test | // newClient creates a new Pact client manager with the provided services | {
"resource": ""
} | ||
c178820 | test | // NewClient creates a new Pact client manager with defaults | {
"resource": ""
} | ||
c178821 | test | // ListServers lists all known Mock Servers | {
"resource": ""
} | ||
c178822 | test | // UpdateMessagePact adds a pact message to a contract file | {
"resource": ""
} | ||
c178823 | test | // PublishPacts publishes a set of pacts to a pact broker | {
"resource": ""
} | ||
c178824 | test | // Get a port given a URL | {
"resource": ""
} | ||
c178825 | test | // Get the address given a URL | {
"resource": ""
} | ||
c178826 | test | // sanitiseRubyResponse removes Ruby-isms from the response content
// making the output much more human readable | {
"resource": ""
} | ||
c178827 | test | // Publish sends the Pacts to a broker, optionally tagging them | {
"resource": ""
} | ||
c178828 | test | // FindPortInRange Iterate through CSV or Range of ports to find open port
// Valid inputs are "8081", "8081,8085", "8081-8085". Do not combine
// list and range | {
"resource": ""
} | ||
c178829 | test | // EachLike specifies that a given element in a JSON body can be repeated
// "minRequired" times. Number needs to be 1 or greater | {
"resource": ""
} | ||
c178830 | test | // Term specifies that the matching should generate a value
// and also match using a regular expression. | {
"resource": ""
} | ||
c178831 | test | // UnmarshalJSON is a custom JSON parser for MapMatcher
// It treats the matchers as strings | {
"resource": ""
} | ||
c178832 | test | // Takes an object and converts it to a JSON representation | {
"resource": ""
} | ||
c178833 | test | // match recursively traverses the provided type and outputs a
// matcher string for it that is compatible with the Pact dsl. | {
"resource": ""
} | ||
c178834 | test | // AddMessage creates a new asynchronous consumer expectation | {
"resource": ""
} | ||
c178835 | test | // AddInteraction creates a new Pact interaction, initialising all
// required things. Will automatically start a Mock Service if none running. | {
"resource": ""
} | ||
c178836 | test | // Teardown stops the Pact Mock Server. This usually is called on completion
// of each test suite. | {
"resource": ""
} | ||
c178837 | test | // Verify runs the current test case against a Mock Service.
// Will cleanup interactions between tests within a suite. | {
"resource": ""
} | ||
c178838 | test | // stateHandlerMiddleware responds to the various states that are
// given during provider verification
//
// statehandler accepts a state object from the verifier and executes
// any state handlers associated with the provider.
// It will not execute further middleware if it is the designted "state" request | {
"resource": ""
} | ||
c178839 | test | // VerifyMessageProviderRaw runs provider message verification.
//
// A Message Producer is analagous to Consumer in the HTTP Interaction model.
// It is the initiator of an interaction, and expects something on the other end
// of the interaction to respond - just in this case, not immediately. | {
"resource": ""
} | ||
c178840 | test | // VerifyMessageConsumerRaw creates a new Pact _message_ interaction to build a testable
// interaction.
//
//
// A Message Consumer is analagous to a Provider in the HTTP Interaction model.
// It is the receiver of an interaction, and needs to be able to handle whatever
// request was provided. | {
"resource": ""
} | ||
c178841 | test | // VerifyProvider runs the verification process against a running Provider. | {
"resource": ""
} | ||
c178842 | test | // NewService creates a new MockService with default settings. | {
"resource": ""
} | ||
c178843 | test | // Setup the Management services. | {
"resource": ""
} | ||
c178844 | test | // addServiceMonitor watches a channel to add services into operation. | {
"resource": ""
} | ||
c178845 | test | // removeServiceMonitor watches a channel to remove services from operation. | {
"resource": ""
} | ||
c178846 | test | // List all Service PIDs. | {
"resource": ""
} | ||
c178847 | test | // Command creates an os command to be run | {
"resource": ""
} | ||
c178848 | test | // call sends a message to the Pact service | {
"resource": ""
} | ||
c178849 | test | // DeleteInteractions removes any previous Mock Service Interactions. | {
"resource": ""
} | ||
c178850 | test | // AddInteraction adds a new Pact Mock Service interaction. | {
"resource": ""
} | ||
c178851 | test | // WritePact writes the pact file to disk. | {
"resource": ""
} | ||
c178852 | test | // ExpectsToReceive specifies the content it is expecting to be
// given from the Provider. The function must be able to handle this
// message for the interaction to succeed. | {
"resource": ""
} | ||
c178853 | test | // WithMetadata specifies message-implementation specific metadata
// to go with the content | {
"resource": ""
} | ||
c178854 | test | // AsType specifies that the content sent through to the
// consumer handler should be sent as the given type | {
"resource": ""
} | ||
c178855 | test | // UserLogin is the login route. | {
"resource": ""
} | ||
c178856 | test | // Region returns the service region infering it from S3 domain. | {
"resource": ""
} | ||
c178857 | test | // New Returns a new S3
// domain defaults to DefaultDomain if empty | {
"resource": ""
} | ||
c178858 | test | // Bucket returns a bucket on s3
// Bucket Config is initialized to DefaultConfig | {
"resource": ""
} | ||
c178859 | test | // PutWriter provides a writer to upload data as multipart upload requests.
//
// Each header in h is added to the HTTP request header. This is useful for specifying
// options such as server-side encryption in metadata as well as custom user metadata.
// DefaultConfig is used if c is nil.
// Callers should call Close ... | {
"resource": ""
} | ||
c178860 | test | // url returns a parsed url to the given path. c must not be nil | {
"resource": ""
} | ||
c178861 | test | // SetLogger wraps the standard library log package.
//
// It allows the internal logging of s3gof3r to be set to a desired output and format.
// Setting debug to true enables debug logging output. s3gof3r does not log output by default. | {
"resource": ""
} | ||
c178862 | test | // InstanceKeys Requests the AWS keys from the instance-based metadata on EC2
// Assumes only one IAM role. | {
"resource": ""
} | ||
c178863 | test | // EnvKeys Reads the AWS keys from the environment | {
"resource": ""
} | ||
c178864 | test | // Sign signs the http.Request | {
"resource": ""
} | ||
c178865 | test | // getAWSKeys gets the AWS Keys from environment variables or the instance-based metadata on EC2
// Environment variables are attempted first, followed by the instance-based credentials. | {
"resource": ""
} | ||
c178866 | test | // find unix home directory | {
"resource": ""
} | ||
c178867 | test | // add canned acl to http.Header | {
"resource": ""
} | ||
c178868 | test | // returns true unless partSize is large enough
// to achieve maxObjSize with remaining parts | {
"resource": ""
} | ||
c178869 | test | // CheckDisallowed checks that no environment variables with the prefix are set
// that we don't know how or want to parse. This is likely only meaningful with
// a non-empty prefix. | {
"resource": ""
} | ||
c178870 | test | // Process populates the specified struct based on environment variables | {
"resource": ""
} | ||
c178871 | test | // MustProcess is the same as Process but panics if an error occurs | {
"resource": ""
} | ||
c178872 | test | // toTypeDescription converts Go types into a human readable description | {
"resource": ""
} | ||
c178873 | test | // Usage writes usage information to stderr using the default header and table format | {
"resource": ""
} | ||
c178874 | test | // Usagef writes usage information to the specified io.Writer using the specifed template specification | {
"resource": ""
} | ||
c178875 | test | // Usaget writes usage information to the specified io.Writer using the specified template | {
"resource": ""
} | ||
c178876 | test | // Scan implements the Scanner interface. | {
"resource": ""
} | ||
c178877 | test | // Value implements the driver Valuer interface. | {
"resource": ""
} | ||
c178878 | test | // NewTime creates a new Time. | {
"resource": ""
} | ||
c178879 | test | // TimeFromPtr creates a new Time that will be null if t is nil. | {
"resource": ""
} | ||
c178880 | test | // ValueOrZero returns the inner value if valid, otherwise zero. | {
"resource": ""
} | ||
c178881 | test | // MarshalJSON implements json.Marshaler.
// It will encode null if this time is null. | {
"resource": ""
} | ||
c178882 | test | // SetValid changes this Time's value and sets it to be non-null. | {
"resource": ""
} | ||
c178883 | test | // Ptr returns a pointer to this Time's value, or a nil pointer if this Time is null. | {
"resource": ""
} | ||
c178884 | test | // NewBool creates a new Bool | {
"resource": ""
} | ||
c178885 | test | // BoolFromPtr creates a new Bool that will be null if f is nil. | {
"resource": ""
} | ||
c178886 | test | // UnmarshalJSON implements json.Unmarshaler.
// It supports number and null input.
// 0 will not be considered a null Bool.
// It also supports unmarshalling a sql.NullBool. | {
"resource": ""
} | ||
c178887 | test | // UnmarshalText implements encoding.TextUnmarshaler.
// It will unmarshal to a null Bool if the input is a blank or not an integer.
// It will return an error if the input is not an integer, blank, or "null". | {
"resource": ""
} | ||
c178888 | test | // MarshalJSON implements json.Marshaler.
// It will encode null if this Bool is null. | {
"resource": ""
} | ||
c178889 | test | // SetValid changes this Bool's value and also sets it to be non-null. | {
"resource": ""
} | ||
c178890 | test | // NewString creates a new String | {
"resource": ""
} | ||
c178891 | test | // UnmarshalJSON implements json.Unmarshaler.
// It supports string and null input. Blank string input produces a null String.
// It also supports unmarshalling a sql.NullString. | {
"resource": ""
} | ||
c178892 | test | // MarshalText implements encoding.TextMarshaler.
// It will encode a blank string when this String is null. | {
"resource": ""
} | ||
c178893 | test | // UnmarshalText implements encoding.TextUnmarshaler.
// It will unmarshal to a null String if the input is a blank string. | {
"resource": ""
} | ||
c178894 | test | // SetValid changes this String's value and also sets it to be non-null. | {
"resource": ""
} | ||
c178895 | test | // StringFromPtr creates a new String that be null if s is nil. | {
"resource": ""
} | ||
c178896 | test | // MarshalJSON implements json.Marshaler.
// It will encode null if this String is null. | {
"resource": ""
} | ||
c178897 | test | // NewInt creates a new Int | {
"resource": ""
} | ||
c178898 | test | // IntFromPtr creates a new Int that be null if i is nil. | {
"resource": ""
} | ||
c178899 | test | // UnmarshalJSON implements json.Unmarshaler.
// It supports number and null input.
// 0 will be considered a null Int.
// It also supports unmarshalling a sql.NullInt64. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.