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