_id stringlengths 2 7 | text stringlengths 6 2.61k | title stringclasses 1
value |
|---|---|---|
c17800 | // FixNameServers returns fixed name servers | |
c17801 | // UnmarshalJSON converts a byte array into a CheckResponseType. | |
c17802 | // Return string representation of the PingdomError. | |
c17803 | // List return a list of reports from Pingdom. | |
c17804 | // PublishCheck is used to activate a check on the public report. | |
c17805 | // PutParams returns a map of parameters for an Team that can be sent along. | |
c17806 | // List return a list of probes from Pingdom. | |
c17807 | // ValidContact determines whether a Contact contains valid fields. | |
c17808 | // PostParams returns a map of params that are sent with an HTTP POST request for a User. | |
c17809 | // PostContactParams returns a map of params that are sent with an HTTP POST request for a Contact. | |
c17810 | // PutParams returns a map of params that are sent with an HTTP PUT request for a User. | |
c17811 | // List returns the response holding a list of Maintenance windows. | |
c17812 | // Read returns a Maintenance for a given ID. | |
c17813 | // Create creates a new Maintenance. | |
c17814 | // Update is used to update an existing Maintenance. Only the 'Description',
// and 'To' fields can be updated. | |
c17815 | // MultiDelete will delete the Maintenance for the given ID. | |
c17816 | // List returns a list of all users and their contact details. | |
c17817 | // Read return a user object from Pingdom. | |
c17818 | // Create adds a new user. | |
c17819 | // CreateContact adds a contact target to an existing user. | |
c17820 | // Update a user's core properties not contact targets. | |
c17821 | // UpdateContact updates a contact by id, will change an email to sms or sms to email
// if you provide an id for the other. | |
c17822 | // DeleteContact deletes a contact target from a user, either an email or sms property of a user. | |
c17823 | // List return a list of teams from Pingdom. | |
c17824 | // Read return a team object from Pingdom. | |
c17825 | // Create is used to create a new team. | |
c17826 | // Update is used to update existing team. | |
c17827 | // Delete will delete the Team for the given ID. | |
c17828 | // PutParams returns a map of parameters for an MaintenanceWindow that can be sent along. | |
c17829 | // Valid determines whether the MaintenanceWindow contains valid fields. This can be
// used to guard against sending illegal values to the Pingdom API. | |
c17830 | // DeleteParams returns a map of parameters for an MaintenanceWindow that can be sent along. | |
c17831 | // List returns a list of checks from Pingdom.
// This returns type CheckResponse rather than Check since the
// Pingdom API does not return a complete representation of a check. | |
c17832 | // Create a new check. This function will validate the given check param
// to ensure that it contains correct values before submitting the request
// Returns a CheckResponse object representing the response from Pingdom.
// Note that Pingdom does not return a full check object so in the returned
// object you should o... | |
c17833 | // ReadCheck returns detailed information about a pingdom check given its ID.
// This returns type CheckResponse rather than Check since the
// pingdom API does not return a complete representation of a check. | |
c17834 | // Update will update the check represented by the given ID with the values
// in the given check. You should submit the complete list of values in
// the given check parameter, not just those that have changed. | |
c17835 | // Delete will delete the check for the given ID. | |
c17836 | // SummaryPerformance returns a performance summary from Pingdom. | |
c17837 | // NewClientWithConfig returns a Pingdom client. | |
c17838 | // NewRequest makes a new HTTP Request. The method param should be an HTTP method in
// all caps such as GET, POST, PUT, DELETE. The rsc param should correspond with
// a restful resource. Params can be passed in as a map of strings
// Usually users of the client can use one of the convenience methods such as
// Lis... | |
c17839 | // Do makes an HTTP request and will unmarshal the JSON response in to the
// passed in interface. If the HTTP response is outside of the 2xx range the
// response will be returned along with the error. | |
c17840 | // Takes an HTTP response and determines whether it was successful.
// Returns nil if the HTTP status code is within the 2xx range. Returns
// an error otherwise. | |
c17841 | // PutParams returns a map of parameters for an HttpCheck that can be sent along
// with an HTTP PUT request. | |
c17842 | // PostParams returns a map of parameters for an HttpCheck that can be sent along
// with an HTTP POST request. They are the same than the Put params, but
// empty strings cleared out, to avoid Pingdom API reject the request. | |
c17843 | // Valid determines whether the HttpCheck contains valid fields. This can be
// used to guard against sending illegal values to the Pingdom API. | |
c17844 | // PutParams returns a map of parameters for a PingCheck that can be sent along
// with an HTTP PUT request. | |
c17845 | // Valid determines whether the PingCheck contains valid fields. This can be
// used to guard against sending illegal values to the Pingdom API. | |
c17846 | // PutParams returns a map of parameters for a TCPCheck that can be sent along
// with an HTTP PUT request. | |
c17847 | // Valid determines whether the TCPCheck contains valid fields. This can be
// used to guard against sending illegal values to the Pingdom API. | |
c17848 | // Valid determines whether a SummaryPerformanceRequest contains valid fields for the Pingdom API. | |
c17849 | // GetParams returns a map of params for a Pingdom SummaryPerformanceRequest. | |
c17850 | // XXX probably insecure | |
c17851 | // DiscoverGateway attempts to find a gateway device. | |
c17852 | // Insert adds a word to the dictionary that IS was built on.
// This is pretty slow, because of linear-time insertion into an array,
// so stick to New when you can | |
c17853 | // ErrorCorrect returns all byte-arrays which are Levenshtein distance of 1 away from Word
// within an allowed array of byte characters. | |
c17854 | // ToASCII converts a single unicode rune to the ASCII equivalent using the UnicodeToASCII table | |
c17855 | // UnicodeToLowerASCII converts a unicode string to ASCII bytes using the UnicodeToASCII table | |
c17856 | // New returns an initialized Gossip node
// which identifies itself with the given ip | |
c17857 | // NodeMeta is used to retrieve meta-data about the current node
// when broadcasting an alive message. It's length is limited to
// the given byte size. This metadata is available in the Node structure. | |
c17858 | // NotifyJoin is invoked when a node is detected to have joined.
// The Node argument must not be modified. | |
c17859 | // NotifyLeave is invoked when a node is detected to have left.
// The Node argument must not be modified. | |
c17860 | // isClusterDomainSuspectDown returns truewhen a peer node should be put in suspected offline state
// For the given nodeId, it finds out all its peers from
// the same cluster domain. If even one ping to such peer node succeeds it assumes that
// only the suspected node is down and the whole cluster domain is still op... | |
c17861 | // NewProbationManager returns the default implementation of Probation interface
// It takes in a name to be associated with this probation manager and a
// ProbationCallbackFn | |
c17862 | // isDomainActive returns true if the input failure domains is a part of
// of an active domain list | |
c17863 | // NewQuorumProvider returns tan implementation of Quorum interface based on
// the input type | |
c17864 | // Work out the rollover time based on the specified time. | |
c17865 | // Determine if rollover should occur. | |
c17866 | // Determine the files to delete when rolling over. | |
c17867 | // Emit a record.
// The record is formatted, and then sent to the syslog server
// in specified log level. | |
c17868 | // Initialize base rotating handler with specified filename for stream logging. | |
c17869 | // A helper function for subclass to emit record. | |
c17870 | // Determine if rollover should occur.
// Basically, see if the supplied record would cause the file to exceed the
// size limit we have. | |
c17871 | // Rotate source file to destination file if source file exists. | |
c17872 | // Do a rollover, as described above. | |
c17873 | // Initializes the handler with a specific host address and port.
// The attribute 'closeOnError' is set to true by default, which means that
// if a socket error occurs, the socket is silently closed and then reopen
// on the next loggging call. | |
c17874 | // Marshals the record in gob binary format and returns it ready for
// transmission across socket. | |
c17875 | // A factory method which allows succlasses to define the precise type of
// socket they want. | |
c17876 | // Send a marshaled binary to the tcp socket. | |
c17877 | // Send a marshaled binary to the udp socket. | |
c17878 | // Emit a record.
// Marshals the record and writes it to the socket in binary format.
// If there is an error with the socket, silently drop the packet.
// If there was a problem with the socket, re-establishes the socket. | |
c17879 | // Handles an error during logging.
// An error has occurred during logging. Most likely cause connection lost.
// Close the socket so that we can retry on the next event. | |
c17880 | // Close the socket. | |
c17881 | // Determine if the specified record is to be logged.
// Is the specified record to be logged? Returns false for no, true for yes.
// If deemed appropriate, the record may be modified in-place. | |
c17882 | // Add the specified filter. | |
c17883 | // Remove the specified filter. | |
c17884 | // Return a logger with the specified name, creating it if necessary.
// If empty name is specified, return the root logger. | |
c17885 | // Log a message with specified severity level on the root logger. | |
c17886 | // Open the specified file and use it as the stream for logging. | |
c17887 | // Apply all configuration in specified file. | |
c17888 | // Apply all configuration in specified json file. | |
c17889 | // Apply all configuration in specified yaml file. | |
c17890 | // Initialize the instance - basically setting the formatter to nil and the
// filterer without filter. | |
c17891 | // Format the specified record.
// If a formatter is set, use it. Otherwise, use the default formatter
// for the module. | |
c17892 | // Associate levelName with level.
// This is used when converting levels to test during message formatting. | |
c17893 | // Initialize a PlaceHolder with the specified logger being a child of
// this PlaceHolder. | |
c17894 | // Add the specified logger as a child of this PlaceHolder. | |
c17895 | // Find the stack frame of the caller so that we can note the source file name,
// line number and function name. | |
c17896 | // Initialize a standard logger instance with name and logging level. | |
c17897 | // Get the effective level for this logger.
// Loop through this logger and its parents in the logger hierarchy,
// looking for a non-zero logging level. Return the first one found. | |
c17898 | // Pass a record to all relevant handlers.
// Loop through all handlers for this logger and its parents in the logger
// hierarchy. Stop searching up the hierarchy whenever a logger with the
// "propagate" attribute set to false is found - that will be the last
// logger whose handlers are called. | |
c17899 | // Initialize the root logger with the name "root". |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.